diff options
Diffstat (limited to 'sw/source/ui/inc/optpage.hxx')
-rw-r--r-- | sw/source/ui/inc/optpage.hxx | 252 |
1 files changed, 126 insertions, 126 deletions
diff --git a/sw/source/ui/inc/optpage.hxx b/sw/source/ui/inc/optpage.hxx index d05e68588b2d..60e15f866bb3 100644 --- a/sw/source/ui/inc/optpage.hxx +++ b/sw/source/ui/inc/optpage.hxx @@ -1,7 +1,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 @@ -64,29 +64,29 @@ class SwContentOptPage : public SfxTabPage { //visual aids FixedLine aLineFL; - CheckBox aCrossCB; - CheckBox aSolidHandleCB; - CheckBox aBigHandleCB; + CheckBox aCrossCB; + CheckBox aSolidHandleCB; + CheckBox aBigHandleCB; //view FixedLine aWindowFL; - CheckBox aHScrollBox; - CheckBox aVScrollBox; + CheckBox aHScrollBox; + CheckBox aVScrollBox; CheckBox aAnyRulerCB; CheckBox aHRulerCBox; ListBox aHMetric; - CheckBox aVRulerCBox; + CheckBox aVRulerCBox; CheckBox aVRulerRightCBox; ListBox aVMetric; - CheckBox aSmoothCBox; + CheckBox aSmoothCBox; //display FixedLine aDispFL; - CheckBox aGrfCB; - CheckBox aTblCB; - CheckBox aDrwCB; - CheckBox aFldNameCB; - CheckBox aPostItCB; + CheckBox aGrfCB; + CheckBox aTblCB; + CheckBox aDrwCB; + CheckBox aFldNameCB; + CheckBox aPostItCB; FixedLine aSettingsFL; FixedText aMetricFT; @@ -99,11 +99,11 @@ public: const SfxItemSet& rSet ); ~SwContentOptPage(); - static SfxTabPage* Create( Window* pParent, + static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); - virtual BOOL FillItemSet( SfxItemSet& rSet ); - virtual void Reset( const SfxItemSet& rSet ); + virtual BOOL FillItemSet( SfxItemSet& rSet ); + virtual void Reset( const SfxItemSet& rSet ); }; @@ -116,11 +116,11 @@ class SwAddPrinterTabPage : public SfxTabPage { FixedLine aFL1; CheckBox aGrfCB; -// CheckBox aTabCB; -// CheckBox aDrawCB; - CheckBox aCtrlFldCB; - CheckBox aBackgroundCB; - CheckBox aBlackFontCB; +// CheckBox aTabCB; +// CheckBox aDrawCB; + CheckBox aCtrlFldCB; + CheckBox aBackgroundCB; + CheckBox aBlackFontCB; CheckBox aPrintHiddenTextCB; CheckBox aPrintTextPlaceholderCB; @@ -128,8 +128,8 @@ class SwAddPrinterTabPage : public SfxTabPage FixedLine aFL2; CheckBox aLeftPageCB; - CheckBox aRightPageCB; -// CheckBox aReverseCB; + CheckBox aRightPageCB; +// CheckBox aReverseCB; CheckBox aProspectCB; CheckBox aProspectCB_RTL; @@ -143,15 +143,15 @@ class SwAddPrinterTabPage : public SfxTabPage FixedLine aFL4; CheckBox aPrintEmptyPagesCB; // CheckBox aSingleJobsCB; - CheckBox aPaperFromSetupCB; + CheckBox aPaperFromSetupCB; FixedText aFaxFT; ListBox aFaxLB; String sNone; - BOOL bAttrModified; - BOOL bPreview; + BOOL bAttrModified; + BOOL bPreview; - void Init(); + void Init(); DECL_LINK( AutoClickHdl, CheckBox * ); DECL_LINK( SelectHdl, ListBox * ); @@ -160,14 +160,14 @@ class SwAddPrinterTabPage : public SfxTabPage const SfxItemSet& rSet ); public: - static SfxTabPage* Create( Window* pParent, + static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); - virtual BOOL FillItemSet( SfxItemSet& rSet ); - virtual void Reset( const SfxItemSet& rSet ); - void SetFax( const SvStringsDtor& ); - void SelectFax( const String& ); - void SetPreview(BOOL bPrev); + virtual BOOL FillItemSet( SfxItemSet& rSet ); + virtual void Reset( const SfxItemSet& rSet ); + void SetFax( const SvStringsDtor& ); + void SelectFax( const String& ); + void SetPreview(BOOL bPrev); virtual void PageCreated (SfxAllItemSet aSet); }; @@ -183,49 +183,49 @@ class SwStdFontTabPage : public SfxTabPage FixedText aTypeFT; FixedText aStandardLbl; - ComboBox aStandardBox; + ComboBox aStandardBox; FixedText aHeightFT; FontSizeBox aStandardHeightLB; FixedText aTitleLbl ; - ComboBox aTitleBox ; + ComboBox aTitleBox ; FontSizeBox aTitleHeightLB; - FixedText aListLbl ; - ComboBox aListBox ; + FixedText aListLbl ; + ComboBox aListBox ; FontSizeBox aListHeightLB; - FixedText aLabelLbl ; - ComboBox aLabelBox ; + FixedText aLabelLbl ; + ComboBox aLabelBox ; FontSizeBox aLabelHeightLB; - FixedText aIdxLbl ; - ComboBox aIdxBox ; + FixedText aIdxLbl ; + ComboBox aIdxBox ; FontSizeBox aIndexHeightLB; - CheckBox aDocOnlyCB ; + CheckBox aDocOnlyCB ; PushButton aStandardPB; - String sShellStd; - String sShellTitle; - String sShellList; + String sShellStd; + String sShellTitle; + String sShellList; String sShellLabel; String sShellIndex; - SfxPrinter* pPrt; + SfxPrinter* pPrt; FontList* pFontList; - SwStdFontConfig* pFontConfig; - SwWrtShell* pWrtShell; + SwStdFontConfig* pFontConfig; + SwWrtShell* pWrtShell; LanguageType eLanguage; // waren nur defaults vorhanden? wurden sie mit den Boxen ueberschrieben - BOOL bListDefault :1; - BOOL bSetListDefault :1; - BOOL bLabelDefault :1; - BOOL bSetLabelDefault :1; - BOOL bIdxDefault :1; - BOOL bSetIdxDefault :1; - BOOL bDeletePrinter :1; + BOOL bListDefault :1; + BOOL bSetListDefault :1; + BOOL bLabelDefault :1; + BOOL bSetLabelDefault :1; + BOOL bIdxDefault :1; + BOOL bSetIdxDefault :1; + BOOL bDeletePrinter :1; BOOL bListHeightDefault :1; BOOL bSetListHeightDefault :1; @@ -250,11 +250,11 @@ class SwStdFontTabPage : public SfxTabPage ~SwStdFontTabPage(); public: - static SfxTabPage* Create( Window* pParent, + static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); - virtual BOOL FillItemSet( SfxItemSet& rSet ); - virtual void Reset( const SfxItemSet& rSet ); + virtual BOOL FillItemSet( SfxItemSet& rSet ); + virtual void Reset( const SfxItemSet& rSet ); void SetFontMode(sal_uInt8 nGroup) {nFontGroup = nGroup;} virtual void PageCreated (SfxAllItemSet aSet); @@ -268,39 +268,39 @@ class SwTableOptionsTabPage : public SfxTabPage { FixedLine aTableFL; CheckBox aHeaderCB; - CheckBox aRepeatHeaderCB; - CheckBox aDontSplitCB; - CheckBox aBorderCB; + CheckBox aRepeatHeaderCB; + CheckBox aDontSplitCB; + CheckBox aBorderCB; FixedLine aSeparatorFL; FixedLine aTableInsertFL; - CheckBox aNumFormattingCB; - CheckBox aNumFmtFormattingCB; - CheckBox aNumAlignmentCB; + CheckBox aNumFormattingCB; + CheckBox aNumFmtFormattingCB; + CheckBox aNumAlignmentCB; FixedLine aMoveFL; FixedText aMoveFT; FixedText aRowMoveFT; - MetricField aRowMoveMF; - FixedText aColMoveFT; - MetricField aColMoveMF; + MetricField aRowMoveMF; + FixedText aColMoveFT; + MetricField aColMoveMF; FixedText aInsertFT; - FixedText aRowInsertFT; - MetricField aRowInsertMF; - FixedText aColInsertFT; - MetricField aColInsertMF; + FixedText aRowInsertFT; + MetricField aRowInsertMF; + FixedText aColInsertFT; + MetricField aColInsertMF; FixedText aHandlingFT; - RadioButton aFixRB; + RadioButton aFixRB; RadioButton aFixPropRB; RadioButton aVarRB; - FixedText aFixFT; - FixedText aFixPropFT; - FixedText aVarFT; + FixedText aFixFT; + FixedText aFixPropFT; + FixedText aVarFT; - SwWrtShell* pWrtShell; + SwWrtShell* pWrtShell; BOOL bHTMLMode; DECL_LINK(CheckBoxHdl, CheckBox *pCB); @@ -312,11 +312,11 @@ class SwTableOptionsTabPage : public SfxTabPage public: - static SfxTabPage* Create( Window* pParent, + static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); - virtual BOOL FillItemSet( SfxItemSet& rSet ); - virtual void Reset( const SfxItemSet& rSet ); + virtual BOOL FillItemSet( SfxItemSet& rSet ); + virtual void Reset( const SfxItemSet& rSet ); void SetWrtShell(SwWrtShell* pSh) {pWrtShell = pSh;} virtual void PageCreated (SfxAllItemSet aSet); @@ -329,12 +329,12 @@ class SwShdwCrsrOptionsTabPage : public SfxTabPage { //nonprinting characters FixedLine aUnprintFL; - CheckBox aParaCB; - CheckBox aSHyphCB; - CheckBox aSpacesCB; - CheckBox aHSpacesCB; - CheckBox aTabCB; - CheckBox aBreakCB; + CheckBox aParaCB; + CheckBox aSHyphCB; + CheckBox aSpacesCB; + CheckBox aHSpacesCB; + CheckBox aTabCB; + CheckBox aBreakCB; CheckBox aCharHiddenCB; CheckBox aFldHiddenCB; CheckBox aFldHiddenParaCB; @@ -342,26 +342,26 @@ class SwShdwCrsrOptionsTabPage : public SfxTabPage FixedLine aSeparatorFL; FixedLine aFlagFL; - CheckBox aOnOffCB; + CheckBox aOnOffCB; - FixedText aFillModeFT; + FixedText aFillModeFT; RadioButton aFillMarginRB; RadioButton aFillIndentRB; RadioButton aFillTabRB; RadioButton aFillSpaceRB; FixedLine aCrsrOptFL; - CheckBox aCrsrInProtCB; + CheckBox aCrsrInProtCB; SwShdwCrsrOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); ~SwShdwCrsrOptionsTabPage(); public: - static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); + static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); - virtual BOOL FillItemSet( SfxItemSet& rSet ); - virtual void Reset( const SfxItemSet& rSet ); + virtual BOOL FillItemSet( SfxItemSet& rSet ); + virtual void Reset( const SfxItemSet& rSet ); }; /*----------------------------------------------------------------------- @@ -370,36 +370,36 @@ public: class SwMarkPreview : public Window { - Color m_aBgCol; // background - Color m_aTransCol; // transparency - Color m_aMarkCol; // marks - Color m_aLineCol; // general lines - Color m_aShadowCol; // shadow - Color m_aTxtCol; // text - Color m_aPrintAreaCol; // frame for print area + Color m_aBgCol; // background + Color m_aTransCol; // transparency + Color m_aMarkCol; // marks + Color m_aLineCol; // general lines + Color m_aShadowCol; // shadow + Color m_aTxtCol; // text + Color m_aPrintAreaCol; // frame for print area - Rectangle aPage; - Rectangle aLeftPagePrtArea; - Rectangle aRightPagePrtArea; + Rectangle aPage; + Rectangle aLeftPagePrtArea; + Rectangle aRightPagePrtArea; - USHORT nMarkPos; + USHORT nMarkPos; using OutputDevice::DrawRect; - void DrawRect(const Rectangle &rRect, const Color &rFillColor, const Color &rLineColor); + void DrawRect(const Rectangle &rRect, const Color &rFillColor, const Color &rLineColor); - void Paint(const Rectangle&); - void PaintPage(const Rectangle &rRect); - void InitColors( void ); + void Paint(const Rectangle&); + void PaintPage(const Rectangle &rRect); + void InitColors( void ); protected: - virtual void DataChanged( const DataChangedEvent& rDCEvt ); + virtual void DataChanged( const DataChangedEvent& rDCEvt ); public: SwMarkPreview(Window* pParent, const ResId& rResID); - virtual ~SwMarkPreview(); + virtual ~SwMarkPreview(); - inline void SetColor(const Color& rCol) { m_aMarkCol = rCol; } - inline void SetMarkPos(USHORT nPos) { nMarkPos = nPos; } + inline void SetColor(const Color& rCol) { m_aMarkCol = rCol; } + inline void SetMarkPos(USHORT nPos) { nMarkPos = nPos; } }; /*----------------------------------------------------------------------- @@ -412,9 +412,9 @@ class SwRedlineOptionsTabPage : public SfxTabPage FixedText aInsertFT; FixedText aInsertAttrFT; - ListBox aInsertLB; + ListBox aInsertLB; FixedText aInsertColorFT; - ColorListBox aInsertColorLB; + ColorListBox aInsertColorLB; SvxFontPrevWindow aInsertedPreviewWN; FixedText aDeletedFT; @@ -434,13 +434,13 @@ class SwRedlineOptionsTabPage : public SfxTabPage FixedLine aChangedFL; FixedText aMarkPosFT; - ListBox aMarkPosLB; - FixedText aMarkColorFT; - ColorListBox aMarkColorLB; - SwMarkPreview aMarkPreviewWN; + ListBox aMarkPosLB; + FixedText aMarkColorFT; + ColorListBox aMarkColorLB; + SwMarkPreview aMarkPreviewWN; String sAuthor; - String sNone; + String sNone; SwRedlineOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); ~SwRedlineOptionsTabPage(); @@ -449,14 +449,14 @@ class SwRedlineOptionsTabPage : public SfxTabPage DECL_LINK( ChangedMaskPrevHdl, ListBox *pLB = 0 ); DECL_LINK( ColorHdl, ColorListBox *pColorLB ); - void InitFontStyle(SvxFontPrevWindow& rExampleWin); + void InitFontStyle(SvxFontPrevWindow& rExampleWin); public: - static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); + static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); - virtual BOOL FillItemSet( SfxItemSet& rSet ); - virtual void Reset( const SfxItemSet& rSet ); + virtual BOOL FillItemSet( SfxItemSet& rSet ); + virtual void Reset( const SfxItemSet& rSet ); }; /*--------OS 11.01.95 ----------------------------------- @@ -471,11 +471,11 @@ public: SwTestTabPage( Window* pParent, const SfxItemSet& rSet ); - static SfxTabPage* Create( Window* pParent, + static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); - virtual BOOL FillItemSet( SfxItemSet& rSet ); - virtual void Reset( const SfxItemSet& rSet ); + virtual BOOL FillItemSet( SfxItemSet& rSet ); + virtual void Reset( const SfxItemSet& rSet ); private: FixedLine aTestFL; @@ -490,9 +490,9 @@ private: CheckBox aTest9CBox; CheckBox aTest10CBox; - BOOL bAttrModified; + BOOL bAttrModified; - void Init(); + void Init(); DECL_LINK( AutoClickHdl, CheckBox * ); }; |