summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)AuthorFilesLines
2012-04-21fdo#44736 speed up RTF import a bit by sorting keywordsMiklos Vajna4-14/+38
If we sort the keywords once in the constructor, then we can do binary search when looking up RTF keywords, and that speeds up the import by about 20% using the first testcase from the bug.
2012-04-21rtftok: make it possible to see the time spent in the filterMiklos Vajna1-1/+3
2012-04-21fdo#48876 fix RTF import of \sl without \slmultMiklos Vajna1-2/+8
2012-04-21rtftok: dump collected strings after encodingMiklos Vajna1-1/+1
2012-04-21fdo#48023 fix RTF import of Russian characters without an encoding specifiedMiklos Vajna1-1/+14
lcl_GetDefaultTextEncodingForRTF() in editeng did the same.
2012-04-20RTFDocumentImpl::resolvePict: use new-style uno ctorMiklos Vajna1-3/+2
2012-04-20fdo#48356 fix RTF import of special unicode charactersMiklos Vajna1-1/+1
The \'0d string should not be an exception when ignoring characters after the \u control word.
2012-04-19RTFDocumentImpl: get rid of practically unused m_bWasInFrameMiklos Vajna2-5/+1
2012-04-17WaE: MacOSX itemZOrder may be unused uninitializedCaolán McNamara1-2/+2
2012-04-17implement relativeHeight (z-order) in .docx import (part of bnc#747461)Luboš Luňák7-1/+76
2012-04-16remove unused variableLuboš Luňák1-1/+0
2012-04-15fdo#39053 writerfilter: implement RTF_BINMiklos Vajna3-21/+53
2012-04-15rtftok: add back explicit OUString ctors where still neededMiklos Vajna1-2/+2
2012-04-15implement RTF import of zoom levelMiklos Vajna2-3/+8
2012-04-15rtftok: RTL_CONSTASCII_USTRINGPARAM removalsMiklos Vajna2-38/+31
2012-04-14dmapper: parse NS_ooxml::LN_CT_Zoom_percent tokenMiklos Vajna3-6/+33
The VisibleBottom and ZoomType properties are just set as it seems without that, SwView::ReadUserDataSequence() ignores the ZoomFactor as well.
2012-04-14dmapper: log unhandled attributes in the settings tableMiklos Vajna2-6/+7
2012-04-14dmapper: use PropNameSupplier in SectionPropertyMap::CloseSectionGroup()Miklos Vajna3-1/+3
2012-04-14dmapper: fix import of odd/even page breaksMiklos Vajna1-2/+9
2012-04-14Resolves: fdo#48640 handle various busted rtf docs without hangingCaolán McNamara2-1/+11
2012-04-12implement wp:docPr title and fix descrLuboš Luňák2-1/+17
2012-04-11fdo#44176 dmapper: fix import of titlepg top/bottom marginMiklos Vajna1-3/+12
2012-04-10fdo#47802 fix crash on RTF import of shapes inside tablesMiklos Vajna1-1/+5
We already ignore textframes inside tables, the same should be done with textboxes till they can be handled properly.
2012-04-09enforce only one possible use of gb_CustomTargetMatúš Kukan1-1/+1
This brings two changes: - no more recursive calling of make - gbuild_simple is now not used => removed
2012-04-08Fix "Same expression..." reported by cppcheckJulien Nabet1-1/+1
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi4-4/+4
2012-04-08rename gb_CppunitTest_uses_ureDavid Tardon1-1/+1
2012-04-08compile- and run-time use of UNO must be splitDavid Tardon1-0/+2
There are unit tests that do not use URE, e.g., in cppuhelper. This reverts commit 33e9f3d3d6b29545ef9df3f5334c015e15caa5c8. Conflicts: sot/CppunitTest_sot_test_sot.mk svl/CppunitTest_svl_urihelper.mk
2012-04-08simplify use of configuration from unit testsDavid Tardon1-3/+1
2012-04-08always use --protector for UNO testsDavid Tardon1-1/+0
2012-04-08drop uses_ureDavid Tardon1-2/+0
2012-04-08let use_api handle the use of type rdbs at runtimeDavid Tardon1-4/+0
Or is there any use case where we would need to use UNO API headers, but not require the appropriate type database at runtime?
2012-04-08gbuild: "use" vs. "add":Michael Stahl9-20/+20
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi6-20/+14
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi4-15/+15
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi4-9/+9
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06rtftok: drop m_bIsSubstream, we already have a m_pSuperstreamMiklos Vajna2-15/+6
Originally there was m_bIsSubstream (true for footnotes, headers, etc.), then we needed a pointer to the original stream, now the boolean value is redundant, so remove it.
2012-04-05n#751017 dmapper: fix handling of GetExpression and SetExpression fieldsMiklos Vajna3-1/+26
2012-04-04writerfilter: use CustomTarget makefileMatúš Kukan5-129/+81
2012-04-04removed duplicate #includesTakeshi Abe8-20/+0
in vbahelper / writerfilter / writerperfect / xmlhelp / xmloff / xmlscript / xmlsecurity
2012-04-03fdo#45182 fix RTF import of character encoding in footnotesMiklos Vajna2-2/+17
There were two problems here: 1) \plain reset the character properties, but did not touch the current encoding 2) the default properties were not passed to substreams
2012-04-03fdo#47107 rtftok: support bullet points in paragraph numberingsMiklos Vajna2-2/+32
2012-04-03fdo#47107 rtftok: initial PN (legacy numbering syntax) supportMiklos Vajna2-1/+96
2012-04-03Fix RTF levelfollow import and exportBrennan Vincent5-4/+10
2012-04-02fdo#48104 fix RTF import of \page in inner groupsMiklos Vajna2-15/+5
If we have a postponed page break and it's sent to dmapper during a new inner group, we'll still have the page break request after the parser state is popped, leading to duplicated page breaks. Instead of the earlier workaround, just send the proper token to the domain mapper, and it'll handle it properly.
2012-03-29fdo#45394 fix RTF import of custom fonts in substreamsMiklos Vajna2-8/+34
Substreams (headers, footers, etc.) are parsed separately, so their font table is empty by default. Fix handling of custom fonts (and thus encodings) there by passing a pointer to the superstream.
2012-03-29fdo#45394 fix RTF import of tables with empty first rowMiklos Vajna1-0/+1
Additionally the table should be at the start of the document to trigger this bug.
2012-03-29rtftok: OSL_FAIL() -> SAL_WARN()Miklos Vajna1-2/+2
2012-03-28n#751117 writerfilter: include all oox tokens in gperffasttoken.hxxMiklos Vajna2-9/+8
Without that, the following happens: 1) ShapeTypeContext::onCreateContext() in oox calls rAttribs.getToken() 2) FastAttributeList::getOptionalValueToken() in sax calls mxTokenHandler->getTokenFromUTF8() 3) OOXMLFastTokenHandler::getTokenFromUTF8() won't find the oox token and return OOXML_FAST_TOKENS_END I verified that the new gperf input just adds tokens to the hash, doesn't remove any.
2012-03-27RTFFrame::getSprms: Id is a number, not an instanceMiklos Vajna1-3/+3