summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok
AgeCommit message (Collapse)Author
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-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-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-04rtftok: border types must be mapped to the values in ooxml/model.xmlMichael Stahl
... not to the tables::BorderLineStyle values, because the domain mapper's MakeBorderLine converts the values to BorderLineStyle. Change-Id: Id89e0bcf80fbd9a1ac9238e09d898bb6b82303b4
2012-07-04replace enum SvxBorderStyle with css::table::BorderLineSyleMichael Stahl
Change-Id: I1dadb53f46b23f92d34061ef78dda872bdbcda67
2012-07-04removed unnecessary forward declarations of classTakeshi Abe
Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
2012-07-02implement RTF_DPELLIPSEPavel Kysilka
Change-Id: Icb531e05f84c8ce7e79a15113102113be3609f45
2012-07-02implement shape lineWidthPavel Kysilka
Change-Id: I5a6fd4c8fcb2641cdceabcd58c3fa0ccae059d25
2012-07-02implement shape rotationPavel Kysilka
Change-Id: Ib7c76768e302556a88ae6d87770c57f31ea8d36b
2012-07-02implement fillOpacityPavel Kysilka
Change-Id: I71580bb77b6939c9294eaf5203431d32327d5efd
2012-07-02implement RTF_HIGHLIGHTPavel Kysilka
Change-Id: I9d695f9b544250017bea69167e3133c4e9ee37a4
2012-06-28rtftok: implement RTF_FACINGPMiklos Vajna
Change-Id: I9e108f278a82f2ff8d4e5a29fa8af7c58843e9e4
2012-06-15move DTTM2DateTime and DateTimeToOString to msfilter to avoid copy&pasteMiklos Vajna
2012-06-15fdo#50087 fix RTF import of Title, Subject, Comments document propertiesMiklos Vajna
Change-Id: I3358fad4949c2c21ecf63983a36b7c8428df9f06
2012-06-11fdo#49659 handle RTF import of tables at the very end of the documentMiklos Vajna
If the documents ends with a table, both Word/Writer produces a non-table empty paragraph after that table. However, it's valid not to emit that empty paragraph, so handle the situation in the importer. Change-Id: I8ea163f2de62954f3891f8f48e81d89f6e29ce6f
2012-06-11fdo#49659 fix RTF import of pictures with inner groupsMiklos Vajna
One would think that with {\pict{\foo1}}, the inner group has no effect in the outer group, but this turns out to be valid, so we should handle it as well. Change-Id: I64b933ad1cd5946f22d27669e9240d9e1875bde3
2012-06-11RTFDocumentImpl::resolvePict: handle failure from importGraphicObject()Miklos Vajna
This fixes an assert from the fdo#49659 bugdoc. Change-Id: I4c4d56aa119dcdb965a0b30ca137d7e7d719259c
2012-06-06fdo#50665 rtftok: don't ignore character properties of text fieldsMiklos Vajna
The dmapper part was already fixed in commit 9486851baea59d16c449d79bd61a38f6e686cfe0 for DOCX, this fixes the RTF tokenizer. Change-Id: Iaca706e50367bb744f5a03e15134bda1646df8fc
2012-06-01fdo#50539 fix RTF import of automatic character background colorMiklos Vajna
Change-Id: I7efb3bce9a3a6f6c029d99de2264e00bb1bc7c93
2012-05-30don't overload operator-> and just forward specific methods, take twoCaolán McNamara
Change-Id: If66b0a5f1b0444d8f0a6dfed1b518a0033d61d2e
2012-05-30Use RTFSprms::set() in RTFDocumentImpl everywhereMiklos Vajna
Change-Id: Iaf52206aad2f1053d54025b0e71eff1b229e1372
2012-05-30fdo#49968 speed up RTF import of repeated character/paragraph propertiesMiklos Vajna
Most RTF documents (produced by Word/Writer) reset character and paragraph properties at the start of each paragraph. Because of this, appending properties of the same type didn't cause any noticable performance problems. However, it's valid to not reset these properties, and in this case a longer document takes forever to import. Filter these duplicates at the tokenizer level for trivial properties to get acceptable import speed. Also fixes rhbz#825548 in an easier-to-backport way. Change-Id: Id0b7289323d45ff0d747c74bb78d8eb7def0cfc2
2012-05-30rtftok: undo tryToSafelyUpdateAnExistingProp, will be back soonMiklos Vajna
Change-Id: I171dac32f8a938dc4ecfbab13835823f65ee2611
2012-05-30Resolves: rhbz#825548 some rtf documents take vast amounts of time to loadCaolán McNamara
rtf documents with vast sequences of replicated properties without any pard resets to defaults create huge vectors of properties that eat time and memory So if we are adding a property which already exists and there are no intermediate properties which would cause side effects to the property then update the existing one instead Only implemented this optimization for some selected character properties This takes my load time down to 7 seconds from effectively some "infinite" hour+ load time. Change-Id: I520779233180f4d9faf9fb0989d546e08fc6cabd
2012-05-30don't overload operator-> and just forward specific methodsCaolán McNamara
Change-Id: I22f5f4a17f2eef0d04756ff4c8e614da073248ca
2012-05-29implement operator= tooDavid Tardon
Change-Id: I5d5b5562a130ac5ba46afa3273cf65e7bbed2c13
2012-05-24add missing initializationsDavid Tardon
Change-Id: I872987e02c1685810f6c2c71956c60e5f13b2706
2012-05-11fdo#45190 import of RTF_LI should reset inherited RTF_FIMiklos Vajna
Change-Id: I17c287fa4daa399876b34182c02d9cf928fe1b6f
2012-05-10fdo#49692 RTFValue::Clone(): copy m_bForceString as wellMiklos Vajna
Change-Id: Ib8f06ff33fd9c01ea4a1e47c97cfa12f2ced7318
2012-05-10RTFDocumentImpl::runProps: avoid copy&pasteMiklos Vajna
Change-Id: I3b1f03c0a3236461e753ef236881313ea7daa0d0
2012-05-09fdo#49271 rtftok: make sure we send char props if there are no runsMiklos Vajna
Change-Id: Id900b06fc1aad1d0f50ff92e3c12616dfbc1a81e
2012-05-09fdo#49683 implement RTF_KEYWORDSMiklos Vajna
Use comphelper::string::convertCommaSeparated(), as done in RtfExport::WriteInfo(). Change-Id: Iad4c3c57cf2e16c7256b9853cb1a6a0843463387
2012-05-09fdo#49501 RTF_MARGL/R/T/B should also set the current marginMiklos Vajna
Change-Id: I I69b92d0cd07c9f08f14affb447b55b26b2556186
2012-05-09implement RTF_LANDSCAPEMiklos Vajna
Change-Id: Icc7f0b06f8fe31f31df728920ecb96dc40849b4e
2012-05-07fdo#38786 implement RTF_CHPGNMiklos Vajna
Change-Id: I0ae693193b4fc8ed155e2d71b06daa80d46da47c
2012-05-07introduce msfilter::util::BGRToRGB to avoid copy&pasteMiklos Vajna
Change-Id: Ic3fa8865bf3862407867b5e4a438e3d9bc723e86
2012-05-07implement RTF_DPFILLBGCR/G/BMiklos Vajna
Change-Id: I Ie4df6921201b2be4e7d9aa3febd1dcdc1e3eef40
2012-05-07implement RTF_DPLINECOR/G/BMiklos Vajna
Change-Id: I179472754f63559668ff918fd2a01331cd3c35bb
2012-05-07rtftok: implement RTF_DPRECTMiklos Vajna
Change-Id: Iffc00526bd780e19daccea226735b4c4e28bf9c6
2012-05-05Resolves: fdo#47347 overwrite incorrect font table entry with the correct oneCaolán McNamara
Change-Id: I563cf50b6eb029276115b9b02951d36b1ec0d39c
2012-05-05Related: fdo#47347 m_aFontEncodings is a map so returns 0 on unknown fontindexCaolán McNamara
Change-Id: I3addf0d27058ed9ef01d4893ad932c13623c283c
2012-05-02fdo#47764 fix RTF import of automatic paragraph background colorMiklos Vajna
Change-Id: I4b3a4bd6ce45cffc5b2c23052c49ff98579c5564