/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_SD_SOURCE_UI_INC_PUBDLG_HXX #define INCLUDED_SD_SOURCE_UI_INC_PUBDLG_HXX #include #include #include #include #include #include #include #include "resltn.hxx" #include "pres.hxx" #include "assclass.hxx" #include #include class FixedText; class RadioButton; class ListBox; class ComboBox; class Edit; class MultiLineEdit; class ValueSet; class SdHtmlAttrPreview; class SdPublishingDesign; class ButtonSet; // ********************************************************************* // Html-Export Autopilot // ********************************************************************* class SdPublishingDlg : public ModalDialog { private: // page 1 controls VclContainer* pPage1; FixedText* pPage1_Titel; RadioButton* pPage1_NewDesign; RadioButton* pPage1_OldDesign; ListBox* pPage1_Designs; PushButton* pPage1_DelDesign; FixedText* pPage1_Desc; // page 2 controls VclContainer* pPage2; VclContainer* pPage2Frame2; VclContainer* pPage2Frame3; VclContainer* pPage2Frame4; FixedText* pPage2_Titel; RadioButton* pPage2_Standard; RadioButton* pPage2_Frames; RadioButton* pPage2_SingleDocument; RadioButton* pPage2_Kiosk; RadioButton* pPage2_WebCast; FixedImage* pPage2_Standard_FB; FixedImage* pPage2_Frames_FB; FixedImage* pPage2_Kiosk_FB; FixedImage* pPage2_WebCast_FB; FixedText* pPage2_Titel_Html; CheckBox* pPage2_Content; CheckBox* pPage2_Notes; FixedText* 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; FixedText* pPage2_Titel_Kiosk; RadioButton* pPage2_ChgDefault; RadioButton* pPage2_ChgAuto; FixedText* pPage2_Duration_txt; TimeField* pPage2_Duration; CheckBox* pPage2_Endless; // page 3 controls VclContainer* pPage3; FixedText* pPage3_Titel1; RadioButton* pPage3_Png; RadioButton* pPage3_Gif; RadioButton* pPage3_Jpg; FixedText* pPage3_Quality_txt; ComboBox* pPage3_Quality; FixedText* pPage3_Titel2; RadioButton* pPage3_Resolution_1; RadioButton* pPage3_Resolution_2; RadioButton* pPage3_Resolution_3; FixedText* pPage3_Titel3; CheckBox* pPage3_SldSound; CheckBox* pPage3_HiddenSlides; // page 4 controls VclContainer* pPage4; FixedText* 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; VclMultiLineEdit* pPage4_Misc; CheckBox* pPage4_Download; // page 5 controls VclContainer* pPage5; FixedText* pPage5_Titel; CheckBox* pPage5_TextOnly; ValueSet* pPage5_Buttons; // page 6 controls VclContainer* pPage6; FixedText* 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; // standard controls PushButton* pLastPageButton; PushButton* pNextPageButton; PushButton* pFinishButton; Assistent aAssistentFunc; bool m_bImpress; bool m_bButtonsDirty; void SetDefaults(); void CreatePages(); Color m_aBackColor, m_aTextColor, m_aLinkColor; Color m_aVLinkColor, m_aALinkColor; void ChangePage(); void UpdatePage(); boost::ptr_vector m_aDesignList; bool m_bDesignListDirty; SdPublishingDesign* m_pDesign; bool Load(); bool Save(); void GetDesign( SdPublishingDesign* pDesign ); void SetDesign( SdPublishingDesign* pDesign ); void LoadPreviewButtons(); DECL_LINK( FinishHdl, void * ); DECL_LINK( NextPageHdl, void * ); DECL_LINK( LastPageHdl, void * ); DECL_LINK( DesignHdl, RadioButton * ); DECL_LINK( DesignSelectHdl, void * ); DECL_LINK( DesignDeleteHdl, void * ); DECL_LINK( BaseHdl, void * ); DECL_LINK( ContentHdl, void * ); DECL_LINK( GfxFormatHdl, RadioButton * ); DECL_LINK( ResolutionHdl, RadioButton * ); DECL_LINK( ButtonsHdl, void * ); DECL_LINK( ColorHdl, PushButton * ); DECL_LINK( WebServerHdl, RadioButton * ); DECL_LINK( SlideChgHdl, void * ); public: SdPublishingDlg(vcl::Window* pWindow, DocumentType eDocType); virtual ~SdPublishingDlg(); void GetParameterSequence( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rParams ); }; #endif // INCLUDED_SD_SOURCE_UI_INC_PUBDLG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */