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
985e7e4f
Kaydet (Commit)
985e7e4f
authored
Eyl 28, 2012
tarafından
Michael Meeks
Kaydeden (comit)
Markus Mohrhard
Eyl 28, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#54940 - make editing relative refs more intuitive to me
Change-Id: Ib7681de7b1aad9b6dda183e3c4fa1b1010270d3f
üst
5f32a4a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
rangelst.hxx
sc/inc/rangelst.hxx
+1
-0
rangelst.cxx
sc/source/core/tool/rangelst.cxx
+15
-0
condformatmgr.cxx
sc/source/ui/condformat/condformatmgr.cxx
+3
-2
No files found.
sc/inc/rangelst.hxx
Dosyayı görüntüle @
985e7e4f
...
...
@@ -81,6 +81,7 @@ public:
bool
Intersects
(
const
ScRange
&
)
const
;
bool
In
(
const
ScRange
&
)
const
;
size_t
GetCellCount
()
const
;
ScAddress
GetTopLeftCorner
()
const
;
ScRange
*
Remove
(
size_t
nPos
);
void
RemoveAll
();
...
...
sc/source/core/tool/rangelst.cxx
Dosyayı görüntüle @
985e7e4f
...
...
@@ -1145,6 +1145,21 @@ void ScRangeList::push_back(ScRange* p)
maRanges
.
push_back
(
p
);
}
ScAddress
ScRangeList
::
GetTopLeftCorner
()
const
{
if
(
empty
())
return
ScAddress
();
ScAddress
aAddr
=
maRanges
[
0
]
->
aStart
;
for
(
size_t
i
=
1
,
n
=
size
();
i
<
n
;
++
i
)
{
if
(
maRanges
[
i
]
->
aStart
<
aAddr
)
aAddr
=
maRanges
[
i
]
->
aStart
;
}
return
aAddr
;
}
// === ScRangePairList ========================================================
ScRangePairList
::~
ScRangePairList
()
...
...
sc/source/ui/condformat/condformatmgr.cxx
Dosyayı görüntüle @
985e7e4f
...
...
@@ -77,7 +77,7 @@ String ScCondFormatManagerWindow::createEntryString(const ScConditionalFormat& r
String
aStr
;
aRange
.
Format
(
aStr
,
SCA_VALID
,
mpDoc
,
mpDoc
->
GetAddressConvention
());
aStr
+=
'\t'
;
aStr
+=
ScCondFormatHelper
::
GetExpression
(
rFormat
,
mrPos
);
aStr
+=
ScCondFormatHelper
::
GetExpression
(
rFormat
,
aRange
.
GetTopLeftCorner
()
);
return
aStr
;
}
...
...
@@ -209,7 +209,8 @@ IMPL_LINK_NOARG(ScCondFormatManagerDlg, EditBtnHdl)
if
(
!
pFormat
)
return
0
;
ScCondFormatDlg
*
pDlg
=
new
ScCondFormatDlg
(
this
,
mpDoc
,
pFormat
,
pFormat
->
GetRange
(),
maPos
);
ScCondFormatDlg
*
pDlg
=
new
ScCondFormatDlg
(
this
,
mpDoc
,
pFormat
,
pFormat
->
GetRange
(),
pFormat
->
GetRange
().
GetTopLeftCorner
());
if
(
pDlg
->
Execute
()
==
RET_OK
)
{
sal_Int32
nKey
=
pFormat
->
GetKey
();
...
...
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