summaryrefslogtreecommitdiff
path: root/writerfilter/inc
AgeCommit message (Collapse)AuthorFilesLines
2014-04-03writerfilter: DEBUG_PROTOCOL is never definedMiklos Vajna1-93/+0
Change-Id: I0f6de2041237282c770bd3926140836008d7d12b
2014-04-03writerfilter: unused WRITERFILTER_OOXML_DLLPUBLICMiklos Vajna3-10/+4
Change-Id: I3f14017d6816d59b951c947827ca9497f2cd97fc
2014-04-02writerfilter: unused Exception classMiklos Vajna1-54/+0
Change-Id: I127ef1183a2c146471668680965fa3d72f6a8f81
2014-04-02writerfilter: unused SubSequence classMiklos Vajna1-247/+0
Change-Id: Ib52309202714e67af78ef5a47f519779d849931c
2014-04-02unused WRITERFILTER_RESOURCEMODEL_DLLPUBLICMiklos Vajna10-27/+21
Change-Id: Ia09cd8738e7bfbb942690efb193c0de30e93f69c
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann4-42/+42
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-23fdo#76356 : Docx file contianing chart in footer/header gets corrupted.sushil_shinde1-1/+1
- Docx file with chart in footer/header or .bin file referred in chart was getting corrupted. - Embedded file for footer.xml was not grabbaged. - .bin embedded files were not grab baged. - Added grab bag support for both case. - Added UT to check .bin files are grab baged properly. Reviewed on: https://gerrit.libreoffice.org/8674 Change-Id: I221e3867798fc2a3a42f6385d687e80b80a3678f
2014-03-21DOCX import: implement progressbarMiklos Vajna1-1/+2
The design follows what we do in case of ODT import already: read the number of paragraphs from the document statistics metadata, and then estimate progress based on the number of already imported paragraphs. Change-Id: I042cc6014c05ca7456fdf1c8d7247b615ba3a244
2014-03-21writerfilter: remove unused OutputWithDepthMiklos Vajna3-226/+0
This was only used by doctok. Change-Id: Ic8f853a02af4915e3d5984a626daa7147c47d16f
2014-03-17writerfilter: prefer passing OUString by referenceNoel Grandin1-1/+1
Change-Id: I5f296d4df6c09e88674cf9aa6d1b831ec2b0c2f2
2014-03-08writerfilter: remove no longer needed doctok/sprmids.xslMiklos Vajna2-2/+0
Change-Id: Ia846d279ea5a4d375f8eb3736a0aabd419a07382
2014-03-07unused parameterMiklos Vajna1-1/+1
Change-Id: I788999f29b32de4232efc9e8c4dc75238224f5a8
2014-03-06coverity#708676 Uninitialized scalar fieldCaolán McNamara1-1/+4
Change-Id: Ia335de7960984f9700cb5a69f20b3c7773d1176c
2014-03-02writerfilter: convert sprm:P{TableDepth,FInTable,Cell,Row}Miklos Vajna1-4/+5
With this, source/ooxml no longer depends on the 'NS_sprm' namespace doctok provides. Change-Id: I58d5514dea25f1fbc8806863d976f6a24934ea61
2014-02-28writerfilter: put w:compatSettings into a document level GrabBagTomaž Vajngerl1-0/+1
Change-Id: Iefb8ef14c61e7966098754b8f3395f994bb9bda7
2014-02-26Unused writerfilter::dump()Miklos Vajna1-9/+0
Change-Id: I226d4338e22585a9a03377feb9d39788346316be
2014-02-26Remove visual noise from writerfilterAlexander Wilms1-1/+1
Change-Id: I2470e26f1b0a7c3b28fbc0ec44170565f250fc40 Reviewed-on: https://gerrit.libreoffice.org/8342 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25Unused writerfilter::toString()Miklos Vajna1-1/+0
Change-Id: I8e3fa0519f1ab84c9470a82e11bb751599844185
2014-02-25remove unused code writerfilter::resourcemodel::resolveAttributePropertiesNoel Grandin1-1/+0
Change-Id: I4f48d11889d4d6b963ea9b3a1f43636cc6e66daa
2014-02-11Refactor some code for handling redline in DOCX importerAdam Co1-0/+2
Change-Id: Id5d0814c1ebbcd85507d11cf562d394a748773a6 Reviewed-on: https://gerrit.libreoffice.org/7807 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-02-08writerfilter: these sprms are unusedMiklos Vajna1-1/+0
Change-Id: Ia82590221b806c9dfbc64acad13fbdc2e017782b
2014-02-03Remove needless WRITERFILTER_DLLPRIVATE annotationsStephan Bergmann1-3/+0
Change-Id: I8149471775d623f52231d12f05a28e98b33fae6a
2014-01-30writerfilter: whitespace fixes in RTFDocumentMiklos Vajna1-32/+33
Change-Id: I7cd294b42fa402e4da254fe6a2239c9d9293588b
2014-01-30fdo#63154 Removed unused solar.h ref. in basic, cui, forms and writerfilter.Alexandre Vicenzi1-1/+0
Change-Id: I09cca73d8d77af259965e74e1b29a88aa5c315ab Reviewed-on: https://gerrit.libreoffice.org/7731 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-27DOCX import: handle wp14:pctWidth for Writer TextFramesMiklos Vajna3-0/+5
Change-Id: I721a1ddd8299ff9639fd5fe4a25852e9418c00e2
2014-01-25writerfilter: remove no longer needed generated qnametostr.cxx in doctokMiklos Vajna1-1/+0
Change-Id: I47607894a5903266052cef012a55c9655cc90e89
2014-01-25writerfilter: remove no longer needed generated resourceids.hxx in doctokMiklos Vajna1-1/+0
Change-Id: I5777e4846daccfbd78fa8a4f47c313a225d7aed2
2014-01-10fdo#72520 : Added embedded data of docx file to InteropGrabBag.sushil_shinde1-1/+2
- Added embedded exel sheet data for charts to grab bag. Change-Id: I7f52b56de2306671fea9247c8a789c0e2a5a8874 Reviewed-on: https://gerrit.libreoffice.org/7211 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-13writerfilter: remove unused WW8StreamMiklos Vajna1-101/+0
Change-Id: I375b4768bc4474f78f6857176c8b77856609aeaa
2013-12-13fdo#71786 : Implemented Glossary folderRohit Deshmukh1-2/+4
1. Glosary folder is imported as Intrograb and exported. 2. Added unit test case Reviewed on: https://gerrit.libreoffice.org/6825 Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx writerfilter/source/filter/ImportFilter.cxx Change-Id: Ifd51a75a65e030d44d30e02cd7ab51fb088186b3
2013-12-12PCH fixStephan Bergmann1-2/+0
Change-Id: Ic1f84c257fbf7d88869ebb9f5ef206d438a768fc
2013-12-12DOCX: fdo#72560 better solution for exchange alignment for RTLFaisal M. Al-Otaibi1-1/+0
Change-Id: I39462fc722a58b32e8829a9f2005a411871f255d
2013-12-11fdo#64232: export w:themeFontLang setting to docxJacobo Aragunde Pérez1-0/+2
We store the values of themeFontLang tag to the document grab bag so we can save it back to the document on export time. Added unit tests to check that the attribute is properly set back and also that the theme fonts are correctly applied to the text. Change-Id: Ia54c513796ba38a571396ca7b72dfd28463c15fd
2013-12-10writerfilter: remove unused WW8StructBaseMiklos Vajna1-131/+0
Change-Id: I23c20ebf77666a64e3b65ce69ada1c1e1cfa5c21
2013-12-09writerfilter: remove unused WW8ResourceModelImplMiklos Vajna1-191/+0
Change-Id: Ib95e4d543b8ee78127847ea0ed2409cb343b1463
2013-12-09Fix for Column Break if it appears in w:r which is not the first run.Vinaya Mandke1-0/+1
Explicitly ended paragraph when the column break appears in a run (which is not the first run in the paragraph), as Writer adds a column break only for new paragraph. Also the created paragraph must have the same para properties as the earlier one. Hence avoided pushing new para properties if paragraph is split to adjust a col break. Added UT for the same. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/6953 Change-Id: If7d503b7a4bfab31f40ceb0119876e5909252b2f
2013-12-07writerfilter: these classes can be privateMiklos Vajna1-3/+3
Change-Id: I838250e41a397320d965690527241d2518746141
2013-11-15[docx] activeX reference files (.bin) saved in InteropGrabBag and exported.sushil_shinde1-1/+2
The XInputStream for activeX.bin files is stored as the PropertyValue "OOXActiveXBin" into the "InteropGraBag" Added mxActiveXBinList object which holds XInputStreams for each activeX.bin from activeX folder. Added .bin files entry to respective acivex.xml's .rels file. Added Unit Test to test all .bin files are stores properly. Reviewed on: https://gerrit.libreoffice.org/6679 Change-Id: I3a0e9462a6cc53d8cbb9c7d59ed24631d77d4d30
2013-11-14[docx] activeX files saved in InteropGrabBag and exported.sushil_shinde1-1/+2
The XDocuments representing the DOM of an OOXML's activex document is stored as the PropertyValue "OOXActiveX" into the "InteropGraBag". Added mxActiveXDomList object which holds xDocument for each activeX.xml from activeX folder. This changeset stores only activeX[n].xml files. Relationship files (example activeX.bin) from activex are not stored yet. (Working on it.) Reviewed on: https://gerrit.libreoffice.org/6654 Change-Id: I658e361211e1446ed095a73b0422da0c4f74df1c
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann1-1/+1
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-13[docx] CustomXml relationship files saved in InteropGrabBag and exported.sushil_shinde1-1/+2
The XDocuments representing the DOM of an OOXML's customxml property document is stored as the PropertyValue "OOXCustomXmlProps" into the "InteropGraBag". Added mxCustomXmlDomPropList object which holds xDocument for each itemProps.xml from relationship of item.xml. Exporting all itemprops files from customxml. Reviewed on: https://gerrit.libreoffice.org/6603 Change-Id: I3973e6ce40382bbc4da247b5b27d99b03e851744
2013-11-07fdo#63020: Replace ::comphelper::stl_begin()...Marcos Paulo de Souza1-1/+0
And use some templates inside include/com/sun/star/uno/Sequence.hxx Change-Id: I48875fa1517751fc4cb0cf2b6c08b88975a29b47 Reviewed-on: https://gerrit.libreoffice.org/6599 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-05[docx] CustomXml saved in InteropGrabBag and exported customxml when saving.sushil_shinde1-1/+2
The XDocuments representing the DOM of an OOXML's customxml document is stored as the PropertyValue "OOXCustomXml" into the "InteropGraBag". Added mxCustomXmlDomList object which holds xDocuments for each item.xml from CustomXml. Exporting all items dom tree from customxml that has been parsed when loading the file. This is necessary in order to properly reopen docx files that contain data like citation. This fix grab bags only item[n].xml's files from CustomXml folder. itemProps[n].xml's and item.xml's .rels are not preserved and exported yet. (Working on this part) Change-Id: I330f34f38a7aa4cd39094371bff15ebbc0318167 Reviewed-on: https://gerrit.libreoffice.org/6519 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-11-05update pchThomas Arnhold1-0/+1
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-10-28DOCX import: store table style's pPr in InteropGrabBagMiklos Vajna1-0/+5
Change-Id: I0cecdc23053c0c03866ad808038d99a3bea3256e
2013-10-15update pchThomas Arnhold1-3/+1
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-07DOCX:fdo#43093 fix wrong direction and alignment for RTLFaisal M. Al-Otaibi1-0/+1
Change-Id: If362d80a86a7493f2d43e6d661b94fc03942711f
2013-09-26writerfilter: no need to have these as public anymoreMiklos Vajna1-3/+3
And hopefully this will also fix the Windows build as well. Change-Id: I6a008c0bf74d436be7eef0c5d0945dd07e3954e5
2013-09-25writerfilter: remove dead WW8DocumentFactoryMiklos Vajna1-11/+0
Change-Id: I9896c3b221d2ec4766b9ee63aadc90bff9c33ea6
2013-09-20writerfilter: OOXML theme saved in InteropGrabBagAndres Gomez1-0/+3
The XDocuments representing the DOM of an OOXML's theme document is now stored as the PropertyValue "OOXTheme" into the "InteropGraBag" property of the SwXTextDocument. Added the importSubStream() method to the writerfilter::ooxml::OOXMLDocumentImpl class in order to create the XDocument for the theme XML fragment stream and invoked it during the resolve() method. Modified the writerfilter::ooxml::OOXMLDocument abstract class to be able to hold the OOXML's theme XDocument. Added the set/getTheme() methods to store and obtain the XDocument directly. Modified the WriterFilter::filter() method to store the OOXML's theme XDocument in the "InteropGrabBag" property of the TextDocument service SwXTextDocument implementation. Updated the UTs accordingly. Change-Id: I3960590fcf4856caf770908b983ffb6898f061c0 Reviewed-on: https://gerrit.libreoffice.org/6002 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>