summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)Author
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I67db5b5685872ef148bf4833330c02ea2b18c32e
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I17bec612eb6d50acc4bf8ac8ea4299fd2380afb5
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I910a508722a309d7916377a7e2df2093070809ad
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: Ibd7142f49d1a42ebab3bed02ea269a3c850197e6
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: Ie5a8469620650ba67bab8c875e0bc136bd103866
2012-06-02Fix some Prefer prefix ++/--Julien Nabet
Change-Id: Ief7279a06ffbdd0e23fac28f8948daea4023823c
2012-06-01fdo#50539 fix RTF import of automatic character background colorMiklos Vajna
Change-Id: I7efb3bce9a3a6f6c029d99de2264e00bb1bc7c93
2012-05-31n#764005 VML import of absolutely positioned pictures should not be opaqueMiklos Vajna
Change-Id: I17a1a94ee92ce04ff6928a20c552b3a3408a0626
2012-05-31n#764005 dmapper: don't insert "at page" anchored graphics as "as character"Miklos Vajna
Change-Id: Ibdde32014d2fc2fe43d59a5cc6ee7f722adcbfb6
2012-05-31targetted revert of small prefix operator changesMichael Meeks
Change-Id: I02e9af0034f4e9ed626615083c7c1506597f2a7e
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-29n#760764 dmapper: don't ignore character properties of text fieldsMiklos Vajna
Change-Id: If1497d78b8c31a4b2e5677bb57f40a0343a819a9
2012-05-29writerfilter: read dgm:relIds element and its attributesMiklos Vajna
2012-05-29implement operator= tooDavid Tardon
Change-Id: I5d5b5562a130ac5ba46afa3273cf65e7bbed2c13
2012-05-29removed dead codeTakeshi Abe
Change-Id: Ic70d66befc90450aeb276d53f6da7e81aef85478
2012-05-24handle column break in .docx properly tooLuboš Luňák
related to d8cac25ed29dbeca16161f62173a7e341793b8b6 Change-Id: I56b02a450e96acec0346d6a36c29ad8e0326b0c8
2012-05-24add missing initializationsDavid Tardon
Change-Id: I872987e02c1685810f6c2c71956c60e5f13b2706
2012-05-22do reuse shape contextLuboš Luňák
This is pretty much a revert of 60cb70b94537e9ff1155fb80255fc04ce41363b2. Turns out e.g. <v:shapetype> is not local only to its <w:pict>. Added a testcase. Change-Id: Ibbb9fe01bc2fc77dd67151bf4ca0905443eebf63
2012-05-22remove number of -I directives in writerfilterLuboš Luňák
Windows length path limitations strike again, and this should reduce the total argument length. Change-Id: I76fefabc8201e51494a7003d7ca4f9fd92ffa3b9
2012-05-22avoid warnings because of sal_Int* typesLuboš Luňák
Change-Id: I906931d62683b7feeff1a2e4b2f8b185c6af480e
2012-05-21add dependency on generated filesMatúš Kukan
Change-Id: Idad4558cfa741f1f2e17b270989a8a96ac80dd06
2012-05-20Some cppcheck cleaningJulien Nabet
Change-Id: Ic30cdeffabec1eb1a6c153ac450a3d28064ef534
2012-05-18work around spurious signed overflow warningsMichael Stahl
g++ (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5: /com/sun/star/uno/Sequence.hxx:178:10: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Werror=strict-overflow]
2012-05-18handle recursive <w:p> because of shapes (bnc#751077)Luboš Luňák
<w:p><w:pict>...<w:txbxContent><w:p><w:p/> - in this case, the inner paragraphs should not interfere with the outer one, but e.g. detecting whether it was the last paragraph in section could get broken. Change-Id: I8634ee6a0d6274f5770423ff798adfa260a33326
2012-05-18Merge the libraries in writerfilterTor Lillqvist
Change-Id: If77543855fe34f70d248fe8a4644d293f693f190
2012-05-17sigh, more missing dependenciesMatúš Kukan
Change-Id: I0d1802ebcf384095a6962fb1faf9516bd9a2dda6
2012-05-16removed unused constant rtl::OUStringTakeshi Abe
Change-Id: I173275e0f8faa852500d108f65636080f79636c6
2012-05-15do not reuse shape context (part of bnc#705956)Luboš Luňák
As far as I can say, this reusing is just an optimization, but it breaks e.g. with <w:pict><v:group><w:pict>... , where using the same context for two shapes breaks things, e.g. oox::vml::ShapeContainer::getFirstShape() does not work right. Change-Id: I90bb85b4d320e1bb0727401879b0551abbac5f12
2012-05-15fdo#49940 dmapper: handle m_bTitlePage when m_nBreakType is zeroMiklos Vajna
We used to ignore m_bTitlePage in this case, resulting in wrong 'Default' page style for the first page, instead of 'First Page'. Change-Id: I1899354fb39db4f0eb663fd5233395f2d4a5e72a
2012-05-14hide progress bar even if loading failedDavid Tardon
Change-Id: Ia330e70e393309dbbad025fc2ede8f4ab41a674c
2012-05-14do not crash when opening rtf file with unclosed field groupDavid Tardon
It still fails to load the file (General input/output error), because RTFDocumentImpl::resolve() throws io::UnexpectedEOFException, but that is a bit better than a crash .-) Example of such a file can be found in fdo#49666 or rhbz#819304 . Change-Id: I I1e575bf8e3194afe063297a4daf3e98eaaa510cc
2012-05-14Add helpful instructions nearby encrypted CVE files.Michael Meeks
2012-05-11fdo#45190 import of RTF_LI should reset inherited RTF_FIMiklos Vajna
Change-Id: I17c287fa4daa399876b34182c02d9cf928fe1b6f
2012-05-11Revert "another partial fix for bnc#693238" ( and fixes fdo#44292 )Noel Power
This reverts commit cd1c434c4bd4756fa1355e906cb2e8de4aae0618. Conflicts: writerfilter/source/dmapper/PropertyMap.cxx Change-Id: I I83ae3418438aa02db744e6b6eb5a9c199938c91f
2012-05-10fdo#49692 RTFValue::Clone(): copy m_bForceString as wellMiklos Vajna
Change-Id: Ib8f06ff33fd9c01ea4a1e47c97cfa12f2ced7318
2012-05-10normalize variable names in gbuild user makefilesMichael Stahl
Variables should have module name as prefix to prevent collisions.
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-09gbuild: remove gb_Helper_abbreviate_dirs_nativeMatúš Kukan
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
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