diff options
Diffstat (limited to 'sw/source/ui/fldui/fldvar.hxx')
-rw-r--r-- | sw/source/ui/fldui/fldvar.hxx | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/sw/source/ui/fldui/fldvar.hxx b/sw/source/ui/fldui/fldvar.hxx index 5f671402372e..e08187cf8bf8 100644 --- a/sw/source/ui/fldui/fldvar.hxx +++ b/sw/source/ui/fldui/fldvar.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * 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 @@ -44,47 +44,47 @@ class SwFldVarPage; class SelectionListBox : public ListBox { - SwFldVarPage* pDlg; - BOOL bCallAddSelection; + SwFldVarPage* pDlg; + BOOL bCallAddSelection; - virtual long PreNotify( NotifyEvent& rNEvt ); + virtual long PreNotify( NotifyEvent& rNEvt ); public: SelectionListBox( SwFldVarPage* pDialog, const ResId& rResId ); - // Selektieren per Ctrl oder Alt erkennen und mit SelectHdl auswerten - BOOL IsCallAddSelection() const {return bCallAddSelection;} - void ResetCallAddSelection() {bCallAddSelection = FALSE;} + // Selektieren per Ctrl oder Alt erkennen und mit SelectHdl auswerten + BOOL IsCallAddSelection() const {return bCallAddSelection;} + void ResetCallAddSelection() {bCallAddSelection = FALSE;} }; class SwFldVarPage : public SwFldPage { friend class SelectionListBox; - FixedText aTypeFT; - ListBox aTypeLB; - FixedText aSelectionFT; - SelectionListBox aSelectionLB; - FixedText aNameFT; - Edit aNameED; - FixedText aValueFT; - ConditionEdit aValueED; - FixedText aFormatFT; - NumFormatListBox aNumFormatLB; - ListBox aFormatLB; - FixedText aChapterHeaderFT; - FixedText aChapterLevelFT; - ListBox aChapterLevelLB; - CheckBox aInvisibleCB; - FixedText aSeparatorFT; - Edit aSeparatorED; - ToolBox aNewDelTBX; - - String sOldValueFT; - String sOldNameFT; - - ULONG nOldFormat; - BOOL bInit; + FixedText aTypeFT; + ListBox aTypeLB; + FixedText aSelectionFT; + SelectionListBox aSelectionLB; + FixedText aNameFT; + Edit aNameED; + FixedText aValueFT; + ConditionEdit aValueED; + FixedText aFormatFT; + NumFormatListBox aNumFormatLB; + ListBox aFormatLB; + FixedText aChapterHeaderFT; + FixedText aChapterLevelFT; + ListBox aChapterLevelLB; + CheckBox aInvisibleCB; + FixedText aSeparatorFT; + Edit aSeparatorED; + ToolBox aNewDelTBX; + + String sOldValueFT; + String sOldNameFT; + + ULONG nOldFormat; + BOOL bInit; DECL_LINK( TypeHdl, ListBox* pLB = 0 ); DECL_LINK( SubTypeHdl, ListBox* pLB = 0 ); @@ -93,11 +93,11 @@ class SwFldVarPage : public SwFldPage DECL_LINK( ChapterHdl, ListBox *pLB = 0); DECL_LINK( SeparatorHdl, Edit *pED = 0 ); - void UpdateSubType(); - USHORT FillFormatLB(USHORT nTypeId); + void UpdateSubType(); + USHORT FillFormatLB(USHORT nTypeId); protected: - virtual USHORT GetGroup(); + virtual USHORT GetGroup(); public: SwFldVarPage(Window* pParent, const SfxItemSet& rSet); @@ -109,7 +109,7 @@ public: virtual BOOL FillItemSet( SfxItemSet& rSet ); virtual void Reset( const SfxItemSet& rSet ); - virtual void FillUserData(); + virtual void FillUserData(); }; |