rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialog
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
This commit is contained in:
parent
5f1e50030c
commit
bd272cd3da
50 changed files with 68 additions and 68 deletions
|
@ -41,7 +41,7 @@ namespace chart
|
|||
using namespace ::com::sun::star;
|
||||
|
||||
NumberFormatDialog::NumberFormatDialog(Window* pParent, SfxItemSet& rSet)
|
||||
: SfxSingleTabDialog( pParent, rSet, 0 )
|
||||
: SfxNoLayoutSingleTabDialog( pParent, rSet, 0 )
|
||||
{
|
||||
SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
|
||||
::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( RID_SVXPAGE_NUMBERFORMAT );
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace chart
|
|||
{
|
||||
//.............................................................................
|
||||
|
||||
class NumberFormatDialog : public SfxSingleTabDialog
|
||||
class NumberFormatDialog : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
NumberFormatDialog(Window* pParent, SfxItemSet& rSet);
|
||||
|
|
|
@ -1541,7 +1541,7 @@ css::uno::Reference< css::frame::XModel > SfxAcceleratorConfigPage::SearchForAlr
|
|||
}
|
||||
|
||||
SvxShortcutAssignDlg::SvxShortcutAssignDlg( Window* pParent, const uno::Reference< frame::XFrame >& rxDocumentFrame, const SfxItemSet& rSet )
|
||||
: SfxSingleTabDialog( pParent, rSet, 0 )
|
||||
: SfxNoLayoutSingleTabDialog( pParent, rSet, 0 )
|
||||
{
|
||||
SfxTabPage* pPage = SfxAcceleratorConfigPage::Create( this, rSet );
|
||||
pPage->SetFrame( rxDocumentFrame );
|
||||
|
|
|
@ -950,7 +950,7 @@ SvxMacroAssignSingleTabDialog::~SvxMacroAssignSingleTabDialog()
|
|||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
// According to SfxSingleTabDialog
|
||||
// According to SfxNoLayoutSingleTabDialog
|
||||
void SvxMacroAssignSingleTabDialog::SetTabPage( SfxTabPage* pTabPage )
|
||||
{
|
||||
pFixedLine = new FixedLine( this );
|
||||
|
|
|
@ -497,8 +497,8 @@ void SpellDialog::StartSpellOptDlg_Impl()
|
|||
};
|
||||
SfxItemSet aSet( SFX_APP()->GetPool(), aSpellInfos);
|
||||
aSet.Put(SfxSpellCheckItem( xSpell, SID_ATTR_SPELL ));
|
||||
SfxSingleTabDialog* pDlg =
|
||||
new SfxSingleTabDialog( this, aSet, RID_SFXPAGE_LINGU );
|
||||
SfxNoLayoutSingleTabDialog* pDlg =
|
||||
new SfxNoLayoutSingleTabDialog( this, aSet, RID_SFXPAGE_LINGU );
|
||||
SfxTabPage* pPage = SvxLinguTabPage::Create( pDlg, aSet );
|
||||
( (SvxLinguTabPage*)pPage )->HideGroups( GROUP_MODULES );
|
||||
pDlg->SetTabPage( pPage );
|
||||
|
|
|
@ -1653,7 +1653,7 @@ SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( Window* pParent,
|
|||
sal_uInt32 nResId
|
||||
)
|
||||
{
|
||||
SfxSingleTabDialog* pDlg=NULL;
|
||||
SfxNoLayoutSingleTabDialog* pDlg=NULL;
|
||||
switch ( nResId )
|
||||
{
|
||||
case RID_SVXPAGE_MEASURE :
|
||||
|
|
|
@ -197,7 +197,7 @@ public:
|
|||
void ExpandEntry ( sal_uInt16 nPos, const String &rStr );
|
||||
};
|
||||
|
||||
class SvxShortcutAssignDlg : public SfxSingleTabDialog
|
||||
class SvxShortcutAssignDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
SvxShortcutAssignDlg(
|
||||
|
|
|
@ -83,9 +83,9 @@ public:
|
|||
virtual void PageCreated (SfxAllItemSet aSet);
|
||||
};
|
||||
|
||||
/* Derived from SfxSingleTabDialog, in order to be informed about
|
||||
/* Derived from SfxNoLayoutSingleTabDialog, in order to be informed about
|
||||
virtual methods by the control. */
|
||||
class SvxConnectionDialog : public SfxSingleTabDialog
|
||||
class SvxConnectionDialog : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
SvxConnectionDialog( Window* pParent, const SfxItemSet& rAttr,
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
class SvxJSearchOptionsPage;
|
||||
|
||||
class SvxJSearchOptionsDialog : public SfxSingleTabDialog
|
||||
class SvxJSearchOptionsDialog : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
sal_Int32 nInitialTlFlags;
|
||||
SvxJSearchOptionsPage *pPage;
|
||||
|
|
|
@ -126,7 +126,7 @@ namespace svx
|
|||
//= DatabaseRegistrationDialog
|
||||
//====================================================================
|
||||
class DatabaseRegistrationDialog :public RegistrationItemSetHolder
|
||||
,public SfxSingleTabDialog
|
||||
,public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
DatabaseRegistrationDialog( Window* pParent, const SfxItemSet& rAttr );
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
SvxDistributeVertical GetDistributeVer() const { return meDistributeVer; }
|
||||
};
|
||||
|
||||
class SvxDistributeDialog : public SfxSingleTabDialog
|
||||
class SvxDistributeDialog : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
SvxDistributePage* mpPage;
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ public:
|
|||
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet );
|
||||
};
|
||||
|
||||
class SfxMacroAssignDlg : public SfxSingleTabDialog
|
||||
class SfxMacroAssignDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
SfxMacroAssignDlg(
|
||||
|
|
|
@ -92,9 +92,9 @@ public:
|
|||
virtual void PageCreated (SfxAllItemSet aSet);
|
||||
};
|
||||
|
||||
/* Derived from SfxSingleTabDialog, in order to be able to be
|
||||
/* Derived from SfxNoLayoutSingleTabDialog, in order to be able to be
|
||||
informed about virtual methods by the control. */
|
||||
class SvxMeasureDialog : public SfxSingleTabDialog
|
||||
class SvxMeasureDialog : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
SvxMeasureDialog( Window* pParent, const SfxItemSet& rAttr,
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
SvxJSearchOptionsDialog::SvxJSearchOptionsDialog(
|
||||
Window *pParent,
|
||||
const SfxItemSet& rOptionsSet, sal_Int32 nInitialFlags ) :
|
||||
SfxSingleTabDialog ( pParent, rOptionsSet, RID_SVXPAGE_JSEARCH_OPTIONS ),
|
||||
SfxNoLayoutSingleTabDialog ( pParent, rOptionsSet, RID_SVXPAGE_JSEARCH_OPTIONS ),
|
||||
nInitialTlFlags( nInitialFlags )
|
||||
{
|
||||
pPage = (SvxJSearchOptionsPage *)
|
||||
|
@ -63,7 +63,7 @@ SvxJSearchOptionsDialog::SvxJSearchOptionsDialog(
|
|||
SvxJSearchOptionsDialog::~SvxJSearchOptionsDialog()
|
||||
{
|
||||
// pPage will be implicitly destroyed by the
|
||||
// SfxSingleTabDialog destructor
|
||||
// SfxNoLayoutSingleTabDialog destructor
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ RegistrationItemSetHolder::~RegistrationItemSetHolder()
|
|||
|
||||
DatabaseRegistrationDialog::DatabaseRegistrationDialog( Window* pParent, const SfxItemSet& rInAttrs )
|
||||
:RegistrationItemSetHolder( rInAttrs )
|
||||
,SfxSingleTabDialog( pParent, getRegistrationItems(), RID_SFXPAGE_DBREGISTER )
|
||||
,SfxNoLayoutSingleTabDialog( pParent, getRegistrationItems(), RID_SFXPAGE_DBREGISTER )
|
||||
{
|
||||
SfxTabPage* page = DbRegistrationOptionsPage::Create( this, getRegistrationItems() );
|
||||
|
||||
|
@ -90,7 +90,7 @@ DatabaseRegistrationDialog::~DatabaseRegistrationDialog()
|
|||
|
||||
short DatabaseRegistrationDialog::Execute()
|
||||
{
|
||||
short result = SfxSingleTabDialog::Execute();
|
||||
short result = SfxNoLayoutSingleTabDialog::Execute();
|
||||
if ( result == RET_OK )
|
||||
{
|
||||
DBG_ASSERT( GetOutputItemSet(), "DatabaseRegistrationDialog::Execute: no output items!" );
|
||||
|
|
|
@ -55,7 +55,7 @@ static sal_uInt16 pRanges[] =
|
|||
|
||||
SvxConnectionDialog::SvxConnectionDialog( Window* pParent, const SfxItemSet& rInAttrs,
|
||||
const SdrView* pSdrView ) :
|
||||
SfxSingleTabDialog( pParent, rInAttrs, RID_SVXPAGE_CONNECTION )
|
||||
SfxNoLayoutSingleTabDialog( pParent, rInAttrs, RID_SVXPAGE_CONNECTION )
|
||||
{
|
||||
SvxConnectionPage* _pPage = new SvxConnectionPage( this, rInAttrs );
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ SvxDistributeDialog::SvxDistributeDialog(
|
|||
const SfxItemSet& rInAttrs,
|
||||
SvxDistributeHorizontal eHor,
|
||||
SvxDistributeVertical eVer)
|
||||
: SfxSingleTabDialog(pParent, rInAttrs, RID_SVXPAGE_DISTRIBUTE ),
|
||||
: SfxNoLayoutSingleTabDialog(pParent, rInAttrs, RID_SVXPAGE_DISTRIBUTE ),
|
||||
mpPage(0L)
|
||||
{
|
||||
mpPage = new SvxDistributePage(this, rInAttrs, eHor, eVer);
|
||||
|
|
|
@ -487,7 +487,7 @@ SfxTabPage* SfxMacroTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet
|
|||
}
|
||||
|
||||
SfxMacroAssignDlg::SfxMacroAssignDlg( Window* pParent, const Reference< XFrame >& rxDocumentFrame, const SfxItemSet& rSet )
|
||||
: SfxSingleTabDialog( pParent, rSet, 0 )
|
||||
: SfxNoLayoutSingleTabDialog( pParent, rSet, 0 )
|
||||
{
|
||||
SfxTabPage* pPage = SfxMacroTabPage::Create( this, rSet );
|
||||
pPage->SetFrame( rxDocumentFrame );
|
||||
|
|
|
@ -55,7 +55,7 @@ static sal_uInt16 pRanges[] =
|
|||
|
||||
SvxMeasureDialog::SvxMeasureDialog( Window* pParent, const SfxItemSet& rInAttrs,
|
||||
const SdrView* pSdrView ) :
|
||||
SfxSingleTabDialog( pParent, rInAttrs, RID_SVXPAGE_MEASURE )
|
||||
SfxNoLayoutSingleTabDialog( pParent, rInAttrs, RID_SVXPAGE_MEASURE )
|
||||
{
|
||||
SvxMeasurePage* _pPage = new SvxMeasurePage( this, rInAttrs );
|
||||
|
||||
|
|
|
@ -1135,7 +1135,7 @@ IMPL_LINK( SvxNumberFormatTabPage, DoubleClickHdl_Impl, SvxFontListBox*, pLb )
|
|||
}
|
||||
else
|
||||
{
|
||||
SfxSingleTabDialog* pParent = dynamic_cast< SfxSingleTabDialog* >( GetParent() );
|
||||
SfxNoLayoutSingleTabDialog* pParent = dynamic_cast< SfxNoLayoutSingleTabDialog* >( GetParent() );
|
||||
OKButton* pOKButton = pParent ? pParent->GetOKButton() : NULL;
|
||||
if ( pOKButton )
|
||||
pOKButton->Click();
|
||||
|
|
|
@ -47,7 +47,7 @@ OTableSubscriptionDialog::OTableSubscriptionDialog(Window* pParent
|
|||
,SfxItemSet* _pItems
|
||||
,const Reference< XComponentContext >& _rxORB
|
||||
,const ::com::sun::star::uno::Any& _aDataSourceName)
|
||||
:SfxSingleTabDialog(pParent,DLG_TABLE_FILTER,_pItems)
|
||||
:SfxNoLayoutSingleTabDialog(pParent,DLG_TABLE_FILTER,_pItems)
|
||||
,m_pImpl( new ODbDataSourceAdministrationHelper( _rxORB, pParent, this ) )
|
||||
,m_bStopExecution(sal_False)
|
||||
,m_pOutSet(_pItems)
|
||||
|
@ -76,7 +76,7 @@ short OTableSubscriptionDialog::Execute()
|
|||
short nRet = RET_CANCEL;
|
||||
if ( !m_bStopExecution )
|
||||
{
|
||||
nRet = SfxSingleTabDialog::Execute();
|
||||
nRet = SfxNoLayoutSingleTabDialog::Execute();
|
||||
if ( nRet == RET_OK )
|
||||
{
|
||||
m_pOutSet->Put(*GetOutputItemSet());
|
||||
|
|
|
@ -44,7 +44,7 @@ class ODbDataSourceAdministrationHelper;
|
|||
//========================================================================
|
||||
//= OTableSubscriptionDialog
|
||||
//========================================================================
|
||||
class OTableSubscriptionDialog : public SfxSingleTabDialog, public IItemSetHelper
|
||||
class OTableSubscriptionDialog : public SfxNoLayoutSingleTabDialog, public IItemSetHelper
|
||||
{
|
||||
::std::auto_ptr<ODbDataSourceAdministrationHelper> m_pImpl;
|
||||
sal_Bool m_bStopExecution; // set when the dialog should not be executed
|
||||
|
|
|
@ -2723,7 +2723,7 @@ namespace pcr
|
|||
aCoreSet.Put( aFormatter );
|
||||
|
||||
// a tab dialog with a single page
|
||||
::std::auto_ptr< SfxSingleTabDialog > pDialog( new SfxSingleTabDialog( impl_getDefaultDialogParent_nothrow(), aCoreSet, 0 ) );
|
||||
::std::auto_ptr< SfxNoLayoutSingleTabDialog > pDialog( new SfxNoLayoutSingleTabDialog( impl_getDefaultDialogParent_nothrow(), aCoreSet, 0 ) );
|
||||
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
|
||||
DBG_ASSERT( pFact, "CreateFactory fail!" );
|
||||
::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( RID_SVXPAGE_NUMBERFORMAT );
|
||||
|
|
|
@ -228,7 +228,7 @@ IMPL_LINK_NOARG(ScHFPage, HFEditHdl)
|
|||
else
|
||||
{
|
||||
String aText;
|
||||
SfxSingleTabDialog* pDlg = new SfxSingleTabDialog( this, aDataSet, 42 );
|
||||
SfxNoLayoutSingleTabDialog* pDlg = new SfxNoLayoutSingleTabDialog( this, aDataSet, 42 );
|
||||
sal_Bool bRightPage = aCntSharedBox.IsChecked()
|
||||
|| ( SVX_PAGE_LEFT != SvxPageUsage(nPageUsage) );
|
||||
|
||||
|
|
|
@ -353,7 +353,7 @@ OUString SdAbstractSfxDialog_Impl::GetText() const
|
|||
return pDlg->GetText();
|
||||
}
|
||||
|
||||
//AbstractSfxSingleTabDialog_Impl end
|
||||
//AbstractSfxNoLayoutSingleTabDialog_Impl end
|
||||
|
||||
//AbstractSdVectorizeDlg_Impl begin
|
||||
const GDIMetaFile& AbstractSdVectorizeDlg_Impl::GetGDIMetaFile() const
|
||||
|
|
|
@ -86,7 +86,7 @@ using namespace com::sun::star::lang;
|
|||
|
||||
SdActionDlg::SdActionDlg (
|
||||
::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView ) :
|
||||
SfxSingleTabDialog ( pParent, *pAttr, TP_ANIMATION_ACTION ),
|
||||
SfxNoLayoutSingleTabDialog ( pParent, *pAttr, TP_ANIMATION_ACTION ),
|
||||
rOutAttrs ( *pAttr )
|
||||
{
|
||||
// FreeResource();
|
||||
|
|
|
@ -42,7 +42,7 @@ class SdDrawDocument;
|
|||
|* Effekte-SingleTab-Dialog
|
||||
|*
|
||||
\************************************************************************/
|
||||
class SdActionDlg : public SfxSingleTabDialog
|
||||
class SdActionDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
private:
|
||||
const SfxItemSet& rOutAttrs;
|
||||
|
|
|
@ -149,7 +149,7 @@ public:
|
|||
|
||||
};
|
||||
|
||||
// class SfxSingleTabDialog --------------------------------------------------
|
||||
// class SfxNoLayoutSingleTabDialog --------------------------------------------------
|
||||
|
||||
struct SingleTabDlgImpl
|
||||
{
|
||||
|
@ -167,13 +167,13 @@ struct SingleTabDlgImpl
|
|||
|
||||
typedef sal_uInt16* (*GetTabPageRanges)(); // liefert internationale Which-Werte
|
||||
|
||||
class SFX2_DLLPUBLIC SfxSingleTabDialog : public SfxModalDialog
|
||||
class SFX2_DLLPUBLIC SfxNoLayoutSingleTabDialog : public SfxModalDialog
|
||||
{
|
||||
public:
|
||||
SfxSingleTabDialog( Window* pParent, const SfxItemSet& rOptionsSet, sal_uInt16 nUniqueId );
|
||||
SfxSingleTabDialog( Window* pParent, sal_uInt16 nUniqueId, const SfxItemSet* pInSet = 0 );
|
||||
SfxNoLayoutSingleTabDialog( Window* pParent, const SfxItemSet& rOptionsSet, sal_uInt16 nUniqueId );
|
||||
SfxNoLayoutSingleTabDialog( Window* pParent, sal_uInt16 nUniqueId, const SfxItemSet* pInSet = 0 );
|
||||
|
||||
virtual ~SfxSingleTabDialog();
|
||||
virtual ~SfxNoLayoutSingleTabDialog();
|
||||
|
||||
void SetTabPage( SfxTabPage* pTabPage, GetTabPageRanges pRangesFunc = 0 );
|
||||
SfxTabPage* GetTabPage() const { return pImpl->m_pSfxPage; }
|
||||
|
|
|
@ -119,7 +119,7 @@ public:
|
|||
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet );
|
||||
};
|
||||
|
||||
class SFX2_DLLPUBLIC SfxMacroAssignDlg : public SfxSingleTabDialog
|
||||
class SFX2_DLLPUBLIC SfxMacroAssignDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
SfxMacroAssignDlg(
|
||||
|
|
|
@ -668,9 +668,9 @@ void SfxFloatingWindow::FillInfo(SfxChildWinInfo& rInfo) const
|
|||
rInfo.nFlags |= SFX_CHILDWIN_ZOOMIN;
|
||||
}
|
||||
|
||||
// SfxSingleTabDialog ----------------------------------------------------
|
||||
// SfxNoLayoutSingleTabDialog ----------------------------------------------------
|
||||
|
||||
IMPL_LINK_NOARG(SfxSingleTabDialog, OKHdl_Impl)
|
||||
IMPL_LINK_NOARG(SfxNoLayoutSingleTabDialog, OKHdl_Impl)
|
||||
|
||||
/* [Description]
|
||||
|
||||
|
@ -718,7 +718,7 @@ IMPL_LINK_NOARG(SfxSingleTabDialog, OKHdl_Impl)
|
|||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
SfxSingleTabDialog::SfxSingleTabDialog
|
||||
SfxNoLayoutSingleTabDialog::SfxNoLayoutSingleTabDialog
|
||||
(
|
||||
Window *pParent,
|
||||
const SfxItemSet& rSet,
|
||||
|
@ -744,7 +744,7 @@ SfxSingleTabDialog::SfxSingleTabDialog
|
|||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
SfxSingleTabDialog::SfxSingleTabDialog
|
||||
SfxNoLayoutSingleTabDialog::SfxNoLayoutSingleTabDialog
|
||||
(
|
||||
Window* pParent,
|
||||
sal_uInt16 nUniqueId,
|
||||
|
@ -771,7 +771,7 @@ SfxSingleTabDialog::SfxSingleTabDialog
|
|||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
SfxSingleTabDialog::~SfxSingleTabDialog()
|
||||
SfxNoLayoutSingleTabDialog::~SfxNoLayoutSingleTabDialog()
|
||||
{
|
||||
delete pOKBtn;
|
||||
delete pCancelBtn;
|
||||
|
@ -783,7 +783,7 @@ SfxSingleTabDialog::~SfxSingleTabDialog()
|
|||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
void SfxSingleTabDialog::SetTabPage( SfxTabPage* pTabPage,
|
||||
void SfxNoLayoutSingleTabDialog::SetTabPage( SfxTabPage* pTabPage,
|
||||
GetTabPageRanges pRangesFunc )
|
||||
/* [Description]
|
||||
|
||||
|
@ -796,7 +796,7 @@ void SfxSingleTabDialog::SetTabPage( SfxTabPage* pTabPage,
|
|||
if ( !pOKBtn )
|
||||
{
|
||||
pOKBtn = new OKButton( this, WB_DEFBUTTON );
|
||||
pOKBtn->SetClickHdl( LINK( this, SfxSingleTabDialog, OKHdl_Impl ) );
|
||||
pOKBtn->SetClickHdl( LINK( this, SfxNoLayoutSingleTabDialog, OKHdl_Impl ) );
|
||||
}
|
||||
if ( !pCancelBtn )
|
||||
pCancelBtn = new CancelButton( this );
|
||||
|
|
|
@ -880,7 +880,7 @@ void SvxGrafAttrHelper::ExecuteGrafAttr( SfxRequest& rReq, SdrView& rView )
|
|||
aCropDlgAttr.Put( SdrGrafCropItem( aLTSize.Width(), aLTSize.Height(),
|
||||
aRBSize.Width(), aRBSize.Height() ) );
|
||||
|
||||
SfxSingleTabDialog aCropDialog( SfxViewShell::Current() ? SfxViewShell::Current()->GetWindow() : NULL,
|
||||
SfxNoLayoutSingleTabDialog aCropDialog( SfxViewShell::Current() ? SfxViewShell::Current()->GetWindow() : NULL,
|
||||
aCropDlgAttr, 950 );
|
||||
const String aCropStr = SVX_RESSTR( RID_SVXSTR_GRAFCROP );
|
||||
|
||||
|
|
|
@ -502,7 +502,7 @@ void SwDropCapsPict::_InitPrinter()
|
|||
|
||||
SwDropCapsDlg::SwDropCapsDlg(Window *pParent, const SfxItemSet &rSet ) :
|
||||
|
||||
SfxSingleTabDialog(pParent, rSet, 0)
|
||||
SfxNoLayoutSingleTabDialog(pParent, rSet, 0)
|
||||
|
||||
{
|
||||
SwDropCapsPage* pNewPage = (SwDropCapsPage*) SwDropCapsPage::Create(this, rSet);
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sfx2/tabdlg.hxx>
|
||||
|
||||
SwNumFmtDlg::SwNumFmtDlg(Window* pParent, const SfxItemSet& rSet)
|
||||
: SfxSingleTabDialog( pParent, rSet, 0 )
|
||||
: SfxNoLayoutSingleTabDialog( pParent, rSet, 0 )
|
||||
{
|
||||
// Create TabPage
|
||||
SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
|
||||
|
|
|
@ -431,7 +431,7 @@ void SwTestAccountSettingsDialog::Test()
|
|||
}
|
||||
|
||||
SwMailConfigDlg::SwMailConfigDlg(Window* pParent, SfxItemSet& rSet ) :
|
||||
SfxSingleTabDialog(pParent, rSet, 0)
|
||||
SfxNoLayoutSingleTabDialog(pParent, rSet, 0)
|
||||
{
|
||||
// create TabPage
|
||||
SetTabPage(SwMailConfigPage::Create( this, rSet ));
|
||||
|
|
|
@ -335,7 +335,7 @@ IMPL_LINK_NOARG(SwLoadOptPage, MetricHdl)
|
|||
}
|
||||
|
||||
SwCaptionOptDlg::SwCaptionOptDlg(Window* pParent, const SfxItemSet& rSet) :
|
||||
SfxSingleTabDialog(pParent, rSet, 0)
|
||||
SfxNoLayoutSingleTabDialog(pParent, rSet, 0)
|
||||
{
|
||||
// create TabPage
|
||||
SetTabPage((SwCaptionOptPage*) SwCaptionOptPage::Create(this, rSet));
|
||||
|
@ -794,7 +794,7 @@ IMPL_LINK_NOARG(SwCaptionOptPage, ModifyHdl)
|
|||
{
|
||||
String sFldTypeName = aCategoryBox.GetText();
|
||||
|
||||
SfxSingleTabDialog *pDlg = dynamic_cast<SfxSingleTabDialog*>(GetParent());
|
||||
SfxNoLayoutSingleTabDialog *pDlg = dynamic_cast<SfxNoLayoutSingleTabDialog*>(GetParent());
|
||||
PushButton *pBtn = pDlg ? pDlg->GetOKButton() : NULL;
|
||||
if (pBtn)
|
||||
pBtn->Enable(sFldTypeName.Len() != 0);
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
SwAddrDlg::SwAddrDlg(Window* pParent, const SfxItemSet& rSet ) :
|
||||
|
||||
SfxSingleTabDialog(pParent, rSet, 0)
|
||||
SfxNoLayoutSingleTabDialog(pParent, rSet, 0)
|
||||
|
||||
{
|
||||
SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "swabstdlg.hxx"
|
||||
|
||||
class SwInsertAbstractDlg;
|
||||
class SfxSingleTabDialog;
|
||||
class SfxNoLayoutSingleTabDialog;
|
||||
class SwAsciiFilterDlg;
|
||||
class Dialog;
|
||||
class SwBreakDlg;
|
||||
|
@ -85,7 +85,7 @@ class AbstractSwInsertAbstractDlg_Impl : public AbstractSwInsertAbstractDlg
|
|||
//add for SwInsertAbstractDlg end
|
||||
|
||||
// add for SwAddrDlg, SwDropCapsDlg, SwBackgroundDlg SwNumFmtDlg SwWrapDlg SwBorderDlg, SwFldEditDlg begin
|
||||
class SfxSingleTabDialog;
|
||||
class SfxNoLayoutSingleTabDialog;
|
||||
class SwAbstractSfxDialog_Impl :public SfxAbstractDialog
|
||||
{
|
||||
DECL_ABSTDLG_BASE(SwAbstractSfxDialog_Impl,SfxModalDialog)
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace swui
|
|||
}
|
||||
|
||||
SwFldEditDlg::SwFldEditDlg(SwView& rVw) :
|
||||
SfxSingleTabDialog(&rVw.GetViewFrame()->GetWindow(), 0, 0),
|
||||
SfxNoLayoutSingleTabDialog(&rVw.GetViewFrame()->GetWindow(), 0, 0),
|
||||
pSh (rVw.GetWrtShellPtr()),
|
||||
aPrevBT (this, SW_RES(BTN_FLDEDT_PREV)),
|
||||
aNextBT (this, SW_RES(BTN_FLDEDT_NEXT)),
|
||||
|
|
|
@ -32,7 +32,7 @@ Ctor
|
|||
|
||||
SwBackgroundDlg::SwBackgroundDlg(Window* pParent, const SfxItemSet& rSet) :
|
||||
|
||||
SfxSingleTabDialog(pParent, rSet, 0)
|
||||
SfxNoLayoutSingleTabDialog(pParent, rSet, 0)
|
||||
|
||||
{
|
||||
SetText(SW_RESSTR(STR_FRMUI_PATTERN));
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
SwBorderDlg::SwBorderDlg(Window* pParent, SfxItemSet& rSet, sal_uInt16 nType) :
|
||||
|
||||
SfxSingleTabDialog(pParent, rSet, 0)
|
||||
SfxNoLayoutSingleTabDialog(pParent, rSet, 0)
|
||||
|
||||
{
|
||||
SetText(SW_RESSTR(STR_FRMUI_BORDER));
|
||||
|
|
|
@ -52,7 +52,7 @@ static sal_uInt16 aWrapPageRg[] = {
|
|||
};
|
||||
|
||||
SwWrapDlg::SwWrapDlg(Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, sal_Bool bDrawMode) :
|
||||
SfxSingleTabDialog(pParent, rSet, 0),
|
||||
SfxNoLayoutSingleTabDialog(pParent, rSet, 0),
|
||||
pWrtShell(pSh)
|
||||
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <sfx2/basedlgs.hxx>
|
||||
|
||||
class SwAddrDlg : public SfxSingleTabDialog
|
||||
class SwAddrDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ class SwWrtShell;
|
|||
|
||||
// class SwDropCapsDlg ******************************************************
|
||||
|
||||
class SwDropCapsDlg : public SfxSingleTabDialog
|
||||
class SwDropCapsDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
class SwView;
|
||||
class SwWrtShell;
|
||||
|
||||
class SwFldEditDlg : public SfxSingleTabDialog
|
||||
class SwFldEditDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
SwWrtShell* pSh;
|
||||
ImageButton aPrevBT;
|
||||
|
|
|
@ -77,7 +77,7 @@ public:
|
|||
|
||||
};
|
||||
|
||||
class SwMailConfigDlg : public SfxSingleTabDialog
|
||||
class SwMailConfigDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ public:
|
|||
virtual void Reset( const SfxItemSet& rSet );
|
||||
};
|
||||
|
||||
class SwCaptionOptDlg : public SfxSingleTabDialog
|
||||
class SwCaptionOptDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
SwCaptionOptDlg(Window* pParent, const SfxItemSet& rSet);
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
class Window;
|
||||
class SfxItemSet;
|
||||
|
||||
class SwBackgroundDlg : public SfxSingleTabDialog
|
||||
class SwBackgroundDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
class Window;
|
||||
class SfxItemSet;
|
||||
|
||||
class SwNumFmtDlg : public SfxSingleTabDialog
|
||||
class SwNumFmtDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
class Window;
|
||||
class SfxItemSet;
|
||||
|
||||
class SwBorderDlg : public SfxSingleTabDialog
|
||||
class SwBorderDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ class Window;
|
|||
class SfxItemSet;
|
||||
class SwWrtShell;
|
||||
|
||||
class SwWrapDlg : public SfxSingleTabDialog
|
||||
class SwWrapDlg : public SfxNoLayoutSingleTabDialog
|
||||
{
|
||||
SwWrtShell* pWrtShell;
|
||||
|
||||
|
|
Loading…
Reference in a new issue