Kaydet (Commit) 5c0dd406 authored tarafından Krisztian Pinter's avatar Krisztian Pinter Kaydeden (comit) Andras Timar

converted cui/source/options/optsave.src to .ui

Change-Id: Ieaef10684f45dc699e7d2c56dffca5483f0a30cc
Reviewed-on: https://gerrit.libreoffice.org/2816Reviewed-by: 's avatarAndras Timar <atimar@suse.com>
Tested-by: 's avatarAndras Timar <atimar@suse.com>
üst 293006f9
...@@ -41,6 +41,7 @@ $(eval $(call gb_UI_add_uifiles,cui,\ ...@@ -41,6 +41,7 @@ $(eval $(call gb_UI_add_uifiles,cui,\
cui/uiconfig/ui/optgeneralpage \ cui/uiconfig/ui/optgeneralpage \
cui/uiconfig/ui/optmemorypage \ cui/uiconfig/ui/optmemorypage \
cui/uiconfig/ui/optpathspage \ cui/uiconfig/ui/optpathspage \
cui/uiconfig/ui/optsavepage \
cui/uiconfig/ui/optsecuritypage \ cui/uiconfig/ui/optsecuritypage \
cui/uiconfig/ui/optuserpage \ cui/uiconfig/ui/optuserpage \
cui/uiconfig/ui/optviewpage \ cui/uiconfig/ui/optviewpage \
......
This diff is collapsed.
...@@ -21,36 +21,6 @@ ...@@ -21,36 +21,6 @@
// defines ------------------------------------------------------------------ // defines ------------------------------------------------------------------
#define LB_LOAD 10
#define CB_LOAD_SETTINGS 11
#define CB_LOAD_DOCPRINTER 12
#define GB_SAVE 13
#define BTN_DOCINFO 14
#define BTN_BACKUP 15
#define BTN_AUTOSAVE 16
#define ED_AUTOSAVE 17
#define FT_MINUTE 18
#define BTN_USERAUTOSAVE 19
#define BTN_NOPRETTYPRINTING 20
#define FI_BACKUP 21
#define BTN_WARNALIENFORMAT 22
#define FT_ODF_VERSION 23
#define LB_ODF_VERSION 24
#define BTN_RELATIVE_FSYS 41
#define BTN_RELATIVE_INET 42
#define FL_FILTER 43
#define FT_APP 44
#define LB_APP 45
#define FT_FILTER 46
#define LB_FILTER 47
#define FI_FILTER 48
#define FT_WARN 49
#define FI_ODF_WARNING 50
#define IMG_ODF_WARNING 1
#define APP_WRITER 0 #define APP_WRITER 0
#define APP_WRITER_WEB 1 #define APP_WRITER_WEB 1
#define APP_WRITER_GLOBAL 2 #define APP_WRITER_GLOBAL 2
......
...@@ -43,33 +43,26 @@ struct SvxSaveTabPage_Impl; ...@@ -43,33 +43,26 @@ struct SvxSaveTabPage_Impl;
class SvxSaveTabPage : public SfxTabPage class SvxSaveTabPage : public SfxTabPage
{ {
private: private:
FixedLine aLoadFL; CheckBox* aLoadUserSettingsCB;
CheckBox aLoadUserSettingsCB; CheckBox* aLoadDocPrinterCB;
CheckBox aLoadDocPrinterCB;
CheckBox* aDocInfoCB;
FixedLine aSaveFL; CheckBox* aBackupCB;
CheckBox aDocInfoCB; CheckBox* aAutoSaveCB;
ReadOnlyImage aBackupFI; NumericField* aAutoSaveEdit;
CheckBox aBackupCB; FixedText* aMinuteFT;
CheckBox aAutoSaveCB; CheckBox* aUserAutoSaveCB;
NumericField aAutoSaveEdit; CheckBox* aRelativeFsysCB;
FixedText aMinuteFT; CheckBox* aRelativeInetCB;
CheckBox aUserAutoSaveCB;
CheckBox aRelativeFsysCB; ListBox* aODFVersionLB;
CheckBox aRelativeInetCB; CheckBox* aSizeOptimizationCB;
CheckBox* aWarnAlienFormatCB;
FixedLine aDefaultFormatFL; ListBox* aDocTypeLB;
FixedText aODFVersionFT; FixedText* aSaveAsFT;
ListBox aODFVersionLB; ListBox* aSaveAsLB;
CheckBox aSizeOptimizationCB; FixedImage* aODFWarningFI;
CheckBox aWarnAlienFormatCB; FixedText* aODFWarningFT;
FixedText aDocTypeFT;
ListBox aDocTypeLB;
FixedText aSaveAsFT;
ReadOnlyImage aSaveAsFI;
ListBox aSaveAsLB;
FixedImage aODFWarningFI;
FixedText aODFWarningFT;
SvxSaveTabPage_Impl* pImpl; SvxSaveTabPage_Impl* pImpl;
......
...@@ -26,222 +26,6 @@ ...@@ -26,222 +26,6 @@
#define TEXT_SAVEPAGE \ #define TEXT_SAVEPAGE \
Text [ en-US ] = "Save" ;\ Text [ en-US ] = "Save" ;\
TabPage RID_SFXPAGE_SAVE
{
HelpId = HID_OPTIONS_SAVE ;
OutputSize = TRUE ;
SVLook = TRUE ;
Hide = TRUE ;
TEXT_SAVEPAGE
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedLine LB_LOAD
{
Pos = MAP_APPFONT ( 6 , 2 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Load";
};
CheckBox CB_LOAD_SETTINGS
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS";
Pos = MAP_APPFONT ( 12 , 11 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
Text [ en-US ] = "Load user-specific settings with the document";
};
CheckBox CB_LOAD_DOCPRINTER
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER";
Pos = MAP_APPFONT ( 12 , 22 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
Text [ en-US ] = "Load printer settings with the document";
};
FixedLine GB_SAVE
{
Pos = MAP_APPFONT ( 6 , 32 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Save" ;
};
CheckBox BTN_DOCINFO
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO";
Pos = MAP_APPFONT ( 12 , 41 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
Text [ en-US ] = "~Edit document properties before saving" ;
TabStop = TRUE ;
};
FixedImage FI_BACKUP
{
Pos = MAP_APPFONT ( 5, 53 ) ;
Size = MAP_APPFONT ( 6 , 6 ) ;
Hide = TRUE;
};
CheckBox BTN_BACKUP
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP";
Pos = MAP_APPFONT ( 12 , 52 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
Text [ en-US ] = "Al~ways create backup copy" ;
};
CheckBox BTN_AUTOSAVE
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE";
Pos = MAP_APPFONT ( 12 , 63 ) ;
Size = MAP_APPFONT ( 163 , 10 ) ;
Text [ en-US ] = "Save ~AutoRecovery information every" ;
};
NumericField ED_AUTOSAVE
{
HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE";
Border = TRUE ;
Pos = MAP_APPFONT ( 180 , 62 ) ;
Size = MAP_APPFONT ( 21 , 12 ) ;
Left = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Minimum = 1 ;
Maximum = 60 ;
StrictFormat = TRUE ;
First = 1 ;
Last = 60 ;
SpinSize = 1 ;
TabStop = TRUE ;
};
FixedText FT_MINUTE
{
Pos = MAP_APPFONT ( 204 , 64 ) ;
Size = MAP_APPFONT ( 65 , 8 ) ;
Text [ en-US ] = "Minutes" ;
};
CheckBox BTN_USERAUTOSAVE
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_USERAUTOSAVE";
Pos = MAP_APPFONT ( 21 , 74 ) ;
Size = MAP_APPFONT ( 163 , 10 ) ;
Text [ en-US ] = "Automatically save the document too" ;
};
CheckBox BTN_RELATIVE_FSYS
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS";
Pos = MAP_APPFONT ( 12 , 85 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
Text [ en-US ] = "Save URLs relative to file system" ;
};
CheckBox BTN_RELATIVE_INET
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET";
Pos = MAP_APPFONT ( 12 , 96 ) ;
Size = MAP_APPFONT ( 248 , 10 ) ;
Text [ en-US ] = "Save URLs relative to internet" ;
};
FixedLine FL_FILTER
{
Pos = MAP_APPFONT ( 6 , 108 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Default file format and ODF settings" ;
};
FixedText FT_ODF_VERSION
{
Pos = MAP_APPFONT ( 12 , 118 ) ;
Size = MAP_APPFONT ( 121 , 8 ) ;
Text [ en-US ] = "ODF format version" ;
};
ListBox LB_ODF_VERSION
{
HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION";
Pos = MAP_APPFONT ( 136 , 116 ) ;
Size = MAP_APPFONT ( 108 , 58 ) ;
Border = TRUE;
DropDown = TRUE;
StringList [ en-US ] =
{
< "1.0/1.1" ; 2 ; > ;
< "1.2" ; 4 ; > ;
< "1.2 Extended (compat mode)"; 8 ; > ;
< "1.2 Extended (recommended)"; 0x7fffffff ; > ;
};
};
CheckBox BTN_NOPRETTYPRINTING
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING";
Pos = MAP_APPFONT ( 12 , 131 ) ;
Size = MAP_APPFONT ( 248 , 10 ) ;
Text [ en-US ] = "Size optimization for ODF format" ;
};
CheckBox BTN_WARNALIENFORMAT
{
HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT";
Pos = MAP_APPFONT ( 12 , 142 ) ;
Size = MAP_APPFONT ( 248 , 10 ) ;
Text [ en-US ] = "Warn when not saving in ODF or default format" ;
};
FixedText FT_APP
{
Pos = MAP_APPFONT ( 12 , 153 ) ;
Size = MAP_APPFONT ( 120 , 8 ) ;
Text [ en-US ] = "D~ocument type";
};
FixedText FT_FILTER
{
Pos = MAP_APPFONT ( 136 , 153 ) ;
Size = MAP_APPFONT ( 120 , 8 ) ;
Text [ en-US ] = "Always sa~ve as";
};
ListBox LB_APP
{
HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP";
Pos = MAP_APPFONT ( 12 , 164 ) ;
Size = MAP_APPFONT ( 108 , 58 ) ;
Border = TRUE;
DropDown = TRUE;
StringList [ en-US ] =
{
< "Text document" ; APP_WRITER ; > ;
< "HTML document" ; APP_WRITER_WEB; > ;
< "Master document" ; APP_WRITER_GLOBAL; > ;
< "Spreadsheet" ; APP_CALC ; > ;
< "Presentation" ; APP_IMPRESS ; > ;
< "Drawing" ; APP_DRAW ; > ;
< "Formula" ; APP_MATH ; > ;
};
};
FixedImage FI_FILTER
{
Pos = MAP_APPFONT ( 129, 165 ) ;
Size = MAP_APPFONT ( 6 , 6 ) ;
Hide = TRUE;
};
ListBox LB_FILTER
{
HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER";
Pos = MAP_APPFONT ( 136 , 164 ) ;
Size = MAP_APPFONT ( 108 , 58 ) ;
Border = TRUE;
Sort = TRUE;
DropDown = TRUE;
};
FixedImage FI_ODF_WARNING
{
Pos = MAP_APPFONT ( 12, 170 ) ;
Size = MAP_APPFONT ( 8 , 8 ) ;
Hide = TRUE;
};
FixedText FT_WARN
{
Pos = MAP_APPFONT ( 23 , 170 ) ;
Size = MAP_APPFONT ( 239 , 8 ) ;
Hide = TRUE;
Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost.";
Text [ x-comment ] = "EN-US, the term 'extended' must not be translated.";
};
Image IMG_ODF_WARNING
{
ImageBitmap = Bitmap
{
File = "odfwarning.png";
};
MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
};
};
ModalDialog RID_SVXDLG_FILTER_WARNING ModalDialog RID_SVXDLG_FILTER_WARNING
{ {
HelpID = HID_SVXDLG_FILTER_WARNING; HelpID = HID_SVXDLG_FILTER_WARNING;
......
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