summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)Author
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
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-04.docx wrap values mean different things than in LO, map them (bnc#750838)Luboš Luňák
Change-Id: Ic355ae9993702c37c958ea16d8d97e6ef4892dcd
2012-05-02fdo#47764 fix RTF import of automatic paragraph background colorMiklos Vajna
Change-Id: I4b3a4bd6ce45cffc5b2c23052c49ff98579c5564
2012-05-02finish handling of w:pStyle in numbering (bnc#751028)Luboš Luňák
Now each such numbering should be properly assigned to the given paragraph style. Change-Id: I97a796dfb3f4a46f0fee0663852b3a40c3eaa922
2012-05-02set as outline numbering only those ones that are for headings (bnc#751028)Luboš Luňák
w:pStyle in a numbering does not necessarily mean it is for outlines, normal styles can specify numbering too Change-Id: I0953d94833760ddf4edbe759a19192c477a57bf3
2012-05-02bin unused macroLuboš Luňák
Change-Id: I796aba0ee431309e44671a6d851c84cd35dae3b6
2012-04-30make ResId::toString a non-static memberCaolán McNamara
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-28don't overwrite numbering properties with paragraph properties (bnc#751028)Luboš Luňák
Part of bnc#751028, that is. The origin of this function is unclear, without good repo history, and it's a question if it is still needed after my previous fixes for bnc#751028 that fixed applying some of numbering properties. Keeping it there just in case, but prevent it from overwriting w:ind that's been read from the .docx file.
2012-04-27WaE: msvc2008 unused variablesCaolán McNamara
Change-Id: If956faf42dcc5625c490e685d6ca69bb07e00188
2012-04-26fdo#48037 fix RTF import of localized fieldsMiklos Vajna
2012-04-25fall flat on the face when doing UNO call with incorrect argumentsLuboš Luňák
I think this is reasonable with debug builds, the import filter should check the values are in sensible ranges.
2012-04-25don't use properties that aren't valid for paragraphs (part of bnc#751028)Luboš Luňák
2012-04-25handle w:suff correctlyLuboš Luňák
that includes having a good default value, otherwise the whole creation of the rule in ListDef::CreateNumberingRules bails out with IllegalArgumentException