summaryrefslogtreecommitdiffstats
path: root/writerfilter
Commit message (Collapse)AuthorAgeFilesLines
* Fix "Same expression..." reported by cppcheckJulien Nabet2012-04-081-1/+1
|
* Replaced a few equal calls with ==Szabolcs Dezsi2012-04-084-4/+4
|
* rename gb_CppunitTest_uses_ureDavid Tardon2012-04-081-1/+1
|
* compile- and run-time use of UNO must be splitDavid Tardon2012-04-081-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
* simplify use of configuration from unit testsDavid Tardon2012-04-081-3/+1
|
* always use --protector for UNO testsDavid Tardon2012-04-081-1/+0
|
* drop uses_ureDavid Tardon2012-04-081-2/+0
|
* let use_api handle the use of type rdbs at runtimeDavid Tardon2012-04-081-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?
* gbuild: "use" vs. "add":Michael Stahl2012-04-089-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)
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-066-20/+14
|
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-064-15/+15
| | | | | | Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-064-9/+9
| | | | | | Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
* rtftok: drop m_bIsSubstream, we already have a m_pSuperstreamMiklos Vajna2012-04-062-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.
* n#751017 dmapper: fix handling of GetExpression and SetExpression fieldsMiklos Vajna2012-04-053-1/+26
|
* writerfilter: use CustomTarget makefileMatúš Kukan2012-04-045-129/+81
|
* removed duplicate #includesTakeshi Abe2012-04-048-20/+0
| | | | in vbahelper / writerfilter / writerperfect / xmlhelp / xmloff / xmlscript / xmlsecurity
* fdo#45182 fix RTF import of character encoding in footnotesMiklos Vajna2012-04-032-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
* fdo#47107 rtftok: support bullet points in paragraph numberingsMiklos Vajna2012-04-032-2/+32
|
* fdo#47107 rtftok: initial PN (legacy numbering syntax) supportMiklos Vajna2012-04-032-1/+96
|
* Fix RTF levelfollow import and exportBrennan Vincent2012-04-035-4/+10
|
* fdo#48104 fix RTF import of \page in inner groupsMiklos Vajna2012-04-022-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.
* fdo#45394 fix RTF import of custom fonts in substreamsMiklos Vajna2012-03-292-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.
* fdo#45394 fix RTF import of tables with empty first rowMiklos Vajna2012-03-291-0/+1
| | | | | Additionally the table should be at the start of the document to trigger this bug.
* rtftok: OSL_FAIL() -> SAL_WARN()Miklos Vajna2012-03-291-2/+2
|
* n#751117 writerfilter: include all oox tokens in gperffasttoken.hxxMiklos Vajna2012-03-282-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.
* RTFFrame::getSprms: Id is a number, not an instanceMiklos Vajna2012-03-271-3/+3
|
* ditch some UniStrings and intermediate temporariesCaolán McNamara2012-03-261-4/+3
|
* fdo#46955 fix RTF import of all capitals char propMiklos Vajna2012-03-241-0/+1
|
* fdo#47036 fix RTF import of multi-paragraph exact height textboxesMiklos Vajna2012-03-242-5/+8
|
* fdo#47036 fix RTF import of shapes inside text frames at the start of the docMiklos Vajna2012-03-241-0/+11
|
* rtftok: various refactoringMiklos Vajna2012-03-242-61/+130
| | | | | | | To allow frame keywords at the start of the document, we need to: - a single setter method for all frame properties - make the parser state know about its document - make the frame know about its parser state
* fdo#47326 fix RTF import of mixed super/nonsuper textMiklos Vajna2012-03-231-0/+8
| | | | | | In most cases \super has its own group, but it's valid to have mixed super and non-super text in a single group, as long as \super and \nosupersub keywords are used: handle this.
* n#751054 fix VML import of absolutely positioned picturesMiklos Vajna2012-03-221-0/+7
| | | | | | | | | | | | | There were multiple issues here: - convertEmuToHmm() not handling negative values - position:absolute style property being ignored - mso-position-vertical-relative is not converted to text::RelOrientation - SwAnchoredDrawObject::_SetPositioningAttr() re-positioning already positioned objects - DomainMapper_Impl::PushShapeContext() inserting positioned objects as character
* writerfilter: PropertyMap: speed this up a bitMichael Stahl2012-03-211-0/+23
| | | | | Using XMultiPropertySet reduces the number of SwTxtNodes created for the bugdoc from rhbz#789022 from ~5k to ~3k.
* cleanup: use lcl_getParagraphBorder() while parsing RTF_BOXMiklos Vajna2012-03-201-4/+2
|
* fdo#43965 fix RTF import of \up and \dn with custom parametersMiklos Vajna2012-03-191-10/+3
|
* fdo#43965 dmapper: fix line width defaultMiklos Vajna2012-03-191-1/+1
| | | | Writer's default is 0, but Word's default is 26 (15 in 1/8 pt)
* Prefer prefix ++/-- operators for non-primitive typesJulien Nabet2012-03-181-2/+2
|
* use SAL_DLLPUBLIC_TEMPLATE for an exported templateLuboš Luňák2012-03-171-1/+1
|
* implement RTF import of linked stylesMiklos Vajna2012-03-141-0/+6
|
* n#751020 implement DOCX import of linked stylesMiklos Vajna2012-03-144-0/+30
| | | | | This is just initial support: the default template and paragraph properties are included.
* Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann2012-03-146-14/+28
| | | | | | | | | | | | | | ...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
* Adding virtual destructor to WW8ResourceModel.hxx classesArnaud Versini2012-03-131-0/+13
|
* writerfilter: catch UnknownPropertyExcetion earlyMiklos Vajna2012-03-131-7/+14
|
* writerfilter: log exception message in ModelEventListenerMiklos Vajna2012-03-131-2/+2
|
* Related: fdo#45563 RTF import of \r should be the same as \parMiklos Vajna2012-03-131-0/+1
|
* Bug 45563 - incorrect IMPORT of Zotero RTF, regressionChristina Rossmanith2012-03-131-0/+1
|
* implement RTF support of contextual spacingMiklos Vajna2012-03-121-0/+6
| | | | Import, export and testcase.
* dmapper: implement contextual spacingMiklos Vajna2012-03-123-1/+3
|
* Fix crash with document from bnc#693238Tor Lillqvist2012-03-121-4/+9
|