summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)Author
2012-08-02RTFDocumentImpl::popState: drop unnecessary state copiesMiklos Vajna
First only parts of the parser state was copied, then later the whole state, but code not using the full copy was still there. Remove it now. Change-Id: I2c5507e74a24b8dac74552c61d69ba0be7257d6b
2012-08-02fdo#51034 fix docx import of HYPERLINK field, l paramMiklos Vajna
Change-Id: Ic6896f7c795d7d303bf7589a74afb937d4a8e8b5
2012-08-02no need to invoke dmapper hereMiklos Vajna
Change-Id: Ie005d0ae0ed6e2f055f03015162edaa10ed78897
2012-08-02fdo#49892 import RTF_SHPB{X,Y}PAGEMiklos Vajna
Change-Id: I8fe2b28f44ee61fc0f1438de3681fd86b16d29ae
2012-08-02fdo#49892 implement RTF import of dhgt shape propertyMiklos Vajna
Change-Id: I36d574c5f7915d732c6c158fadb91b6032370a01
2012-07-31n#772094: writerfilter, pictures anchored in header/footer won't be opaqueCédric Bosdonnat
This dark magic is needed to have a behavior similar to the one of Word for images anchored in headers/footers. Writer can't have pictures laid over the header/footer but below the body text. Change-Id: I2c001d4f696c1623370c531059b74e3d5fa4f5b7
2012-07-31various rtf regression testsCaolán McNamara
Change-Id: If4fd8fba87c13b6294813a86155d3d0ea4d18eb2
2012-07-30Related: fdo#36089 improve import of EQ field in writerfilterMiklos Vajna
This moves the FIELD_EQ parsing where it belongs + improves it, so a custom "lower by" value is handled on import. Change-Id: I0459042d7a610c397ce90ec3dba5ff49ce9ef60f
2012-07-28writerfilter: drop pointless rtl:: prefix usageMiklos Vajna
Change-Id: I75e68d0ec70d0d4e95a58cd34780c3a350f7a9d2
2012-07-27fdo#48033 fix RTF import of pictures inside table cellsMiklos Vajna
Change-Id: I2d9ef3b346d4b10b99b67d0934d63d59f6119f97
2012-07-27sd, sfx2, writerfilter, xmloff: fix some warningsMichael Stahl
2012-07-27RTFDocumentImpl::text: don't try to read beyond the end of stringMiklos Vajna
Change-Id: If8dc4686f28870f1ce6b22458e29d3a9043f9783
2012-07-27SmOoxmlImport::handleR: escape brackets in math runsMiklos Vajna
Also remove the previous escaping that took care of RTF only. Change-Id: Ie9a019912f83a3f56ef52429855cd72cf2c8f463
2012-07-27fix import of nested RTF_MF groupsMiklos Vajna
Change-Id: Ibd4f93663d27d997c44f73e201c355a34d6452d3
2012-07-27implement import/export of RTF_MMATHPICTMiklos Vajna
to be compatible with readers not understanding RTF_MOMATH Change-Id: I8d6a28b03b740da372558f7aa245592be6ac70b9
2012-07-26RTF_MR: ignore if collected text is emptyMiklos Vajna
Sending an empty run would result in adding a space to the formula, leading to incorrect result. Change-Id: I1a01493cead726f667db0065deb4c145cba4ffa7
2012-07-26writerfilter/qa: clean up rtl:: and RTL_CONSTASCII_* usageMiklos Vajna
Change-Id: I729e5a6dcc9ca3a291c5f28c8b7eed7e3ca03bfd
2012-07-25import RTF_M{SEPCHR,EQARR,BOX,GROW}Miklos Vajna
Change-Id: Idbd5ea29b886d94b456b126de00a02833f7c0d7c
2012-07-24import RTF_MTYPEMiklos Vajna
Change-Id: I9414c9af69aa721a84e08fd323bc1efd5bd6c887
2012-07-24RTFDocumentImpl::popState: clean up duplicated list of DESTINATION_M* casesMiklos Vajna
Change-Id: I7806a9dc897c0187fd523d480e6366925676287b
2012-07-24import RTF_M{SSUB,SSUBPR,SSUP,SSUPPR,SSUBSUP,SSUBSUPPR,SPRE,SPREPR}Miklos Vajna
Change-Id: I8148e870ec86f282f05102757f0f8bfc53561c00
2012-07-24implement import of RTF_M{RAD,RADPR,DEG}Miklos Vajna
Change-Id: I6779cf105d792c5a59ec43a21f8693e6d8895bfd
2012-07-24rtftok: add OPEN_M_TOKEN to avoid code duplicationMiklos Vajna
Change-Id: I95b2ee34fef0c075040af808de276e0b745bf830
2012-07-24implement import of RTF_M{STRIKEH,BORDERBOX,BORDERBOXPR}Miklos Vajna
Change-Id: I3249b6a2cb5d8c100e8045f650997cea3f1d2e30
2012-07-24implement import of RTF_M{POS,VERTJC,LIMUPP,LIMUPPPR,GROUPCHR,GROUPCHRPR}Miklos Vajna
Change-Id: I40406bd4220a918507b2ae90733f3d1d5df949d5
2012-07-24RTFDocumentImpl::pushState: use switch here as wellMiklos Vajna
Change-Id: Ibb1c68612159fcdbfd92dc6b4cd3719d4db240f3
2012-07-24implement import of RTF_{MMR,MNARY,MNARYPR,MSUB,MSUP,MSUBHIDE,MSUPHIDE}Miklos Vajna
Change-Id: Ic975c7c1653fd10ef0a22ecbbbd740adac0789e0
2012-07-24implement import of RTF_{MM,MMPR,MMR}Miklos Vajna
Change-Id: I6e21159af832c5850db77a6dfe630a0fc0bb6238
2012-07-24RTFDocumentImpl::popState: use switch hereMiklos Vajna
Change-Id: If03ae8a5b44f477471ddc33063af552b3f2cfc31
2012-07-24implement import of RTF_{MFUNC,MFUNCPR,MFNAME,MLIMLOW,MLIMLOWPR,MLIM}Miklos Vajna
Change-Id: Ibdecafae7942a0c79804176aa24e448dc505a5bb
2012-07-24escape RTF_LBRACE and RTF_RBRACE inside RTF_MRMiklos Vajna
Change-Id: I9315da151390ea1b5d56c7e58ac901e3f11dd2a7
2012-07-23implement import of RTF_{MD,MDPR,MBEGCHR,MENDCHR}Miklos Vajna
Change-Id: Ie671977d523e1fb7142f62ca2d8d47e65082d3fd
2012-07-23implement RTF_MBAR{,PR}Miklos Vajna
Change-Id: Id5acca5c734f69797d5c19fdcfc0ccb4717127f6
2012-07-23rtftok: cleanup - use M_TOKEN() macroMiklos Vajna
Change-Id: If51def3c7c798104fd6dec9cf38473e5d70420fc
2012-07-23implement import of RTF_{MACC,MACCPR,MCHR,ME}Miklos Vajna
Change-Id: I5521bc3dc58b096dd80746a0af9c9d5e24ffe4a3
2012-07-23warning C4101: unreferenced local variableStephan Bergmann
Change-Id: I8dcd71b73204d37d3125e38b6983af430fa4570c
2012-07-23implement import of RTF_{MOMATH,MR,MF,MFPR,MCTRLPR,MNUM,MDEN}Miklos Vajna
Change-Id: I4d0d9df26de1ef52a808c82d89a8404c98ef7bc4
2012-07-23RTFValue: extend to be able to store embed::XEmbeddedObjectMiklos Vajna
Change-Id: I6218be1f4afe22665ab85f7d731e1c1567bb2c8e
2012-07-21writerfilter: rtl::OUString -> OUStringMiklos Vajna
Change-Id: I1577c1bb8a3dc498b647b930d405c90f80eafaf9
2012-07-21dmapper: rtl::OUString -> OUStringMiklos Vajna
Change-Id: Ib14cf2731a451226deb4aa27fd05420a0daaba4f
2012-07-19catch consistently by const referenceCaolán McNamara
Change-Id: I206cbf5453fd6b32f3ee6725d29260a8c49a68bd
2012-07-19Resolves: fdo#51772 failure to import a specific .rtf fileCaolán McNamara
In this example the xCharacterStyles->getByName(aCharStyle) throws, and the whole import is abandoned i.e. xRet.set(xCharacterStyles->getByName(aCharStyle), uno::UNO_QUERY); so to keep things simple wrap the entire block in a try catch and return an empty xRet. Could use the hasByName around the specific failing query. Change-Id: I4f4970534cc2ff15c7d96ff2ee0a9affcfce1737
2012-07-19fdo#52066 fix RTF import of rectangle shape without text in itMiklos Vajna
We used to always add a paragraph on shapes, which breaks import of abused rectangle shapes with minimal height, used as lines. Change-Id: Ice240bad68bc030e7889c46f72c45646307f17e5
2012-07-18implement import of RTF_ATRFSTART, RTF_ATRFEND and RTF_ATNIDMiklos Vajna
Change-Id: I1dc3d3a33dcad2707468b1bfc1baa5239fddee05
2012-07-16implement docx import/export of SwPostItField::aInitialsMiklos Vajna
Change-Id: I919f5f0c4f6a1f6b1ea6261d9703da7a6c1046d3
2012-07-13dmapper: drop unnecessary explicit OUString ctors in rebased codeMiklos Vajna
Change-Id: Ibaf2211425ff2ab6fc7647c159ec6b1f095e843a
2012-07-13dmapper: remove last paragraph of annotationsMiklos Vajna
See commit 94855fbbb977d6acd42c32e157af664d0ede9739 for rationale. Change-Id: I34838ea9dd60f24d20ac48e6089915b506f5d790
2012-07-13writerfilter: read w:commentRangeStart and w:commentRangeEnd elementsMiklos Vajna
Change-Id: I8da1e43ffe6a78f14ab0901ae73c4ee39f1cbe44
2012-07-11remove pointless named temporaryLuboš Luňák
Change-Id: I6d0b45451c8fe232afc05041d3c70a98e8bd8cc8
2012-07-11do not let a style override paragraph's numberingLuboš Luňák
If a paragraph has its own <w:numPr>, do not let <w:pStyle> override that. Change-Id: I7cea0d1c8bf59804f8c56382ee68c7fad5ed3ef6