office-gobmx/sd/source/ui/inc/pubdlg.hxx
Rüdiger Timm 34d877e2d9 CWS-TOOLING: integrate CWS impressfontsize
2008-12-11 14:15:16 +0100 wg  r265298 : i97125
2008-12-11 12:54:53 +0100 wg  r265288 : i97125
2008-12-11 12:53:03 +0100 wg  r265287 : i97125
2008-12-11 11:25:42 +0100 wg  r265270 : i97125
2008-12-11 10:22:13 +0100 wg  r265253 : i97125
2008-12-11 09:22:47 +0100 wg  r265247 : i97125
2008-12-09 15:28:51 +0100 cl  r265097 : added missing toolbar buttons for inc/dec font size
2008-12-08 17:39:46 +0100 cl  r265012 : #i80257# added autolayout text only
2008-12-08 17:32:07 +0100 cl  r265011 : #i80257# added autolayout text only
2008-12-08 16:42:19 +0100 cl  r265008 : #i94459# fixed a bug in insertByName and replaceByName
2008-12-08 16:25:26 +0100 cl  r265007 : #i80257# new image for text only auto layout in impress
2008-12-08 16:24:01 +0100 cl  r265006 : #i80257# new image for text only auto layout in impress
2008-12-08 16:01:46 +0100 cl  r265003 : #i88855# changed wording from Monitor to Display
2008-12-08 15:57:24 +0100 cl  r265002 : #i91904# applied patch to fix a wrong index access
2008-12-05 12:51:47 +0100 cl  r264900 : #i8824# allow setting of text properties at shape without reformating text
2008-12-05 11:09:21 +0100 cl  r264895 : fixed build problem
2008-12-04 12:04:09 +0100 cl  r264829 : fixed build issue
2008-12-04 11:03:58 +0100 cl  r264823 : #i8824# set new fontsize at shape
2008-12-02 22:39:22 +0100 cl  r264732 : fixed build problem
2008-12-02 22:38:42 +0100 cl  r264731 : fixed build problem
2008-12-01 17:44:29 +0100 cl  r264623 : CWS-TOOLING: rebase CWS impressfontsize to trunk@264325 (milestone: DEV300:m36)
2008-11-07 11:38:13 +0100 cl  r263418 : #i95920# fixed an OpenSolaris build breaker
2008-11-06 14:56:04 +0100 cl  r263386 : #i40730# added support to supress export of hidden slides to html
2008-11-06 14:55:41 +0100 cl  r263385 : #i40730# added support to supress export of hidden slides to html
2008-11-06 14:03:59 +0100 cl  r263384 : #158530# allow editing of interaction links with hyperlink editor
2008-10-20 15:34:13 +0200 cl  r262322 : #i8824# migrate cws impressfontsize to subversion.
2008-12-11 15:25:59 +00:00

238 lines
6.9 KiB
C++

