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
28ca8eee
Kaydet (Commit)
28ca8eee
authored
May 16, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: #i117782# convert calculate page to .ui format
Change-Id: Iab0028ad1bfd8a841a3cf87aadbe0dc9d9ad830e
üst
35f846ff
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
538 additions
and
278 deletions
+538
-278
libreoffice-catalog.xml.in
extras/source/glade/libreoffice-catalog.xml.in
+4
-0
UIConfig_scalc.mk
sc/UIConfig_scalc.mk
+1
-0
helpids.h
sc/inc/helpids.h
+0
-1
editfield.cxx
sc/source/ui/cctrl/editfield.cxx
+12
-0
editfield.hxx
sc/source/ui/inc/editfield.hxx
+1
-0
optdlg.hrc
sc/source/ui/inc/optdlg.hrc
+0
-21
tpcalc.hxx
sc/source/ui/inc/tpcalc.hxx
+19
-25
tpcalc.cxx
sc/source/ui/optdlg/tpcalc.cxx
+72
-84
optdlg.src
sc/source/ui/src/optdlg.src
+0
-147
optcalculatepage.ui
sc/uiconfig/scalc/ui/optcalculatepage.ui
+429
-0
No files found.
extras/source/glade/libreoffice-catalog.xml.in
Dosyayı görüntüle @
28ca8eee
...
@@ -210,6 +210,10 @@
...
@@ -210,6 +210,10 @@
generic-name=
"NoSpace Edit"
parent=
"GtkEntry"
generic-name=
"NoSpace Edit"
parent=
"GtkEntry"
icon-name=
"widget-gtk-textentry"
/>
icon-name=
"widget-gtk-textentry"
/>
<glade-widget-class
title=
"Double Field"
name=
"scuilo-ScDoubleField"
generic-name=
"Double Field"
parent=
"GtkEntry"
icon-name=
"widget-gtk-textentry"
/>
<glade-widget-class
title=
"Cursor Reference Edit"
name=
"sclo-ScCursorRefEdit"
<glade-widget-class
title=
"Cursor Reference Edit"
name=
"sclo-ScCursorRefEdit"
generic-name=
"Cursor Reference Edit"
parent=
"foruilo-RefEdit"
generic-name=
"Cursor Reference Edit"
parent=
"foruilo-RefEdit"
icon-name=
"widget-gtk-textentry"
/>
icon-name=
"widget-gtk-textentry"
/>
...
...
sc/UIConfig_scalc.mk
Dosyayı görüntüle @
28ca8eee
...
@@ -78,6 +78,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
...
@@ -78,6 +78,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
sc/uiconfig/scalc/ui/leftfooterdialog \
sc/uiconfig/scalc/ui/leftfooterdialog \
sc/uiconfig/scalc/ui/leftheaderdialog \
sc/uiconfig/scalc/ui/leftheaderdialog \
sc/uiconfig/scalc/ui/managenamesdialog \
sc/uiconfig/scalc/ui/managenamesdialog \
sc/uiconfig/scalc/ui/optcalculatepage \
sc/uiconfig/scalc/ui/printeroptions \
sc/uiconfig/scalc/ui/printeroptions \
sc/uiconfig/scalc/ui/protectsheetdlg \
sc/uiconfig/scalc/ui/protectsheetdlg \
sc/uiconfig/scalc/ui/sheetprintpage \
sc/uiconfig/scalc/ui/sheetprintpage \
...
...
sc/inc/helpids.h
Dosyayı görüntüle @
28ca8eee
...
@@ -60,7 +60,6 @@
...
@@ -60,7 +60,6 @@
#define HID_SC_PIVOTSUBT "SC_HID_SC_PIVOTSUBT"
#define HID_SC_PIVOTSUBT "SC_HID_SC_PIVOTSUBT"
#define HID_SCPAGE_SUBT_OPTIONS "SC_HID_SCPAGE_SUBT_OPTIONS"
#define HID_SCPAGE_SUBT_OPTIONS "SC_HID_SCPAGE_SUBT_OPTIONS"
#define HID_SCPAGE_SUBT_GROUP "SC_HID_SCPAGE_SUBT_GROUP"
#define HID_SCPAGE_SUBT_GROUP "SC_HID_SCPAGE_SUBT_GROUP"
#define HID_SCPAGE_CALC "SC_HID_SCPAGE_CALC"
#define HID_SCPAGE_FORMULA "SC_HID_SCPAGE_FORMULA"
#define HID_SCPAGE_FORMULA "SC_HID_SCPAGE_FORMULA"
#define HID_SCPAGE_USERLISTS "SC_HID_SCPAGE_USERLISTS"
#define HID_SCPAGE_USERLISTS "SC_HID_SCPAGE_USERLISTS"
#define HID_SCPAGE_AREAS "SC_HID_SCPAGE_AREAS"
#define HID_SCPAGE_AREAS "SC_HID_SCPAGE_AREAS"
...
...
sc/source/ui/cctrl/editfield.cxx
Dosyayı görüntüle @
28ca8eee
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
#include <comphelper/string.hxx>
#include <comphelper/string.hxx>
#include <rtl/math.hxx>
#include <rtl/math.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/localedatawrapper.hxx>
#include <vcl/builder.hxx>
#include "global.hxx"
#include "global.hxx"
// ============================================================================
// ============================================================================
...
@@ -50,6 +51,17 @@ ScDoubleField::ScDoubleField( Window* pParent, const ResId& rResId ) :
...
@@ -50,6 +51,17 @@ ScDoubleField::ScDoubleField( Window* pParent, const ResId& rResId ) :
{
{
}
}
ScDoubleField
::
ScDoubleField
(
Window
*
pParent
,
WinBits
nStyle
)
:
Edit
(
pParent
,
nStyle
)
{
}
extern
"C"
SAL_DLLPUBLIC_EXPORT
Window
*
SAL_CALL
makeScDoubleField
(
Window
*
pParent
,
VclBuilder
::
stringmap
&
rMap
)
{
VclBuilder
::
ensureDefaultWidthChars
(
rMap
);
return
new
ScDoubleField
(
pParent
,
WB_LEFT
|
WB_VCENTER
|
WB_BORDER
|
WB_3DLOOK
);
}
bool
ScDoubleField
::
GetValue
(
double
&
rfValue
)
const
bool
ScDoubleField
::
GetValue
(
double
&
rfValue
)
const
{
{
OUString
aStr
(
comphelper
::
string
::
strip
(
GetText
(),
' '
));
OUString
aStr
(
comphelper
::
string
::
strip
(
GetText
(),
' '
));
...
...
sc/source/ui/inc/editfield.hxx
Dosyayı görüntüle @
28ca8eee
...
@@ -29,6 +29,7 @@ class ScDoubleField : public Edit
...
@@ -29,6 +29,7 @@ class ScDoubleField : public Edit
{
{
public
:
public
:
explicit
ScDoubleField
(
Window
*
pParent
,
const
ResId
&
rResId
);
explicit
ScDoubleField
(
Window
*
pParent
,
const
ResId
&
rResId
);
explicit
ScDoubleField
(
Window
*
pParent
,
WinBits
nStyle
);
bool
GetValue
(
double
&
rfValue
)
const
;
bool
GetValue
(
double
&
rfValue
)
const
;
void
SetValue
(
double
fValue
,
void
SetValue
(
double
fValue
,
...
...
sc/source/ui/inc/optdlg.hrc
Dosyayı görüntüle @
28ca8eee
...
@@ -30,27 +30,6 @@
...
@@ -30,27 +30,6 @@
#define TP_INPUT 13
#define TP_INPUT 13
#define TP_FORMULA 15
#define TP_FORMULA 15
// TP_CALC:
#define BTN_ITERATE 1
#define FT_STEPS 2
#define FT_EPS 3
#define ED_STEPS 4
#define ED_EPS 5
#define GB_ZREFS 6
#define ED_PREC 7
#define FT_PREC 8
#define BTN_DATESTD 9
#define BTN_DATESC10 10
#define BTN_DATE1904 11
#define FT_VALUE 13
#define GB_DATE 14
#define BTN_CASE 15
#define BTN_CALC 17
#define BTN_MATCH 18
#define BTN_LOOKUP 19
#define BTN_REGEX 20
#define BTN_GENERAL_PREC 21
// TP_VIEW:
// TP_VIEW:
#define BTN_GRID 6
#define BTN_GRID 6
...
...
sc/source/ui/inc/tpcalc.hxx
Dosyayı görüntüle @
28ca8eee
...
@@ -48,34 +48,30 @@ private:
...
@@ -48,34 +48,30 @@ private:
~
ScTpCalcOptions
();
~
ScTpCalcOptions
();
private
:
private
:
FixedLine
aGbZRefs
;
CheckBox
*
m_pBtnIterate
;
CheckBox
aBtnIterate
;
FixedText
*
m_pFtSteps
;
FixedText
aFtSteps
;
NumericField
*
m_pEdSteps
;
NumericField
aEdSteps
;
FixedText
*
m_pFtEps
;
FixedText
aFtEps
;
ScDoubleField
*
m_pEdEps
;
ScDoubleField
aEdEps
;
RadioButton
*
m_pBtnDateStd
;
FixedLine
aSeparatorFL
;
RadioButton
*
m_pBtnDateSc10
;
FixedLine
aGbDate
;
RadioButton
*
m_pBtnDate1904
;
RadioButton
aBtnDateStd
;
RadioButton
aBtnDateSc10
;
CheckBox
*
m_pBtnCase
;
RadioButton
aBtnDate1904
;
CheckBox
*
m_pBtnCalc
;
CheckBox
*
m_pBtnMatch
;
CheckBox
aBtnCase
;
CheckBox
*
m_pBtnRegex
;
CheckBox
aBtnCalc
;
CheckBox
*
m_pBtnLookUp
;
CheckBox
aBtnMatch
;
CheckBox
*
m_pBtnGeneralPrec
;
CheckBox
aBtnRegex
;
CheckBox
aBtnLookUp
;
FixedText
*
m_pFtPrec
;
CheckBox
aBtnGeneralPrec
;
NumericField
*
m_pEdPrec
;
FixedText
aFtPrec
;
NumericField
aEdPrec
;
ScDocOptions
*
pOldOptions
;
ScDocOptions
*
pOldOptions
;
ScDocOptions
*
pLocalOptions
;
ScDocOptions
*
pLocalOptions
;
sal_uInt16
nWhichCalc
;
sal_uInt16
nWhichCalc
;
#ifdef _TPCALC_CXX
private
:
private
:
void
Init
();
void
Init
();
...
@@ -83,8 +79,6 @@ private:
...
@@ -83,8 +79,6 @@ private:
// Handler:
// Handler:
DECL_LINK
(
RadioClickHdl
,
RadioButton
*
);
DECL_LINK
(
RadioClickHdl
,
RadioButton
*
);
DECL_LINK
(
CheckClickHdl
,
CheckBox
*
);
DECL_LINK
(
CheckClickHdl
,
CheckBox
*
);
#endif
};
};
...
...
sc/source/ui/optdlg/tpcalc.cxx
Dosyayı görüntüle @
28ca8eee
...
@@ -34,50 +34,38 @@
...
@@ -34,50 +34,38 @@
#include "sc.hrc" // -> Slot-IDs
#include "sc.hrc" // -> Slot-IDs
#include "optdlg.hrc"
#include "optdlg.hrc"
#define _TPCALC_CXX
#include "tpcalc.hxx"
#include "tpcalc.hxx"
#undef _TPCALC_CXX
#include <math.h>
#include <math.h>
//========================================================================
//========================================================================
ScTpCalcOptions
::
ScTpCalcOptions
(
Window
*
pParent
,
ScTpCalcOptions
::
ScTpCalcOptions
(
Window
*
pParent
,
const
SfxItemSet
&
rCoreAttrs
)
const
SfxItemSet
&
rCoreAttrs
)
:
SfxTabPage
(
pParent
,
"OptCalculatePage"
,
"modules/scalc/ui/optcalculatepage.ui"
,
rCoreAttrs
)
:
SfxTabPage
(
pParent
,
,
pOldOptions
(
new
ScDocOptions
(
ScResId
(
RID_SCPAGE_CALC
),
rCoreAttrs
),
aGbZRefs
(
this
,
ScResId
(
GB_ZREFS
)
),
aBtnIterate
(
this
,
ScResId
(
BTN_ITERATE
)
),
aFtSteps
(
this
,
ScResId
(
FT_STEPS
)
),
aEdSteps
(
this
,
ScResId
(
ED_STEPS
)
),
aFtEps
(
this
,
ScResId
(
FT_EPS
)
),
aEdEps
(
this
,
ScResId
(
ED_EPS
)
),
aSeparatorFL
(
this
,
ScResId
(
FL_SEPARATOR
)
),
aGbDate
(
this
,
ScResId
(
GB_DATE
)
),
aBtnDateStd
(
this
,
ScResId
(
BTN_DATESTD
)
),
aBtnDateSc10
(
this
,
ScResId
(
BTN_DATESC10
)
),
aBtnDate1904
(
this
,
ScResId
(
BTN_DATE1904
)
),
aBtnCase
(
this
,
ScResId
(
BTN_CASE
)
),
aBtnCalc
(
this
,
ScResId
(
BTN_CALC
)
),
aBtnMatch
(
this
,
ScResId
(
BTN_MATCH
)
),
aBtnRegex
(
this
,
ScResId
(
BTN_REGEX
)
),
aBtnLookUp
(
this
,
ScResId
(
BTN_LOOKUP
)
),
aBtnGeneralPrec
(
this
,
ScResId
(
BTN_GENERAL_PREC
)
),
aFtPrec
(
this
,
ScResId
(
FT_PREC
)
),
aEdPrec
(
this
,
ScResId
(
ED_PREC
)
),
pOldOptions
(
new
ScDocOptions
(
((
const
ScTpCalcItem
&
)
rCoreAttrs
.
Get
(
((
const
ScTpCalcItem
&
)
rCoreAttrs
.
Get
(
GetWhich
(
SID_SCDOCOPTIONS
))).
GetWhich
(
SID_SCDOCOPTIONS
))).
GetDocOptions
()))
GetDocOptions
()
)
),
,
pLocalOptions
(
new
ScDocOptions
)
pLocalOptions
(
new
ScDocOptions
),
,
nWhichCalc
(
GetWhich
(
SID_SCDOCOPTIONS
))
nWhichCalc
(
GetWhich
(
SID_SCDOCOPTIONS
)
)
{
{
aSeparatorFL
.
SetStyle
(
aSeparatorFL
.
GetStyle
()
|
WB_VERT
);
get
(
m_pBtnIterate
,
"iterate"
);
get
(
m_pFtSteps
,
"stepsft"
);
get
(
m_pEdSteps
,
"steps"
);
get
(
m_pFtEps
,
"minchangeft"
);
get
(
m_pEdEps
,
"minchange"
);
get
(
m_pBtnDateStd
,
"datestd"
);
get
(
m_pBtnDateSc10
,
"datesc10"
);
get
(
m_pBtnDate1904
,
"date1904"
);
get
(
m_pBtnCase
,
"case"
);
get
(
m_pBtnCalc
,
"calc"
);
get
(
m_pBtnMatch
,
"match"
);
get
(
m_pBtnRegex
,
"regex"
);
get
(
m_pBtnLookUp
,
"lookup"
);
get
(
m_pBtnGeneralPrec
,
"generalprec"
);
get
(
m_pFtPrec
,
"precft"
);
get
(
m_pEdPrec
,
"prec"
);
Init
();
Init
();
FreeResource
();
SetExchangeSupport
();
SetExchangeSupport
();
}
}
...
@@ -93,11 +81,11 @@ ScTpCalcOptions::~ScTpCalcOptions()
...
@@ -93,11 +81,11 @@ ScTpCalcOptions::~ScTpCalcOptions()
void
ScTpCalcOptions
::
Init
()
void
ScTpCalcOptions
::
Init
()
{
{
aBtnIterate
.
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
CheckClickHdl
)
);
m_pBtnIterate
->
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
CheckClickHdl
)
);
aBtnGeneralPrec
.
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
CheckClickHdl
)
);
m_pBtnGeneralPrec
->
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
CheckClickHdl
)
);
aBtnDateStd
.
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
RadioClickHdl
)
);
m_pBtnDateStd
->
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
RadioClickHdl
)
);
aBtnDateSc10
.
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
RadioClickHdl
)
);
m_pBtnDateSc10
->
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
RadioClickHdl
)
);
aBtnDate1904
.
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
RadioClickHdl
)
);
m_pBtnDate1904
->
SetClickHdl
(
LINK
(
this
,
ScTpCalcOptions
,
RadioClickHdl
)
);
}
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
...
@@ -115,46 +103,46 @@ void ScTpCalcOptions::Reset( const SfxItemSet& /* rCoreAttrs */ )
...
@@ -115,46 +103,46 @@ void ScTpCalcOptions::Reset( const SfxItemSet& /* rCoreAttrs */ )
*
pLocalOptions
=
*
pOldOptions
;
*
pLocalOptions
=
*
pOldOptions
;
aBtnCase
.
Check
(
!
pLocalOptions
->
IsIgnoreCase
()
);
m_pBtnCase
->
Check
(
!
pLocalOptions
->
IsIgnoreCase
()
);
aBtnCalc
.
Check
(
pLocalOptions
->
IsCalcAsShown
()
);
m_pBtnCalc
->
Check
(
pLocalOptions
->
IsCalcAsShown
()
);
aBtnMatch
.
Check
(
pLocalOptions
->
IsMatchWholeCell
()
);
m_pBtnMatch
->
Check
(
pLocalOptions
->
IsMatchWholeCell
()
);
aBtnRegex
.
Check
(
pLocalOptions
->
IsFormulaRegexEnabled
()
);
m_pBtnRegex
->
Check
(
pLocalOptions
->
IsFormulaRegexEnabled
()
);
aBtnLookUp
.
Check
(
pLocalOptions
->
IsLookUpColRowNames
()
);
m_pBtnLookUp
->
Check
(
pLocalOptions
->
IsLookUpColRowNames
()
);
aBtnIterate
.
Check
(
pLocalOptions
->
IsIter
()
);
m_pBtnIterate
->
Check
(
pLocalOptions
->
IsIter
()
);
aEdSteps
.
SetValue
(
pLocalOptions
->
GetIterCount
()
);
m_pEdSteps
->
SetValue
(
pLocalOptions
->
GetIterCount
()
);
aEdEps
.
SetValue
(
pLocalOptions
->
GetIterEps
(),
6
);
m_pEdEps
->
SetValue
(
pLocalOptions
->
GetIterEps
(),
6
);
pLocalOptions
->
GetDate
(
d
,
m
,
y
);
pLocalOptions
->
GetDate
(
d
,
m
,
y
);
switch
(
y
)
switch
(
y
)
{
{
case
1899
:
case
1899
:
aBtnDateStd
.
Check
();
m_pBtnDateStd
->
Check
();
break
;
break
;
case
1900
:
case
1900
:
aBtnDateSc10
.
Check
();
m_pBtnDateSc10
->
Check
();
break
;
break
;
case
1904
:
case
1904
:
aBtnDate1904
.
Check
();
m_pBtnDate1904
->
Check
();
break
;
break
;
}
}
sal_uInt16
nPrec
=
pLocalOptions
->
GetStdPrecision
();
sal_uInt16
nPrec
=
pLocalOptions
->
GetStdPrecision
();
if
(
nPrec
==
SvNumberFormatter
::
UNLIMITED_PRECISION
)
if
(
nPrec
==
SvNumberFormatter
::
UNLIMITED_PRECISION
)
{
{
aFtPrec
.
Disable
();
m_pFtPrec
->
Disable
();
aEdPrec
.
Disable
();
m_pEdPrec
->
Disable
();
aBtnGeneralPrec
.
Check
(
false
);
m_pBtnGeneralPrec
->
Check
(
false
);
}
}
else
else
{
{
aBtnGeneralPrec
.
Check
();
m_pBtnGeneralPrec
->
Check
();
aFtPrec
.
Enable
();
m_pFtPrec
->
Enable
();
aEdPrec
.
Enable
();
m_pEdPrec
->
Enable
();
aEdPrec
.
SetValue
(
nPrec
);
m_pEdPrec
->
SetValue
(
nPrec
);
}
}
CheckClickHdl
(
&
aBtnIterate
);
CheckClickHdl
(
m_pBtnIterate
);
}
}
...
@@ -163,16 +151,16 @@ void ScTpCalcOptions::Reset( const SfxItemSet& /* rCoreAttrs */ )
...
@@ -163,16 +151,16 @@ void ScTpCalcOptions::Reset( const SfxItemSet& /* rCoreAttrs */ )
sal_Bool
ScTpCalcOptions
::
FillItemSet
(
SfxItemSet
&
rCoreAttrs
)
sal_Bool
ScTpCalcOptions
::
FillItemSet
(
SfxItemSet
&
rCoreAttrs
)
{
{
// alle weiteren Optionen werden in den Handlern aktualisiert
// alle weiteren Optionen werden in den Handlern aktualisiert
pLocalOptions
->
SetIterCount
(
(
sal_uInt16
)
aEdSteps
.
GetValue
()
);
pLocalOptions
->
SetIterCount
(
(
sal_uInt16
)
m_pEdSteps
->
GetValue
()
);
pLocalOptions
->
SetIgnoreCase
(
!
aBtnCase
.
IsChecked
()
);
pLocalOptions
->
SetIgnoreCase
(
!
m_pBtnCase
->
IsChecked
()
);
pLocalOptions
->
SetCalcAsShown
(
aBtnCalc
.
IsChecked
()
);
pLocalOptions
->
SetCalcAsShown
(
m_pBtnCalc
->
IsChecked
()
);
pLocalOptions
->
SetMatchWholeCell
(
aBtnMatch
.
IsChecked
()
);
pLocalOptions
->
SetMatchWholeCell
(
m_pBtnMatch
->
IsChecked
()
);
pLocalOptions
->
SetFormulaRegexEnabled
(
aBtnRegex
.
IsChecked
()
);
pLocalOptions
->
SetFormulaRegexEnabled
(
m_pBtnRegex
->
IsChecked
()
);
pLocalOptions
->
SetLookUpColRowNames
(
aBtnLookUp
.
IsChecked
()
);
pLocalOptions
->
SetLookUpColRowNames
(
m_pBtnLookUp
->
IsChecked
()
);
if
(
aBtnGeneralPrec
.
IsChecked
())
if
(
m_pBtnGeneralPrec
->
IsChecked
())
pLocalOptions
->
SetStdPrecision
(
pLocalOptions
->
SetStdPrecision
(
static_cast
<
sal_uInt16
>
(
aEdPrec
.
GetValue
())
);
static_cast
<
sal_uInt16
>
(
m_pEdPrec
->
GetValue
())
);
else
else
pLocalOptions
->
SetStdPrecision
(
SvNumberFormatter
::
UNLIMITED_PRECISION
);
pLocalOptions
->
SetStdPrecision
(
SvNumberFormatter
::
UNLIMITED_PRECISION
);
...
@@ -192,7 +180,7 @@ int ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP )
...
@@ -192,7 +180,7 @@ int ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP )
int
nReturn
=
KEEP_PAGE
;
int
nReturn
=
KEEP_PAGE
;
double
fEps
;
double
fEps
;
if
(
aEdEps
.
GetValue
(
fEps
)
&&
(
fEps
>
0.0
)
)
if
(
m_pEdEps
->
GetValue
(
fEps
)
&&
(
fEps
>
0.0
)
)
{
{
pLocalOptions
->
SetIterEps
(
fEps
);
pLocalOptions
->
SetIterEps
(
fEps
);
nReturn
=
LEAVE_PAGE
;
nReturn
=
LEAVE_PAGE
;
...
@@ -205,7 +193,7 @@ int ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP )
...
@@ -205,7 +193,7 @@ int ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP )
ScGlobal
::
GetRscString
(
STR_INVALID_EPS
)
ScGlobal
::
GetRscString
(
STR_INVALID_EPS
)
).
Execute
();
).
Execute
();
aEdEps
.
GrabFocus
();
m_pEdEps
->
GrabFocus
();
}
}
else
if
(
pSetP
)
else
if
(
pSetP
)
FillItemSet
(
*
pSetP
);
FillItemSet
(
*
pSetP
);
...
@@ -218,15 +206,15 @@ int ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP )
...
@@ -218,15 +206,15 @@ int ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP )
IMPL_LINK
(
ScTpCalcOptions
,
RadioClickHdl
,
RadioButton
*
,
pBtn
)
IMPL_LINK
(
ScTpCalcOptions
,
RadioClickHdl
,
RadioButton
*
,
pBtn
)
{
{
if
(
pBtn
==
&
aBtnDateStd
)
if
(
pBtn
==
m_pBtnDateStd
)
{
{
pLocalOptions
->
SetDate
(
30
,
12
,
1899
);
pLocalOptions
->
SetDate
(
30
,
12
,
1899
);
}
}
else
if
(
pBtn
==
&
aBtnDateSc10
)
else
if
(
pBtn
==
m_pBtnDateSc10
)
{
{
pLocalOptions
->
SetDate
(
1
,
1
,
1900
);
pLocalOptions
->
SetDate
(
1
,
1
,
1900
);
}
}
else
if
(
pBtn
==
&
aBtnDate1904
)
else
if
(
pBtn
==
m_pBtnDate1904
)
{
{
pLocalOptions
->
SetDate
(
1
,
1
,
1904
);
pLocalOptions
->
SetDate
(
1
,
1
,
1904
);
}
}
...
@@ -238,32 +226,32 @@ IMPL_LINK( ScTpCalcOptions, RadioClickHdl, RadioButton*, pBtn )
...
@@ -238,32 +226,32 @@ IMPL_LINK( ScTpCalcOptions, RadioClickHdl, RadioButton*, pBtn )
IMPL_LINK
(
ScTpCalcOptions
,
CheckClickHdl
,
CheckBox
*
,
pBtn
)
IMPL_LINK
(
ScTpCalcOptions
,
CheckClickHdl
,
CheckBox
*
,
pBtn
)
{
{
if
(
pBtn
==
&
a
BtnGeneralPrec
)
if
(
pBtn
==
m_p
BtnGeneralPrec
)
{
{
if
(
pBtn
->
IsChecked
())
if
(
pBtn
->
IsChecked
())
{
{
aEdPrec
.
Enable
();
m_pEdPrec
->
Enable
();
aFtPrec
.
Enable
();
m_pFtPrec
->
Enable
();
}
}
else
else
{
{
aEdPrec
.
Disable
();
m_pEdPrec
->
Disable
();
aFtPrec
.
Disable
();
m_pFtPrec
->
Disable
();
}
}
}
}
else
if
(
pBtn
==
&
a
BtnIterate
)
else
if
(
pBtn
==
m_p
BtnIterate
)
{
{
if
(
pBtn
->
IsChecked
()
)
if
(
pBtn
->
IsChecked
()
)
{
{
pLocalOptions
->
SetIter
(
sal_T
rue
);
pLocalOptions
->
SetIter
(
t
rue
);
aFtSteps
.
Enable
();
aEdSteps
.
Enable
();
m_pFtSteps
->
Enable
();
m_pEdSteps
->
Enable
();
aFtEps
.
Enable
();
aEdEps
.
Enable
();
m_pFtEps
->
Enable
();
m_pEdEps
->
Enable
();
}
}
else
else
{
{
pLocalOptions
->
SetIter
(
false
);
pLocalOptions
->
SetIter
(
false
);
aFtSteps
.
Disable
();
aEdSteps
.
Disable
();
m_pFtSteps
->
Disable
();
m_pEdSteps
->
Disable
();
aFtEps
.
Disable
();
aEdEps
.
Disable
();
m_pFtEps
->
Disable
();
m_pEdEps
->
Disable
();
}
}
}
}
...
...
sc/source/ui/src/optdlg.src
Dosyayı görüntüle @
28ca8eee
...
@@ -18,153 +18,6 @@
...
@@ -18,153 +18,6 @@
*/
*/
#include "optdlg.hrc"
#include "optdlg.hrc"
TabPage RID_SCPAGE_CALC
{
HelpId = HID_SCPAGE_CALC ;
SVLook = TRUE ;
Hide = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
CheckBox BTN_ITERATE
{
HelpID = "sc:CheckBox:RID_SCPAGE_CALC:BTN_ITERATE";
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 112 , 10 ) ;
Text [ en-US ] = "~Iterations" ;
};
FixedText FT_STEPS
{
Pos = MAP_APPFONT ( 20 , 28 ) ;
Size = MAP_APPFONT ( 58 , 8 ) ;
Text [ en-US ] = "~Steps" ;
};
FixedText FT_EPS
{
Pos = MAP_APPFONT ( 20 , 42 ) ;
Size = MAP_APPFONT ( 58 , 16 ) ;
Text [ en-US ] = "~Minimum Change" ;
WordBreak = TRUE ;
};
NumericField ED_STEPS
{
HelpID = "sc:NumericField:RID_SCPAGE_CALC:ED_STEPS";
Border = TRUE ;
Pos = MAP_APPFONT ( 82 , 26 ) ;
Size = MAP_APPFONT ( 42 , 12 ) ;
TabStop = TRUE ;
Minimum = 1 ;
Maximum = 1000 ;
Left = TRUE ;
};
Edit ED_EPS
{
HelpID = "sc:Edit:RID_SCPAGE_CALC:ED_EPS";
Border = TRUE ;
Pos = MAP_APPFONT ( 82 , 42 ) ;
Size = MAP_APPFONT ( 42 , 12 ) ;
};
FixedLine GB_ZREFS
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 121 , 8 ) ;
Text [ en-US ] = "Iterative references" ;
};
RadioButton BTN_DATESTD
{
HelpID = "sc:RadioButton:RID_SCPAGE_CALC:BTN_DATESTD";
Pos = MAP_APPFONT ( 139 , 14 ) ;
Size = MAP_APPFONT ( 112 , 10 ) ;
Text [ en-US ] = "12/30/1899 (defa~ult)" ;
QuickHelpText [ en-US ] = "Value 0 corresponds to 12/30/1899" ;
};
RadioButton BTN_DATESC10
{
HelpID = "sc:RadioButton:RID_SCPAGE_CALC:BTN_DATESC10";
Pos = MAP_APPFONT ( 139 , 28 ) ;
Size = MAP_APPFONT ( 112 , 10 ) ;
Text [ en-US ] = "01/01/1900 (Star~Calc 1.0)" ;
QuickHelpText [ en-US ] = "Value 0 corresponds to 01/01/1900" ;
};
RadioButton BTN_DATE1904
{
HelpID = "sc:RadioButton:RID_SCPAGE_CALC:BTN_DATE1904";
Pos = MAP_APPFONT ( 139 , 42 ) ;
Size = MAP_APPFONT ( 112 , 10 ) ;
Text [ en-US ] = "~01/01/1904" ;
QuickHelpText [ en-US ] = "0 corresponds to 01/01/1904" ;
};
FixedLine FL_SEPARATOR
{
Pos = MAP_APPFONT ( 130 , 14 ) ;
Size = MAP_APPFONT ( 1 , 44 ) ;
};
FixedLine GB_DATE
{
Pos = MAP_APPFONT ( 133 , 3 ) ;
Size = MAP_APPFONT ( 121 , 8 ) ;
Text [ en-US ] = "Date" ;
};
CheckBox BTN_CASE
{
HelpID = "sc:CheckBox:RID_SCPAGE_CALC:BTN_CASE";
Pos = MAP_APPFONT ( 12 , 77 ) ;
Size = MAP_APPFONT ( 130 , 10 ) ;
Text [ en-US ] = "Case se~nsitive" ;
};
CheckBox BTN_CALC
{
HelpID = "sc:CheckBox:RID_SCPAGE_CALC:BTN_CALC";
Pos = MAP_APPFONT ( 12 , 91 ) ;
Size = MAP_APPFONT ( 239 , 10 ) ;
Text [ en-US ] = "~Precision as shown" ;
};
CheckBox BTN_MATCH
{
HelpID = "sc:CheckBox:RID_SCPAGE_CALC:BTN_MATCH";
Pos = MAP_APPFONT ( 12 , 105 ) ;
Size = MAP_APPFONT ( 239 , 10 ) ;
Text [ en-US ] = "Search criteria = and <> must apply to ~whole cells" ;
};
CheckBox BTN_REGEX
{
HelpID = "sc:CheckBox:RID_SCPAGE_CALC:BTN_REGEX";
Pos = MAP_APPFONT ( 12 , 119 ) ;
Size = MAP_APPFONT ( 239 , 10 ) ;
Text [ en-US ] = "~Enable regular expressions in formulas" ;
};
CheckBox BTN_LOOKUP
{
HelpID = "sc:CheckBox:RID_SCPAGE_CALC:BTN_LOOKUP";
Pos = MAP_APPFONT ( 12 , 133 ) ;
Size = MAP_APPFONT ( 239 , 10 ) ;
Text [ en-US ] = "~Automatically find column and row labels " ;
};
CheckBox BTN_GENERAL_PREC
{
HelpID = "sc:CheckBox:RID_SCPAGE_CALC:BTN_GENERAL_PREC";
Pos = MAP_APPFONT ( 12 , 147 ) ;
Size = MAP_APPFONT ( 164 , 10 ) ;
Text [ en-US ] = "~Limit decimals for general number format" ;
};
FixedText FT_PREC
{
Pos = MAP_APPFONT ( 169 , 147 ) ;
Size = MAP_APPFONT ( 53 , 8 ) ;
Text [ en-US ] = "~Decimal places" ;
Right = TRUE ;
};
NumericField ED_PREC
{
HelpID = "sc:NumericField:RID_SCPAGE_CALC:ED_PREC";
Border = TRUE ;
Pos = MAP_APPFONT ( 226 , 145 ) ;
Size = MAP_APPFONT ( 25 , 12 ) ;
Maximum = 20 ;
Spin = TRUE ;
Repeat = TRUE ;
};
};
TabPage RID_SCPAGE_FORMULA
TabPage RID_SCPAGE_FORMULA
{
{
HelpId = HID_SCPAGE_FORMULA ;
HelpId = HID_SCPAGE_FORMULA ;
...
...
sc/uiconfig/scalc/ui/optcalculatepage.ui
0 → 100644
Dosyayı görüntüle @
28ca8eee
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object
class=
"GtkAdjustment"
id=
"adjustment1"
>
<property
name=
"lower"
>
1
</property>
<property
name=
"upper"
>
1000
</property>
<property
name=
"value"
>
100
</property>
<property
name=
"step_increment"
>
1
</property>
<property
name=
"page_increment"
>
10
</property>
</object>
<object
class=
"GtkAdjustment"
id=
"adjustment2"
>
<property
name=
"upper"
>
20
</property>
<property
name=
"step_increment"
>
1
</property>
<property
name=
"page_increment"
>
10
</property>
</object>
<object
class=
"GtkGrid"
id=
"OptCalculatePage"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"row_spacing"
>
12
</property>
<property
name=
"column_spacing"
>
18
</property>
<child>
<object
class=
"GtkFrame"
id=
"frame1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<object
class=
"GtkAlignment"
id=
"alignment1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<object
class=
"GtkGrid"
id=
"grid3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkCheckButton"
id=
"case"
>
<property
name=
"label"
translatable=
"yes"
>
Case se_nsitive
</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"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkCheckButton"
id=
"calc"
>
<property
name=
"label"
translatable=
"yes"
>
_Precision as shown
</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"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkCheckButton"
id=
"match"
>
<property
name=
"label"
translatable=
"yes"
>
Search criteria = and
<>
must apply to _whole cells
</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"
>
0
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkCheckButton"
id=
"regex"
>
<property
name=
"label"
translatable=
"yes"
>
_Enable regular expressions in formulas
</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"
>
0
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkCheckButton"
id=
"lookup"
>
<property
name=
"label"
translatable=
"yes"
>
_Automatically find column and row labels
</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"
>
0
</property>
<property
name=
"top_attach"
>
4
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkCheckButton"
id=
"generalprec"
>
<property
name=
"label"
translatable=
"yes"
>
_Limit decimals for general number format
</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"
>
0
</property>
<property
name=
"top_attach"
>
5
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"box1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"halign"
>
end
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"spacing"
>
12
</property>
<child>
<object
class=
"GtkLabel"
id=
"precft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
_Decimal places
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
prec
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkSpinButton"
id=
"prec"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"invisible_char"
>
●
</property>
<property
name=
"adjustment"
>
adjustment2
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
5
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child
type=
"label"
>
<object
class=
"GtkLabel"
id=
"label1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
General Calculations
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkFrame"
id=
"frame2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<object
class=
"GtkAlignment"
id=
"alignment2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<object
class=
"GtkGrid"
id=
"grid1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<property
name=
"row_homogeneous"
>
True
</property>
<child>
<object
class=
"GtkCheckButton"
id=
"iterate"
>
<property
name=
"label"
translatable=
"yes"
>
_Iterations
</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"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"stepsft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"margin_left"
>
12
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
_Steps
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
steps
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"minchangeft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"margin_left"
>
12
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
_Minimum Change
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
minchange
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkSpinButton"
id=
"steps"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"invisible_char"
>
●
</property>
<property
name=
"adjustment"
>
adjustment1
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"scuilo-ScDoubleField"
id=
"minchange"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"invisible_char"
>
●
</property>
<property
name=
"width_chars"
>
12
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child
type=
"label"
>
<object
class=
"GtkLabel"
id=
"label2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Iterative references
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</child>
</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>
<child>
<object
class=
"GtkFrame"
id=
"frame3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<object
class=
"GtkAlignment"
id=
"alignment3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<object
class=
"GtkGrid"
id=
"grid2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_homogeneous"
>
True
</property>
<child>
<object
class=
"GtkRadioButton"
id=
"datestd"
>
<property
name=
"label"
translatable=
"yes"
>
12/30/1899 (defa_ult)
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"tooltip_markup"
translatable=
"yes"
>
Value 0 corresponds to 12/30/1899
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"active"
>
True
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"group"
>
datesc10
</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>
<child>
<object
class=
"GtkRadioButton"
id=
"datesc10"
>
<property
name=
"label"
translatable=
"yes"
>
01/01/1900 (Star_Calc 1.0)
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"tooltip_markup"
translatable=
"yes"
>
Value 0 corresponds to 01/01/1900
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"group"
>
date1904
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkRadioButton"
id=
"date1904"
>
<property
name=
"label"
translatable=
"yes"
>
_01/01/1904
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"tooltip_markup"
translatable=
"yes"
>
0 corresponds to 01/01/1904
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"group"
>
datestd
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child
type=
"label"
>
<object
class=
"GtkLabel"
id=
"label3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Date
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</child>
</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>
</object>
</interface>
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