diff options
author | Thomas Lange <tl@openoffice.org> | 2001-02-07 11:46:52 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2001-02-07 11:46:52 +0000 |
commit | 394ef93f115cc630ab20fd155efcab5c0f59aec6 (patch) | |
tree | 0a75009fd44986532d3286dfcd52876494a8b5cb /starmath | |
parent | a1872c0f317af728819e6ee2605799a3f3cddd78 (diff) |
use defines now for resources of the print options TabPage
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/dialog.hxx | 8 | ||||
-rw-r--r-- | starmath/source/dialog.cxx | 29 |
2 files changed, 20 insertions, 17 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index c227f5fcf610..301c4e69a05b 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dialog.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: tl $ $Date: 2000-10-16 10:58:22 $ + * last change: $Author: tl $ $Date: 2001-02-07 12:46:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -154,13 +154,13 @@ class SmPrintOptionsTabPage : public SfxTabPage CheckBox aTitle; CheckBox aText; CheckBox aFrame; - GroupBox aGroupBox3; - CheckBox aNoRightSpaces; GroupBox aGroupBox2; RadioButton aSizeNormal; RadioButton aSizeScaled; RadioButton aSizeZoomed; MetricField aZoom; + GroupBox aGroupBox3; + CheckBox aNoRightSpaces; DECL_LINK(SizeButtonClickHdl, Button *); diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 37fb3840d2c3..dc37f00b82c7 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dialog.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: tl $ $Date: 2000-10-16 10:58:40 $ + * last change: $Author: tl $ $Date: 2001-02-07 12:46:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -123,6 +123,9 @@ #ifndef _STARMATH_HRC #include "starmath.hrc" #endif + +#include "dialog.hrc" + #ifndef _SMMOD_HXX #include "smmod.hxx" #endif @@ -221,17 +224,17 @@ IMPL_LINK_INLINE_END( SmPrintOptionsTabPage, SizeButtonClickHdl, Button *, pButt SmPrintOptionsTabPage::SmPrintOptionsTabPage(Window *pParent, const SfxItemSet &rOptions) : SfxTabPage(pParent, SmResId(RID_PRINTOPTIONPAGE), rOptions), - aGroupBox1 (this, ResId(1)), - aTitle (this, ResId(1)), - aText (this, ResId(2)), - aFrame (this, ResId(3)), - aGroupBox3 (this, ResId(3)), - aNoRightSpaces (this, ResId(4)), - aGroupBox2 (this, ResId(2)), - aSizeNormal (this, ResId(1)), - aSizeScaled (this, ResId(2)), - aSizeZoomed (this, ResId(3)), - aZoom (this, ResId(1)) + aGroupBox1 (this, ResId( GB_PRINTOPTIONS )), + aTitle (this, ResId( CB_TITLEROW )), + aText (this, ResId( CB_EQUATION_TEXT )), + aFrame (this, ResId( CB_FRAME )), + aGroupBox2 (this, ResId( GB_PRINT_FORMAT )), + aSizeNormal (this, ResId( RB_ORIGINAL_SIZE )), + aSizeScaled (this, ResId( RB_FIT_TO_PAGE )), + aSizeZoomed (this, ResId( RB_ZOOM )), + aZoom (this, ResId( MF_ZOOM )), + aGroupBox3 (this, ResId( GB_MISC_OPTIONS )), + aNoRightSpaces (this, ResId( CB_IGNORE_SPACING )) { FreeResource(); |