summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)Author
2013-03-27use of aState instead of m_aStates.top in popStateMaxime de Roucy
Change-Id: I6814e48a92a1b24823c6884a151aa6a139410ff2 Reviewed-on: https://gerrit.libreoffice.org/3085 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27reformat of rtfdocumentimpl.cxxMaxime de Roucy
Conflicts: writerfilter/source/rtftok/rtfdocumentimpl.cxx Change-Id: If79fc70f5fb8f8e48358048c03a8d39be6b197fb
2013-03-27minor update in rtfdocumentimpl.cxxMaxime de Roucy
Change-Id: Ie32166edbc3efb603ccb5e98d8c2cac66ecc2f47 Reviewed-on: https://gerrit.libreoffice.org/3083 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27solve fdo#62805Maxime de Roucy
move m_pCurrentBuffer to RTFParserState Change-Id: Ied16ee1704d35c6bd0368b26a210131b60bc91a3 Reviewed-on: https://gerrit.libreoffice.org/3082 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27fdo#30983 RTF filter: fix handling of RTF_PVPG and RTF_PHPGMiklos Vajna
There were two issues here: 1) The export filter never exported these keywords. 2) The "flymaincnt" RTF extension we inherited from OOo actually never worked (i.e. it's like this since 7b0b5cdf, the initial import...), as RTFVertOrient / RTFHoriOrient's second parameter was stored in 1 bit, so text::RelOrientation::PAGE_FRAME (7) was read back as 1 instead. Note that I want to get rid of this flymaincnt extension in the exporter anyway soon, so killing the RTFVertOrient / RTFHoriOrient duplication is pointless: the sw version will go away. Change-Id: I5335567833ecf87e6b0ba7c73150a7b95c57f237
2013-03-27ooxml tokenizer: CT_TblLayout -> CT_TblLayoutTypeMiklos Vajna
That's how it's called in the spec's W3C XML Schema. Change-Id: I6fc6452af493e61c302948a617d427c118ada0b2
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25remove external include guardsThomas Arnhold
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-26fdo#59273 import w:tblLayout of DOCX tablesMiklos Vajna
Change-Id: I9af50a4c176168e2794eaa9b0e8eaeb6b9d06b13
2013-03-25cleanup gbuild outputPeter Foley
Change-Id: I53e1ccda41688975ea180f44bfd507ce4ca39bf2
2013-03-25fdo#60922 ignore DOCX import of w:position w:val="0"Miklos Vajna
Change-Id: I10e9c0f1078e36710335a9a48f7f02292c764795
2013-03-25#i119592# Fixed column widths.Andre Fischer
Reported by: xiao ting xiao Patch by: wujinlong@... Reviewed by: Andre Fischer
2013-03-22fdo#62288 fix RTF import of table paragraph marginsMiklos Vajna
Regression from 4a507f732d82c188ad81b022cbe3037951e58ac3. The problem was that in some cases \pard can't reset all paragraph properties. The original commit just made this keyword a noop when it occurred between \cell and \row, but this is too much. At least margins do need resetting. Change-Id: I5cbb1df72bf1211f85ef69ab64d5b46cbce5c742
2013-03-19further OUString cleanupThomas Arnhold
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19trailing whitespacesThomas Arnhold
Change-Id: I3d0e2015e4c9f0ea6118fd92892022607fe4bde6
2013-03-18fix other problems found by WundefLuboš Luňák
Change-Id: Ib4aba95436f82d2a20b07a092f0fd07e0620fdcf
2013-03-18Wundef, fix various more or less broken debug codeLuboš Luňák
Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
2013-03-18fdo#61909 fix import of RTF_HIGHLIGHTMiklos Vajna
It's an index in the color table, not a color value. Change-Id: Ifa7b14e88231e5053c84dfbdd9b453715df1aaa6
2013-03-18fdo#61909 fix RTF import of default font without RTF_PLAINMiklos Vajna
Change-Id: Ia86548bddb7b87ec9653192c2e5989ce0dc50057
2013-03-18coverity#988428 Missing break in switchJulien Nabet
Change-Id: I7f127409c65f692c2eec3684c79b40b11e7ce240 Reviewed-on: https://gerrit.libreoffice.org/2775 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-12update pch headersLuboš Luňák
Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
2013-03-12Resolves: #i119658#, some Chinese numbering formats not supportedJian Fang Zhang
Found by: xiao ting xiao, tingxiaox@gmail.com Patch by: bjcheny, companycy@gmail.com Review by: zhangjf (cherry picked from commit 50eca22976c42014f5e2c53f4bf19e2e1d21ee62) Change-Id: If3f27764352b59fdb45bf84c4a0e604c9c844077 Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2013-03-08make use of startsWith()Thomas Arnhold
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-08function for duplicated codeLuboš Luňák
Change-Id: If9d6a163abb5a1cbd64838ca005b14dcd51c4588
2013-03-07DomainMapper_Impl::PushShapeContext: indentMiklos Vajna
Change-Id: Ib0e9dc50a124fcdc3c977a8d8e5c076872fc2e15
2013-03-07fdo#61343 fix DOCX import of OLE object after groupshapeMiklos Vajna
Change-Id: I88d5e49cc3fb915d25c1b2576cdda1fffc9e2f23
2013-03-07surely this is the true intent of this lunatic loopCaolán McNamara
Change-Id: I6d7963b2b416fe19cc1274780c2aea0c24c25bbb
2013-03-06fdo#60722 import RTF_SHPZMiklos Vajna
Change-Id: I6c572d44d93f812d50376ec05ae94bdabadb3f1e
2013-03-06fdo#60722 RTF import: fix line width defaultMiklos Vajna
Change-Id: I6e6ca4bcd66fca60d305bb21d71018c88d854289
2013-03-06fdo#60722 RTF import: fix line color defaultMiklos Vajna
Change-Id: Ic100837dd69498e97d940e5dfb4053c02fc7daa0
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-06docx import, fixed croppingSJacobi
Change-Id: I910c2f769e88c5d9d17fc5bf072909b4b7f28ef0 Reviewed-on: https://gerrit.libreoffice.org/2557 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-03-04DOCX import: fix import of font size in table stylesMiklos Vajna
Change-Id: I2c7ea83fb910b57d78fda620bc42b90e55de3719
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-01fdo#59638 handle RTF_F inside RTF_LISTLEVELMiklos Vajna
Word typically uses the Symbol font to describe bullet characters instead of using a sane Unicode value, the previous can only be handled if we parse the custom font set for the list. Change-Id: I1491f07c40953949e381a035c1596c207cdc4c35
2013-03-01fdo#59638 import RTF_LFOLEVELMiklos Vajna
Change-Id: Icd0ba0bcbf519a15006af2e0eb176c37766345a3
2013-03-01rtftok: clean this up, SAL_INFO already provides location infoMiklos Vajna
Change-Id: Ib81753bbe26050e2f108c30a1e596a7c34d72fa3
2013-02-28regenerate pchPeter Foley
Change-Id: I130bfbeaf8723f0f9ee38051c8acf32cb7f5ba85
2013-02-28remove all d.lstMichael Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28Related: fdo#59638 DOCX import of w:lvlOverrideMiklos Vajna
Change-Id: I23fca674e2436b09eeea3337b4d3eeb7a33ccf09
2013-02-28fdo#61000: writerfilter: filter out unsupported list tab stopsMichael Stahl
Change-Id: Ic9d31eba84b1d8d9cf93d8289621a65d43521a8b
2013-02-28fdo#61309: writerfilter: filter out enormous numbering levelsMichael Stahl
Change-Id: Iafef1c2ca2ca072bd604946fbe19b6a24e323512
2013-02-27fdo#53985 DOCX import: don't try to set empty PageDescNameMiklos Vajna
Regression from 50cb1667020494906afaacb68d4163d1eda527cf. Change-Id: Ie04d5ad37555ed4cfeb34ccb8dc021675fbd25ea
2013-02-27fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac
Removed several unused methods. Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) because it breaks compilation (they are implementing pure virtual methods). Should Test::test1Table1Page() really be removed? (test class) Conflicts: unusedcode.easy Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
2013-02-26fdo#61507 import RTF_UPR and RTF_UDMiklos Vajna
It turns out Word wraps document title with these destinations if they contain something that isn't possible to describe using legacy charsets. Change-Id: Ic9417d0f23d44149acb3ae3dc9d4c281058a1b36
2013-02-26embed also system fonts when embedding fonts in a documentLuboš Luňák
Without this, only fonts that had come embedded with the document were embedded when saving, which meant that it was impossible to create new documents that would have any fonts embedded. Change-Id: I3b4e87b1b3ca5ae1ccfe29d9b571b0262c568dcf
2013-02-25drop various dangling makefile.mksCaolán McNamara
Change-Id: Id76b57a1ef2edbb05f1d22a624caad077275ac74
2013-02-25RTF IMPORT : considere OLE objects as picturesMaxime de Roucy
resolve fdo#53594 : Import RTF file but ole are not well positioned in table/cells If the OLE object is in a container, don't try to import it as OLE object (use the \objdata element) but use the \result element which is the appareance of the object (it's a picture). Change-Id: Id97b36ce89beae02885cf82383321c14b58f2ea5 Reviewed-on: https://gerrit.libreoffice.org/2243 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-24remove RTL_CONSTASCII_(U)STRINGPARAMChr. Rossmanith
Change-Id: Ica4dc859229c2ba0dc052a97ff23178895c25580 Reviewed-on: https://gerrit.libreoffice.org/2368 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>