Kaydet (Commit) 6a80a5ae authored tarafından Abdulaziz A Alayed's avatar Abdulaziz A Alayed

Convert impress and draw general option to .ui

Change-Id: I8be55720bb8086892b41abde95ece4d13f8da7d1
üst 07dde826
...@@ -76,6 +76,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\ ...@@ -76,6 +76,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\
sd/uiconfig/simpress/ui/printeroptions \ sd/uiconfig/simpress/ui/printeroptions \
sd/uiconfig/simpress/ui/photoalbum \ sd/uiconfig/simpress/ui/photoalbum \
sd/uiconfig/simpress/ui/customslideshows \ sd/uiconfig/simpress/ui/customslideshows \
sd/uiconfig/simpress/ui/optimpressgeneralpage \
)) ))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
#define HID_SD_WIN_DOCUMENT "SD_HID_SD_WIN_DOCUMENT" #define HID_SD_WIN_DOCUMENT "SD_HID_SD_WIN_DOCUMENT"
#define HID_SD_OPTIONS_LAYOUT "SD_HID_SD_OPTIONS_LAYOUT" #define HID_SD_OPTIONS_LAYOUT "SD_HID_SD_OPTIONS_LAYOUT"
#define HID_SD_OPTIONS_CONTENTS "SD_HID_SD_OPTIONS_CONTENTS" #define HID_SD_OPTIONS_CONTENTS "SD_HID_SD_OPTIONS_CONTENTS"
#define HID_SD_OPTIONS_MISC "SD_HID_SD_OPTIONS_MISC"
#define HID_SD_EFFECT_PREVIEW "SD_HID_SD_EFFECT_PREVIEW" #define HID_SD_EFFECT_PREVIEW "SD_HID_SD_EFFECT_PREVIEW"
#define HID_SD_CTL_NEWFOIL "SD_HID_SD_CTL_NEWFOIL" #define HID_SD_CTL_NEWFOIL "SD_HID_SD_CTL_NEWFOIL"
#define HID_SD_NAVIGATOR_TLB "SD_HID_SD_NAVIGATOR_TLB" #define HID_SD_NAVIGATOR_TLB "SD_HID_SD_NAVIGATOR_TLB"
......
This diff is collapsed.
...@@ -70,283 +70,6 @@ TabPage TP_OPTIONS_CONTENTS ...@@ -70,283 +70,6 @@ TabPage TP_OPTIONS_CONTENTS
TabStop = TRUE ; TabStop = TRUE ;
Text [ en-US ] = "~Contour of each individual object" ; Text [ en-US ] = "~Contour of each individual object" ;
}; };
};
// MISC
TabPage TP_OPTIONS_MISC
{
HelpID = HID_SD_OPTIONS_MISC ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
Text [ en-US ] = "Other" ;
FixedLine GRP_TEXT
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Text objects" ;
};
CheckBox CBX_QUICKEDIT
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_QUICKEDIT";
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 116 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Allow quick editing" ;
};
CheckBox CBX_PICKTHROUGH
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_PICKTHROUGH";
Pos = MAP_APPFONT ( 12 , 27 ) ;
Size = MAP_APPFONT ( 116 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Only text area selectable" ;
};
FixedLine GRP_PROGRAMSTART
{
Pos = MAP_APPFONT ( 6 , 42 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "New document" ;
};
CheckBox CBX_START_WITH_TEMPLATE
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_START_WITH_TEMPLATE";
Pos = MAP_APPFONT ( 12 , 53 ) ;
Size = MAP_APPFONT ( 242 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Start with ~wizard" ;
};
FixedLine GRP_SETTINGS
{
Pos = MAP_APPFONT ( 6 , 69 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Settings";
};
CheckBox CBX_MASTERPAGE_CACHE
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_MASTERPAGE_CACHE";
Pos = MAP_APPFONT ( 12 , 80 ) ;
Size = MAP_APPFONT ( 242 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Use background cache" ;
};
CheckBox CBX_COPY
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_COPY";
Pos = MAP_APPFONT ( 12 , 93 ) ;
Size = MAP_APPFONT ( 242 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Copy when moving" ;
};
CheckBox CBX_MARKED_HIT_MOVES_ALWAYS
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_MARKED_HIT_MOVES_ALWAYS";
Pos = MAP_APPFONT ( 12 , 106 ) ;
Size = MAP_APPFONT ( 242 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Objects always moveable" ;
};
CheckBox CBX_CROOK_NO_CONTORTION
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_CROOK_NO_CONTORTION";
Pos = MAP_APPFONT ( 12 , 119 ) ;
Size = MAP_APPFONT ( 242 , 10 ) ;
TabStop = TRUE ;
Hide = TRUE;
Text [ en-US ] = "Do not distort objects in curve" ;
};
FixedText FT_METRIC
{
Pos = MAP_APPFONT ( 12 , 119 ) ;
Size = MAP_APPFONT ( 60 , 8 ) ;
Text [ en-US ] = "Unit of ~measurement" ;
};
ListBox LB_METRIC
{
HelpID = "sd:ListBox:TP_OPTIONS_MISC:LB_METRIC";
Border = TRUE ;
Pos = MAP_APPFONT ( 75 , 117 ) ;
Size = MAP_APPFONT ( 50 , 50 ) ;
DropDown = TRUE ;
};
FixedText FT_TABSTOP
{
Pos = MAP_APPFONT ( 130 , 119 ) ;
Size = MAP_APPFONT ( 70 , 8 ) ;
Right = TRUE;
Text [ en-US ] = "Ta~b stops" ;
};
MetricField MTR_FLD_TABSTOP
{
HelpID = "sd:MetricField:TP_OPTIONS_MISC:MTR_FLD_TABSTOP";
Border = TRUE ;
Pos = MAP_APPFONT ( 206 , 117 ) ;
Size = MAP_APPFONT ( 45 , 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Unit = FUNIT_CM ;
SpinSize = 10 ;
Minimum = 50 ;
Maximum = 2000;
First = 50 ;
Last = 2000 ;
StrictFormat = TRUE ;
DecimalDigits = 2 ;
};
FixedLine GRP_START_WITH_ACTUAL_PAGE
{
Pos = MAP_APPFONT ( 6 , 134 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Presentation" ;
};
CheckBox CBX_START_WITH_ACTUAL_PAGE
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_START_WITH_ACTUAL_PAGE";
Pos = MAP_APPFONT ( 12 , 145 ) ;
Size = MAP_APPFONT ( 242 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Always with current page" ;
};
CheckBox CBX_ENABLE_SDREMOTE
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_ENABLE_SDREMOTE";
Pos = MAP_APPFONT ( 12 , 158 ) ;
Size = MAP_APPFONT ( 116 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Enable remote control" ;
};
CheckBox CBX_ENABLE_PRESENTER_SCREEN
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CBX_ENABLE_PRESENTER_SCREEN";
Pos = MAP_APPFONT ( 12 , 171 ) ;
Size = MAP_APPFONT ( 116 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Enable Presenter Console" ;
};
FixedLine FT_COMPATIBILITY
{
Pos = MAP_APPFONT ( 6 , 173 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Compatibility" ;
};
CheckBox CB_USE_PRINTER_METRICS
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CB_USE_PRINTER_METRICS";
// This checkbox and the following one will change places when this
// one is wired in into the dialog. At the moment exists only for
// translation to work on.
Pos = MAP_APPFONT ( 12 , 197 ) ;
Size = MAP_APPFONT ( 242, 10 ) ;
Text [ en-US ] = "Us~e printer metrics for document formatting";
};
CheckBox CB_MERGE_PARA_DIST
{
HelpID = "sd:CheckBox:TP_OPTIONS_MISC:CB_MERGE_PARA_DIST";
Pos = MAP_APPFONT ( 12 , 184 ) ;
Size = MAP_APPFONT ( 242, 10 ) ;
Text [ en-US ] = "Add ~spacing between paragraphs and tables (in current document)";
};
FixedLine GRP_SCALE
{
Hide = TRUE;
Pos = MAP_APPFONT ( 6 , 122 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
SCALE_TEXT
};
FixedText FT_ORIGINAL
{
Hide = TRUE;
Pos = MAP_APPFONT ( 155 , 133 ) ;
Size = MAP_APPFONT ( 45 , 10 ) ;
Text [ en-US ] = "Original";
};
FixedText FT_EQUIVALENT
{
Hide = TRUE;
Pos = MAP_APPFONT ( 206 , 133 ) ;
Size = MAP_APPFONT ( 45 , 10 ) ;
Text [ en-US ] = "Equivalent to";
};
FixedText FT_SCALE
{
Hide = TRUE;
Pos = MAP_APPFONT ( 12 , 149 ) ;
Size = MAP_APPFONT ( 56 , 8 ) ;
Text [ en-US ] = "~Drawing scale";
};
ComboBox CB_SCALE
{
HelpID = "sd:ComboBox:TP_OPTIONS_MISC:CB_SCALE";
Hide = TRUE;
Pos = MAP_APPFONT ( 72 , 147 ) ;
Size = MAP_APPFONT ( 30 , 70 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
};
FixedText FT_PAGEWIDTH
{
Hide = TRUE;
Pos = MAP_APPFONT ( 105 , 149 ) ;
Size = MAP_APPFONT ( 49 , 8 ) ;
Text [ en-US ] = "Page ~width" ;
};
FixedText FI_INFO_1
{
Hide = TRUE;
Pos = MAP_APPFONT ( 155 , 149 ) ;
Size = MAP_APPFONT ( 49 , 8 ) ;
};
MetricField MTR_FLD_ORIGINAL_WIDTH
{
HelpID = "sd:MetricField:TP_OPTIONS_MISC:MTR_FLD_ORIGINAL_WIDTH";
Hide = TRUE;
Border = TRUE ;
Pos = MAP_APPFONT ( 206 , 147 ) ;
Size = MAP_APPFONT ( 45 , 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
SpinSize = 100 ;
Minimum = 1 ;
Maximum = 999999999 ;
StrictFormat = TRUE ;
DecimalDigits = 2 ;
Unit = FUNIT_MM ;
First = 1 ;
Last = 999999999 ;
};
FixedText FT_PAGEHEIGHT
{
Hide = TRUE;
Pos = MAP_APPFONT ( 105 , 165 ) ;
Size = MAP_APPFONT ( 49 , 8 ) ;
Text [ en-US ] = "Page ~height" ;
};
FixedText FI_INFO_2
{
Hide = TRUE;
Pos = MAP_APPFONT ( 155 , 165 ) ;
Size = MAP_APPFONT ( 49 , 8 ) ;
};
MetricField MTR_FLD_ORIGINAL_HEIGHT
{
HelpID = "sd:MetricField:TP_OPTIONS_MISC:MTR_FLD_ORIGINAL_HEIGHT";
Hide = TRUE;
Border = TRUE ;
Pos = MAP_APPFONT ( 206 , 163 ) ;
Size = MAP_APPFONT ( 45 , 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
SpinSize = 100 ;
Minimum = 1 ;
Maximum = 999999999 ;
StrictFormat = TRUE ;
DecimalDigits = 2 ;
Unit = FUNIT_MM ;
First = 1 ;
Last = 999999999 ;
};
}; };
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -19,29 +19,18 @@ ...@@ -19,29 +19,18 @@
#define TP_OPTIONS_LAYOUT 596 #define TP_OPTIONS_LAYOUT 596
#define TP_OPTIONS_CONTENTS 597 #define TP_OPTIONS_CONTENTS 597
#define TP_OPTIONS_SNAP 598 #define TP_OPTIONS_SNAP 598
#define TP_OPTIONS_MISC 599
#define FT_METRIC 2
#define GRP_PROGRAMSTART 3
#define GRP_DISPLAY 4 #define GRP_DISPLAY 4
#define GRP_SETTINGS 5
#define GRP_TEXT 6
#define FT_TABSTOP 7
#define CBX_COPY 13
#define CBX_RULER 14 #define CBX_RULER 14
#define CBX_HELPLINES 1 #define CBX_HELPLINES 1
#define CBX_MOVE_OUTLINE 15 #define CBX_MOVE_OUTLINE 15
#define CBX_MARKED_HIT_MOVES_ALWAYS 19
#define CBX_CROOK_NO_CONTORTION 21
#define CBX_HANDLES_BEZIER 2 #define CBX_HANDLES_BEZIER 2
#define GRP_SNAP 1 #define GRP_SNAP 1
#define GRP_ORTHO 2 #define GRP_ORTHO 2
#define FT_SNAP_AREA 1 #define FT_SNAP_AREA 1
#define FT_BEZ_ANGLE 4 #define FT_BEZ_ANGLE 4
#define LB_METRIC 1
#define MTR_FLD_SNAP_AREA 1 #define MTR_FLD_SNAP_AREA 1
#define MTR_FLD_ANGLE 2 #define MTR_FLD_ANGLE 2
#define MTR_FLD_BEZ_ANGLE 3 #define MTR_FLD_BEZ_ANGLE 3
#define MTR_FLD_TABSTOP 4
#define CBX_ROTATE 8 #define CBX_ROTATE 8
#define CBX_ORTHO 6 #define CBX_ORTHO 6
#define CBX_BIGORTHO 7 #define CBX_BIGORTHO 7
...@@ -50,29 +39,5 @@ ...@@ -50,29 +39,5 @@
#define CBX_SNAP_BORDER 3 #define CBX_SNAP_BORDER 3
#define CBX_SNAP_FRAME 4 #define CBX_SNAP_FRAME 4
#define CBX_SNAP_POINTS 5 #define CBX_SNAP_POINTS 5
#define CBX_START_WITH_TEMPLATE 6
#define CBX_PICKTHROUGH 9
#define CBX_QUICKEDIT 24
#define CBX_MASTERPAGE_CACHE 25
#define CBX_START_WITH_ACTUAL_PAGE 26
#define GRP_START_WITH_ACTUAL_PAGE 8
#define FT_COMPATIBILITY 27
#define CB_MERGE_PARA_DIST 28
#define CB_SCALE 29
#define FT_ORIGINAL 30
#define MTR_FLD_ORIGINAL_WIDTH 31
#define FT_EQUIVALENT 32
#define MTR_FLD_ORIGINAL_HEIGHT 33
#define GRP_SCALE 34
#define FI_INFO_1 35
#define FI_INFO_2 36
#define FT_PAGEWIDTH 37
#define FT_PAGEHEIGHT 38
#define FT_SCALE 39
#define CB_USE_PRINTER_METRICS 40
#define CBX_ENABLE_SDREMOTE 41
#define CBX_ENABLE_PRESENTER_SCREEN 42
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -76,50 +76,38 @@ class SdTpOptionsMisc : public SfxTabPage ...@@ -76,50 +76,38 @@ class SdTpOptionsMisc : public SfxTabPage
friend class SdModule; friend class SdModule;
private: private:
FixedLine aGrpText; CheckBox *m_pCbxQuickEdit;
CheckBox aCbxQuickEdit; CheckBox *m_pCbxPickThrough;
CheckBox aCbxPickThrough;
FixedLine aGrpProgramStart;
CheckBox aCbxStartWithTemplate;
FixedLine aGrpSettings;
CheckBox aCbxMasterPageCache;
CheckBox aCbxCopy;
CheckBox aCbxMarkedHitMovesAlways;
CheckBox aCbxCrookNoContortion;
FixedText aTxtMetric;
ListBox aLbMetric;
FixedText aTxtTabstop;
MetricField aMtrFldTabstop;
CheckBox aCbxStartWithActualPage;
FixedLine aGrpStartWithActualPage;
CheckBox aCbxEnableSdremote;
CheckBox aCbxEnablePresenterScreen;
FixedLine aTxtCompatibility;
CheckBox aCbxUsePrinterMetrics;
CheckBox aCbxCompatibility;
//Scale CheckBox *m_pCbxStartWithTemplate;
FixedLine aGrpScale;
FixedText aFtScale;
ComboBox aCbScale;
FixedText aFtOriginal; CheckBox *m_pCbxMasterPageCache;
FixedText aFtEquivalent; CheckBox *m_pCbxCopy;
CheckBox *m_pCbxMarkedHitMovesAlways;
VclFrame *m_pPresentationFrame;
FixedText aFtPageWidth; ListBox *m_pLbMetric;
FixedInfo aFiInfo1; MetricField *m_pMtrFldTabstop;
MetricField aMtrFldOriginalWidth;
FixedText aFtPageHeight; CheckBox *m_pCbxStartWithActualPage;
FixedInfo aFiInfo2; CheckBox *m_pCbxEnableSdremote;
MetricField aMtrFldOriginalHeight; CheckBox *m_pCbxEnablePresenterScreen;
CheckBox *m_pCbxUsePrinterMetrics;
CheckBox *m_pCbxCompatibility;
MetricField aMtrFldInfo1; //Scale
MetricField aMtrFldInfo2; VclFrame *m_pScaleFrame;
ComboBox *m_pCbScale;
FixedText *m_pNewDocLb;
FixedText *m_pFiInfo1;
MetricField *m_pMtrFldOriginalWidth;
FixedText *m_pWidthLb;
FixedText *m_pHeightLb;
FixedText *m_pFiInfo2;
MetricField *m_pMtrFldOriginalHeight;
CheckBox *m_pCbxDistrot;
MetricField *m_pMtrFldInfo1;
MetricField *m_pMtrFldInfo2;
sal_uInt32 nWidth; sal_uInt32 nWidth;
sal_uInt32 nHeight; sal_uInt32 nHeight;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment