/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * 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 * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef _EXTENSIONS_PRELOAD_OEMWIZ_HXX_ #define _EXTENSIONS_PRELOAD_OEMWIZ_HXX_ #include #include #include #include #include #include #include #include #include //......................................................................... namespace preload { #define OEM_WELCOME 0 #define OEM_LICENSE 1 #define OEM_USERDATA 2 //......................................................................... //===================================================================== //= OEMPreloadDialog //===================================================================== struct OEMPreloadDialog_Impl; class OEMPreloadDialog : public WizardDialog { PushButton aPrevPB; PushButton aNextPB; CancelButton aCancelPB; String aNextST; String aAcceptST; String aFinishST; String aDlgTitle; String aLicense; String aUserData; OEMPreloadDialog_Impl* pImpl; DECL_LINK(NextPrevPageHdl, PushButton*); protected: public: OEMPreloadDialog( Window* _pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxObjectModel, const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB ); ~OEMPreloadDialog(); const String& GetAcceptString()const {return aAcceptST;} const String GetCancelString() const {return aCancelPB.GetText();} void SetCancelString( const String& rText ); static sal_Bool LoadFromLocalFile(const String& rFileName, String& rContent); }; class OEMWelcomeTabPage : public TabPage { FixedText aInfoFT; public: OEMWelcomeTabPage(Window* pParent); ~OEMWelcomeTabPage(); }; class LicenceView : public MultiLineEdit, public SfxListener { BOOL mbEndReached; Link maEndReachedHdl; Link maScrolledHdl; public: LicenceView( Window* pParent, const ResId& rResId ); ~LicenceView(); void ScrollDown( ScrollType eScroll ); BOOL IsEndReached() const; BOOL EndReached() const { return mbEndReached; } void SetEndReached( BOOL bEnd ) { mbEndReached = bEnd; } void SetEndReachedHdl( const Link& rHdl ) { maEndReachedHdl = rHdl; } const Link& GetAutocompleteHdl() const { return maEndReachedHdl; } void SetScrolledHdl( const Link& rHdl ) { maScrolledHdl = rHdl; } const Link& GetScrolledHdl() const { return maScrolledHdl; } virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); private: using MultiLineEdit::Notify; }; class OEMLicenseTabPage : public TabPage { LicenceView aLicenseML; FixedText aInfo1FT; FixedText aInfo2FT; FixedText aInfo3FT; FixedText aInfo2_1FT; FixedText aInfo3_1FT; CheckBox aCBAccept; PushButton aPBPageDown; FixedImage aArrow; String aStrAccept; String aStrNotAccept; String aOldCancelText; BOOL bEndReached; OEMPreloadDialog* pPreloadDialog; void EnableControls(); DECL_LINK( AcceptHdl, CheckBox * ); DECL_LINK( PageDownHdl, PushButton * ); DECL_LINK( EndReachedHdl, LicenceView * ); DECL_LINK( ScrolledHdl, LicenceView * ); public: OEMLicenseTabPage(OEMPreloadDialog* pParent); ~OEMLicenseTabPage(); virtual void ActivatePage(); }; //......................................................................... } // namespace preload //......................................................................... #endif // _EXTENSIONS_PRELOAD_OEMWIZ_HXX_ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ backports LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sysui
AgeCommit message (Expand)Author
2015-11-03sysui: Collabora Office brandingAndras Timar
2015-11-02OS X: Change main LibreOffice icon to Collabora Office iconAndras Timar
2015-10-28Collabora Office brandingAndras Timar
2015-10-17PREFIXDIR must be /usr for .deb system integration packageAndras Timar
2015-10-15Info.plist from masterAndras Timar
2015-05-25add mime types for Pages and NumbersDavid Tardon
2015-04-21Initial AppArmor profilesBryan Quigley
2015-03-30Revert "Merge the --invisible and --headless options"Tor Lillqvist
2015-03-30Merge the --invisible and --headless optionsTor Lillqvist
2015-03-29Think aloudTor Lillqvist
2015-01-07add newly supported mime typesDavid Tardon
2014-12-22desktop, sysui: let --convert-to imply --headlessMiklos Vajna
2014-11-11update solaris directories being referencedRichard PALO
2014-10-13Register flat file mime types on OS XMatthew J. Francis
2014-10-08Remove smb from X-KDE-Protocols linesStephan Bergmann
2014-09-13mac: enable-retina is now the defaultNorbert Thiebaud
2014-09-11create a master document template typeCaolán McNamara
2014-06-27add PageMaker to the list of supported formatsDavid Tardon
2014-06-15fix build of menu-packages (do hardcode /usr)Christian Lohmaier
2014-06-11Do not hard code /usrBaptiste Daroussin
2014-06-08Use MACOSX_APP_NAMETor Lillqvist
2014-06-08add newly supported mimetypesDavid Tardon
2014-05-22use $(gb_AWK) instead of awkChristian Lohmaier
2014-04-17remove executable bitAndras Timar
2014-04-04drop OnlyShowIn from .desktop filesCaolán McNamara
2014-03-21drop spadminCaolán McNamara
2014-01-26macosx: add --enable-macosx-retinaNorbert Thiebaud
2014-01-23Revert "regression since fdo#70553"David Tardon
2014-01-23regression since fdo#70553David Tardon
2014-01-02Fix math categories to make SUSE rpm check happyTomáš Chvátal
2013-11-20add some new mimetypesDavid Tardon
2013-11-12add missing semicolonDavid Tardon
2013-11-12sysui: fix incremental builds in CustomTarget_shareMichael Stahl
2013-11-04sysui: fix yet more cases of accidental OpenOffice.org XML rebrandingMichael Stahl
2013-11-02remove SOLARENV variableMichael Stahl
2013-11-02fdo#70553: Fix Unity QuicklistsJean-Baptiste Faure
2013-10-31sysui: remove Package_desktopMichael Stahl
2013-10-30sysui: remove Package_iconsMichael Stahl
2013-10-30sysui: stop delivering icons that are unusedMichael Stahl
2013-10-30