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
9f84b757
Kaydet (Commit)
9f84b757
authored
Şub 04, 2016
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Allow HTML (WebDocument) to be exported as PNG or JPEG
Change-Id: Id6b70a88ea479b402e680c7c216a20be3d6e116e
üst
e6c4b88f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
1 deletion
+46
-1
Configuration_filter.mk
filter/Configuration_filter.mk
+2
-0
writer_web_jpg_Export.xcu
...source/config/fragments/filters/writer_web_jpg_Export.xcu
+21
-0
writer_web_png_Export.xcu
...source/config/fragments/filters/writer_web_png_Export.xcu
+21
-0
GraphicExportDialog.cxx
filter/source/graphic/GraphicExportDialog.cxx
+1
-1
GraphicExportFilter.cxx
filter/source/graphic/GraphicExportFilter.cxx
+1
-0
No files found.
filter/Configuration_filter.mk
Dosyayı görüntüle @
9f84b757
...
...
@@ -416,6 +416,8 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_web_filters.xc
writer_web_StarOffice_XML_Writer \
writer_web_StarOffice_XML_Writer_Web_Template \
writer_web_pdf_Export\
writer_web_png_Export\
writer_web_jpg_Export\
writerweb8_writer_template\
writerweb8_writer \
))
...
...
filter/source/config/fragments/filters/writer_web_jpg_Export.xcu
0 → 100644
Dosyayı görüntüle @
9f84b757
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
-->
<node oor:name="writer_web_jpg_Export" oor:op="replace">
<prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
<prop oor:name="UIComponent"><value>com.sun.star.comp.GraphicExportDialog</value></prop>
<prop oor:name="FilterService"><value>com.sun.star.comp.GraphicExportFilter</value></prop>
<prop oor:name="UserData"><value></value></prop>
<prop oor:name="UIName">
<value xml:lang="en-US">JPEG - Joint Photographic Experts Group</value>
</prop>
<prop oor:name="FileFormatVersion"><value>0</value></prop>
<prop oor:name="Type"><value>jpg_JPEG</value></prop>
<prop oor:name="TemplateName"/>
<prop oor:name="DocumentService"><value>com.sun.star.text.WebDocument</value></prop>
</node>
filter/source/config/fragments/filters/writer_web_png_Export.xcu
0 → 100644
Dosyayı görüntüle @
9f84b757
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
-->
<node oor:name="writer_web_png_Export" oor:op="replace">
<prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
<prop oor:name="UIComponent"><value>com.sun.star.comp.GraphicExportDialog</value></prop>
<prop oor:name="FilterService"><value>com.sun.star.comp.GraphicExportFilter</value></prop>
<prop oor:name="UserData"><value></value></prop>
<prop oor:name="UIName">
<value xml:lang="en-US">PNG - Portable Network Graphic</value>
</prop>
<prop oor:name="FileFormatVersion"><value>0</value></prop>
<prop oor:name="Type"><value>png_Portable_Network_Graphic</value></prop>
<prop oor:name="TemplateName"/>
<prop oor:name="DocumentService"><value>com.sun.star.text.WebDocument</value></prop>
</node>
filter/source/graphic/GraphicExportDialog.cxx
Dosyayı görüntüle @
9f84b757
...
...
@@ -135,7 +135,7 @@ void GraphicExportDialog::setSourceDocument( const Reference<XComponent>& xDocum
{
aConfigPath
=
"Office.Draw/Layout/Other/MeasureUnit"
;
}
else
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.text.TextDocument"
)
)
else
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.text.TextDocument"
)
||
xServiceInfo
->
supportsService
(
"com.sun.star.text.WebDocument"
)
)
{
aConfigPath
=
"Office.Writer/Layout/Other/MeasureUnit"
;
}
...
...
filter/source/graphic/GraphicExportFilter.cxx
Dosyayı görüntüle @
9f84b757
...
...
@@ -47,6 +47,7 @@ void GraphicExportFilter::gatherProperties( const Sequence<PropertyValue>& rProp
aInternalFilterName
=
aInternalFilterName
.
replaceFirst
(
"impress_"
,
""
);
aInternalFilterName
=
aInternalFilterName
.
replaceFirst
(
"calc_"
,
""
);
aInternalFilterName
=
aInternalFilterName
.
replaceFirst
(
"writer_"
,
""
);
aInternalFilterName
=
aInternalFilterName
.
replaceFirst
(
"web_"
,
""
);
}
else
if
(
aProperty
.
Name
==
"FilterData"
)
{
...
...
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