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
396b5f41
Kaydet (Commit)
396b5f41
authored
Kas 16, 2015
tarafından
Andrzej Hunt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc lok: use client zoom for ViewRowColumnHeaders
Change-Id: I85000851f82ea7cdc4b536683adbc8570de9af7e
üst
f630b6d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
test_desktop_lib.cxx
desktop/qa/desktop_lib/test_desktop_lib.cxx
+3
-0
docuno.cxx
sc/source/ui/unoobj/docuno.cxx
+5
-0
No files found.
desktop/qa/desktop_lib/test_desktop_lib.cxx
Dosyayı görüntüle @
396b5f41
...
...
@@ -405,6 +405,9 @@ void DesktopLOKTest::testRowColumnHeaders()
* "text" has the header label in UTF-8
*/
LibLODocument_Impl
*
pDocument
=
loadDoc
(
"search.ods"
);
pDocument
->
pClass
->
initializeForRendering
(
pDocument
);
boost
::
property_tree
::
ptree
aTree
;
char
*
pJSON
=
pDocument
->
m_pDocumentClass
->
getCommandValues
(
pDocument
,
".uno:ViewRowColumnHeaders"
);
std
::
stringstream
aStream
(
pJSON
);
...
...
sc/source/ui/unoobj/docuno.cxx
Dosyayı görüntüle @
396b5f41
...
...
@@ -884,9 +884,14 @@ void ScModelObj::setClientZoom(int nTilePixelWidth_, int nTilePixelHeight_, int
OUString
ScModelObj
::
getRowColumnHeaders
(
const
Rectangle
&
rRectangle
)
{
ScViewData
*
pViewData
=
ScDocShell
::
GetViewData
();
if
(
!
pViewData
)
return
OUString
();
// update the aLogicMode in ScViewData to something predictable
pViewData
->
SetZoom
(
Fraction
(
nTilePixelWidth
*
TWIPS_PER_PIXEL
,
nTileTwipWidth
),
Fraction
(
nTilePixelHeight
*
TWIPS_PER_PIXEL
,
nTileTwipHeight
),
true
);
ScTabView
*
pTabView
=
pViewData
->
GetView
();
if
(
!
pTabView
)
return
OUString
();
...
...
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