summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)AuthorFilesLines
2013-03-25cleanup gbuild outputPeter Foley1-24/+24
Change-Id: I53e1ccda41688975ea180f44bfd507ce4ca39bf2
2013-03-25fdo#60922 ignore DOCX import of w:position w:val="0"Miklos Vajna1-1/+3
Change-Id: I10e9c0f1078e36710335a9a48f7f02292c764795
2013-03-25#i119592# Fixed column widths.Andre Fischer1-1/+1
Reported by: xiao ting xiao Patch by: wujinlong@... Reviewed by: Andre Fischer
2013-03-22fdo#62288 fix RTF import of table paragraph marginsMiklos Vajna1-0/+9
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 Arnhold2-2/+2
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19trailing whitespacesThomas Arnhold2-2/+2
Change-Id: I3d0e2015e4c9f0ea6118fd92892022607fe4bde6
2013-03-18fix other problems found by WundefLuboš Luňák2-2/+2
Change-Id: Ib4aba95436f82d2a20b07a092f0fd07e0620fdcf
2013-03-18Wundef, fix various more or less broken debug codeLuboš Luňák2-11/+2
Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
2013-03-18fdo#61909 fix import of RTF_HIGHLIGHTMiklos Vajna1-1/+1
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 Vajna1-0/+5
Change-Id: Ia86548bddb7b87ec9653192c2e5989ce0dc50057
2013-03-18coverity#988428 Missing break in switchJulien Nabet1-0/+1
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 Meeks1-3/+0
2013-03-12update pch headersLuboš Luňák1-0/+7
Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
2013-03-12Resolves: #i119658#, some Chinese numbering formats not supportedJian Fang Zhang1-0/+4
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 Arnhold1-2/+2
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ňák1-51/+4
Change-Id: If9d6a163abb5a1cbd64838ca005b14dcd51c4588
2013-03-07DomainMapper_Impl::PushShapeContext: indentMiklos Vajna1-37/+37
Change-Id: Ib0e9dc50a124fcdc3c977a8d8e5c076872fc2e15
2013-03-07fdo#61343 fix DOCX import of OLE object after groupshapeMiklos Vajna1-1/+14
Change-Id: I88d5e49cc3fb915d25c1b2576cdda1fffc9e2f23
2013-03-07surely this is the true intent of this lunatic loopCaolán McNamara1-3/+1
Change-Id: I6d7963b2b416fe19cc1274780c2aea0c24c25bbb
2013-03-06fdo#60722 import RTF_SHPZMiklos Vajna4-1/+9
Change-Id: I6c572d44d93f812d50376ec05ae94bdabadb3f1e
2013-03-06fdo#60722 RTF import: fix line width defaultMiklos Vajna1-6/+7
Change-Id: I6e6ca4bcd66fca60d305bb21d71018c88d854289
2013-03-06fdo#60722 RTF import: fix line color defaultMiklos Vajna1-5/+7
Change-Id: Ic100837dd69498e97d940e5dfb4053c02fc7daa0
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck1-1/+1
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 croppingSJacobi1-0/+8
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 Vajna5-2/+16
Change-Id: I2c7ea83fb910b57d78fda620bc42b90e55de3719
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold1-1/+1
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 Vajna1-0/+8
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 Vajna2-1/+17
Change-Id: Icd0ba0bcbf519a15006af2e0eb176c37766345a3
2013-03-01rtftok: clean this up, SAL_INFO already provides location infoMiklos Vajna1-5/+5
Change-Id: Ib81753bbe26050e2f108c30a1e596a7c34d72fa3
2013-02-28regenerate pchPeter Foley1-1/+1
Change-Id: I130bfbeaf8723f0f9ee38051c8acf32cb7f5ba85
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28Related: fdo#59638 DOCX import of w:lvlOverrideMiklos Vajna1-1/+8
Change-Id: I23fca674e2436b09eeea3337b4d3eeb7a33ccf09
2013-02-28fdo#61000: writerfilter: filter out unsupported list tab stopsMichael Stahl1-1/+7
Change-Id: Ic9d31eba84b1d8d9cf93d8289621a65d43521a8b
2013-02-28fdo#61309: writerfilter: filter out enormous numbering levelsMichael Stahl1-1/+6
Change-Id: Iafef1c2ca2ca072bd604946fbe19b6a24e323512
2013-02-27fdo#53985 DOCX import: don't try to set empty PageDescNameMiklos Vajna1-1/+14
Regression from 50cb1667020494906afaacb68d4163d1eda527cf. Change-Id: Ie04d5ad37555ed4cfeb34ccb8dc021675fbd25ea
2013-02-27fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac4-30/+0
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 Vajna2-5/+21
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ňák2-4/+4
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 McNamara3-184/+0
Change-Id: Id76b57a1ef2edbb05f1d22a624caad077275ac74
2013-02-25RTF IMPORT : considere OLE objects as picturesMaxime de Roucy2-4/+41
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. Rossmanith1-4/+2
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>
2013-02-22DOCX import: improve btLr table cell supportMiklos Vajna3-1/+24
The problem was that in case the contents didn't fit into a single line, multiple lines were created, which is not what btLr wants. Set the size type to fixed in this case. Change-Id: Ibab1313f95dc16dd0366d21a00109a6f38fa3526
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-21Revert "embed also system fonts when embedding fonts in a document"David Ostrovsky2-4/+4
that's enouph breakage for now. This reverts commit 596bd0f61f8cfc957410148ae221c62331067bdd. Change-Id: I992f439a9a099e47115a30b3d745848f3af09e5e
2013-02-21embed also system fonts when embedding fonts in a documentLuboš Luňák2-4/+4
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-21n#779642: table positions need to be stacked to handle nested tableCédric Bosdonnat3-7/+27
2013-02-20fdo#60789: writerfilter: do not insert a character at field startMichael Stahl1-6/+0
The character inserted in DomainMapper_Impl::PushFieldContext() causes problems in this bugdoc because there is a commentRangeStart immediately before a text field and the call to delete it via setString("") disposes the SwXTextRange that is stored in m_aAnnotationPosition.m_xStart, which results in an exception when trying to insert the comment. At least all the fields in the bugdoc import fine with this change. Change-Id: I6c08d72fafb0529e8612f1e35b2c8b871edb5a52
2013-02-20fdo#60789: writerfilter: continue the import if comment insertion failsMichael Stahl1-14/+31
Catch exceptions in DomainMapper_Impl::PopFieldContext(). Change-Id: Ia60857a5f773c9d89217991d481a5f20d0de3151
2013-02-20n#779642: Fixed floating tables import in writerfilterCédric Bosdonnat6-56/+143
2013-02-19writerfilter: get rid of these hardcoded valuesMiklos Vajna1-6/+5
Change-Id: I381266cbc9eb2a6d95b7bdc5e80a1e486112dbbe