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
7dd9054b
Kaydet (Commit)
7dd9054b
authored
May 30, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Pass the config data to the sub-dialog.
Change-Id: I7d5e5cd22a64446c379446372f29bf1c597bd783
üst
b52fc9ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
calcoptionsdlg.cxx
sc/source/ui/optdlg/calcoptionsdlg.cxx
+3
-2
calcoptionsdlg.hxx
sc/source/ui/optdlg/calcoptionsdlg.hxx
+5
-1
tpformula.cxx
sc/source/ui/optdlg/tpformula.cxx
+1
-1
No files found.
sc/source/ui/optdlg/calcoptionsdlg.cxx
Dosyayı görüntüle @
7dd9054b
...
@@ -64,7 +64,7 @@ void OptionString::Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 /*nFlags*/,
...
@@ -64,7 +64,7 @@ void OptionString::Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 /*nFlags*/,
}
}
ScCalcOptionsDialog
::
ScCalcOptionsDialog
(
Window
*
pParent
)
:
ScCalcOptionsDialog
::
ScCalcOptionsDialog
(
Window
*
pParent
,
const
ScCalcConfig
&
rConfig
)
:
ModalDialog
(
pParent
,
ScResId
(
RID_SCDLG_FORMULA_CALCOPTIONS
)),
ModalDialog
(
pParent
,
ScResId
(
RID_SCDLG_FORMULA_CALCOPTIONS
)),
maLbSettings
(
this
,
ScResId
(
LB_SETTINGS
)),
maLbSettings
(
this
,
ScResId
(
LB_SETTINGS
)),
maFtOptionEditCaption
(
this
,
ScResId
(
FT_OPTION_EDIT_CAPTION
)),
maFtOptionEditCaption
(
this
,
ScResId
(
FT_OPTION_EDIT_CAPTION
)),
...
@@ -74,7 +74,8 @@ ScCalcOptionsDialog::ScCalcOptionsDialog(Window* pParent) :
...
@@ -74,7 +74,8 @@ ScCalcOptionsDialog::ScCalcOptionsDialog(Window* pParent) :
maBtnOK
(
this
,
ScResId
(
BTN_OK
)),
maBtnOK
(
this
,
ScResId
(
BTN_OK
)),
maBtnCancel
(
this
,
ScResId
(
BTN_CANCEL
)),
maBtnCancel
(
this
,
ScResId
(
BTN_CANCEL
)),
maCaptionIndirectSyntax
(
ScResId
(
STR_INDIRECT_SYNTAX_CAPTION
).
toString
()),
maCaptionIndirectSyntax
(
ScResId
(
STR_INDIRECT_SYNTAX_CAPTION
).
toString
()),
maDescIndirectSyntax
(
ScResId
(
STR_INDIRECT_SYNTAX_DESC
).
toString
())
maDescIndirectSyntax
(
ScResId
(
STR_INDIRECT_SYNTAX_DESC
).
toString
()),
maConfig
(
rConfig
)
{
{
maLbSettings
.
SetStyle
(
maLbSettings
.
GetStyle
()
|
WB_CLIPCHILDREN
|
WB_FORCE_MAKEVISIBLE
);
maLbSettings
.
SetStyle
(
maLbSettings
.
GetStyle
()
|
WB_CLIPCHILDREN
|
WB_FORCE_MAKEVISIBLE
);
maLbSettings
.
SetHighlightRange
();
maLbSettings
.
SetHighlightRange
();
...
...
sc/source/ui/optdlg/calcoptionsdlg.hxx
Dosyayı görüntüle @
7dd9054b
...
@@ -34,10 +34,12 @@
...
@@ -34,10 +34,12 @@
#include "vcl/fixed.hxx"
#include "vcl/fixed.hxx"
#include "svx/checklbx.hxx"
#include "svx/checklbx.hxx"
#include "calcconfig.hxx"
class
ScCalcOptionsDialog
:
public
ModalDialog
class
ScCalcOptionsDialog
:
public
ModalDialog
{
{
public
:
public
:
ScCalcOptionsDialog
(
Window
*
pParent
);
ScCalcOptionsDialog
(
Window
*
pParent
,
const
ScCalcConfig
&
rConfig
);
virtual
~
ScCalcOptionsDialog
();
virtual
~
ScCalcOptionsDialog
();
DECL_LINK
(
SettingsSelHdl
,
void
*
);
DECL_LINK
(
SettingsSelHdl
,
void
*
);
...
@@ -62,6 +64,8 @@ private:
...
@@ -62,6 +64,8 @@ private:
rtl
::
OUString
maCaptionIndirectSyntax
;
rtl
::
OUString
maCaptionIndirectSyntax
;
rtl
::
OUString
maDescIndirectSyntax
;
rtl
::
OUString
maDescIndirectSyntax
;
ScCalcConfig
maConfig
;
};
};
#endif
#endif
...
...
sc/source/ui/optdlg/tpformula.cxx
Dosyayı görüntüle @
7dd9054b
...
@@ -141,7 +141,7 @@ void ScTpFormulaOptions::UpdateCustomCalcRadioButtons(bool bDefault)
...
@@ -141,7 +141,7 @@ void ScTpFormulaOptions::UpdateCustomCalcRadioButtons(bool bDefault)
void
ScTpFormulaOptions
::
LaunchCustomCalcSettings
()
void
ScTpFormulaOptions
::
LaunchCustomCalcSettings
()
{
{
ScCalcOptionsDialog
aDlg
(
this
);
ScCalcOptionsDialog
aDlg
(
this
,
maCurrentConfig
);
if
(
aDlg
.
Execute
()
==
RET_OK
)
if
(
aDlg
.
Execute
()
==
RET_OK
)
{
{
...
...
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