summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)AuthorFilesLines
2013-04-22Revert "fdo#62096: Replaced some compareTo with =="Fridrich Štrba1-7/+7
This reverts commit dd47994722eaead16099145e593fbf878072d52b.
2013-04-22fdo#62096: Replaced some compareTo with ==Sameer Deshmukh1-7/+7
Change-Id: I1151dafcef91abdb2ce08abe3547a49fe3f4a67c Reviewed-on: https://gerrit.libreoffice.org/3509 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19fdo#63685 wp:inline's distT/B/L/R is in EMU's, not twipsMiklos Vajna1-4/+4
Regression from 3d7e168a2a43c2414b0633379102ddb29437e75b. Change-Id: I9ab3f9f41316a01d5a74f3e500bad7a83c8d2dca
2013-04-18fdo#63023 incorrect RTF background color in headerMiklos Vajna1-3/+8
Change-Id: I33f5c8a856206860ac9cdb23dd6b5222cb785bf7
2013-04-17Update pchAurimas Fišeras1-0/+4
Change-Id: Ice80350184f7a514d5beab0a5e1da5b98d5733e4 Reviewed-on: https://gerrit.libreoffice.org/3427 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-16fdo#61193 fix crash on RTF paste of footnoteMiklos Vajna1-3/+7
Regression from 232ad2f2588beff50cb5c1f3b689c581ba317583. Change-Id: Ia0873851979df5bba0a4693f044aab2aeff2b8e4
2013-04-12RTF import: initial handling of posrelh and posrelv shape propertiesMiklos Vajna1-0/+22
Change-Id: Id576d6df4b7a6144507e5f8230ac62a953b5c050
2013-04-11RTF filter: import fShadow, shadowColor and shadowOffset shape propertiesMiklos Vajna1-3/+23
Change-Id: I862a6b59ea2c3fa00f12cb3e9dbfd672a6aa58e5
2013-04-11RTF import of new-style frames: implement line color/widthMiklos Vajna1-1/+17
Change-Id: Ice40f1a9532e661ab6f4e3f476e638f2f8f82b72
2013-04-11RTF shape import: fix default horizontal/vertical orient relationMiklos Vajna1-0/+7
Change-Id: Icf324d2762f292c7f5f2ec9502f58c4961b28512
2013-04-11Resolves: #i119464# Update default alignment value for docx [Sub]TitleYong Lin Ma1-1/+18
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 Vajna3-14/+20
Change-Id: I1a4819905f0fc2e8dbbcf7d9570785ad4384dc39
2013-04-10add msfilter::util::ConvertColor to avoid copy&pasteMiklos Vajna1-22/+2
Change-Id: Ia5507f8d1ec18a45d3128c809d03f8f41849f93c
2013-04-10RTF import: fix priority handling of shpz vs dhgtMiklos Vajna1-0/+4
\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 Vajna3-1/+60
Change-Id: I2043477aebbe2e4f9afc48a68dcf7d2b18fa6613
2013-04-10coverity#1000707: out of bounds accessMarkus Mohrhard1-1/+1
Change-Id: I889ccb08f8f44bd558d95505342af0336dca0b0f
2013-04-10RTF import of new-style frames: fix txflTextFlow shape propertyMiklos Vajna1-4/+7
Change-Id: If6febeaea00b384ea36d470264c04dfb4c7afd24
2013-04-10RTF import of new-style frames: fix nameMiklos Vajna1-1/+10
Change-Id: Ifa8e79fb9c4b9ad5a0bf64466cefad91b6bbeb0c
2013-04-10restore disabled rtfimport testsMiklos Vajna3-0/+10
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 Vajna1-1/+5
Change-Id: I18165df2a2a59d460b06b0cfd3fcdae977bc65ee
2013-04-10RTF: also import rectangles as Writer text framesMiklos Vajna1-4/+3
Change-Id: I5aae8cbc050187b1adf7757b112470a8e9e6160e
2013-04-10RTF import of d{x,y}WrapDist* shape propertiesMiklos Vajna1-0/+8
Change-Id: Id59c8dd91de2733cf0f3620d7b27e8a34f3034fc
2013-04-10fix RTF import of default fFitShapeToTextMiklos Vajna1-0/+4
Change-Id: I7813ea4b3a2cb97c334bca04e6ff556690725b5f
2013-04-10RTF import of d{x,y}Text* shape propertiesMiklos Vajna1-0/+9
Change-Id: I6ce85cc4fd7bb317be002f5aa7295a03f0d0e7dd
2013-04-10RTF import of new-style frames: fix defaultsMiklos Vajna3-25/+43
Change-Id: I0b674f770f467a32dc2fa5bb7227f038addae4a8
2013-04-10RTF import of new-style frames: avoid fake empty paragraph at the endMiklos Vajna1-1/+8
Change-Id: I0abd941fbebfc032a3f3827929cfa721a187852e
2013-04-10RTF filter: import text box shapes as a Writer textframeMiklos Vajna1-4/+16
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 Nabet1-0/+5
Change-Id: Ib741c7144bfa48f8071c2b86478c111dbf09b14e
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák1-1/+0
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák13-59/+41
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 Rathke3-3/+3
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 Vajna2-3/+34
Change-Id: Iff8d07a53ddfc114eb4c3921273c007bb750be6b
2013-04-05Resolves: #i119621# Outline level in sample file lostJürgen Schmidt3-6/+16
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 Vajna9-9/+168
Change-Id: Ifc827d5180ce1dc0e3db095c2b92023f4c2d72ec
2013-04-04Resolves: #i119544# sequence number is not displayed in docxJürgen Schmidt1-1/+27
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 Vajna1-3/+6
Change-Id: I7db46ef17b8aed443faa7eb0c13b6ba109242cc1
2013-04-03fdo#51916 don't try to support nested tables having table styles for nowMiklos Vajna2-2/+13
Change-Id: I4350ce0b791b42ce3c21a61e37d61e3b2063cb6a
2013-04-03writerfilter: fix silly init causing trivial STL assertion in testMichael Stahl1-2/+2
(regression from 35b75ed510f49ff64cd86b38e228c2b5b9a9f3fc) Change-Id: I4342fd619f4d1f760b8fef2594a67b9fb7cd8f0e
2013-04-03writerfilter: -Werror=sign-compareMichael Stahl1-1/+1
Change-Id: I3fd0dfee676e511fb882d46729c214fbab525651
2013-04-03ooxmlimport: conditional table styles fixedSJacobi5-68/+110
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 Vajna2-3/+17
Change-Id: I9caea7fbea4643e57d81ad3b7812d0cc10f54c11
2013-04-02fdo#59273 DOCX import: fix table width when w:tblW is missingMiklos Vajna2-0/+17
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 Nabet1-4/+3
Change-Id: If5950affaff1537362b1e5c2e3791d04c5371306
2013-03-30upgrade icu to 51.1Peter Foley1-0/+1
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 Rathke1-1/+1
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-28WaE: -Wsign-compareMiklos Vajna1-2/+2
Change-Id: I4de04e5ba43735e5ed236109cdf5bfbfc9d1a220
2013-03-28fixed table width, supporting rel table width, fixed grid handlingSJacobi6-15/+47
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 Vajna2-0/+11
Change-Id: Ic2c0f4c1924811a6ee1c40221db447babdd74a3a
2013-03-27use of aState instead of m_aStates.top in popStateMaxime de Roucy1-23/+21
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 Roucy1-687/+944
Conflicts: writerfilter/source/rtftok/rtfdocumentimpl.cxx Change-Id: If79fc70f5fb8f8e48358048c03a8d39be6b197fb