summaryrefslogtreecommitdiffstats
path: root/writerfilter
Commit message (Collapse)AuthorAgeFilesLines
* targeted string re-workNorbert Thiebaud2012-06-021-4/+2
| | | | Change-Id: I67db5b5685872ef148bf4833330c02ea2b18c32e
* targeted string re-workNorbert Thiebaud2012-06-021-4/+2
| | | | Change-Id: I17bec612eb6d50acc4bf8ac8ea4299fd2380afb5
* targeted string re-workNorbert Thiebaud2012-06-0211-167/+167
| | | | Change-Id: I910a508722a309d7916377a7e2df2093070809ad
* targeted string re-workNorbert Thiebaud2012-06-025-30/+29
| | | | Change-Id: Ibd7142f49d1a42ebab3bed02ea269a3c850197e6
* targeted string re-workNorbert Thiebaud2012-06-021-2/+2
| | | | Change-Id: Ie5a8469620650ba67bab8c875e0bc136bd103866
* Fix some Prefer prefix ++/--Julien Nabet2012-06-022-4/+4
| | | | Change-Id: Ief7279a06ffbdd0e23fac28f8948daea4023823c
* fdo#50539 fix RTF import of automatic character background colorMiklos Vajna2012-06-011-0/+1
| | | | Change-Id: I7efb3bce9a3a6f6c029d99de2264e00bb1bc7c93
* n#764005 VML import of absolutely positioned pictures should not be opaqueMiklos Vajna2012-05-311-3/+4
| | | | Change-Id: I17a1a94ee92ce04ff6928a20c552b3a3408a0626
* n#764005 dmapper: don't insert "at page" anchored graphics as "as character"Miklos Vajna2012-05-311-0/+4
| | | | Change-Id: Ibdde32014d2fc2fe43d59a5cc6ee7f722adcbfb6
* targetted revert of small prefix operator changesMichael Meeks2012-05-312-4/+5
| | | | Change-Id: I02e9af0034f4e9ed626615083c7c1506597f2a7e
* don't overload operator-> and just forward specific methods, take twoCaolán McNamara2012-05-305-43/+44
| | | | Change-Id: If66b0a5f1b0444d8f0a6dfed1b518a0033d61d2e
* Use RTFSprms::set() in RTFDocumentImpl everywhereMiklos Vajna2012-05-301-146/+139
| | | | Change-Id: Iaf52206aad2f1053d54025b0e71eff1b229e1372
* fdo#49968 speed up RTF import of repeated character/paragraph propertiesMiklos Vajna2012-05-303-10/+26
| | | | | | | | | | | | | | | 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
* rtftok: undo tryToSafelyUpdateAnExistingProp, will be back soonMiklos Vajna2012-05-305-254/+189
| | | | Change-Id: I171dac32f8a938dc4ecfbab13835823f65ee2611
* Resolves: rhbz#825548 some rtf documents take vast amounts of time to loadCaolán McNamara2012-05-302-3/+62
| | | | | | | | | | | | | | | | 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
* don't overload operator-> and just forward specific methodsCaolán McNamara2012-05-305-189/+195
| | | | Change-Id: I22f5f4a17f2eef0d04756ff4c8e614da073248ca
* n#760764 dmapper: don't ignore character properties of text fieldsMiklos Vajna2012-05-292-1/+11
| | | | Change-Id: If1497d78b8c31a4b2e5677bb57f40a0343a819a9
* writerfilter: read dgm:relIds element and its attributesMiklos Vajna2012-05-292-0/+32
|
* implement operator= tooDavid Tardon2012-05-293-0/+15
| | | | Change-Id: I5d5b5562a130ac5ba46afa3273cf65e7bbed2c13
* removed dead codeTakeshi Abe2012-05-293-6/+0
| | | | Change-Id: Ic70d66befc90450aeb276d53f6da7e81aef85478
* handle column break in .docx properly tooLuboš Luňák2012-05-241-0/+18
| | | | | | related to d8cac25ed29dbeca16161f62173a7e341793b8b6 Change-Id: I56b02a450e96acec0346d6a36c29ad8e0326b0c8
* add missing initializationsDavid Tardon2012-05-241-0/+2
| | | | Change-Id: I872987e02c1685810f6c2c71956c60e5f13b2706
* do reuse shape contextLuboš Luňák2012-05-224-0/+17
| | | | | | | | 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
* remove number of -I directives in writerfilterLuboš Luňák2012-05-2234-52/+47
| | | | | | | Windows length path limitations strike again, and this should reduce the total argument length. Change-Id: I76fefabc8201e51494a7003d7ca4f9fd92ffa3b9
* avoid warnings because of sal_Int* typesLuboš Luňák2012-05-221-1/+1
| | | | Change-Id: I906931d62683b7feeff1a2e4b2f8b185c6af480e
* add dependency on generated filesMatúš Kukan2012-05-211-1/+4
| | | | Change-Id: Idad4558cfa741f1f2e17b270989a8a96ac80dd06
* Some cppcheck cleaningJulien Nabet2012-05-201-1/+0
| | | | Change-Id: Ic30cdeffabec1eb1a6c153ac450a3d28064ef534
* work around spurious signed overflow warningsMichael Stahl2012-05-181-8/+8
| | | | | | | 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]
* handle recursive <w:p> because of shapes (bnc#751077)Luboš Luňák2012-05-185-2/+77
| | | | | | | | | <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
* Merge the libraries in writerfilterTor Lillqvist2012-05-1810-399/+129
| | | | Change-Id: If77543855fe34f70d248fe8a4644d293f693f190
* sigh, more missing dependenciesMatúš Kukan2012-05-171-6/+7
| | | | Change-Id: I0d1802ebcf384095a6962fb1faf9516bd9a2dda6
* removed unused constant rtl::OUStringTakeshi Abe2012-05-161-2/+0
| | | | Change-Id: I173275e0f8faa852500d108f65636080f79636c6
* do not reuse shape context (part of bnc#705956)Luboš Luňák2012-05-154-17/+0
| | | | | | | | | 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
* fdo#49940 dmapper: handle m_bTitlePage when m_nBreakType is zeroMiklos Vajna2012-05-151-9/+16
| | | | | | | 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
* hide progress bar even if loading failedDavid Tardon2012-05-141-5/+9
| | | | Change-Id: Ia330e70e393309dbbad025fc2ede8f4ab41a674c
* do not crash when opening rtf file with unclosed field groupDavid Tardon2012-05-141-0/+3
| | | | | | | | | | 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
* Add helpful instructions nearby encrypted CVE files.Michael Meeks2012-05-141-0/+7
|
* fdo#45190 import of RTF_LI should reset inherited RTF_FIMiklos Vajna2012-05-111-1/+7
| | | | Change-Id: I17c287fa4daa399876b34182c02d9cf928fe1b6f
* Revert "another partial fix for bnc#693238" ( and fixes fdo#44292 )Noel Power2012-05-111-112/+112
| | | | | | | | | | This reverts commit cd1c434c4bd4756fa1355e906cb2e8de4aae0618. Conflicts: writerfilter/source/dmapper/PropertyMap.cxx Change-Id: I I83ae3418438aa02db744e6b6eb5a9c199938c91f
* fdo#49692 RTFValue::Clone(): copy m_bForceString as wellMiklos Vajna2012-05-102-4/+4
| | | | Change-Id: Ib8f06ff33fd9c01ea4a1e47c97cfa12f2ced7318
* normalize variable names in gbuild user makefilesMichael Stahl2012-05-101-69/+68
| | | | Variables should have module name as prefix to prevent collisions.
* RTFDocumentImpl::runProps: avoid copy&pasteMiklos Vajna2012-05-102-28/+20
| | | | Change-Id: I3b1f03c0a3236461e753ef236881313ea7daa0d0
* fdo#49271 rtftok: make sure we send char props if there are no runsMiklos Vajna2012-05-091-0/+16
| | | | Change-Id: Id900b06fc1aad1d0f50ff92e3c12616dfbc1a81e
* fdo#49683 implement RTF_KEYWORDSMiklos Vajna2012-05-093-0/+9
| | | | | | | Use comphelper::string::convertCommaSeparated(), as done in RtfExport::WriteInfo(). Change-Id: Iad4c3c57cf2e16c7256b9853cb1a6a0843463387
* fdo#49501 RTF_MARGL/R/T/B should also set the current marginMiklos Vajna2012-05-091-14/+10
| | | | Change-Id: I I69b92d0cd07c9f08f14affb447b55b26b2556186
* implement RTF_LANDSCAPEMiklos Vajna2012-05-091-0/+3
| | | | Change-Id: Icc7f0b06f8fe31f31df728920ecb96dc40849b4e
* gbuild: remove gb_Helper_abbreviate_dirs_nativeMatúš Kukan2012-05-091-19/+19
| | | | Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
* fdo#38786 implement RTF_CHPGNMiklos Vajna2012-05-071-0/+9
| | | | Change-Id: I0ae693193b4fc8ed155e2d71b06daa80d46da47c
* introduce msfilter::util::BGRToRGB to avoid copy&pasteMiklos Vajna2012-05-071-14/+3
| | | | Change-Id: Ic3fa8865bf3862407867b5e4a438e3d9bc723e86
* implement RTF_DPFILLBGCR/G/BMiklos Vajna2012-05-072-4/+22
| | | | Change-Id: I Ie4df6921201b2be4e7d9aa3febd1dcdc1e3eef40