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
937cee75
Kaydet (Commit)
937cee75
authored
Eki 09, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make the dialog actually do something useful again
Change-Id: I440b38442f69bd50286fee8ce3ee1b289b45775d
üst
02555981
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
condformatdlg.cxx
sc/source/ui/condformat/condformatdlg.cxx
+12
-1
condformatdlg.hxx
sc/source/ui/inc/condformatdlg.hxx
+2
-0
No files found.
sc/source/ui/condformat/condformatdlg.cxx
Dosyayı görüntüle @
937cee75
...
...
@@ -47,6 +47,8 @@
#include "colorscale.hxx"
#include "colorformat.hxx"
#include "reffact.hxx"
#include "docsh.hxx"
#include "docfunc.hxx"
#include "condformatdlgentry.hxx"
#include "globstr.hrc"
...
...
@@ -306,6 +308,7 @@ ScCondFormatDlg::ScCondFormatDlg(SfxBindings* pB, SfxChildWindow* pCW, Window* p
maCondFormList
(
this
,
ScResId
(
CTRL_LIST
),
pDoc
,
pFormat
,
rRange
,
rPos
,
eType
),
maPos
(
rPos
),
mpDoc
(
pDoc
),
mpFormat
(
pFormat
),
meType
(
eType
)
{
rtl
::
OUStringBuffer
aTitle
(
GetText
()
);
...
...
@@ -410,13 +413,21 @@ sal_Bool ScCondFormatDlg::Close()
IMPL_LINK_NOARG
(
ScCondFormatDlg
,
OkBtnHdl
)
{
Close
();
ScConditionalFormat
*
pFormat
=
GetConditionalFormat
();
SfxObjectShell
*
pObjectShell
=
mpDoc
->
GetDocumentShell
();
sal_Int32
nKey
=
0
;
if
(
mpFormat
)
nKey
=
mpFormat
->
GetKey
();
static_cast
<
ScDocShell
*>
(
pObjectShell
)
->
GetDocFunc
().
ReplaceConditionalFormat
(
nKey
,
pFormat
,
maPos
.
Tab
(),
pFormat
->
GetRange
());
Close
();
return
0
;
}
IMPL_LINK_NOARG
(
ScCondFormatDlg
,
CancelBtnHdl
)
{
Close
();
return
0
;
...
...
sc/source/ui/inc/condformatdlg.hxx
Dosyayı görüntüle @
937cee75
...
...
@@ -112,6 +112,8 @@ private:
ScAddress
maPos
;
ScDocument
*
mpDoc
;
const
ScConditionalFormat
*
mpFormat
;
condformat
::
dialog
::
ScCondFormatDialogType
meType
;
DECL_LINK
(
EdRangeModifyHdl
,
Edit
*
);
...
...
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