summaryrefslogtreecommitdiff
path: root/filter/source/config/fragments/filters
AgeCommit message (Collapse)AuthorFilesLines
2023-03-03tdf#137883 filter: use en-dash instead of hyphen in UINamesMichael Stahl2-2/+2
(regression from commit ed0476b0625c4361df5ff040a6661a9634588cea) Change-Id: I7c380a9871cf16623031751bd735f456a7ea200f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148167 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-02-20tdf#137883 filter: rename DOCX filters to be less confusingMichael Stahl5-7/+10
Rename misleading "Word 2007–365" filter which corresponds to the sightly incompatible first pre-ISO version of OOXML (ECMA-376 1st edition) and is actually very specifically for Word 2007. Stop confusing users with standardese like "Office Open XML Text Document (Transitional)" and instead use the name of the application that the format is intended for, "Word 2010-365". Hopefully users will now pick the latter filter over the former. Also, the OOXML_Text_Template.xcu was missing EXPORT flag so didn't show up in Save dialog. Also, the OOXML_Text.xcu was missing SUPPORTSSIGNING flag which vmiklos said was by accident. Change-Id: I3aa88ac0fee51c906f11e75558a5d6de4f36a402 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147210 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-09-14merge sdfilt library into sdNoel Grandin3-3/+3
it is very small, and this means we can get rid of some ugly runtime symbol loading Change-Id: I1d5f5da6a9e908ccd018915bf09b9ab97d67feb6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139866 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-22tdf#100522 Add support for exporting SVGZ in Drawofftkp2-0/+60
Detect draw_svgz_Export and compress the SVG before exporting if needed Change-Id: I7c8463292ee845a3ce2f2a3c5aa876b25dcedb2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135556 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-06-15Add support for exporting EMZ/WMZofftkp4-0/+120
Split xcu files for Z compressable graphic formats. This introduces a new option for exporting each Z compressed graphic format without needing to check for extension. Change type detection accordingly in graphicfilter. Change-Id: Iabb971123f5e394196716900796632cb8ed12ece Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135181 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-01-31support for the WebP image format (tdf#114532)Luboš Luňák6-0/+161
This commit implements a WebP reader and writer for both lossless and lossy WebP, export dialog options for selecting lossless/lossy and quality for lossy, and various internal support for the format. Since writing WebP to e.g. ODT documents would make those images unreadable by previous versions with no WebP support, support for that is explicitly disabled in GraphicFilter, to be enabled somewhen later. Change-Id: I9b10f6da6faa78a0bb74415a92e9f163c14685f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128920 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-11-26tdf#145831: fix typo in PNGAndrea Gelmini6-6/+6
Change-Id: I206ac72d56409b3516f49798fb7f10b3a4c3d721 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125680 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-30indexing: add indexing export as an export filter for WriterTomaž Vajngerl1-0/+22
Change-Id: I26157a8ffeee80b03866569d3d3cec2a34fe377d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118144 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-09-27restore PocketWord filter, this time backed by libwpsDavid Tardon1-0/+29
Change-Id: If9843ae717f58e683252c8ea55360a567978395e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103514 Tested-by: Jenkins Reviewed-by: David Tardon <dtardon@redhat.com>
2020-04-23Drop Macromedia Flash export filterGabor Kelemen2-60/+0
Flash technology is going to be retired by the end of 2020 by Adobe: https://theblog.adobe.com/adobe-flash-update/ With this ahead doesn't make much sense for LO 7.0 to support exporting presentations and drawings to swf anymore. Change-Id: Ic2c6e95db2f56bcd4eb25abdd0a6748aee9b0e4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92507 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-04-23Mention that this is the "OOXML Transitional" export filterSamuel Mehrbrodt2-2/+2
Make it clear that this is not "OOXML Strict" Change-Id: I025e982c12e66a3088ce9ee093382df02a88ff9d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92375 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-05-31Switch Office filters to mention “perpetual” Office 365 instead of ↵Adolfo Jayme Barrientos10-10/+10
one-off 2019 Change-Id: I5fdb85679d869e75fc4bf583f53f15fb933c289d
2019-02-06tdf#123194: sw: change used filter for .dotx exportVasily Melenchuk2-2/+2
Now it is "Word 2007-2019 Template" and not "Office Open XML Text Template". Export implementation is focused more on MS variant, rather than OOXML. This is follow-up fix for 0932e4bb9a4e4a25be092dcf87a0119d1894ac30 Change-Id: I30b99bf73c20a3be27c62ca5d871f54b1032efc1 Reviewed-on: https://gerrit.libreoffice.org/67438 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2018-12-17tdf#99438: sc: support for .xltx exportVasily Melenchuk2-2/+2
Added support for content types for template and template with macros (.xltm, but no user interface for this yet). Fixed preferred extension for template: by default it is .xltx and not .xltm (macro-enabled), because MS Excel is very strict about matching of content-type and extension here. Fixed wrong namespace in FilterService for ExcelFilter. Change-Id: Ie717d31d72203601324860f069918d75082add4a Reviewed-on: https://gerrit.libreoffice.org/65111 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-12-15lok: Implement SVG export for Calc (SelectionOnly mode)Tamás Zolnai1-0/+30
Change-Id: Ic305e5305890fd1efa3a3130e5216f9c672870e5 Reviewed-on: https://gerrit.libreoffice.org/65175 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-12-14lok: Implement SVG export for Writer (SelectionOnly mode)Tamás Zolnai1-0/+30
Separate generic code from Impress / Draw specific code and implement shape selection handling in case of Writer. This is an internal filter, so it can be called only from the code. Change-Id: I807e04a0949530d6029037bb964c10c80197ff33 Reviewed-on: https://gerrit.libreoffice.org/65174 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-12-14sw: support for saving into .dotx fileVasily Melenchuk1-1/+1
Template format now supported not only for import, but for export too. Change-Id: I9fb9da14c4d6466b6979fa37fb2c0359ce5 Reviewed-on: https://gerrit.libreoffice.org/64947 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2018-11-30tdf#93005, tdf#100611, remove the incomplete ODC export featureMarkus Mohrhard1-1/+1
Change-Id: I96a3882cd412ea5d993971df7e20b1fd8da73642 Reviewed-on: https://gerrit.libreoffice.org/64283 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-06-20Removed executable permission on source filesAndrea Gelmini1-0/+0
chmod -x Change-Id: I3aeae8d171591f09ffa6b96bbdabe235ab6f4a4d Reviewed-on: https://gerrit.libreoffice.org/55802 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-06-13Replace SVGFilter using SVGIOArmin Le Grand1-0/+30
Next step is to put more logic into the decision if Draw or Impress should be loaded - if we have a self-exported Impress, import as Impress, else (including all not-self-created SVG Graphics) import to Draw. To do this it is necessary to be able to import to different document formats at all. To do this, add an internal filter type to the filter mechanism (types/registration/...) and decide in the SVG XExtendedFilterDetection::detect from SVGFilter which one to use. Added tooling for SVG detection and more, see SVGFileInfo. This allows to detect for SVG, but also if the creator was LO and if it was Draw or Impress. The document format/filter is choosen accordingly. Corrected the error with <g visibility="hidden"> Slides inisde <g class="SlideGroup"> for import of self-exported Impress documents. No idea why this was written that way, but needs to be fixed to get a visible content at all. Also adapted the final mapping from pt to 100thmm in SvgSvgNode::decomposeSvgNode. Unfortunately (and also for unknown reasons) the self-exported Impress does not write svg:width/height values, thus the adaption from assumed svg-units (px) to 100thmm has to be skipped. Have identified the place in svgio where I can embed Pages/Slides to a helper-Primitive to later be able to 'break' such GraphicObjects to multiple Pages/Slides. I have added a Primitive called PageHierarchyPrimitive2D for this purpose. Change-Id: I38bfef6e7b16479a025fc754e38b4e21a006ad38 Reviewed-on: https://gerrit.libreoffice.org/55434 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-06-02A few assorted improvements to translatable strings before freezeAdolfo Jayme Barrientos2-2/+2
Change-Id: I30d315e0c82afc112cdb4fef17339c1b78b5643a
2018-05-18Replace SVGFilter using SVGIOArmin Le Grand1-1/+1
Target of this change is to get rid of the SVGFilter in current LO which is based on the standard-ODF importer using it's functionality by passing in/handing over temporary created XML-Stream-Data. First step is to alternatively import the given SVG file to a newly created Document and to strip the existing Filter-Code. Adding the first prototype of the changed import. It is capable of importing the given SVG to the created Draw/Impress document. It adds the SVG which gets imported by SVGIO as GraphicObject. It adapts sizes and positions of Page and GraphicObject to have a smooth import. Adding stripping of SVGFilter and used ressources. Done as deep as possible, hopefully all places found. Adapted now to create an Impress document. Also added needed adaptions to PageSize(s), including layout and PresObj stuff to make all MasterPages/LayoutPages work correctly. Added reaction on empty SVG. This is needed since the PageSize is adapted to the Graphic. With empty Graphic a Size(0,0) results and this goes wrong. Change-Id: Ia364a5783bee7dadcbe91e700efbabc121cf98f9 Reviewed-on: https://gerrit.libreoffice.org/54096 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-05-13tdf#117496 Drop “Microsoft”/“MS” in more filters that I forgot aboutAdolfo Jayme Barrientos7-7/+7
Change-Id: I42c4dd2a81ce2d2e0f0f8c3be19a92587b9b1ba1 Reviewed-on: https://gerrit.libreoffice.org/53994 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-05-01tdf#117323 fix import of MS Multiplan for DOSosnola1-1/+1
Change-Id: Ica053852c17ac993b4e50c4c58dbaf2ee4f33035
2018-04-26tdf#108894 Implement suggested filter namesAdolfo Jayme Barrientos9-9/+9
Change-Id: Ib2e99c0830d9e6d7339f502719d3fff6d7a13a04
2018-04-26upload libwps 0.4.9David Tardon1-0/+29
Change-Id: I9571d91d6ce81d7e8752f24c3220f858a5303986 Reviewed-on: https://gerrit.libreoffice.org/53431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2018-04-23tdf#108894 Drop Office version numbers in filter namesAdolfo Jayme Barrientos9-9/+9
These are prone to be out of date. Besides, to be extra precise we would otherwise need to mention Office 365 as well there, and that’s overkill. What every Office version since 2007 has had in common is that their formats are called “OOXML”, so just mention that and be done with it. Change-Id: I0393990e6fd67d039666b3954cc9fc4951a7fe08
2018-04-22all Keynote/Pages/Numbers versions are supportedDavid Tardon3-3/+3
Change-Id: I5c7ac03fdea3ebdef720a65e7a694deae98e5d97 Reviewed-on: https://gerrit.libreoffice.org/53293 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2018-03-16First cut at annotating 'exotic' filters.Michael Meeks12-12/+12
The idea being that we can improve security by warning for these. Change-Id: I7d993417bfb6a8fe868bc3e07ccbcfe71bf285ff Reviewed-on: https://gerrit.libreoffice.org/50387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2017-12-18Initial step on enabling the orcus-based Excel 2003 XML filter.Kohei Yoshida2-1/+20
Still some work remains in the orcus interface implementation code in sc. Change-Id: Idc4d95b489e8e55fbe3593557399610abe6c4ae0 Reviewed-on: https://gerrit.libreoffice.org/46655 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-12-01tdf#80713 Translate a few file format namesGabor Kelemen5-5/+5
These are visible in Tools > Options > Load/Save > General > 'Always save as' Change-Id: I879200a535b46b54653c9e0947a2e8064c72ac91 Reviewed-on: https://gerrit.libreoffice.org/45543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2017-11-29Support for GPG encryption in more ODF filtersKatarina Behrens4-4/+4
not only Writer but also Calc, Impress, Draw and Math Change-Id: I7f9fe86ffe5f9a812a5215617b9e673c73134202 Reviewed-on: https://gerrit.libreoffice.org/45472 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-11-03vcl: remove sgf/sgv ancient gfx filtersThorsten Behrens2-60/+0
Change-Id: Ib02986e5b3d54d65982836e22ebcb70eb7a0e7b3 Reviewed-on: https://gerrit.libreoffice.org/44216 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-19Writer Web export to PNG,JPG: switch to proper SvFilterOptionsDialogEike Rathke2-2/+2
Change-Id: I6388ad03d4b94556f5a955d06c1f4e0d8c7188b1 Reviewed-on: https://gerrit.libreoffice.org/42501 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-09-19Writer does not support selection, so don't claim it wouldEike Rathke1-1/+1
Though it doesn't change anything UI wise. See also commit cb9d99dbb5a7249ca7437bd5c30c6c9374089a16 Change-Id: Ic5e0e411325945f91a00b58da5341eeecd7b6623 Reviewed-on: https://gerrit.libreoffice.org/42500 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-09-19Writer export to PNG,JPG: switch to proper SvFilterOptionsDialogEike Rathke2-2/+2
With all bells and whistles, instead of the crude size/dpi JPG dialog even for PNG. Change-Id: I695a78643e07900822ec9253ac818efd52339cc0 Reviewed-on: https://gerrit.libreoffice.org/42498 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-09-18Calc: support export to JPEG, just because we can.. tdf#108317 relatedEike Rathke1-0/+20
Change-Id: I7b78fe3efe97267eca7bf2f085d8375ba7b483ca
2017-09-18Export to PNG: use proper dialog and filter options, tdf#108317Eike Rathke1-1/+1
... and not the crude JPG ones. The com.sun.star.svtools.SvFilterOptionsDialog service has all we need, so teach it to cope with non-Graphics source documents and let ExportDialog handle that as well, just the actual rendering needs to go via GraphicExportFilter (and effectively DocumentToGraphicRenderer), so don't let that overwrite the properties set by the filter dialog. Switching to the dialog then is just a matter of changing the UIComponent in filter/source/config/fragments/filters/calc_png_Export The same mechanism probably could be used by Writer as well by adjusting filter/source/config/fragments/filters/writer_png_Export.xcu and maybe filter/source/config/fragments/filters/writer_jpg_Export.xcu in which case the GraphicExportOptionsDialog likely would be moot then. Also, it looks like a filter/source/config/fragments/filters/calc_jpg_Export.xcu (which doesn't exist yet) could be possible using the same mechanism. Change-Id: I1fb9b33a6490dc39d7591b2b5913be182bb820e5 Reviewed-on: https://gerrit.libreoffice.org/42421 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-09-12EPUB export: initial UI componentMiklos Vajna1-1/+1
EPUBExportUIComponent::execute() still needs to launch an actual dialog, but otherwise it has enough functionality that only tweaking maFilterData is necessary in the UNO component to pass custom filter options to the exporter. Change-Id: I95af024f5babd66a5aa0b446550f4f0fec45ef43 Reviewed-on: https://gerrit.libreoffice.org/42204 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-08-30gpg4libre: Add flag for filters that support GPG encryptionKatarina Behrens1-1/+1
Change-Id: I48518f26a3ccbe430d36fb6657bdeff0943492d3 Reviewed-on: https://gerrit.libreoffice.org/41263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-08-28integrate libqxpAleksas Pantechovskis1-0/+13
Change-Id: Ic7479b82d09c1e36d28267434a77bf4bc158adfa Reviewed-on: https://gerrit.libreoffice.org/41612 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2017-08-01writerperfect: add initial EPUB export filterMiklos Vajna1-0/+30
It doesn't do anything yet, but EPUBExportFilter::filter() is called. Actual functionality will be provided by libepubgen later. Change-Id: I7229dc33c69238c6e98a7bb30fd38473b3c35bfe Reviewed-on: https://gerrit.libreoffice.org/40630 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-25Export to PNG: add SUPPORTSSELECTION flag to Calc and Writer filter fragmentsEike Rathke2-2/+2
Seems this is needed in some obscure (internal dialog?) context to enable the SelectionBox, see sfx2/source/dialog/filedlghelper.cxx FileDialogHelper_Impl::updateSelectionBox() Change-Id: If7c7d5ce5362779c25985c7d492878e31c00f283 Reviewed-on: https://gerrit.libreoffice.org/40417 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-07-21sd pptm: Add a separate PPTM filter.Jan Holesovsky2-1/+31
Similarly to commit 697173f6fdfae581022cfdb5ec5171c5a3be58f0, we have to preserve the correct content-type which is not the same for PPTX and PPTM. This commit also changes sdfilt.component to use the constructor feature. Change-Id: I4b334540ec07a53d308e6b9dd6403294842bddf8 Reviewed-on: https://gerrit.libreoffice.org/40195 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-on: https://gerrit.libreoffice.org/40265 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-06-01sw: add separate DOCM filterMiklos Vajna1-0/+18
This way at export time we can preserve the correct content-type, which isn't the same for DOCX and DOCM. Change-Id: I08fa734c72fab7400bd327a07a760839556dbf6f Reviewed-on: https://gerrit.libreoffice.org/38298 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-04-11tdf#105809: Drop the PlaceWare export filterTor Lillqvist1-30/+0
Hard to think of any reason why anybody would need it. Change-Id: If989cdeb1728847973da601f9d3fa60aba1f3bad Reviewed-on: https://gerrit.libreoffice.org/36169 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2017-04-05tdf#106525: Implement an XSLT import filter for ADO rowset XMLMike Kaganski1-0/+30
There are online services and management systems (like SharePoint) that allow to export datasets in ADO rowset XML format ([MS-PRSTFR], https://msdn.microsoft.com/en-us/library/cc313112). Usually they are intended to be open with MS Excel as a spreadsheet (with autofilter). This allows to open this data in Calc. Change-Id: I495cd790138bdd6bd24630c0f422a0c8b4e3d0fb Reviewed-on: https://gerrit.libreoffice.org/35159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-02libmwaw import filter improvementsosnola1-1/+1
+ correct a small mistake + add pot the file extension (the file extension for PowerPoint 95 template) Change-Id: I4ad18088ccb9777e1b34f393effbe2d24468804e
2017-04-02libstaroffice import filter improvementsosnola1-0/+29
+ add support for presentation file (i.e. the file created will StarImpress are now open as presentation). + modify the OLE parser to be similar to the librevenge OLE parser, ie. the librevenge parser ignores the first character of a filename if this is a control character... Change-Id: I913a70cba29839d43dac58d5e00dbebfc4d28abc
2017-04-01adjust cgm import to make testing easierCaolán McNamara1-1/+1
Change-Id: I2979af77522e085075d4f1e1e379fe82e614163b