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
8ab34380
Kaydet (Commit)
8ab34380
authored
May 30, 2015
tarafından
Henry Castro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc: Notify about the part change when searching.
Change-Id: Ieea445b64f72f270885d6e21d4070fefe8d82567
üst
9b06d365
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
documen3.cxx
sc/source/core/data/documen3.cxx
+19
-0
No files found.
sc/source/core/data/documen3.cxx
Dosyayı görüntüle @
8ab34380
...
...
@@ -74,6 +74,7 @@
#include "globalnames.hxx"
#include <boost/scoped_ptr.hpp>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
using
namespace
com
::
sun
::
star
;
...
...
@@ -1289,8 +1290,17 @@ bool ScDocument::SearchAndReplace(
rTab
=
nTab
;
}
else
{
ScDocument
::
GetSearchAndReplaceStart
(
rSearchItem
,
nCol
,
nRow
);
// notify LibreOfficeKit about changed page
if
(
GetDrawLayer
()
&&
GetDrawLayer
()
->
isTiledRendering
()
)
{
OString
aPayload
=
OString
::
number
(
nTab
);
GetDrawLayer
()
->
libreOfficeKitCallback
(
LOK_CALLBACK_SET_PART
,
aPayload
.
getStr
());
}
}
}
}
}
...
...
@@ -1310,8 +1320,17 @@ bool ScDocument::SearchAndReplace(
rTab
=
nTab
;
}
else
{
ScDocument
::
GetSearchAndReplaceStart
(
rSearchItem
,
nCol
,
nRow
);
// notify LibreOfficeKit about changed page
if
(
GetDrawLayer
()
&&
GetDrawLayer
()
->
isTiledRendering
()
)
{
OString
aPayload
=
OString
::
number
(
nTab
);
GetDrawLayer
()
->
libreOfficeKitCallback
(
LOK_CALLBACK_SET_PART
,
aPayload
.
getStr
());
}
}
}
}
}
...
...
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