summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/rtfdocumentimpl.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-05-07implement RTF_DPLINECOR/G/BMiklos Vajna1-0/+24
Change-Id: I179472754f63559668ff918fd2a01331cd3c35bb
2012-05-07rtftok: implement RTF_DPRECTMiklos Vajna1-8/+29
Change-Id: Iffc00526bd780e19daccea226735b4c4e28bf9c6
2012-05-05Resolves: fdo#47347 overwrite incorrect font table entry with the correct oneCaolán McNamara1-1/+9
Change-Id: I563cf50b6eb029276115b9b02951d36b1ec0d39c
2012-05-05Related: fdo#47347 m_aFontEncodings is a map so returns 0 on unknown fontindexCaolán McNamara1-2/+3
Change-Id: I3addf0d27058ed9ef01d4893ad932c13623c283c
2012-05-02fdo#47764 fix RTF import of automatic paragraph background colorMiklos Vajna1-0/+1
Change-Id: I4b3a4bd6ce45cffc5b2c23052c49ff98579c5564
2012-04-26fdo#48037 fix RTF import of localized fieldsMiklos Vajna1-0/+3
2012-04-25rework GetDefaultTextEncoding etc -> getBestTextEncodingFromLocaleCaolán McNamara1-1/+1
2012-04-25avoid code duplication by introducing RTFDocumentImpl::singleCharMiklos Vajna1-64/+22
2012-04-25fdo#48193 fix RTF import of fields without a resultMiklos Vajna1-1/+25
2012-04-25msfilter::util: avoid code duplication by merging from sw and writerfilterMiklos Vajna1-14/+2
2012-04-24WaE: make MSVC happy wrt. RTFDocumentImpl::dispatchDestination()Miklos Vajna1-1/+1
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 Vajna1-3/+1
2012-04-15fdo#39053 writerfilter: implement RTF_BINMiklos Vajna1-20/+46
2012-04-15rtftok: add back explicit OUString ctors where still neededMiklos Vajna1-2/+2
2012-04-15implement RTF import of zoom levelMiklos Vajna1-2/+5
2012-04-15rtftok: RTL_CONSTASCII_USTRINGPARAM removalsMiklos Vajna1-22/+15
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-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-2/+1
2012-04-06rtftok: drop m_bIsSubstream, we already have a m_pSuperstreamMiklos Vajna1-13/+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-03fdo#45182 fix RTF import of character encoding in footnotesMiklos Vajna1-2/+15
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 Vajna1-2/+31
2012-04-03fdo#47107 rtftok: initial PN (legacy numbering syntax) supportMiklos Vajna1-0/+93
2012-04-03Fix RTF levelfollow import and exportBrennan Vincent1-1/+3
2012-04-02fdo#48104 fix RTF import of \page in inner groupsMiklos Vajna1-13/+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 Vajna1-7/+27
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-27RTFFrame::getSprms: Id is a number, not an instanceMiklos Vajna1-3/+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 Vajna1-5/+7
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 Vajna1-53/+106
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-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-14implement RTF import of linked stylesMiklos Vajna1-0/+6
2012-03-12implement RTF support of contextual spacingMiklos Vajna1-0/+6
Import, export and testcase.
2012-03-08rtftok: get rid of unnecessary lcl_getNumPr()Miklos Vajna1-23/+3
The more generic lcl_putNestedSprm() can be used instead.
2012-03-06get rid of these numbering bools in RTFDocumentImpl::popState()Miklos Vajna1-42/+16
2012-03-01fix RTF import of drawing objects when there is no shape to sendMiklos Vajna1-1/+1
2012-02-29Related: fdo#46662 fix RTF import of leveltext destinationMiklos Vajna1-0/+5
After leveltext is imported, the levelnumbers group modifies the contents of the previous group, but this modification was lost when the stack was popped.
2012-02-29fdo#46662 fix RTF import of numbering levelnumbersMiklos Vajna1-1/+1
To handle stateful encodings, we process hex characters in one go for a run. Levelnumbers of numberings should be an exception, since there the special characters (here: 0x7, which is table cell end) have no special meaning.
2012-02-28RTFFrame::getSprms: use SAL_N_ELEMENTS()Miklos Vajna1-1/+1
2012-02-22fdo#42465 fix RTF import of unicode characters with backwards compatibilityMiklos Vajna1-1/+6
2012-02-22RTF: clean up border property handlingMiklos Vajna1-15/+7