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
f0cd6fe9
Kaydet (Commit)
f0cd6fe9
authored
Şub 22, 2013
tarafından
Radek Doulik
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use document settings / embed fonts when exporting odp
Change-Id: I9e8db1ae08b570f093b13d50bfde823c85cdba95
üst
6c68f2c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
sdxmlexp.cxx
xmloff/source/draw/sdxmlexp.cxx
+13
-0
sdxmlexp_impl.hxx
xmloff/source/draw/sdxmlexp_impl.hxx
+1
-0
No files found.
xmloff/source/draw/sdxmlexp.cxx
Dosyayı görüntüle @
f0cd6fe9
...
...
@@ -2901,4 +2901,17 @@ OUString SAL_CALL SdXMLExport::getImplementationName() throw( uno::RuntimeExcept
}
}
XMLFontAutoStylePool
*
SdXMLExport
::
CreateFontAutoStylePool
()
{
bool
bEmbedFonts
=
false
;
Reference
<
lang
::
XMultiServiceFactory
>
xFac
(
GetModel
(),
UNO_QUERY
);
if
(
xFac
.
is
()
)
{
Reference
<
beans
::
XPropertySet
>
xProps
(
xFac
->
createInstance
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.document.Settings"
)
)
),
UNO_QUERY
);
if
(
xProps
.
is
()
)
xProps
->
getPropertyValue
(
"EmbedFonts"
)
>>=
bEmbedFonts
;
}
return
new
XMLFontAutoStylePool
(
*
this
,
bEmbedFonts
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
xmloff/source/draw/sdxmlexp_impl.hxx
Dosyayı görüntüle @
f0cd6fe9
...
...
@@ -174,6 +174,7 @@ class SdXMLExport : public SvXMLExport
protected
:
virtual
void
GetViewSettings
(
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aProps
);
virtual
void
GetConfigurationSettings
(
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aProps
);
virtual
XMLFontAutoStylePool
*
CreateFontAutoStylePool
();
public
:
SdXMLExport
(
...
...
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