summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)Author
2013-04-11Resolves: #i119464# Update default alignment value for docx [Sub]TitleYong Lin Ma
Patch by: Ying Zhang Review by: mayongl (cherry picked from commit 22602686933abaa1512ebd3bca77dbb9987b6ad5) Change-Id: I04cf1bbbeadf23147fa2cbc1c08c850288ef943a
2013-04-10fix new-style RTF frame default internal margin valuesMiklos Vajna
Change-Id: I1a4819905f0fc2e8dbbcf7d9570785ad4384dc39
2013-04-10add msfilter::util::ConvertColor to avoid copy&pasteMiklos Vajna
Change-Id: Ia5507f8d1ec18a45d3128c809d03f8f41849f93c
2013-04-10RTF import: fix priority handling of shpz vs dhgtMiklos Vajna
\shpz is the older markup, dhgt shape property is the newer one. When having both, dhgt should have priority. Change-Id: I11904315d13fa23999badad26be26852719dbb3b
2013-04-10RTF import of fillType and fillFocus shape propertiesMiklos Vajna
Change-Id: I2043477aebbe2e4f9afc48a68dcf7d2b18fa6613
2013-04-10coverity#1000707: out of bounds accessMarkus Mohrhard
Change-Id: I889ccb08f8f44bd558d95505342af0336dca0b0f
2013-04-10RTF import of new-style frames: fix txflTextFlow shape propertyMiklos Vajna
Change-Id: If6febeaea00b384ea36d470264c04dfb4c7afd24
2013-04-10RTF import of new-style frames: fix nameMiklos Vajna
Change-Id: Ifa8e79fb9c4b9ad5a0bf64466cefad91b6bbeb0c
2013-04-10restore disabled rtfimport testsMiklos Vajna
There were two problems here: - Writer textframes don't have an AnchorPosition property, use compareRegionStarts() instead - turns out DOC/DOCX import doesn't create Write textframes when the shape has no text, doing so in the RTF import fixes the other two testcase as well. Change-Id: Ib2b4a0b7f8317d300fd532daea22568e33eceb53
2013-04-10RTF equivalent of 229f6e187bd85d0af47da9feffef2d9ac7f83120Miklos Vajna
Change-Id: I18165df2a2a59d460b06b0cfd3fcdae977bc65ee
2013-04-10RTF: also import rectangles as Writer text framesMiklos Vajna
Change-Id: I5aae8cbc050187b1adf7757b112470a8e9e6160e
2013-04-10RTF import of d{x,y}WrapDist* shape propertiesMiklos Vajna
Change-Id: Id59c8dd91de2733cf0f3620d7b27e8a34f3034fc
2013-04-10fix RTF import of default fFitShapeToTextMiklos Vajna
Change-Id: I7813ea4b3a2cb97c334bca04e6ff556690725b5f
2013-04-10RTF import of d{x,y}Text* shape propertiesMiklos Vajna
Change-Id: I6ce85cc4fd7bb317be002f5aa7295a03f0d0e7dd
2013-04-10RTF import of new-style frames: fix defaultsMiklos Vajna
Change-Id: I0b674f770f467a32dc2fa5bb7227f038addae4a8
2013-04-10RTF import of new-style frames: avoid fake empty paragraph at the endMiklos Vajna
Change-Id: I0abd941fbebfc032a3f3827929cfa721a187852e
2013-04-10RTF filter: import text box shapes as a Writer textframeMiklos Vajna
Text box shapes, just like any other shape types, used to be imported as drawinglayer shapes. To keep the DOC/DOCX/RTF filters in sync, import text box shapes as Writer textframes instead. Change-Id: Iacead5352d0a297cff54afb134d895e40d446147
2013-04-07Fix variables not initializedJulien Nabet
Change-Id: Ib741c7144bfa48f8071c2b86478c111dbf09b14e
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05import RTF_LISTPICTURE and RTF_LEVELPICTUREMiklos Vajna
Change-Id: Iff8d07a53ddfc114eb4c3921273c007bb750be6b
2013-04-05Resolves: #i119621# Outline level in sample file lostJürgen Schmidt
fix: - PropertyMap.hxx, add definition for outline level min value - DomainMapper.cxx, import outline level for paragraph property - DomainMapper_Impl.cxx, fix TOC import if no range is given Patch By: Yolanda Zhang Ying Reviewed By: jsc (cherry picked from commit 5b87b9b8bc679dfbb308646a6da7584d4b418337) Conflicts: writerfilter/source/dmapper/DomainMapper_Impl.cxx Change-Id: I2149a7338b128d0dd1c1317a259e537d2a1e1063
2013-04-04DOCX import of w:numPicBulletMiklos Vajna
Change-Id: Ifc827d5180ce1dc0e3db095c2b92023f4c2d72ec
2013-04-04Resolves: #i119544# sequence number is not displayed in docxJürgen Schmidt
fix: add code to handle the SEQ field command... Patch By: Jin Long Wu Found By: Don Jun Zung Reviewed By: jsc (cherry picked from commit 0d2415df82388eb1a9a00c2d5e6bd3d9193057db) Change-Id: Ia588857aa453ea05cde2e66f6efd403e8eb282f2
2013-04-03fdo#51916 out of bounds substring accessMiklos Vajna
Change-Id: I7db46ef17b8aed443faa7eb0c13b6ba109242cc1
2013-04-03fdo#51916 don't try to support nested tables having table styles for nowMiklos Vajna
Change-Id: I4350ce0b791b42ce3c21a61e37d61e3b2063cb6a
2013-04-03writerfilter: fix silly init causing trivial STL assertion in testMichael Stahl
(regression from 35b75ed510f49ff64cd86b38e228c2b5b9a9f3fc) Change-Id: I4342fd619f4d1f760b8fef2594a67b9fb7cd8f0e
2013-04-03writerfilter: -Werror=sign-compareMichael Stahl
Change-Id: I3fd0dfee676e511fb882d46729c214fbab525651
2013-04-03ooxmlimport: conditional table styles fixedSJacobi
Change-Id: I84f1d7c718dfc120b76364479ca68f63d2549b9f Reviewed-on: https://gerrit.libreoffice.org/3175 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-04-02implement import/export of RTF_MNORMiklos Vajna
Change-Id: I9caea7fbea4643e57d81ad3b7812d0cc10f54c11
2013-04-02fdo#59273 DOCX import: fix table width when w:tblW is missingMiklos Vajna
Regression from 6718482c072defe5d885030826fef5ef833732e9, put back the table width counting in DomainMapperTableManager::endOfRowAction(), in case the document has no explicit w:tblW token. Change-Id: I8bd983045e1950451c9afb4f15f1deb87312524e
2013-04-01Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: If5950affaff1537362b1e5c2e3791d04c5371306
2013-03-30upgrade icu to 51.1Peter Foley
Change-Id: I1c0d5ca4b2f88ca48225fcdbeb978f27fa91f7a6 Reviewed-on: https://gerrit.libreoffice.org/2953 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Peter Foley <pefoley2@verizon.net>
2013-03-29ResMgr with LanguageTagEike Rathke
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-28WaE: -Wsign-compareMiklos Vajna
Change-Id: I4de04e5ba43735e5ed236109cdf5bfbfc9d1a220
2013-03-28fixed table width, supporting rel table width, fixed grid handlingSJacobi
Change-Id: I28e66ed19e22f0e520f6b16a86a9e032e03d5bd8 Reviewed-on: https://gerrit.libreoffice.org/3110 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-28fdo#37716 implement import of RTF_NOWRAPMiklos Vajna
Change-Id: Ic2c0f4c1924811a6ee1c40221db447babdd74a3a
2013-03-27use of aState instead of m_aStates.top in popStateMaxime de Roucy
Change-Id: I6814e48a92a1b24823c6884a151aa6a139410ff2 Reviewed-on: https://gerrit.libreoffice.org/3085 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27reformat of rtfdocumentimpl.cxxMaxime de Roucy
Conflicts: writerfilter/source/rtftok/rtfdocumentimpl.cxx Change-Id: If79fc70f5fb8f8e48358048c03a8d39be6b197fb
2013-03-27minor update in rtfdocumentimpl.cxxMaxime de Roucy
Change-Id: Ie32166edbc3efb603ccb5e98d8c2cac66ecc2f47 Reviewed-on: https://gerrit.libreoffice.org/3083 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27solve fdo#62805Maxime de Roucy
move m_pCurrentBuffer to RTFParserState Change-Id: Ied16ee1704d35c6bd0368b26a210131b60bc91a3 Reviewed-on: https://gerrit.libreoffice.org/3082 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27fdo#30983 RTF filter: fix handling of RTF_PVPG and RTF_PHPGMiklos Vajna
There were two issues here: 1) The export filter never exported these keywords. 2) The "flymaincnt" RTF extension we inherited from OOo actually never worked (i.e. it's like this since 7b0b5cdf, the initial import...), as RTFVertOrient / RTFHoriOrient's second parameter was stored in 1 bit, so text::RelOrientation::PAGE_FRAME (7) was read back as 1 instead. Note that I want to get rid of this flymaincnt extension in the exporter anyway soon, so killing the RTFVertOrient / RTFHoriOrient duplication is pointless: the sw version will go away. Change-Id: I5335567833ecf87e6b0ba7c73150a7b95c57f237
2013-03-27ooxml tokenizer: CT_TblLayout -> CT_TblLayoutTypeMiklos Vajna
That's how it's called in the spec's W3C XML Schema. Change-Id: I6fc6452af493e61c302948a617d427c118ada0b2
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25remove external include guardsThomas Arnhold
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-26fdo#59273 import w:tblLayout of DOCX tablesMiklos Vajna
Change-Id: I9af50a4c176168e2794eaa9b0e8eaeb6b9d06b13
2013-03-25cleanup gbuild outputPeter Foley
Change-Id: I53e1ccda41688975ea180f44bfd507ce4ca39bf2
2013-03-25fdo#60922 ignore DOCX import of w:position w:val="0"Miklos Vajna
Change-Id: I10e9c0f1078e36710335a9a48f7f02292c764795
2013-03-25#i119592# Fixed column widths.Andre Fischer
Reported by: xiao ting xiao Patch by: wujinlong@... Reviewed by: Andre Fischer