summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)Author
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>
2013-02-22DOCX import: improve btLr table cell supportMiklos Vajna
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 Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-21Revert "embed also system fonts when embedding fonts in a document"David Ostrovsky
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ňá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-21n#779642: table positions need to be stacked to handle nested tableCédric Bosdonnat
2013-02-20fdo#60789: writerfilter: do not insert a character at field startMichael Stahl
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 Stahl
Catch exceptions in DomainMapper_Impl::PopFieldContext(). Change-Id: Ia60857a5f773c9d89217991d481a5f20d0de3151
2013-02-20n#779642: Fixed floating tables import in writerfilterCédric Bosdonnat
2013-02-19writerfilter: get rid of these hardcoded valuesMiklos Vajna
Change-Id: I381266cbc9eb2a6d95b7bdc5e80a1e486112dbbe
2013-02-19log the exception here instead of just assertingNoel Grandin
.. to make future debugging easier. Change-Id: I8efc8d8d6f228d9a36d8bb0aebe57913f2af5637
2013-02-18n#779642: ignore framePr inside table or the table import won't workCédric Bosdonnat
2013-02-13update pch headers, broken by 1aaf9a9Luboš Luňák
2013-02-08fdo#59953 RTF import: fix unreadable graphic and nested cell contentsMiklos Vajna
There were two issues here: 1) c3b0f13546b30e5db3aecd311c7178e4e0933208 added a mechanism to work around broken documents, but that didn't deal with nested tables. Additionally, the check compared the max row width with the width of the last cell, not the last row. 2) d276d3f3ae112a11c8cb5768650d147cbb94275e cleaned up implicit horizontal merge detection, but didn't deal with valid documents, where each row definition is available twice. Change-Id: I1a32ec2fcb0d1a8fca7a7bd26501d3daf17880c9
2013-02-05RTF import: fix import of \line symbolMichael Stahl
"Required line break" was eaten by the newly added code in text() to ignore \'0a. (regression from f593a2e4179b05ae1019372cde612cb242d1d27f) Change-Id: Id32687c40a17ddb99196635cedfc850182705799
2013-02-05convert libxslt to gbuild and add to tail_buildPeter Foley
Change-Id: I16eb442fd65b3a2f3a44108f670fd364dc7a64c0 Reviewed-on: https://gerrit.libreoffice.org/1988 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2013-02-05fdo#58076 import RTF_SHPLEFT/TOP of ESCHER_ShpInst_PictureFrameMiklos Vajna
Change-Id: Ia655743710778ea7d48a9b2221f22f55a4ccce32
2013-02-03fix failing testcaseMiklos Vajna
Change-Id: I191f7bb6286998222877db863e45b24e0e7618b8
2013-02-03fdo#59419 fix RTF import of hex form of \r and \nMiklos Vajna
Change-Id: Ic700cdc67f756cafc454c326b73f680a8a47a6e8
2013-02-02fdo#58646 fix import of RTF_PAGE in cont section when having titlepgMiklos Vajna
Change-Id: Ia632edb24869ddfb76a029fdb460bcf24d9a2059
2013-02-01fdo#48440 fix import of RTF_PAGE between text framesMiklos Vajna
Normally such a page break is surrounded by text, and text() already calls checkNeedPap(), but in case the whole paragraph contains a page break only, we need it here as well. Change-Id: I3961272d77c743e0e6da2d5052e57cec5f5937e7
2013-01-28fdo#46808, Adapt document::*PropertyValues UNO service to new styleNoel Grandin
The services are: document::NamedPropertyValues document::IndexedPropertyValues The services already existed, they just did not have IDL files Change-Id: Ibafe9b5afb9b30785df4f66aa923f4b96ceabeed