LCOV - code coverage report
Current view: top level - svx/inc/svx - svxdlg.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 11 0.0 %
Date: 2012-08-25 Functions: 0 22 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 22 0.0 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : #ifndef _SVX_DIALOG_HXX
      29                 :            : #define _SVX_DIALOG_HXX
      30                 :            : 
      31                 :            : #include <sfx2/sfxdlg.hxx>
      32                 :            : #include <editeng/edtdlg.hxx>
      33                 :            : 
      34                 :            : class SdrModel;
      35                 :            : class SdrView;
      36                 :            : 
      37                 :            : #include <svx/dstribut_enum.hxx>
      38                 :            : #include <svx/rectenum.hxx> //add for enum RECT_POINT
      39                 :            : #include <com/sun/star/container/XIndexContainer.hpp> //add for FmShowColsDialog
      40                 :            : #include <com/sun/star/container/XNameReplace.hpp> //add for SvxMacroAssignDlg
      41                 :            : #include "svx/svxdllapi.h"
      42                 :            : #include <vector>
      43                 :            : 
      44                 :            : namespace com{namespace sun{namespace star{
      45                 :            : namespace linguistic2{
      46                 :            :     class XDictionary;
      47                 :            :     class XSpellChecker1;
      48                 :            :     class XSpellChecker;
      49                 :            :     class XThesaurus;
      50                 :            :     class XHyphenator;
      51                 :            : }}}}
      52                 :            : class SvxSpellWrapper; //add for SvxSpellCheckDialog
      53                 :            : typedef SfxTabPage* (*CreateSvxDistributePage)(Window *pParent, const SfxItemSet &rAttrSet, SvxDistributeHorizontal eHor, SvxDistributeVertical eVer);
      54                 :            : typedef sal_uInt16*     (*DialogGetRanges)();
      55                 :            : 
      56                 :            : struct ExchangeData;
      57                 :            : class INetURLObject;
      58                 :            : class GalleryTheme;
      59                 :            : class SvxHyperlinkTabPageBase;
      60                 :            : class SearchAttrItemList;
      61                 :            : class FmFormShell;
      62                 :            : class Graphic;
      63                 :            : class SdrObject;
      64                 :            : class SvxSpellWrapper;
      65                 :            : 
      66                 :            : typedef ::std::vector< String* > TargetList;
      67                 :            : 
      68                 :            : namespace svx{ class SpellDialogChildWindow;}
      69                 :            : 
      70         [ #  # ]:          0 : class AbstractSvxDistributeDialog :public VclAbstractDialog  //add for SvxDistributeDialog
      71                 :            : {
      72                 :            : public:
      73                 :            :     virtual SvxDistributeHorizontal GetDistributeHor() const = 0;
      74                 :            :     virtual SvxDistributeVertical GetDistributeVer() const = 0;
      75                 :            : };
      76                 :            : 
      77         [ #  # ]:          0 : class AbstractFmShowColsDialog : public VclAbstractDialog //add for FmShowColsDialog
      78                 :            : {
      79                 :            :  public:
      80                 :            :      virtual void SetColumns(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer>& xCols)= 0;
      81                 :            : };
      82                 :            : 
      83                 :            : class AbstractSvxZoomDialog : public VclAbstractDialog //add for SvxZoomDialog
      84                 :            : {
      85                 :            :  public:
      86                 :            :     virtual void    SetLimits( sal_uInt16 nMin, sal_uInt16 nMax ) = 0;
      87                 :            :     virtual void    HideButton( sal_uInt16 nBtnId )= 0;
      88                 :            :     virtual const SfxItemSet*   GetOutputItemSet() const = 0 ;
      89                 :            : };
      90                 :            : 
      91                 :            : class AbstractSpellDialog : public VclAbstractDialog //
      92                 :            : {
      93                 :            :  public:
      94                 :            :     virtual void        SetLanguage( sal_uInt16 nLang ) = 0;
      95                 :            :     virtual sal_Bool    Close() = 0;
      96                 :            :     virtual void        Invalidate() = 0;
      97                 :            :     virtual Window*     GetWindow()  = 0;
      98                 :            :     virtual SfxBindings& GetBindings() = 0;
      99                 :            : };
     100                 :            : 
     101                 :            : typedef long (*PLinkStub)( void*, void* );
     102                 :            : 
     103                 :            : class AbstractSearchProgress :public VclAbstractRefreshableDialog  //add for SearchProgress
     104                 :            : {
     105                 :            : public:
     106                 :            :     virtual void    SetFileType( const String& rType ) = 0;
     107                 :            :     virtual void    SetDirectory( const INetURLObject& rURL ) = 0;
     108                 :            :     virtual PLinkStub   GetLinkStubCleanUpHdl() = 0;
     109                 :            : };
     110                 :            : 
     111                 :            : class AbstractTakeProgress :public VclAbstractRefreshableDialog  //add for TakeProgress
     112                 :            : {
     113                 :            : public:
     114                 :            :     virtual void    SetFile( const INetURLObject& rURL ) = 0;
     115                 :            :     virtual PLinkStub   GetLinkStubCleanUpHdl() = 0;
     116                 :            : };
     117                 :            : 
     118         [ #  # ]:          0 : class AbstractTitleDialog :public VclAbstractDialog  //add for TitleDialog
     119                 :            : {
     120                 :            : public:
     121                 :            :     virtual String  GetTitle() const =0;
     122                 :            : };
     123                 :            : 
     124         [ #  # ]:          0 : class AbstractGalleryIdDialog :public VclAbstractDialog  //add for GalleryIdDialog
     125                 :            : {
     126                 :            : public:
     127                 :            :     virtual sal_uIntPtr GetId() const =0;
     128                 :            : };
     129                 :            : 
     130         [ #  # ]:          0 : class AbstractURLDlg :public VclAbstractDialog  //add for URLDlg
     131                 :            : {
     132                 :            : public:
     133                 :            :     virtual String      GetURL() const = 0;
     134                 :            :     virtual String      GetAltText() const = 0;
     135                 :            :     virtual String      GetDesc() const = 0;
     136                 :            :     virtual String      GetTarget() const = 0;
     137                 :            :     virtual String      GetName() const = 0;
     138                 :            : };
     139                 :            : 
     140                 :            : class AbstractSvxHlinkDlgMarkWnd :public VclAbstractDialog  //add for SvxHlinkDlgMarkWnd
     141                 :            : {
     142                 :            : public:
     143                 :            :     virtual sal_Bool    MoveTo ( Point aNewPos )const = 0;
     144                 :            :     virtual sal_Bool    ConnectToDialog( sal_Bool bDoit = sal_True )const = 0;
     145                 :            :     virtual void    RefreshTree ( String aStrURL ) = 0;
     146                 :            :     virtual void    SelectEntry ( String aStrMark ) = 0;
     147                 :            :     virtual sal_uInt16  SetError( sal_uInt16 nError) = 0;
     148                 :            :     // in class Window
     149                 :            :     virtual void    SetSizePixel( const Size& rNewSize ) = 0;
     150                 :            :     virtual Size    GetSizePixel() const = 0;
     151                 :            :     virtual void    Hide( sal_uInt16 nFlags = 0 ) = 0;
     152                 :            :     virtual sal_Bool    IsVisible() const = 0;
     153                 :            :     virtual void    Invalidate( sal_uInt16 nFlags = 0 ) = 0;
     154                 :            : };
     155                 :            : 
     156                 :            : class AbstractSvxSearchFormatDialog : public SfxAbstractTabDialog   //for SvxSearchFormatDialog
     157                 :            : {
     158                 :            : public:
     159                 :            :     //From class Window.
     160                 :            :     virtual void        SetText( const XubString& rStr ) =0 ;
     161                 :            :     virtual String      GetText() const =0 ;
     162                 :            : };
     163                 :            : 
     164         [ #  # ]:          0 : class AbstractSvxSearchSimilarityDialog :public VclAbstractDialog  //add for SvxSearchSimilarityDialog
     165                 :            : {
     166                 :            : public:
     167                 :            :     virtual sal_uInt16  GetOther() =0 ;
     168                 :            :     virtual sal_uInt16  GetShorter() =0 ;
     169                 :            :     virtual sal_uInt16  GetLonger() =0 ;
     170                 :            :     virtual sal_Bool    IsRelaxed() =0 ;
     171                 :            : };
     172                 :            : 
     173         [ #  # ]:          0 : class AbstractSvxJSearchOptionsDialog :public VclAbstractDialog  //add for SvxJSearchOptionsDialog
     174                 :            : {
     175                 :            : public:
     176                 :            :     virtual sal_Int32           GetTransliterationFlags() const = 0;
     177                 :            : };
     178                 :            : 
     179         [ #  # ]:          0 : class AbstractFmInputRecordNoDialog :public VclAbstractDialog  //add for FmInputRecordNoDialog
     180                 :            : {
     181                 :            : public:
     182                 :            :     virtual void SetValue(long dNew) = 0;
     183                 :            :     virtual long GetValue() const = 0;
     184                 :            : };
     185                 :            : 
     186                 :            : class AbstractSvxNewDictionaryDialog :public VclAbstractDialog  //add for SvxNewDictionaryDialog
     187                 :            : {
     188                 :            : public:
     189                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary >  GetNewDictionary() = 0;
     190                 :            : };
     191                 :            : 
     192                 :            : class AbstractSvxNameDialog :public VclAbstractDialog  //add for SvxNameDialog
     193                 :            : {
     194                 :            : public:
     195                 :            :     virtual void    GetName( String& rName ) = 0;
     196                 :            :     virtual void    SetCheckNameHdl( const Link& rLink, bool bCheckImmediately = false ) = 0;
     197                 :            :     virtual void    SetEditHelpId(const rtl::OString&) = 0;
     198                 :            :     //from class Window
     199                 :            :     virtual void    SetHelpId( const rtl::OString& ) = 0;
     200                 :            :     virtual void    SetText( const XubString& rStr ) = 0;
     201                 :            : };
     202                 :            : 
     203                 :            : ///////////////////////////////////////////////////////////////////////////////////////////////
     204                 :            : // #i68101#
     205                 :            : 
     206                 :            : class AbstractSvxObjectNameDialog :public VclAbstractDialog
     207                 :            : {
     208                 :            : public:
     209                 :            :     virtual void GetName(String& rName) = 0;
     210                 :            :     virtual void SetCheckNameHdl(const Link& rLink, bool bCheckImmediately = false) = 0;
     211                 :            : };
     212                 :            : 
     213                 :            : class AbstractSvxObjectTitleDescDialog :public VclAbstractDialog
     214                 :            : {
     215                 :            : public:
     216                 :            :     virtual void GetTitle(String& rTitle) = 0;
     217                 :            :     virtual void GetDescription(String& rDescription) = 0;
     218                 :            : };
     219                 :            : 
     220                 :            : ///////////////////////////////////////////////////////////////////////////////////////////////
     221                 :            : 
     222                 :            : class AbstractSvxMessDialog :public VclAbstractDialog  //add for SvxMessDialog
     223                 :            : {
     224                 :            : public:
     225                 :            :     virtual void    SetButtonText( sal_uInt16 nBtnId, const String& rNewTxt ) = 0;
     226                 :            : };
     227                 :            : 
     228                 :            : class AbstractSvxMultiPathDialog :public VclAbstractDialog  //add for SvxMultiPathDialog
     229                 :            : {
     230                 :            : public:
     231                 :            :     virtual String          GetPath() const = 0;
     232                 :            :     virtual void            SetPath( const String& rPath ) = 0;
     233                 :            :     virtual void            EnableRadioButtonMode() = 0;
     234                 :            :     virtual void            SetTitle( const String& rNewTitle ) = 0;
     235                 :            : };
     236                 :            : 
     237                 :            : class AbstractSvxMultiFileDialog :public AbstractSvxMultiPathDialog  //add for SvxMultiFileDialog
     238                 :            : {
     239                 :            : public:
     240                 :            :     virtual String  GetFiles() const = 0;
     241                 :            :     virtual void    SetFiles( const String& rPath ) = 0;
     242                 :            :     //from SvxMultiPathDialog
     243                 :            :     virtual void    SetClassPathMode() = 0;
     244                 :            :     //From Class Window
     245                 :            :     virtual void    SetHelpId( const rtl::OString& ) = 0;
     246                 :            : };
     247                 :            : 
     248                 :            : class AbstractSvxHpLinkDlg : public VclAbstractDialog  //add for SvxHpLinkDlg
     249                 :            : {
     250                 :            : public:
     251                 :            :     virtual Window*     GetWindow()  = 0;
     252                 :            :     virtual sal_Bool    QueryClose() = 0;
     253                 :            : };
     254                 :            : 
     255         [ #  # ]:          0 : class AbstractFmSearchDialog :public VclAbstractDialog  //add for FmSearchDialog
     256                 :            : {
     257                 :            : public:
     258                 :            :     virtual void SetFoundHandler(const Link& lnk) = 0;
     259                 :            :     virtual void SetCanceledNotFoundHdl(const Link& lnk)=0;
     260                 :            :     virtual void SetActiveField(const String& strField)=0;
     261                 :            : };
     262         [ #  # ]:          0 : class AbstractGraphicFilterDialog :public VclAbstractDialog  //add for GraphicFilterDialog
     263                 :            : {
     264                 :            : public:
     265                 :            :     virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) = 0;
     266                 :            : };
     267                 :            : 
     268                 :            : class AbstractSvxAreaTabDialog :public SfxAbstractTabDialog  //add for SvxAreaTabDialog
     269                 :            : {
     270                 :            : };
     271                 :            : 
     272                 :            : class AbstractSvxTransformTabDialog : public SfxAbstractTabDialog
     273                 :            : {
     274                 :            : public:
     275                 :            :     virtual void SetValidateFramePosLink( const Link& rLink ) = 0;
     276                 :            : };
     277                 :            : class AbstractSvxCaptionDialog : public SfxAbstractTabDialog
     278                 :            : {
     279                 :            : public:
     280                 :            :     virtual void SetValidateFramePosLink( const Link& rLink ) = 0;
     281                 :            : };
     282                 :            : 
     283                 :            : //-------------------------------------------------------------
     284                 :            : 
     285                 :            : class AbstractSvxPostItDialog :public VclAbstractDialog  //add for SvxPostItDialog
     286                 :            : {
     287                 :            : public:
     288                 :            :     virtual void                SetText( const XubString& rStr ) = 0;  //From class Window
     289                 :            :     virtual const SfxItemSet*   GetOutputItemSet() const = 0;
     290                 :            :     virtual void                SetPrevHdl( const Link& rLink ) = 0;
     291                 :            :     virtual void                SetNextHdl( const Link& rLink ) = 0;
     292                 :            :     virtual void                EnableTravel(sal_Bool bNext, sal_Bool bPrev) = 0;
     293                 :            :     virtual String              GetNote()  = 0;
     294                 :            :     virtual void                SetNote(const String& rTxt)  = 0;
     295                 :            :     virtual void                ShowLastAuthor(const String& rAuthor, const String& rDate) = 0;
     296                 :            :     virtual void                DontChangeAuthor() = 0;
     297                 :            :     virtual void                HideAuthor() = 0;
     298                 :            :     virtual void                SetReadonlyPostIt(sal_Bool bDisable) = 0;
     299                 :            :     virtual sal_Bool                IsOkEnabled() const  = 0;
     300                 :            :     virtual Window *            GetWindow() = 0;
     301                 :            : };
     302                 :            : 
     303                 :            : //-------------------------------------------------------------
     304                 :            : 
     305         [ #  # ]:          0 : class SvxAbstractSplittTableDialog : public VclAbstractDialog
     306                 :            : {
     307                 :            : public:
     308                 :            :     virtual bool IsHorizontal() const = 0;
     309                 :            :     virtual bool IsProportional() const = 0;
     310                 :            :     virtual long GetCount() const = 0;
     311                 :            : };
     312                 :            : 
     313                 :            : //-------------------------------------------------------------
     314                 :            : 
     315                 :            : class SvxAbstractNewTableDialog : public VclAbstractDialog
     316                 :            : {
     317                 :            : public:
     318                 :            :     virtual sal_Int32 getRows() const = 0;
     319                 :            :     virtual sal_Int32 getColumns() const = 0;
     320                 :            : };
     321                 :            : 
     322                 :            : class SvxAbstractInsRowColDlg : public VclAbstractDialog
     323                 :            : {
     324                 :            : public:
     325                 :            :     virtual bool isInsertBefore() const = 0;
     326                 :            :     virtual sal_uInt16 getInsertCount() const = 0;
     327                 :            : };
     328                 :            : 
     329                 :            : //-------------------------------------------------------------
     330                 :            : 
     331                 :            : class SVX_DLLPUBLIC SvxAbstractDialogFactory : public SfxAbstractDialogFactory, public EditAbstractDialogFactory
     332                 :            : {
     333                 :            : public:
     334                 :            :     static SvxAbstractDialogFactory* Create();
     335                 :            : 
     336                 :            :     // define dtor as this will create typeinfo and in svx library and export vtable
     337                 :            :     virtual                             ~SvxAbstractDialogFactory();
     338                 :            : 
     339                 :            :     virtual SfxAbstractTabDialog*       CreateTextTabDialog( Window* pParent,
     340                 :            :                                             const SfxItemSet* pAttrSet,
     341                 :            :                                             SdrView* pView,
     342                 :            :                                             SdrModel* pModel=0 ) = 0 ; //add for SvxTextTabDialog
     343                 :            : 
     344                 :            :     virtual AbstractSvxCaptionDialog* CreateCaptionDialog( Window* pParent,
     345                 :            :                                         const SdrView* pView,
     346                 :            :                                         sal_uInt16 nAnchorTypes = 0 ) = 0; //add for SvxCaptionTabDialog
     347                 :            : 
     348                 :            :     virtual AbstractSvxDistributeDialog*    CreateSvxDistributeDialog(Window* pParent,
     349                 :            :                                             const SfxItemSet& rAttr,
     350                 :            :                                             SvxDistributeHorizontal eHor = SvxDistributeHorizontalNone,
     351                 :            :                                             SvxDistributeVertical eVer = SvxDistributeVerticalNone)= 0;
     352                 :            : 
     353                 :            :     virtual AbstractFmShowColsDialog * CreateFmShowColsDialog( Window* pParent ) = 0;
     354                 :            : 
     355                 :            :     virtual AbstractSvxZoomDialog * CreateSvxZoomDialog( Window* pParent,  //add for SvxZoomDialog
     356                 :            :                                             const SfxItemSet& rCoreSet )=0;
     357                 :            : 
     358                 :            :     virtual AbstractSpellDialog *   CreateSvxSpellDialog(Window* pParent,
     359                 :            :                                             SfxBindings* pBindings,
     360                 :            :                                             svx::SpellDialogChildWindow* pSpellChildWindow )=0;
     361                 :            : 
     362                 :            :     virtual VclAbstractRefreshableDialog * CreateActualizeProgressDialog( Window* pParent,  //add for ActualizeProgress
     363                 :            :                                             GalleryTheme* pThm ) = 0;
     364                 :            :     virtual AbstractSearchProgress * CreateSearchProgressDialog( Window* pParent,  //add for SearchProgress
     365                 :            :                                             const INetURLObject& rStartURL ) = 0;
     366                 :            :     virtual AbstractTakeProgress * CreateTakeProgressDialog( Window* pParent ) = 0;
     367                 :            :     virtual AbstractTitleDialog * CreateTitleDialog( Window* pParent,  //add for TitleDialog
     368                 :            :                                              const String& rOldText ) = 0;
     369                 :            :     virtual AbstractGalleryIdDialog * CreateGalleryIdDialog( Window* pParent,  //add for SvxZoomDialog
     370                 :            :                                             GalleryTheme* pThm ) = 0;
     371                 :            :     virtual VclAbstractDialog2 * CreateGalleryThemePropertiesDialog( Window* pParent,  //add for GalleryThemeProperties
     372                 :            :                                             ExchangeData* pData,
     373                 :            :                                             SfxItemSet* pItemSet ) = 0;
     374                 :            :     virtual AbstractURLDlg * CreateURLDialog( Window* pParent,
     375                 :            :                                             const String& rURL, const String& rAltText, const String& rDescription,
     376                 :            :                                             const String& rTarget, const String& rName,
     377                 :            :                                             TargetList& rTargetList ) = 0;
     378                 :            :     virtual AbstractSvxHlinkDlgMarkWnd* CreateSvxHlinkDlgMarkWndDialog( SvxHyperlinkTabPageBase* pParent, sal_uInt32 nResId ) =0; //add for SvxHlinkDlgMarkWnd
     379                 :            : 
     380                 :            :     virtual SfxAbstractTabDialog* CreateTabItemDialog( Window* pParent, //add for SvxSearchFormatDialog
     381                 :            :                                             const SfxItemSet& rSet,
     382                 :            :                                             sal_uInt32 nResId) = 0;
     383                 :            :     virtual VclAbstractDialog*      CreateSvxSearchAttributeDialog( Window* pParent,  //add for SvxSearchAttributeDialog
     384                 :            :                                             SearchAttrItemList& rLst,
     385                 :            :                                             const sal_uInt16* pWhRanges)=0;
     386                 :            :     virtual AbstractSvxSearchSimilarityDialog * CreateSvxSearchSimilarityDialog( Window* pParent,  //add for SvxSearchSimilarityDialog
     387                 :            :                                                             sal_Bool bRelax,
     388                 :            :                                                             sal_uInt16 nOther,
     389                 :            :                                                             sal_uInt16 nShorter,
     390                 :            :                                                             sal_uInt16 nLonger ) = 0;
     391                 :            :     virtual SfxAbstractTabDialog* CreateSvxBorderBackgroundDlg( Window* pParent, //add for SvxBorderBackgroundDlg
     392                 :            :                                             const SfxItemSet& rCoreSet,
     393                 :            :                                             sal_Bool bEnableSelector = sal_False) = 0;
     394                 :            :     virtual AbstractSvxTransformTabDialog* CreateSvxTransformTabDialog( Window* pParent, //add for SvxTransformTabDialog
     395                 :            :                                                                 const SfxItemSet* pAttr,
     396                 :            :                                                                 const SdrView* pView,
     397                 :            :                                                                 sal_uInt16 nAnchorTypes = 0) = 0;
     398                 :            :     virtual SfxAbstractTabDialog* CreateSchTransformTabDialog( Window* pParent,  //add for SchTransformTabDialog
     399                 :            :                                                                 const SfxItemSet* pAttr,
     400                 :            :                                                                 const SdrView* pSdrView,
     401                 :            :                                                                 sal_uInt32 nResId,
     402                 :            :                                                                 bool bSizeTabPage = false
     403                 :            :                                                                  )=0;
     404                 :            :     virtual AbstractSvxJSearchOptionsDialog * CreateSvxJSearchOptionsDialog( Window* pParent,
     405                 :            :                                                             const SfxItemSet& rOptionsSet,
     406                 :            :                                                             sal_Int32 nInitialFlags )=0;
     407                 :            :     virtual AbstractFmInputRecordNoDialog * CreateFmInputRecordNoDialog( Window* pParent ) = 0;
     408                 :            :     virtual AbstractSvxNewDictionaryDialog* CreateSvxNewDictionaryDialog( Window* pParent,
     409                 :            :                                             ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellChecker1 >  &xSpl,
     410                 :            :                                             sal_uInt32 nResId ) = 0; //add for SvxNewDictionaryDialog
     411                 :            :     virtual VclAbstractDialog *     CreateSvxEditDictionaryDialog( Window* pParent,
     412                 :            :                                             const String& rName,
     413                 :            :                                             ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellChecker1> &xSpl,
     414                 :            :                                             sal_uInt32 nResId) = 0;//add for SvxEditDictionaryDialog
     415                 :            :     virtual AbstractSvxNameDialog *     CreateSvxNameDialog( Window* pParent,
     416                 :            :                                             const String& rName, const String& rDesc ) = 0; //add for SvxNameDialog
     417                 :            : 
     418                 :            :     // #i68101#
     419                 :            :     virtual AbstractSvxObjectNameDialog* CreateSvxObjectNameDialog(Window* pParent, const String& rName ) = 0;
     420                 :            :     virtual AbstractSvxObjectTitleDescDialog* CreateSvxObjectTitleDescDialog(Window* pParent, const String& rTitle, const String& rDescription) = 0;
     421                 :            : 
     422                 :            :     virtual AbstractSvxMessDialog *     CreateSvxMessDialog( Window* pParent, sal_uInt32 nResId,
     423                 :            :                                             const String& rText, const String& rDesc,
     424                 :            :                                             Image* pImg = NULL ) = 0; //add for SvxMessDialog
     425                 :            : 
     426                 :            :     virtual AbstractSvxMultiPathDialog *    CreateSvxMultiPathDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False ) = 0 ; //add for SvxMultiPathDialog
     427                 :            :     virtual AbstractSvxMultiFileDialog *    CreateSvxMultiFileDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False ) = 0 ; //add for SvxMultiFileDialog
     428                 :            :     virtual AbstractSvxHpLinkDlg *  CreateSvxHpLinkDlg (Window* pParent,  //add for SvxMultiFileDialog
     429                 :            :                                             SfxBindings* pBindings,
     430                 :            :                                             sal_uInt32 nResId)=0;
     431                 :            :     virtual AbstractFmSearchDialog* CreateFmSearchDialog(Window* pParent, //add for FmSearchDialog
     432                 :            :                                                         const String& strInitialText,
     433                 :            :                                                         const ::std::vector< String >& _rContexts,
     434                 :            :                                                         sal_Int16 nInitialContext,
     435                 :            :                                                         const Link& lnkContextSupplier)=0;
     436                 :            :     virtual AbstractGraphicFilterDialog *   CreateGraphicFilterEmboss (Window* pParent,  //add for GraphicFilterEmboss
     437                 :            :                                                 const Graphic& rGraphic,
     438                 :            :                                                 RECT_POINT eLightSource, sal_uInt32 nResId )=0;
     439                 :            :     virtual AbstractGraphicFilterDialog *   CreateGraphicFilterPosterSepia (Window* pParent,  //add for GraphicFilterPoster & GraphicFilterSepia
     440                 :            :                                                 const Graphic& rGraphic,
     441                 :            :                                                 sal_uInt16 nCount,
     442                 :            :                                                 sal_uInt32 nResId)=0;
     443                 :            :     virtual AbstractGraphicFilterDialog *   CreateGraphicFilterSmooth (Window* pParent,  //add for GraphicFilterSmooth
     444                 :            :                                                 const Graphic& rGraphic,
     445                 :            :                                                 double nRadius, sal_uInt32 nResId)=0;
     446                 :            :     virtual AbstractGraphicFilterDialog *   CreateGraphicFilterSolarize (Window* pParent,  //add for GraphicFilterSolarize
     447                 :            :                                                 const Graphic& rGraphic,
     448                 :            :                                                 sal_uInt8 nGreyThreshold, sal_Bool bInvert, sal_uInt32 nResId)=0;
     449                 :            :     virtual AbstractGraphicFilterDialog *   CreateGraphicFilterMosaic (Window* pParent,  //add for GraphicFilterMosaic
     450                 :            :                                                 const Graphic& rGraphic,
     451                 :            :                                                 sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, sal_Bool bEnhanceEdges, sal_uInt32 nResId)=0;
     452                 :            :     virtual AbstractSvxAreaTabDialog*       CreateSvxAreaTabDialog( Window* pParent,//add for SvxAreaTabDialog
     453                 :            :                                                             const SfxItemSet* pAttr,
     454                 :            :                                                             SdrModel* pModel,
     455                 :            :                                                             const SdrView* pSdrView = NULL ) = 0 ;
     456                 :            :     virtual SfxAbstractTabDialog*           CreateSvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr, //add forSvxLineTabDialog
     457                 :            :                                                                  SdrModel* pModel,
     458                 :            :                                                                  const SdrObject* pObj = NULL,
     459                 :            :                                                                 sal_Bool bHasObj = sal_True )=0;
     460                 :            :     virtual VclAbstractDialog*              CreateSfxDialog( Window* pParent, const SfxBindings& rBindings, sal_uInt32 nResId ) = 0;
     461                 :            :     virtual SfxAbstractDialog*              CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog
     462                 :            :                                                                         const SfxItemSet& rAttr,
     463                 :            :                                                                         const SdrView* pView,
     464                 :            :                                                                         sal_uInt32 nResId
     465                 :            :                                                                         )=0;
     466                 :            :     virtual SfxAbstractDialog*              CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog
     467                 :            :                                                                         const SfxItemSet& rAttr,
     468                 :            :                                     const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame,
     469                 :            :                                                                         sal_uInt32 nResId
     470                 :            :                                                                         )=0;
     471                 :            :     virtual AbstractSvxPostItDialog*        CreateSvxPostItDialog( Window* pParent, //add for SvxPostItDialog
     472                 :            :                                                                         const SfxItemSet& rCoreSet,
     473                 :            :                                                                         sal_Bool bPrevNext = sal_False, sal_Bool bRedline = sal_False )=0;
     474                 :            :     virtual VclAbstractDialog*          CreateSvxScriptOrgDialog( Window* pParent, const String& rLanguage ) = 0;
     475                 :            : 
     476                 :            :     virtual CreateSvxDistributePage     GetSvxDistributePageCreatorFunc() = 0; //  add for SvxDistributePage
     477                 :            :     virtual DialogGetRanges         GetDialogGetRangesFunc( sal_uInt16 nId ) = 0; //add for SvxPostItDialog
     478                 :            : 
     479                 :            :     virtual AbstractScriptSelectorDialog*
     480                 :            :         CreateScriptSelectorDialog(
     481                 :            :             Window* pParent,
     482                 :            :             sal_Bool bShowSlots,
     483                 :            :             const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame
     484                 :            :         ) = 0;
     485                 :            : 
     486                 :            :     virtual VclAbstractDialog* CreateScriptErrorDialog(
     487                 :            :             Window* pParent, com::sun::star::uno::Any aException) = 0;
     488                 :            : 
     489                 :            :     virtual VclAbstractDialog*  CreateSvxMacroAssignDlg(
     490                 :            :                 Window* _pParent,
     491                 :            :                 const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxDocumentFrame,
     492                 :            :                 const bool _bUnoDialogMode,
     493                 :            :                 const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace >& _rxEvents,
     494                 :            :                 const sal_uInt16 _nInitiallySelectedEvent
     495                 :            :             ) = 0;
     496                 :            : 
     497                 :            :     virtual SfxAbstractTabDialog* CreateSvxFormatCellsDialog( Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel, const SdrObject* pObj = NULL )=0;
     498                 :            : 
     499                 :            :     virtual SvxAbstractSplittTableDialog* CreateSvxSplittTableDialog( Window* pParent, bool bIsTableVertical, long nMaxVertical, long nMaxHorizontal )=0;
     500                 :            : 
     501                 :            :     virtual SvxAbstractNewTableDialog* CreateSvxNewTableDialog( Window* pParent ) = 0;
     502                 :            : 
     503                 :            :     virtual SvxAbstractInsRowColDlg* CreateSvxInsRowColDlg( Window* pParent, bool bCol, const rtl::OString& sHelpId ) = 0;
     504                 :            : };
     505                 :            : 
     506                 :            : #endif
     507                 :            : 
     508                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10