Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8d4e51a5
Kaydet (Commit)
8d4e51a5
authored
Şub 18, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
move General options page to cui and adapt code
Change-Id: I724db9d199ad15d31f8daf2329ceb9cd46fdefda
üst
7bf7d96a
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
193 additions
and
386 deletions
+193
-386
UI_cui.mk
cui/UI_cui.mk
+1
-0
helpid.hrc
cui/source/inc/helpid.hrc
+0
-1
optgdlg.cxx
cui/source/options/optgdlg.cxx
+70
-138
optgdlg.hrc
cui/source/options/optgdlg.hrc
+0
-15
optgdlg.hxx
cui/source/options/optgdlg.hxx
+13
-18
optgdlg.src
cui/source/options/optgdlg.src
+0
-127
optgeneralpage.ui
cui/uiconfig/ui/optgeneralpage.ui
+109
-87
No files found.
cui/UI_cui.mk
Dosyayı görüntüle @
8d4e51a5
...
@@ -36,6 +36,7 @@ $(eval $(call gb_UI_add_uifiles,cui,\
...
@@ -36,6 +36,7 @@ $(eval $(call gb_UI_add_uifiles,cui,\
cui/uiconfig/ui/optadvancedpage \
cui/uiconfig/ui/optadvancedpage \
cui/uiconfig/ui/optappearancepage \
cui/uiconfig/ui/optappearancepage \
cui/uiconfig/ui/optfontspage \
cui/uiconfig/ui/optfontspage \
cui/uiconfig/ui/optgeneralpage \
cui/uiconfig/ui/optpathspage \
cui/uiconfig/ui/optpathspage \
cui/uiconfig/ui/optsecuritypage \
cui/uiconfig/ui/optsecuritypage \
cui/uiconfig/ui/personalization_tab \
cui/uiconfig/ui/personalization_tab \
...
...
cui/source/inc/helpid.hrc
Dosyayı görüntüle @
8d4e51a5
...
@@ -49,7 +49,6 @@
...
@@ -49,7 +49,6 @@
#define HID_OFA_CONNPOOL_DRIVERLIST "CUI_HID_OFA_CONNPOOL_DRIVERLIST"
#define HID_OFA_CONNPOOL_DRIVERLIST "CUI_HID_OFA_CONNPOOL_DRIVERLIST"
#define UID_OFA_CONNPOOL_DRIVERLIST_BACK "CUI_UID_OFA_CONNPOOL_DRIVERLIST_BACK"
#define UID_OFA_CONNPOOL_DRIVERLIST_BACK "CUI_UID_OFA_CONNPOOL_DRIVERLIST_BACK"
#define HID_OFA_FONT_SUBST_CLB "CUI_HID_OFA_FONT_SUBST_CLB"
#define HID_OFA_FONT_SUBST_CLB "CUI_HID_OFA_FONT_SUBST_CLB"
#define HID_OFA_TP_MISC "CUI_HID_OFA_TP_MISC"
#define HID_OFA_TP_VIEW "CUI_HID_OFA_TP_VIEW"
#define HID_OFA_TP_VIEW "CUI_HID_OFA_TP_VIEW"
#define HID_OFA_TP_LANGUAGES "CUI_HID_OFA_TP_LANGUAGES"
#define HID_OFA_TP_LANGUAGES "CUI_HID_OFA_TP_LANGUAGES"
#define HID_OFA_TP_MEMORY "CUI_HID_OFA_TP_MEMORY"
#define HID_OFA_TP_MEMORY "CUI_HID_OFA_TP_MEMORY"
...
...
cui/source/options/optgdlg.cxx
Dosyayı görüntüle @
8d4e51a5
...
@@ -182,112 +182,47 @@ namespace
...
@@ -182,112 +182,47 @@ namespace
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
OfaMiscTabPage
::
OfaMiscTabPage
(
Window
*
pParent
,
const
SfxItemSet
&
rSet
)
:
OfaMiscTabPage
::
OfaMiscTabPage
(
Window
*
pParent
,
const
SfxItemSet
&
rSet
)
:
SfxTabPage
(
pParent
,
"OptGeneralPage"
,
"cui/ui/optgeneralpage.ui"
,
rSet
)
SfxTabPage
(
pParent
,
CUI_RES
(
OFA_TP_MISC
),
rSet
),
aHelpFL
(
this
,
CUI_RES
(
FL_HELP
)
),
aToolTipsCB
(
this
,
CUI_RES
(
CB_TOOLTIP
)
),
aExtHelpCB
(
this
,
CUI_RES
(
CB_EXTHELP
)
),
aHelpAgentCB
(
this
,
CUI_RES
(
CB_HELPAGENT
)
),
aHelpAgentResetBtn
(
this
,
CUI_RES
(
PB_HELPAGENT_RESET
)
),
aFileDlgFL
(
this
,
CUI_RES
(
FL_FILEDLG
)
),
aFileDlgROImage
(
this
,
CUI_RES
(
FI_FILEDLG_RO
)
),
aFileDlgCB
(
this
,
CUI_RES
(
CB_FILEDLG
)
),
aPrintDlgFL
(
this
,
CUI_RES
(
FL_PRINTDLG
)
),
aPrintDlgCB
(
this
,
CUI_RES
(
CB_PRINTDLG
)
),
aDocStatusFL
(
this
,
CUI_RES
(
FL_DOCSTATUS
)
),
aDocStatusCB
(
this
,
CUI_RES
(
CB_DOCSTATUS
)
),
aSaveAlwaysCB
(
this
,
CUI_RES
(
CB_SAVE_ALWAYS
)
),
aTwoFigureFL
(
this
,
CUI_RES
(
FL_TWOFIGURE
)
),
aInterpretFT
(
this
,
CUI_RES
(
FT_INTERPRET
)
),
aYearValueField
(
this
,
CUI_RES
(
NF_YEARVALUE
)
),
aToYearFT
(
this
,
CUI_RES
(
FT_TOYEAR
)
)
{
{
FreeResource
();
get
(
m_pToolTipsCB
,
"tooltips"
);
get
(
m_pExtHelpCB
,
"exthelp"
);
get
(
m_pHelpAgentCB
,
"helpagent"
);
get
(
m_pHelpAgentResetBtn
,
"resethelpagent"
);
if
(
!
lcl_HasSystemFilePicker
())
if
(
!
lcl_HasSystemFilePicker
())
{
get
<
VclContainer
>
(
"filedlgframe"
)
->
Hide
();
aFileDlgFL
.
Hide
();
aFileDlgCB
.
Hide
();
}
#if !defined(MACOSX) && !defined(ENABLE_GTK)
#if !defined(MACOSX) && !defined(ENABLE_GTK)
aPrintDlgFL
.
Hide
();
get
<
VclContainer
>
(
"printdlgframe"
)
->
Hide
();
aPrintDlgCB
.
Hide
();
#endif
#endif
get
(
m_pFileDlgCB
,
"filedlg"
);
get
(
m_pPrintDlgCB
,
"printdlg"
);
get
(
m_pDocStatusCB
,
"docstatus"
);
get
(
m_pSaveAlwaysCB
,
"savealways"
);
get
(
m_pYearFrame
,
"yearframe"
);
get
(
m_pYearValueField
,
"year"
);
get
(
m_pToYearFT
,
"toyear"
);
if
(
!
aFileDlgCB
.
IsVisible
()
)
if
(
m_pFileDlgCB
->
IsVisible
()
&&
SvtMiscOptions
().
IsUseSystemFileDialogReadOnly
())
{
// rearrange the following controls
Point
aNewPos
=
aPrintDlgFL
.
GetPosPixel
();
long
nDelta
=
aNewPos
.
Y
()
-
aFileDlgFL
.
GetPosPixel
().
Y
();
Window
*
pWins
[]
=
{
&
aPrintDlgFL
,
&
aPrintDlgCB
,
&
aDocStatusFL
,
&
aDocStatusCB
,
&
aSaveAlwaysCB
,
&
aTwoFigureFL
,
&
aInterpretFT
,
&
aYearValueField
,
&
aToYearFT
};
Window
**
pCurrent
=
pWins
;
const
sal_Int32
nCount
=
SAL_N_ELEMENTS
(
pWins
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
,
++
pCurrent
)
{
aNewPos
=
(
*
pCurrent
)
->
GetPosPixel
();
aNewPos
.
Y
()
-=
nDelta
;
(
*
pCurrent
)
->
SetPosPixel
(
aNewPos
);
}
}
else
if
(
SvtMiscOptions
().
IsUseSystemFileDialogReadOnly
()
)
{
aFileDlgROImage
.
Show
();
aFileDlgCB
.
Disable
();
}
if
(
!
aPrintDlgCB
.
IsVisible
()
)
{
// rearrange the following controls
Point
aNewPos
=
aDocStatusFL
.
GetPosPixel
();
long
nDelta
=
aNewPos
.
Y
()
-
aPrintDlgFL
.
GetPosPixel
().
Y
();
Window
*
pWins
[]
=
{
&
aDocStatusFL
,
&
aDocStatusCB
,
&
aSaveAlwaysCB
,
&
aTwoFigureFL
,
&
aInterpretFT
,
&
aYearValueField
,
&
aToYearFT
};
Window
**
pCurrent
=
pWins
;
const
sal_Int32
nCount
=
SAL_N_ELEMENTS
(
pWins
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
,
++
pCurrent
)
{
aNewPos
=
(
*
pCurrent
)
->
GetPosPixel
();
aNewPos
.
Y
()
-=
nDelta
;
(
*
pCurrent
)
->
SetPosPixel
(
aNewPos
);
}
}
// at least the button is as wide as its text
long
nTxtWidth
=
aHelpAgentResetBtn
.
GetTextWidth
(
aHelpAgentResetBtn
.
GetText
()
);
Size
aBtnSz
=
aHelpAgentResetBtn
.
GetSizePixel
();
if
(
aBtnSz
.
Width
()
<
nTxtWidth
)
{
{
aBtnSz
.
Width
()
=
nTxtWidth
;
m_pFileDlgROImage
->
Show
()
;
aHelpAgentResetBtn
.
SetSizePixel
(
aBtnSz
);
m_pFileDlgCB
->
Disable
(
);
}
}
aStrDateInfo
=
aToYearFT
.
GetText
();
m_aStrDateInfo
=
m_pToYearFT
->
GetText
();
aYearValueField
.
SetModifyHdl
(
LINK
(
this
,
OfaMiscTabPage
,
TwoFigureHdl
)
);
m_pYearValueField
->
SetModifyHdl
(
LINK
(
this
,
OfaMiscTabPage
,
TwoFigureHdl
)
);
Link
aLink
=
LINK
(
this
,
OfaMiscTabPage
,
TwoFigureConfigHdl
);
Link
aLink
=
LINK
(
this
,
OfaMiscTabPage
,
TwoFigureConfigHdl
);
aYearValueField
.
SetDownHdl
(
aLink
);
m_pYearValueField
->
SetDownHdl
(
aLink
);
aYearValueField
.
SetUpHdl
(
aLink
);
m_pYearValueField
->
SetUpHdl
(
aLink
);
aYearValueField
.
SetLoseFocusHdl
(
aLink
);
m_pYearValueField
->
SetLoseFocusHdl
(
aLink
);
aYearValueField
.
SetFirstHdl
(
aLink
);
m_pYearValueField
->
SetFirstHdl
(
aLink
);
TwoFigureConfigHdl
(
&
aYearValueField
);
TwoFigureConfigHdl
(
m_pYearValueField
);
SetExchangeSupport
();
SetExchangeSupport
();
aLink
=
LINK
(
this
,
OfaMiscTabPage
,
HelpCheckHdl_Impl
);
aLink
=
LINK
(
this
,
OfaMiscTabPage
,
HelpCheckHdl_Impl
);
aToolTipsCB
.
SetClickHdl
(
aLink
);
m_pToolTipsCB
->
SetClickHdl
(
aLink
);
aHelpAgentCB
.
SetClickHdl
(
aLink
);
m_pHelpAgentCB
->
SetClickHdl
(
aLink
);
aHelpAgentResetBtn
.
SetClickHdl
(
LINK
(
this
,
OfaMiscTabPage
,
HelpAgentResetHdl_Impl
)
);
m_pHelpAgentResetBtn
->
SetClickHdl
(
LINK
(
this
,
OfaMiscTabPage
,
HelpAgentResetHdl_Impl
)
);
}
}
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
...
@@ -310,47 +245,47 @@ sal_Bool OfaMiscTabPage::FillItemSet( SfxItemSet& rSet )
...
@@ -310,47 +245,47 @@ sal_Bool OfaMiscTabPage::FillItemSet( SfxItemSet& rSet )
sal_Bool
bModified
=
sal_False
;
sal_Bool
bModified
=
sal_False
;
SvtHelpOptions
aHelpOptions
;
SvtHelpOptions
aHelpOptions
;
sal_Bool
bChecked
=
aToolTipsCB
.
IsChecked
();
sal_Bool
bChecked
=
m_pToolTipsCB
->
IsChecked
();
if
(
bChecked
!=
aToolTipsCB
.
GetSavedValue
()
)
if
(
bChecked
!=
m_pToolTipsCB
->
GetSavedValue
()
)
aHelpOptions
.
SetHelpTips
(
bChecked
);
aHelpOptions
.
SetHelpTips
(
bChecked
);
bChecked
=
(
aExtHelpCB
.
IsChecked
()
&&
aToolTipsCB
.
IsChecked
()
);
bChecked
=
(
m_pExtHelpCB
->
IsChecked
()
&&
m_pToolTipsCB
->
IsChecked
()
);
if
(
bChecked
!=
aExtHelpCB
.
GetSavedValue
()
)
if
(
bChecked
!=
m_pExtHelpCB
->
GetSavedValue
()
)
aHelpOptions
.
SetExtendedHelp
(
bChecked
);
aHelpOptions
.
SetExtendedHelp
(
bChecked
);
bChecked
=
aHelpAgentCB
.
IsChecked
();
bChecked
=
m_pHelpAgentCB
->
IsChecked
();
if
(
bChecked
!=
aHelpAgentCB
.
GetSavedValue
()
)
if
(
bChecked
!=
m_pHelpAgentCB
->
GetSavedValue
()
)
aHelpOptions
.
SetHelpAgentAutoStartMode
(
bChecked
);
aHelpOptions
.
SetHelpAgentAutoStartMode
(
bChecked
);
if
(
aFileDlgCB
.
IsChecked
()
!=
aFileDlgCB
.
GetSavedValue
()
)
if
(
m_pFileDlgCB
->
IsChecked
()
!=
m_pFileDlgCB
->
GetSavedValue
()
)
{
{
SvtMiscOptions
aMiscOpt
;
SvtMiscOptions
aMiscOpt
;
aMiscOpt
.
SetUseSystemFileDialog
(
!
aFileDlgCB
.
IsChecked
()
);
aMiscOpt
.
SetUseSystemFileDialog
(
!
m_pFileDlgCB
->
IsChecked
()
);
bModified
=
sal_True
;
bModified
=
sal_True
;
}
}
if
(
aPrintDlgCB
.
IsChecked
()
!=
aPrintDlgCB
.
GetSavedValue
()
)
if
(
m_pPrintDlgCB
->
IsChecked
()
!=
m_pPrintDlgCB
->
GetSavedValue
()
)
{
{
SvtMiscOptions
aMiscOpt
;
SvtMiscOptions
aMiscOpt
;
aMiscOpt
.
SetUseSystemPrintDialog
(
!
aPrintDlgCB
.
IsChecked
()
);
aMiscOpt
.
SetUseSystemPrintDialog
(
!
m_pPrintDlgCB
->
IsChecked
()
);
bModified
=
sal_True
;
bModified
=
sal_True
;
}
}
if
(
aDocStatusCB
.
IsChecked
()
!=
aDocStatusCB
.
GetSavedValue
()
)
if
(
m_pDocStatusCB
->
IsChecked
()
!=
m_pDocStatusCB
->
GetSavedValue
()
)
{
{
SvtPrintWarningOptions
aPrintOptions
;
SvtPrintWarningOptions
aPrintOptions
;
aPrintOptions
.
SetModifyDocumentOnPrintingAllowed
(
aDocStatusCB
.
IsChecked
()
);
aPrintOptions
.
SetModifyDocumentOnPrintingAllowed
(
m_pDocStatusCB
->
IsChecked
()
);
bModified
=
sal_True
;
bModified
=
sal_True
;
}
}
if
(
aSaveAlwaysCB
.
IsChecked
()
!=
aSaveAlwaysCB
.
GetSavedValue
()
)
if
(
m_pSaveAlwaysCB
->
IsChecked
()
!=
m_pSaveAlwaysCB
->
GetSavedValue
()
)
{
{
SvtMiscOptions
aMiscOpt
;
SvtMiscOptions
aMiscOpt
;
aMiscOpt
.
SetSaveAlwaysAllowed
(
aSaveAlwaysCB
.
IsChecked
()
);
aMiscOpt
.
SetSaveAlwaysAllowed
(
m_pSaveAlwaysCB
->
IsChecked
()
);
bModified
=
sal_True
;
bModified
=
sal_True
;
}
}
const
SfxUInt16Item
*
pUInt16Item
=
const
SfxUInt16Item
*
pUInt16Item
=
PTR_CAST
(
SfxUInt16Item
,
GetOldItem
(
rSet
,
SID_ATTR_YEAR2000
)
);
PTR_CAST
(
SfxUInt16Item
,
GetOldItem
(
rSet
,
SID_ATTR_YEAR2000
)
);
sal_uInt16
nNum
=
(
sal_uInt16
)
aYearValueField
.
GetText
().
toInt32
();
sal_uInt16
nNum
=
(
sal_uInt16
)
m_pYearValueField
->
GetText
().
toInt32
();
if
(
pUInt16Item
&&
pUInt16Item
->
GetValue
()
!=
nNum
)
if
(
pUInt16Item
&&
pUInt16Item
->
GetValue
()
!=
nNum
)
{
{
bModified
=
sal_True
;
bModified
=
sal_True
;
...
@@ -365,39 +300,36 @@ sal_Bool OfaMiscTabPage::FillItemSet( SfxItemSet& rSet )
...
@@ -365,39 +300,36 @@ sal_Bool OfaMiscTabPage::FillItemSet( SfxItemSet& rSet )
void
OfaMiscTabPage
::
Reset
(
const
SfxItemSet
&
rSet
)
void
OfaMiscTabPage
::
Reset
(
const
SfxItemSet
&
rSet
)
{
{
SvtHelpOptions
aHelpOptions
;
SvtHelpOptions
aHelpOptions
;
aToolTipsCB
.
Check
(
aHelpOptions
.
IsHelpTips
()
);
m_pToolTipsCB
->
Check
(
aHelpOptions
.
IsHelpTips
()
);
aExtHelpCB
.
Check
(
aHelpOptions
.
IsHelpTips
()
&&
aHelpOptions
.
IsExtendedHelp
()
);
m_pExtHelpCB
->
Check
(
aHelpOptions
.
IsHelpTips
()
&&
aHelpOptions
.
IsExtendedHelp
()
);
aHelpAgentCB
.
Check
(
aHelpOptions
.
IsHelpAgentAutoStartMode
()
);
m_pHelpAgentCB
->
Check
(
aHelpOptions
.
IsHelpAgentAutoStartMode
()
);
aToolTipsCB
.
SaveValue
();
m_pToolTipsCB
->
SaveValue
();
aExtHelpCB
.
SaveValue
();
m_pExtHelpCB
->
SaveValue
();
aHelpAgentCB
.
SaveValue
();
m_pHelpAgentCB
->
SaveValue
();
HelpCheckHdl_Impl
(
&
aHelpAgentCB
);
HelpCheckHdl_Impl
(
m_pHelpAgentCB
);
SvtMiscOptions
aMiscOpt
;
SvtMiscOptions
aMiscOpt
;
aFileDlgCB
.
Check
(
!
aMiscOpt
.
UseSystemFileDialog
()
);
m_pFileDlgCB
->
Check
(
!
aMiscOpt
.
UseSystemFileDialog
()
);
aFileDlgCB
.
SaveValue
();
m_pFileDlgCB
->
SaveValue
();
aPrintDlgCB
.
Check
(
!
aMiscOpt
.
UseSystemPrintDialog
()
);
m_pPrintDlgCB
->
Check
(
!
aMiscOpt
.
UseSystemPrintDialog
()
);
aPrintDlgCB
.
SaveValue
();
m_pPrintDlgCB
->
SaveValue
();
aSaveAlwaysCB
.
Check
(
aMiscOpt
.
IsSaveAlwaysAllowed
()
);
m_pSaveAlwaysCB
->
Check
(
aMiscOpt
.
IsSaveAlwaysAllowed
()
);
aSaveAlwaysCB
.
SaveValue
();
m_pSaveAlwaysCB
->
SaveValue
();
SvtPrintWarningOptions
aPrintOptions
;
SvtPrintWarningOptions
aPrintOptions
;
aDocStatusCB
.
Check
(
aPrintOptions
.
IsModifyDocumentOnPrintingAllowed
());
m_pDocStatusCB
->
Check
(
aPrintOptions
.
IsModifyDocumentOnPrintingAllowed
());
aDocStatusCB
.
SaveValue
();
m_pDocStatusCB
->
SaveValue
();
const
SfxPoolItem
*
pItem
=
NULL
;
const
SfxPoolItem
*
pItem
=
NULL
;
if
(
SFX_ITEM_SET
==
rSet
.
GetItemState
(
SID_ATTR_YEAR2000
,
sal_False
,
&
pItem
)
)
if
(
SFX_ITEM_SET
==
rSet
.
GetItemState
(
SID_ATTR_YEAR2000
,
sal_False
,
&
pItem
)
)
{
{
aYearValueField
.
SetValue
(
((
SfxUInt16Item
*
)
pItem
)
->
GetValue
()
);
m_pYearValueField
->
SetValue
(
((
SfxUInt16Item
*
)
pItem
)
->
GetValue
()
);
TwoFigureConfigHdl
(
&
aYearValueField
);
TwoFigureConfigHdl
(
m_pYearValueField
);
}
}
else
else
{
{
aYearValueField
.
Enable
(
sal_False
);
m_pYearFrame
->
Enable
(
sal_False
);
aTwoFigureFL
.
Enable
(
sal_False
);
aInterpretFT
.
Enable
(
sal_False
);
aToYearFT
.
Enable
(
sal_False
);
}
}
}
}
...
@@ -407,21 +339,21 @@ IMPL_LINK( OfaMiscTabPage, TwoFigureHdl, NumericField*, pEd )
...
@@ -407,21 +339,21 @@ IMPL_LINK( OfaMiscTabPage, TwoFigureHdl, NumericField*, pEd )
{
{
(
void
)
pEd
;
(
void
)
pEd
;
OUString
aOutput
(
aStrDateInfo
);
OUString
aOutput
(
m_
aStrDateInfo
);
OUString
aStr
(
aYearValueField
.
GetText
()
);
OUString
aStr
(
m_pYearValueField
->
GetText
()
);
OUString
sSep
(
SvtSysLocale
().
GetLocaleData
().
getNumThousandSep
()
);
OUString
sSep
(
SvtSysLocale
().
GetLocaleData
().
getNumThousandSep
()
);
sal_Int32
nIndex
=
0
;
sal_Int32
nIndex
=
0
;
while
((
nIndex
=
aStr
.
indexOf
(
sSep
,
nIndex
))
!=
-
1
)
while
((
nIndex
=
aStr
.
indexOf
(
sSep
,
nIndex
))
!=
-
1
)
aStr
=
aStr
.
replaceAt
(
nIndex
,
sSep
.
getLength
(),
""
);
aStr
=
aStr
.
replaceAt
(
nIndex
,
sSep
.
getLength
(),
""
);
sal_Int32
nNum
=
aStr
.
toInt32
();
sal_Int32
nNum
=
aStr
.
toInt32
();
if
(
aStr
.
getLength
()
!=
4
||
nNum
<
aYearValueField
.
GetMin
()
||
nNum
>
aYearValueField
.
GetMax
()
)
if
(
aStr
.
getLength
()
!=
4
||
nNum
<
m_pYearValueField
->
GetMin
()
||
nNum
>
m_pYearValueField
->
GetMax
()
)
aOutput
+=
"????"
;
aOutput
+=
"????"
;
else
else
{
{
nNum
+=
99
;
nNum
+=
99
;
aOutput
+=
OUString
::
number
(
nNum
);
aOutput
+=
OUString
::
number
(
nNum
);
}
}
aToYearFT
.
SetText
(
aOutput
);
m_pToYearFT
->
SetText
(
aOutput
);
return
0
;
return
0
;
}
}
...
@@ -429,10 +361,10 @@ IMPL_LINK( OfaMiscTabPage, TwoFigureHdl, NumericField*, pEd )
...
@@ -429,10 +361,10 @@ IMPL_LINK( OfaMiscTabPage, TwoFigureHdl, NumericField*, pEd )
IMPL_LINK
(
OfaMiscTabPage
,
TwoFigureConfigHdl
,
NumericField
*
,
pEd
)
IMPL_LINK
(
OfaMiscTabPage
,
TwoFigureConfigHdl
,
NumericField
*
,
pEd
)
{
{
sal_Int64
nNum
=
aYearValueField
.
GetValue
();
sal_Int64
nNum
=
m_pYearValueField
->
GetValue
();
rtl
::
OUString
aOutput
(
rtl
::
OUString
::
number
(
nNum
));
rtl
::
OUString
aOutput
(
rtl
::
OUString
::
number
(
nNum
));
aYearValueField
.
SetText
(
aOutput
);
m_pYearValueField
->
SetText
(
aOutput
);
aYearValueField
.
SetSelection
(
Selection
(
0
,
aOutput
.
getLength
()
)
);
m_pYearValueField
->
SetSelection
(
Selection
(
0
,
aOutput
.
getLength
()
)
);
TwoFigureHdl
(
pEd
);
TwoFigureHdl
(
pEd
);
return
0
;
return
0
;
}
}
...
@@ -441,8 +373,8 @@ IMPL_LINK( OfaMiscTabPage, TwoFigureConfigHdl, NumericField*, pEd )
...
@@ -441,8 +373,8 @@ IMPL_LINK( OfaMiscTabPage, TwoFigureConfigHdl, NumericField*, pEd )
IMPL_LINK_NOARG
(
OfaMiscTabPage
,
HelpCheckHdl_Impl
)
IMPL_LINK_NOARG
(
OfaMiscTabPage
,
HelpCheckHdl_Impl
)
{
{
aExtHelpCB
.
Enable
(
aToolTipsCB
.
IsChecked
()
);
m_pExtHelpCB
->
Enable
(
m_pToolTipsCB
->
IsChecked
()
);
aHelpAgentResetBtn
.
Enable
(
aHelpAgentCB
.
IsChecked
()
);
m_pHelpAgentResetBtn
->
Enable
(
m_pHelpAgentCB
->
IsChecked
()
);
return
0
;
return
0
;
}
}
...
...
cui/source/options/optgdlg.hrc
Dosyayı görüntüle @
8d4e51a5
...
@@ -87,21 +87,6 @@
...
@@ -87,21 +87,6 @@
#define ROW_FL_SELECTION (ROW_LB_MOUSEMIDDLE + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_FLGR_SPACE_X)
#define ROW_FL_SELECTION (ROW_LB_MOUSEMIDDLE + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_FLGR_SPACE_X)
#define ROW_CB_SELECTION (ROW_FL_SELECTION + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
#define ROW_CB_SELECTION (ROW_FL_SELECTION + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
// tabpage general -------------------------------------------------------
#define FL_HELP 10
#define CB_TOOLTIP 11
#define CB_EXTHELP 12
#define CB_HELPAGENT 13
#define PB_HELPAGENT_RESET 14
#define FL_TWOFIGURE 40
#define FT_INTERPRET 41
#define NF_YEARVALUE 42
#define FT_TOYEAR 43
#define FL_PRINTDLG 44
#define CB_PRINTDLG 45
// tabpage view ----------------------------------------------------------
// tabpage view ----------------------------------------------------------
// #i95644# 10 .. 14 freed, may be reused
// #i95644# 10 .. 14 freed, may be reused
...
...
cui/source/options/optgdlg.hxx
Dosyayı görüntüle @
8d4e51a5
...
@@ -36,29 +36,24 @@ class OfaMiscTabPage : public SfxTabPage
...
@@ -36,29 +36,24 @@ class OfaMiscTabPage : public SfxTabPage
{
{
using
TabPage
::
DeactivatePage
;
using
TabPage
::
DeactivatePage
;
private
:
private
:
FixedLine
aHelpFL
;
CheckBox
*
m_pToolTipsCB
;
CheckBox
aToolTipsCB
;
CheckBox
*
m_pExtHelpCB
;
CheckBox
aExtHelpCB
;
CheckBox
*
m_pHelpAgentCB
;
CheckBox
aHelpAgentCB
;
PushButton
*
m_pHelpAgentResetBtn
;
PushButton
aHelpAgentResetBtn
;
FixedLine
aFileDlgFL
;
FixedImage
*
m_pFileDlgROImage
;
ReadOnlyImage
aFileDlgROImage
;
CheckBox
*
m_pFileDlgCB
;
CheckBox
aFileDlgCB
;
FixedLine
aPrintDlgFL
;
CheckBox
*
m_pPrintDlgCB
;
CheckBox
aPrintDlgCB
;
FixedLine
aDocStatusFL
;
CheckBox
*
m_pDocStatusCB
;
CheckBox
aDocStatusCB
;
CheckBox
*
m_pSaveAlwaysCB
;
CheckBox
aSaveAlwaysCB
;
FixedLine
aTwoFigureFL
;
VclContainer
*
m_pYearFrame
;
FixedText
aInterpretFT
;
NumericField
*
m_pYearValueField
;
NumericField
aYearValueField
;
FixedText
*
m_pToYearFT
;
FixedText
aToYearFT
;
String
aStrDateInfo
;
OUString
m_
aStrDateInfo
;
DECL_LINK
(
TwoFigureHdl
,
NumericField
*
);
DECL_LINK
(
TwoFigureHdl
,
NumericField
*
);
DECL_LINK
(
TwoFigureConfigHdl
,
NumericField
*
);
DECL_LINK
(
TwoFigureConfigHdl
,
NumericField
*
);
...
...
cui/source/options/optgdlg.src
Dosyayı görüntüle @
8d4e51a5
...
@@ -20,133 +20,6 @@
...
@@ -20,133 +20,6 @@
#include "optgdlg.hrc"
#include "optgdlg.hrc"
#include "helpid.hrc"
#include "helpid.hrc"
//****************************************************************************
//
// TabPage Sonstiges
//
//****************************************************************************
TabPage OFA_TP_MISC
{
HelpID = HID_OFA_TP_MISC ;
SVLook = TRUE ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_HELP
{
Pos = MAP_APPFONT( COL0, ROW0 );
Size = MAP_APPFONT( WHOLE_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
Text [ en-US ] = "Help";
};
CheckBox CB_TOOLTIP
{
HelpID = "cui:CheckBox:OFA_TP_MISC:CB_TOOLTIP";
Pos = MAP_APPFONT( COL1, ROW1 );
Size = MAP_APPFONT( COL3 - COL1, RSC_CD_CHECKBOX_HEIGHT );
Text [ en-US ] = "~Tips";
};
CheckBox CB_EXTHELP
{
HelpID = "cui:CheckBox:OFA_TP_MISC:CB_EXTHELP";
Pos = MAP_APPFONT( COL3, ROW1 );
Size = MAP_APPFONT( WHOLE_WIDTH - COL3, RSC_CD_CHECKBOX_HEIGHT );
Text [ en-US ] = "~Extended tips";
};
CheckBox CB_HELPAGENT
{
HelpID = "cui:CheckBox:OFA_TP_MISC:CB_HELPAGENT";
Pos = MAP_APPFONT( COL1, ROW3 );
Size = MAP_APPFONT( COL3 - COL1, RSC_CD_CHECKBOX_HEIGHT );
Text [ en-US ] = "~Help Agent";
};
PushButton PB_HELPAGENT_RESET
{
HelpID = "cui:PushButton:OFA_TP_MISC:PB_HELPAGENT_RESET";
Pos = MAP_APPFONT( COL3, ROW3 );
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH + 20, RSC_CD_PUSHBUTTON_HEIGHT );
Text [ en-US ] = "~Reset Help Agent";
};
FixedLine FL_FILEDLG
{
Pos = MAP_APPFONT( COL0, ROW4 );
Size = MAP_APPFONT( WHOLE_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
Text [ en-US ] = "Open/Save dialogs";
};
FixedImage FI_FILEDLG_RO
{
Pos = MAP_APPFONT( COL1 - 7, ROW5 + 2 );
Size = MAP_APPFONT( 6, 6 );
Hide = TRUE;
};
CheckBox CB_FILEDLG
{
HelpID = "cui:CheckBox:OFA_TP_MISC:CB_FILEDLG";
Pos = MAP_APPFONT( COL1, ROW5 );
Size = MAP_APPFONT( WHOLE_WIDTH, RSC_CD_CHECKBOX_HEIGHT );
Text [ en-US ] = "~Use %PRODUCTNAME dialogs";
};
FixedLine FL_PRINTDLG
{
Pos = MAP_APPFONT( COL0, ROW6 );
Size = MAP_APPFONT( WHOLE_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
Text [ en-US ] = "Print dialogs";
};
CheckBox CB_PRINTDLG
{
Pos = MAP_APPFONT( COL1, ROW7 );
Size = MAP_APPFONT( WHOLE_WIDTH - COL1, RSC_CD_CHECKBOX_HEIGHT );
Text [ en-US ] = "Use %PRODUCTNAME ~dialogs";
};
FixedLine FL_DOCSTATUS
{
Pos = MAP_APPFONT( COL0, ROW8 );
Size = MAP_APPFONT( WHOLE_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
Text [ en-US ] = "Document status";
};
CheckBox CB_DOCSTATUS
{
HelpID = "cui:CheckBox:OFA_TP_MISC:CB_DOCSTATUS";
Pos = MAP_APPFONT( COL1, ROW9 );
Size = MAP_APPFONT( WHOLE_WIDTH - COL1, RSC_CD_CHECKBOX_HEIGHT );
Text [ en-US ] = "~Printing sets \"document modified\" status";
};
CheckBox CB_SAVE_ALWAYS
{
Pos = MAP_APPFONT( COL1, ROW10 );
Size = MAP_APPFONT( WHOLE_WIDTH - COL1, RSC_CD_CHECKBOX_HEIGHT );
Text [ en-US ] = "Allow to save document even when the document is not modified";
};
FixedLine FL_TWOFIGURE
{
Pos = MAP_APPFONT( COL0, ROW11 );
Size = MAP_APPFONT( WHOLE_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
Text [ en-US ] = "Year (two digits)" ;
};
FixedText FT_INTERPRET
{
Pos = MAP_APPFONT( COL1, OFFS_TEXTBOX_FIXEDTEXT(ROW12) );
Size = MAP_APPFONT( DIFF( COL1, COL3), RSC_CD_FIXEDTEXT_HEIGHT );
Text [ en-US ] = "Interpret as years between";
};
NumericField NF_YEARVALUE
{
HelpID = "cui:NumericField:OFA_TP_MISC:NF_YEARVALUE";
Border = TRUE ;
Pos = MAP_APPFONT( COL4, ROW12 );
Size = MAP_APPFONT( EDIT_WIDTH, RSC_CD_TEXTBOX_HEIGHT );
Minimum = 1583 ;
Maximum = 9857 ;
Spin = TRUE ;
Repeat = TRUE ;
};
FixedText FT_TOYEAR
{
Pos = MAP_APPFONT( COL6, OFFS_TEXTBOX_FIXEDTEXT(ROW12) );
Size = MAP_APPFONT( WHOLE_WIDTH - COL6, RSC_CD_FIXEDTEXT_HEIGHT );
Text [ en-US ] = "and " ;
};
};
//****************************************************************************
//****************************************************************************
//
//
// TabPage Ansicht
// TabPage Ansicht
...
...
sw/uiconfig/swriter/ui/libgeneral
.ui
→
cui/uiconfig/ui/optgeneralpage
.ui
Dosyayı görüntüle @
8d4e51a5
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires gtk+ 3.0 -->
<object
class=
"GtkBox"
id=
"box1"
>
<object
class=
"GtkAdjustment"
id=
"adjustment1"
>
<property
name=
"lower"
>
1583
</property>
<property
name=
"upper"
>
9857
</property>
<property
name=
"value"
>
1930
</property>
<property
name=
"step_increment"
>
1
</property>
<property
name=
"page_increment"
>
10
</property>
</object>
<object
class=
"GtkBox"
id=
"OptGeneralPage"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
12
</property>
<property
name=
"spacing"
>
12
</property>
<child>
<child>
...
@@ -16,6 +24,7 @@
...
@@ -16,6 +24,7 @@
<object
class=
"GtkAlignment"
id=
"alignment1"
>
<object
class=
"GtkAlignment"
id=
"alignment1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<child>
<object
class=
"GtkGrid"
id=
"grid1"
>
<object
class=
"GtkGrid"
id=
"grid1"
>
...
@@ -23,14 +32,14 @@
...
@@ -23,14 +32,14 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<property
name=
"column_spacing"
>
12
</property>
<property
name=
"column_homogeneous"
>
True
</property>
<child>
<child>
<object
class=
"GtkCheckButton"
id=
"checkbutton1"
>
<object
class=
"GtkCheckButton"
id=
"tooltips"
>
<property
name=
"label"
translatable=
"yes"
>
~Tips
</property>
<property
name=
"label"
translatable=
"yes"
>
_Tips
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_
action_appearance"
>
Fals
e
</property>
<property
name=
"use_
underline"
>
Tru
e
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
</object>
...
@@ -42,13 +51,12 @@
...
@@ -42,13 +51,12 @@
</packing>
</packing>
</child>
</child>
<child>
<child>
<object
class=
"GtkCheckButton"
id=
"checkbutton2"
>
<object
class=
"GtkCheckButton"
id=
"exthelp"
>
<property
name=
"label"
translatable=
"yes"
>
~Extended tips
</property>
<property
name=
"label"
translatable=
"yes"
>
_Extended tips
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_
action_appearance"
>
Fals
e
</property>
<property
name=
"use_
underline"
>
Tru
e
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
</object>
...
@@ -60,13 +68,12 @@
...
@@ -60,13 +68,12 @@
</packing>
</packing>
</child>
</child>
<child>
<child>
<object
class=
"GtkCheckButton"
id=
"checkbutton3"
>
<object
class=
"GtkCheckButton"
id=
"helpagent"
>
<property
name=
"label"
translatable=
"yes"
>
~Help Agent
</property>
<property
name=
"label"
translatable=
"yes"
>
_Help Agent
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_
action_appearance"
>
Fals
e
</property>
<property
name=
"use_
underline"
>
Tru
e
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
</object>
...
@@ -78,13 +85,13 @@
...
@@ -78,13 +85,13 @@
</packing>
</packing>
</child>
</child>
<child>
<child>
<object
class=
"GtkButton"
id=
"button1"
>
<object
class=
"GtkButton"
id=
"resethelpagent"
>
<property
name=
"label"
translatable=
"yes"
>
~Reset Help Agent
</property>
<property
name=
"label"
translatable=
"yes"
>
_Reset Help Agent
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"halign"
>
start
</property>
<property
name=
"use_underline"
>
True
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"left_attach"
>
1
</property>
...
@@ -102,6 +109,9 @@
...
@@ -102,6 +109,9 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Help
</property>
<property
name=
"label"
translatable=
"yes"
>
Help
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</object>
</child>
</child>
</object>
</object>
...
@@ -112,7 +122,7 @@
...
@@ -112,7 +122,7 @@
</packing>
</packing>
</child>
</child>
<child>
<child>
<object
class=
"GtkFrame"
id=
"f
rame2
"
>
<object
class=
"GtkFrame"
id=
"f
iledlgframe
"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"label_xalign"
>
0
</property>
...
@@ -121,17 +131,45 @@
...
@@ -121,17 +131,45 @@
<object
class=
"GtkAlignment"
id=
"alignment2"
>
<object
class=
"GtkAlignment"
id=
"alignment2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<child>
<object
class=
"GtkCheckButton"
id=
"checkbutton4"
>
<object
class=
"GtkGrid"
id=
"grid4"
>
<property
name=
"label"
translatable=
"yes"
>
~Use LibreOffice dialogs
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"column_spacing"
>
6
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<child>
<property
name=
"xalign"
>
0
</property>
<object
class=
"GtkCheckButton"
id=
"filedlg"
>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
_Use LibreOffice dialogs
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkImage"
id=
"image1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"no_show_all"
>
True
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"pixbuf"
>
res/lock.png
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</object>
</child>
</child>
</object>
</object>
...
@@ -141,6 +179,9 @@
...
@@ -141,6 +179,9 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Open/Save dialogs
</property>
<property
name=
"label"
translatable=
"yes"
>
Open/Save dialogs
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</object>
</child>
</child>
</object>
</object>
...
@@ -151,7 +192,7 @@
...
@@ -151,7 +192,7 @@
</packing>
</packing>
</child>
</child>
<child>
<child>
<object
class=
"GtkFrame"
id=
"
frame3
"
>
<object
class=
"GtkFrame"
id=
"
printdlgframe
"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"label_xalign"
>
0
</property>
...
@@ -160,15 +201,15 @@
...
@@ -160,15 +201,15 @@
<object
class=
"GtkAlignment"
id=
"alignment3"
>
<object
class=
"GtkAlignment"
id=
"alignment3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<child>
<object
class=
"GtkCheckButton"
id=
"checkbutton5"
>
<object
class=
"GtkCheckButton"
id=
"printdlg"
>
<property
name=
"label"
translatable=
"yes"
>
Use LibreOffice ~dialogs
</property>
<property
name=
"label"
translatable=
"yes"
>
Use LibreOffice _dialogs
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_
action_appearance"
>
Fals
e
</property>
<property
name=
"use_
underline"
>
Tru
e
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
</object>
...
@@ -180,6 +221,9 @@
...
@@ -180,6 +221,9 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Print dialogs
</property>
<property
name=
"label"
translatable=
"yes"
>
Print dialogs
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</object>
</child>
</child>
</object>
</object>
...
@@ -199,19 +243,19 @@
...
@@ -199,19 +243,19 @@
<object
class=
"GtkAlignment"
id=
"alignment4"
>
<object
class=
"GtkAlignment"
id=
"alignment4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<child>
<object
class=
"GtkGrid"
id=
"grid2"
>
<object
class=
"GtkGrid"
id=
"grid2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<child>
<object
class=
"GtkCheckButton"
id=
"checkbutton6"
>
<object
class=
"GtkCheckButton"
id=
"docstatus"
>
<property
name=
"label"
translatable=
"yes"
>
~Printing sets "document modified" status
</property>
<property
name=
"label"
translatable=
"yes"
>
_Printing sets "document modified" status
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_
action_appearance"
>
Fals
e
</property>
<property
name=
"use_
underline"
>
Tru
e
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
</object>
...
@@ -223,13 +267,12 @@
...
@@ -223,13 +267,12 @@
</packing>
</packing>
</child>
</child>
<child>
<child>
<object
class=
"GtkCheckButton"
id=
"checkbutton7"
>
<object
class=
"GtkCheckButton"
id=
"savealways"
>
<property
name=
"label"
translatable=
"yes"
>
~Allow to save document even when the document is not modified
</property>
<property
name=
"label"
translatable=
"yes"
>
_Allow to save document even when the document is not modified
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_
action_appearance"
>
Fals
e
</property>
<property
name=
"use_
underline"
>
Tru
e
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
</object>
...
@@ -249,6 +292,9 @@
...
@@ -249,6 +292,9 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Document status
</property>
<property
name=
"label"
translatable=
"yes"
>
Document status
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</object>
</child>
</child>
</object>
</object>
...
@@ -259,7 +305,7 @@
...
@@ -259,7 +305,7 @@
</packing>
</packing>
</child>
</child>
<child>
<child>
<object
class=
"GtkFrame"
id=
"
frame5
"
>
<object
class=
"GtkFrame"
id=
"
yearframe
"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"label_xalign"
>
0
</property>
...
@@ -268,80 +314,53 @@
...
@@ -268,80 +314,53 @@
<object
class=
"GtkAlignment"
id=
"alignment5"
>
<object
class=
"GtkAlignment"
id=
"alignment5"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<child>
<object
class=
"GtkGrid"
id=
"grid3"
>
<object
class=
"GtkGrid"
id=
"grid3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<child>
<placeholder/>
<object
class=
"GtkLabel"
id=
"label6"
>
</child>
<child>
<object
class=
"GtkGrid"
id=
"grid4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<property
name=
"xalign"
>
0
</property>
<object
class=
"GtkLabel"
id=
"label7"
>
<property
name=
"label"
translatable=
"yes"
>
_Interpret as years between
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"mnemonic_widget"
>
year
</property>
<property
name=
"label"
translatable=
"yes"
>
label
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkSpinButton"
id=
"spinbutton1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"invisible_char"
>
•
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</packing>
</child>
</child>
<child>
<child>
<object
class=
"Gtk
Label"
id=
"label6
"
>
<object
class=
"Gtk
SpinButton"
id=
"year
"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"invisible_char"
>
•
</property>
<property
name=
"label"
translatable=
"yes"
>
~Interpret as years between
</property>
<property
name=
"invisible_char_set"
>
True
</property>
<property
name=
"adjustment"
>
adjustment1
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</packing>
</child>
</child>
<child>
<child>
<object
class=
"GtkCheckButton"
id=
"checkbutton8"
>
<object
class=
"GtkLabel"
id=
"toyear"
>
<property
name=
"label"
translatable=
"yes"
>
Enable experimental (unstable) ~features
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
and
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</packing>
...
@@ -354,7 +373,10 @@
...
@@ -354,7 +373,10 @@
<object
class=
"GtkLabel"
id=
"label5"
>
<object
class=
"GtkLabel"
id=
"label5"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Year(two digits)
</property>
<property
name=
"label"
translatable=
"yes"
>
Year (two digits)
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</object>
</child>
</child>
</object>
</object>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment