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
615ba47c
Kaydet (Commit)
615ba47c
authored
Ock 02, 2015
tarafından
Justin Luth
Kaydeden (comit)
Caolán McNamara
Ock 05, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#67870 WW8 filter: import zoom type
Change-Id: If919880b51bdb30d9afdb168dae8f84dbfe18524
üst
ee75c0d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
ww8par.cxx
sw/source/filter/ww8/ww8par.cxx
+8
-1
ww8scan.hxx
sw/source/filter/ww8/ww8scan.hxx
+1
-1
No files found.
sw/source/filter/ww8/ww8par.cxx
Dosyayı görüntüle @
615ba47c
...
@@ -81,6 +81,7 @@
...
@@ -81,6 +81,7 @@
#include <docufld.hxx>
#include <docufld.hxx>
#include <swfltopt.hxx>
#include <swfltopt.hxx>
#include <viewsh.hxx>
#include <viewsh.hxx>
#include <viewopt.hxx>
#include <shellres.hxx>
#include <shellres.hxx>
#include <mdiexp.hxx>
#include <mdiexp.hxx>
#include <statstr.hrc>
#include <statstr.hrc>
...
@@ -1901,7 +1902,13 @@ void SwWW8ImplReader::ImportDop()
...
@@ -1901,7 +1902,13 @@ void SwWW8ImplReader::ImportDop()
aViewProps
[
1
].
Name
=
"VisibleBottom"
;
aViewProps
[
1
].
Name
=
"VisibleBottom"
;
aViewProps
[
1
].
Value
<<=
sal_Int32
(
0
);
aViewProps
[
1
].
Value
<<=
sal_Int32
(
0
);
aViewProps
[
2
].
Name
=
"ZoomType"
;
aViewProps
[
2
].
Name
=
"ZoomType"
;
aViewProps
[
2
].
Value
<<=
sal_Int16
(
0
);
//Import zoom type
switch
(
pWDop
->
zkSaved
)
{
case
1
:
aViewProps
[
2
].
Value
<<=
sal_Int16
(
SVX_ZOOM_WHOLEPAGE
);
break
;
case
2
:
aViewProps
[
2
].
Value
<<=
sal_Int16
(
SVX_ZOOM_PAGEWIDTH
);
break
;
case
3
:
aViewProps
[
2
].
Value
<<=
sal_Int16
(
SVX_ZOOM_OPTIMAL
);
break
;
default
:
aViewProps
[
2
].
Value
<<=
sal_Int16
(
SVX_ZOOM_PERCENT
);
break
;
}
uno
::
Reference
<
uno
::
XComponentContext
>
xComponentContext
(
comphelper
::
getProcessComponentContext
());
uno
::
Reference
<
uno
::
XComponentContext
>
xComponentContext
(
comphelper
::
getProcessComponentContext
());
uno
::
Reference
<
container
::
XIndexContainer
>
xBox
=
document
::
IndexedPropertyValues
::
create
(
xComponentContext
);
uno
::
Reference
<
container
::
XIndexContainer
>
xBox
=
document
::
IndexedPropertyValues
::
create
(
xComponentContext
);
...
...
sw/source/filter/ww8/ww8scan.hxx
Dosyayı görüntüle @
615ba47c
...
@@ -1628,7 +1628,7 @@ public:
...
@@ -1628,7 +1628,7 @@ public:
sal_Int32
lKeyProtDoc
;
// document protection password key, only valid if dop.fProtEnabled, dop.fLockAtn or dop.fLockRev are 1.
sal_Int32
lKeyProtDoc
;
// document protection password key, only valid if dop.fProtEnabled, dop.fLockAtn or dop.fLockRev are 1.
sal_uInt16
wvkSaved
:
3
;
// document view kind: 0 Normal view, 1 Outline view, 2 Page View
sal_uInt16
wvkSaved
:
3
;
// document view kind: 0 Normal view, 1 Outline view, 2 Page View
sal_uInt16
wScaleSaved
:
9
;
///< Specifies the zoom percentage that was in use when the document was saved.
sal_uInt16
wScaleSaved
:
9
;
///< Specifies the zoom percentage that was in use when the document was saved.
sal_uInt16
zkSaved
:
2
;
sal_uInt16
zkSaved
:
2
;
// document zoom type: 0 percent, 1 whole/entire page, 2 page width, 3 text width/optimal
bool
fRotateFontW6
:
1
;
bool
fRotateFontW6
:
1
;
bool
iGutterPos
:
1
;
bool
iGutterPos
:
1
;
...
...
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