/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: pubdlg.hxx,v $
* $Revision: 1.12 $
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org 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 version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _SD_PUBDLG_HXX
#define _SD_PUBDLG_HXX
#include <com/sun/star/beans/PropertyValue.hpp>
#include <vcl/fixed.hxx>
#ifndef _GROUP_HXX //autogen
#include <vcl/group.hxx>
#endif
#ifndef _BUTTON_HXX //autogen
#include <vcl/button.hxx>
#endif
#ifndef _BUTTON_HXX //autogen
#include <vcl/button.hxx>
#endif
#ifndef _FIELD_HXX //autogen
#include <vcl/field.hxx>
#endif
#ifndef _DIALOG_HXX //autogen
#include <vcl/dialog.hxx>
#endif
#include "resltn.hxx" // enum PublishingResolution
#include "pres.hxx"
#include "assclass.hxx"
#include <boost/scoped_ptr.hpp>
#define NOOFPAGES 6
enum HtmlPublishMode { PUBLISH_HTML, PUBLISH_FRAMES, PUBLISH_WEBCAST, PUBLISH_KIOSK };
class SfxItemSet;
class FixedText;
class RadioButton;
class ListBox;
class ComboBox;
class Edit;
class MultiLineEdit;
class ValueSet;
class SdHtmlAttrPreview;
class List;
class SdPublishingDesign;
class ButtonSet;
// *********************************************************************
// Html-Export Autopilot
// *********************************************************************
class SdPublishingDlg : public ModalDialog
{
private:
// page 1 controls
FixedBitmap* pPage1_Bmp;
FixedLine* pPage1_Titel;
RadioButton* pPage1_NewDesign;
RadioButton* pPage1_OldDesign;
ListBox* pPage1_Designs;
PushButton* pPage1_DelDesign;
FixedText* pPage1_Desc;
// page 2 controls
FixedBitmap* pPage2_Bmp;
FixedLine* pPage2_Titel;
RadioButton* pPage2_Standard;
RadioButton* pPage2_Frames;
RadioButton* pPage2_Kiosk;
RadioButton* pPage2_WebCast;
FixedBitmap* pPage2_Standard_FB;
FixedBitmap* pPage2_Frames_FB;
FixedBitmap* pPage2_Kiosk_FB;
FixedBitmap* pPage2_WebCast_FB;
FixedLine* pPage2_Titel_Html;
CheckBox* pPage2_Content;
CheckBox* pPage2_Notes;
FixedLine* pPage2_Titel_WebCast;
RadioButton* pPage2_ASP;
RadioButton* pPage2_PERL;
FixedText* pPage2_URL_txt;
Edit* pPage2_URL;
FixedText* pPage2_CGI_txt;
Edit* pPage2_CGI;
FixedText* pPage2_Index_txt;
Edit* pPage2_Index;
FixedLine* pPage2_Vert;
FixedLine* pPage2_Titel_Kiosk;
RadioButton* pPage2_ChgDefault;
RadioButton* pPage2_ChgAuto;
FixedText* pPage2_Duration_txt;
TimeField* pPage2_Duration;
CheckBox* pPage2_Endless;
// page 3 controls
FixedBitmap* pPage3_Bmp;
FixedLine* pPage3_Titel1;
RadioButton* pPage3_Png;
RadioButton* pPage3_Gif;
RadioButton* pPage3_Jpg;
FixedText* pPage3_Quality_txt;
ComboBox* pPage3_Quality;
FixedLine* pPage3_Vert;
FixedLine* pPage3_Titel2;
RadioButton* pPage3_Resolution_1;
RadioButton* pPage3_Resolution_2;
RadioButton* pPage3_Resolution_3;
FixedLine* pPage3_Titel3;
CheckBox* pPage3_SldSound;
CheckBox* pPage3_HiddenSlides;
// page 4 controls
FixedBitmap* pPage4_Bmp;
FixedLine* pPage4_Titel1;
FixedText* pPage4_Author_txt;
Edit* pPage4_Author;
FixedText* pPage4_Email_txt;
Edit* pPage4_Email;
FixedText* pPage4_WWW_txt;
Edit* pPage4_WWW;
FixedText* pPage4_Titel2;
MultiLineEdit* pPage4_Misc;
CheckBox* pPage4_Download;
//-/ CheckBox* pPage4_Created;
// page 5 controls
FixedBitmap* pPage5_Bmp;
FixedLine* pPage5_Titel;
CheckBox* pPage5_TextOnly;
ValueSet* pPage5_Buttons;
// page 6 controls
FixedBitmap* pPage6_Bmp;
FixedLine* pPage6_Titel;
RadioButton* pPage6_Default;
RadioButton* pPage6_User;
PushButton* pPage6_Back;
PushButton* pPage6_Text;
PushButton* pPage6_Link;
PushButton* pPage6_VLink;
PushButton* pPage6_ALink;
RadioButton* pPage6_DocColors;
SdHtmlAttrPreview* pPage6_Preview;
boost::scoped_ptr< ButtonSet > mpButtonSet;
// CheckBox* pPage6_Sound;
// standard controls
FixedLine aBottomLine;
HelpButton aHelpButton;
CancelButton aCancelButton;
PushButton aLastPageButton;
PushButton aNextPageButton;
OKButton aFinishButton;
Assistent aAssistentFunc;
BOOL m_bImpress;
BOOL m_bButtonsDirty;
void SetDefaults();
void CreatePages();
void RemovePages();
Color m_aBackColor, m_aTextColor, m_aLinkColor;
Color m_aVLinkColor, m_aALinkColor;
void ChangePage();
void UpdatePage();
List* m_pDesignList;
BOOL m_bDesignListDirty;
SdPublishingDesign* m_pDesign;
BOOL Load();
BOOL Save();
void GetDesign( SdPublishingDesign* pDesign );
void SetDesign( SdPublishingDesign* pDesign );
void LoadPreviewButtons();
DECL_LINK( FinishHdl, OKButton * );
DECL_LINK( NextPageHdl, PushButton * );
DECL_LINK( LastPageHdl, PushButton * );
DECL_LINK( DesignHdl, RadioButton * );
DECL_LINK( DesignSelectHdl, ListBox * );
DECL_LINK( DesignDeleteHdl, PushButton * );
DECL_LINK( BaseHdl, RadioButton * );
DECL_LINK( ContentHdl, RadioButton * );
DECL_LINK( GfxFormatHdl, RadioButton * );
DECL_LINK( ResolutionHdl, RadioButton * );
DECL_LINK( ButtonsHdl, ValueSet* );
DECL_LINK( ColorHdl, PushButton * );
DECL_LINK( WebServerHdl, RadioButton * );
DECL_LINK( SlideChgHdl, RadioButton* );
public:
SdPublishingDlg(Window* pWindow, DocumentType eDocType);
~SdPublishingDlg();
void GetParameterSequence( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rParams );
};
#endif // _SD_PUBDLG_HXX