summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)AuthorFilesLines
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
2012-03-26ditch some UniStrings and intermediate temporariesCaolán McNamara1-4/+3
2012-03-24fdo#46955 fix RTF import of all capitals char propMiklos Vajna1-0/+1
2012-03-24fdo#47036 fix RTF import of multi-paragraph exact height textboxesMiklos Vajna2-5/+8
2012-03-24fdo#47036 fix RTF import of shapes inside text frames at the start of the docMiklos Vajna1-0/+11
2012-03-24rtftok: various refactoringMiklos Vajna2-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
2012-03-23fdo#47326 fix RTF import of mixed super/nonsuper textMiklos Vajna1-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.
2012-03-22n#751054 fix VML import of absolutely positioned picturesMiklos Vajna1-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
2012-03-21writerfilter: PropertyMap: speed this up a bitMichael Stahl1-0/+23
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 Vajna1-4/+2
2012-03-19fdo#43965 fix RTF import of \up and \dn with custom parametersMiklos Vajna1-10/+3
2012-03-19fdo#43965 dmapper: fix line width defaultMiklos Vajna1-1/+1
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 Nabet1-2/+2
2012-03-17use SAL_DLLPUBLIC_TEMPLATE for an exported templateLuboš Luňák1-1/+1
2012-03-14implement RTF import of linked stylesMiklos Vajna1-0/+6
2012-03-14n#751020 implement DOCX import of linked stylesMiklos Vajna4-0/+30
This is just initial support: the default template and paragraph properties are included.
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann6-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.
2012-03-13Adding virtual destructor to WW8ResourceModel.hxx classesArnaud Versini1-0/+13
2012-03-13writerfilter: catch UnknownPropertyExcetion earlyMiklos Vajna1-7/+14
2012-03-13writerfilter: log exception message in ModelEventListenerMiklos Vajna1-2/+2
2012-03-13Related: fdo#45563 RTF import of \r should be the same as \parMiklos Vajna1-0/+1
2012-03-13Bug 45563 - incorrect IMPORT of Zotero RTF, regressionChristina Rossmanith1-0/+1
2012-03-12implement RTF support of contextual spacingMiklos Vajna1-0/+6
Import, export and testcase.
2012-03-12dmapper: implement contextual spacingMiklos Vajna3-1/+3
2012-03-12Fix crash with document from bnc#693238Tor Lillqvist1-4/+9
2012-03-11Add a virtual destrcutor to value to prevent memory leak in RTFValueArnaud Versini1-0/+2
2012-03-10gbuild: remove some more realpathsMatúš Kukan4-5/+5
Where necessary, replace with wildcard, what does not change path.
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan6-10/+10
2012-03-09writerfilter: ifdef + fprintf -> SAL_INFOMiklos Vajna1-8/+4
2012-03-08fold i18npaper into i18nutilCaolán McNamara4-4/+4
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 Vajna1-23/+3
The more generic lcl_putNestedSprm() can be used instead.
2012-03-06use a consistent naming schemeCaolán McNamara1-0/+0
2012-03-06get rid of these numbering bools in RTFDocumentImpl::popState()Miklos Vajna1-42/+16
2012-03-05n#693238, n#747471: create TableManager for inside shapesCédric Bosdonnat1-0/+6
When a texbox is contained inside a table cell... we were running into some troubles when creating the table: the reference to the paragraphs inside the textbox were passed to the TableManager. This was leading to missing references when converting to a table because the paragraph references within the textbox were dropped.
2012-03-05n#747471, n#693238: Textboxes import is a mess with OLE objects insideCédric Bosdonnat2-66/+52
2012-03-03Avoid temporary rtl::OUStringJulien Nabet1-1/+1
2012-03-01WaE: non-virtual destructorTor Lillqvist3-0/+8