summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)Author
2012-04-08gbuild: "use" vs. "add":Michael Stahl
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 Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
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 Dezsi
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 Vajna
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 Vajna
2012-04-04writerfilter: use CustomTarget makefileMatúš Kukan
2012-04-04removed duplicate #includesTakeshi Abe
in vbahelper / writerfilter / writerperfect / xmlhelp / xmloff / xmlscript / xmlsecurity
2012-04-03fdo#45182 fix RTF import of character encoding in footnotesMiklos Vajna
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 Vajna
2012-04-03fdo#47107 rtftok: initial PN (legacy numbering syntax) supportMiklos Vajna
2012-04-03Fix RTF levelfollow import and exportBrennan Vincent
2012-04-02fdo#48104 fix RTF import of \page in inner groupsMiklos Vajna
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 Vajna
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 Vajna
Additionally the table should be at the start of the document to trigger this bug.
2012-03-29rtftok: OSL_FAIL() -> SAL_WARN()Miklos Vajna
2012-03-28n#751117 writerfilter: include all oox tokens in gperffasttoken.hxxMiklos Vajna
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 Vajna
2012-03-26ditch some UniStrings and intermediate temporariesCaolán McNamara
2012-03-24fdo#46955 fix RTF import of all capitals char propMiklos Vajna
2012-03-24fdo#47036 fix RTF import of multi-paragraph exact height textboxesMiklos Vajna
2012-03-24fdo#47036 fix RTF import of shapes inside text frames at the start of the docMiklos Vajna
2012-03-24rtftok: various refactoringMiklos Vajna
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
2012-03-23fdo#47326 fix RTF import of mixed super/nonsuper textMiklos Vajna
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.
2012-03-22n#751054 fix VML import of absolutely positioned picturesMiklos Vajna
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
2012-03-21writerfilter: PropertyMap: speed this up a bitMichael Stahl
Using XMultiPropertySet reduces the number of SwTxtNodes created for the bugdoc from rhbz#789022 from ~5k to ~3k.
2012-03-20cleanup: use lcl_getParagraphBorder() while parsing RTF_BOXMiklos Vajna
2012-03-19fdo#43965 fix RTF import of \up and \dn with custom parametersMiklos Vajna
2012-03-19fdo#43965 dmapper: fix line width defaultMiklos Vajna
Writer's default is 0, but Word's default is 26 (15 in 1/8 pt)
2012-03-18Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
2012-03-17use SAL_DLLPUBLIC_TEMPLATE for an exported templateLuboš Luňák
2012-03-14implement RTF import of linked stylesMiklos Vajna
2012-03-14n#751020 implement DOCX import of linked stylesMiklos Vajna
This is just initial support: the default template and paragraph properties are included.
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann
...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.
2012-03-13Adding virtual destructor to WW8ResourceModel.hxx classesArnaud Versini
2012-03-13writerfilter: catch UnknownPropertyExcetion earlyMiklos Vajna
2012-03-13writerfilter: log exception message in ModelEventListenerMiklos Vajna
2012-03-13Related: fdo#45563 RTF import of \r should be the same as \parMiklos Vajna
2012-03-13Bug 45563 - incorrect IMPORT of Zotero RTF, regressionChristina Rossmanith
2012-03-12implement RTF support of contextual spacingMiklos Vajna
Import, export and testcase.
2012-03-12dmapper: implement contextual spacingMiklos Vajna
2012-03-12Fix crash with document from bnc#693238Tor Lillqvist
2012-03-11Add a virtual destrcutor to value to prevent memory leak in RTFValueArnaud Versini
2012-03-10gbuild: remove some more realpathsMatúš Kukan
Where necessary, replace with wildcard, what does not change path.
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan
2012-03-09writerfilter: ifdef + fprintf -> SAL_INFOMiklos Vajna
2012-03-08fold i18npaper into i18nutilCaolán McNamara
It's too small to justify standalone existence. We can accumulate i18n things we link to directly into i18nutil and rework i18npool uno implementions in terms of thin wrappers over i18nutil and prefer linking to i18nutil internally and leave the uno forwarders for use by external components and scripting
2012-03-08rtftok: get rid of unnecessary lcl_getNumPr()Miklos Vajna
The more generic lcl_putNestedSprm() can be used instead.
2012-03-06use a consistent naming schemeCaolán McNamara
2012-03-06get rid of these numbering bools in RTFDocumentImpl::popState()Miklos Vajna