2005-02-02 15:48:31 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-07 17:54:02 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2005-02-02 15:48:31 +00:00
|
|
|
*
|
2005-09-07 17:54:02 +00:00
|
|
|
* $RCSfile: alienwarn.hxx,v $
|
2005-02-02 15:48:31 +00:00
|
|
|
*
|
2008-03-12 10:34:46 +00:00
|
|
|
* $Revision: 1.6 $
|
2005-02-02 15:48:31 +00:00
|
|
|
*
|
2008-03-12 10:34:46 +00:00
|
|
|
* last change: $Author: rt $ $Date: 2008-03-12 11:34:46 $
|
2005-02-02 15:48:31 +00:00
|
|
|
*
|
2005-09-07 17:54:02 +00:00
|
|
|
* The Contents of this file are made available subject to
|
|
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
2005-02-02 15:48:31 +00:00
|
|
|
*
|
|
|
|
*
|
2005-09-07 17:54:02 +00:00
|
|
|
* GNU Lesser General Public License Version 2.1
|
|
|
|
* =============================================
|
|
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2005-02-02 15:48:31 +00:00
|
|
|
*
|
2005-09-07 17:54:02 +00:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation.
|
2005-02-02 15:48:31 +00:00
|
|
|
*
|
2005-09-07 17:54:02 +00:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2005-02-02 15:48:31 +00:00
|
|
|
*
|
2005-09-07 17:54:02 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
2005-02-02 15:48:31 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
#ifndef _SFX_ALIENWARN_HXX
|
|
|
|
#define _SFX_ALIENWARN_HXX
|
|
|
|
|
|
|
|
#ifndef _SV_BUTTON_HXX
|
|
|
|
#include <vcl/button.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _SV_FIXED_HXX
|
|
|
|
#include <vcl/fixed.hxx>
|
|
|
|
#endif
|
|
|
|
|
2007-06-27 22:25:56 +00:00
|
|
|
#include <sfx2/basedlgs.hxx>
|
2005-02-02 15:48:31 +00:00
|
|
|
|
|
|
|
class SfxAlienWarningDialog : public SfxModalDialog
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
FixedImage m_aQueryImage;
|
|
|
|
FixedText m_aInfoText;
|
2008-03-12 10:34:46 +00:00
|
|
|
OKButton m_aKeepCurrentBtn;
|
|
|
|
CancelButton m_aSaveODFBtn;
|
2005-02-02 15:48:31 +00:00
|
|
|
HelpButton m_aMoreInfoBtn;
|
|
|
|
FixedLine m_aOptionLine;
|
2008-03-12 10:34:46 +00:00
|
|
|
CheckBox m_aWarningOnBox;
|
2005-02-02 15:48:31 +00:00
|
|
|
|
2005-07-12 13:27:38 +00:00
|
|
|
void InitSize();
|
|
|
|
|
2005-02-02 15:48:31 +00:00
|
|
|
public:
|
|
|
|
SfxAlienWarningDialog( Window* pParent, const String& _rFormatName );
|
|
|
|
virtual ~SfxAlienWarningDialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // #ifndef _SFX_ALIENWARN_HXX
|
|
|
|
|