summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxattributeoutput.cxx
AgeCommit message (Collapse)Author
2013-05-13WaE: unused parameter 'nCurrentLeft'Tor Lillqvist
Change-Id: I9aa9b0215d9d2c8db7b88fbb1e0d30bcc4889a36
2013-05-13fdo#64531 : Tab-stops exported to DOCX added too much indentationAdam Co
Change-Id: I12747006c8aac663f9529b495914f4a08301c66f Reviewed-on: https://gerrit.libreoffice.org/3884 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-04-16Add missing #include <rtl/tencinfo.h>Tor Lillqvist
Change-Id: I4d9a28b50f773857f8f6af7df4a0968f8bb1de4a
2013-04-13sw: fix frame size of textboxes in DOCX/RTF exportMiklos Vajna
In case the frame is AutoSize and the nominal height is less than the real height, we used to end up with textboxes having height small enough that some of the content was unreadable. Instead, do what the WW8 export does and relay on sw::Frame to provide the layout size. Change-Id: I2a6cf4373c8565eef780273745a6ef27ddc65753
2013-04-10add msfilter::util::ConvertColor to avoid copy&pasteMiklos Vajna
Change-Id: Ia5507f8d1ec18a45d3128c809d03f8f41849f93c
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05DOCX export of w:numPicBulletMiklos Vajna
Change-Id: Ib8bcfb6bc63a5f14fbc36edc39a907b4955628e9
2013-03-29fdo#48557 implement DOCX export of inner margin values for textbox textMiklos Vajna
Change-Id: I524e3bcd21731ad203a420f60dd328c6551f0eb7
2013-03-28export placeholder (RES_JUMPEDITFLD) to .docx (part of bnc#779630)Luboš Luňák
Change-Id: Idbf2b1e04eebab703ba3e6c3fac8e50829833c70
2013-03-19further OUString cleanupThomas Arnhold
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-13Fix #i120928: Import Graphic Bullets of MS Word DocumentJian Hong Cheng
* sw/inc/numrule.hxx * sw/source/core/doc/number.cxx * sw/source/filter/ww8/attributeoutputbase.hxx * sw/source/filter/ww8/escher.hxx * sw/source/filter/ww8/rtfattributeoutput.cxx * sw/source/filter/ww8/rtfattributeoutput.hxx * sw/source/filter/ww8/rtfexport.hxx * sw/source/filter/ww8/rtfexport.cxx * sw/source/filter/ww8/writerhelper.cxx * sw/source/filter/ww8/writerhelper.hxx * sw/source/filter/ww8/wrtw8esh.cxx * sw/source/filter/ww8/wrtw8nds.cxx * sw/source/filter/ww8/wrtw8num.cxx * sw/source/filter/ww8/wrtww8.cxx * sw/source/filter/ww8/wrtww8.hxx * sw/source/filter/ww8/wrtww8gr.cxx * sw/source/filter/ww8/ww8attributeoutput.hxx * sw/source/filter/ww8/ww8par.cxx * sw/source/filter/ww8/ww8par.hxx * sw/source/filter/ww8/ww8par3.cxx * sw/source/ui/wrtsh/wrtsh1.cxx Graphic Bullets Fidelity Patch by: chengjh,<chengjh@apache.org> Found by: chengjh,<chengjh@apache.org> Review by: Fan Zheng,<zheng.easyfan@gmail.com> Conflicts: sw/inc/numrule.hxx sw/source/filter/ww8/writerhelper.cxx sw/source/filter/ww8/wrtw8nds.cxx Change-Id: I7b00590a9f05da745678b5ba99b6f6f4e870d197 Signed-off-by: Cedric Bosdonnat <cedric.bosdonnat.ooo@free.fr> Signed-off-by: Fridrich Strba <fridrich.strba@bluewin.ch>
2013-03-08embed also view-only fonts, but do not use themLuboš Luňák
MSO embeds even fonts which allow only embedding for viewing the document but not editing it. So embed such fonts too, but do not actually use them from the document. What MSO does when such a font is not present locally when opening the document is switching to read-only mode, warning about this and providing a button for switching to editing mode by dumping the font(s). That should be done for LO too, but right now dropping view-only fonts is better than using them for editing. Change-Id: I19c28fadb091e6b21beaf4cbf8b47e3078256d1c
2013-03-06do not embed the same font file twice into one .docxLuboš Luňák
Change-Id: I6d38e83a7fa609d53f2f687ccfe289440d23e960
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-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-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-21fix NULL dereferenceLuboš Luňák
Only the Clang tinderbox fails here for some reason, but e.g. code in ww8par5.cxx check for non-NULL too, so it's apparently possible. Change-Id: I985445f7727560116813aacbca40c0e7c0a4863f
2013-02-19DocxAttributeOutput: fix export of btLr text direction in table cellsMiklos Vajna
Change-Id: Ic99a5a11b32d4712b91d58021e1e9ff3bab7890d
2013-02-14mso saves obfuscated fonts as .odttf in .docx, so use the extension as wellLuboš Luňák
Change-Id: I5d4cb579c042f03137188f3e0293015bea723dce
2013-02-12Renamed hard-to-remember 8-char headers in editeng.Kohei Yoshida
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2013-02-01correct flag for file openingLuboš Luňák
Although it seems reading works even when opened just for write ... Change-Id: I57039e7b72dd466e1b087c81377b2b2dcd26fb5c
2013-01-30initial DOCX export of Writer textframe gradientsMiklos Vajna
Change-Id: I0b0a623c58ca398bb556fc9fcd2cdecb4e789d0a
2013-01-30sw: handle RES_FILL_STYLE/GRADIENT in AttributeOutputBase::OutputItemMiklos Vajna
So that later in doc/docx/rtf export gradient background of textframes can be handled. Change-Id: I8f79cd0b63231c0551fc85c5cd1c06f5511326f1
2013-01-23docx export: use 'nil' instead of 'none' to express no borderPierre-Eric Pelloux-Prayer
Word2007 writes nil too, and doesn't properly import none. Change-Id: I32147bbf8c94f8dcf079bcecad48ffaaf3aa1968
2013-01-22oox: kill no longer needed S() macroMiklos Vajna
Change-Id: If3f1bb787d6debaa63e3bed3a48e44b5e34c27b7
2013-01-22docx export: fix table 'tblInd' attribute computationPierre-Eric Pelloux-Prayer
Change-Id: I3980ad8e372290973ed89488eb540267136af491
2013-01-22sw: DOCX export of TextFrame shadowMiklos Vajna
Change-Id: Ia095a3adee271cf7235fb7c13824d7f265658897
2013-01-22sw: DOCX export of TextFrame border width / colorMiklos Vajna
Change-Id: If88abe20eeec478d340f913973d4f4815dc0e510
2013-01-22sw: DOCX export of TextFrame background colorMiklos Vajna
Change-Id: If488129c8b563b82932b58e16328922cc2653da8
2013-01-22sw: DOCX export of TextFrame size/positionMiklos Vajna
Change-Id: Ie830fe9f7276fbc8f20e7d37424116d6653a6931
2013-01-22sw: initial DOCX export of TextFrames as VML rectanglesMiklos Vajna
Change-Id: I0b204e9a81aad3e4f5fafc17bbd0c3935eb5cdb5
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-17Const correct-ness in one place...Kohei Yoshida
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
2013-01-16docx export: fix regression on table borders exportPierre-Eric Pelloux-Prayer
The removed code was supposed to allow LO to write cell borders only if they were different from default cell border. Bug #59275 show that this is incorrect. Change-Id: If31914c412480fdadb775ca6675999ecde3e6bba
2013-01-14docx export: also export rPr in <pPr> (paragraph mark styling)Pierre-Eric Pelloux-Prayer
Change-Id: I179363e7d0acc3d6a1f95dcfe975275a9243e863 Reviewed-on: https://gerrit.libreoffice.org/1649 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-14docx export: add missing arg to impl_pageBorders callPierre-Eric Pelloux-Prayer
The missing argument could cause data loss due to ill-formatted document produced. Change-Id: I65dee7f42c633ae9602d454e2f03ebc821c9c0ab
2013-01-14Fixes image drop shadow export to DOCX.Eilidh McAdam
Word has problems if the effect extent element is omitted. This gets the minimum required extent using the shadow position. Change-Id: I69d0d7a694c34f50289253e5cb7c4265198deaa8 Reviewed-on: https://gerrit.libreoffice.org/1655 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2012-12-18docx export: graphics relativeFrom attributes now matches import codePierre-Eric Pelloux-Prayer
Change-Id: I9f543c08f5e19c11c7e1b8020b8c5f62ae040f6e Reviewed-on: https://gerrit.libreoffice.org/1342 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-10docx import/export non-breaking hyphen and soft hyphenLennard
God made non-breaking hyphen and saw that it was gone he told us to fix it as soon as hell we promised that we would Change-Id: I1d2bb8f7542f5ffec36fafdbdb07ace1cb62fb4a Signed-off-by: Lennard <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/1279 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-06sw: kill RTL_CONSTASCII_STRINGPARAM and friends in ww8 filtersMiklos Vajna
2012-12-04Export finely dashed borders to docx.Eilidh McAdam
Change-Id: I4a65f8e874abe406a9cd2d3a088ea52f0850088f Reviewed-on: https://gerrit.libreoffice.org/1124 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-11-19use LanguageTagEike Rathke
Change-Id: I4ffa1aa2dce0bf1d0c87d56f72589112ec1222a1
2012-11-15n#789482 DOCX: export track change data after w:hyperlinkMiklos Vajna
Change-Id: If204523d7da544b11b2d809993ada180476104ef
2012-11-10DocxAttributeOutput::FlyFrameGraphic: add assert to avoid misuse of the APIMiklos Vajna
Change-Id: I5d09e297294439fafad94177d8e87ccdf829b18d
2012-11-09fdo#51550 fix DOCX export dataloss on non-math/chart OLE exportMiklos Vajna
This is still not complete, but having the replacement graphic only is far better than having nothing. Change-Id: I141a3de1a449f4261c7086e10f2c141b3f6cdb10
2012-10-29docx export: explicitely use 'none' type for disabled cell bordersPierre-Eric Pelloux-Prayer
Otherwise, the table default borders will be used. Change-Id: Iebab1204dc40f79e10164e4815bbdbbe054ef144 Reviewed-on: https://gerrit.libreoffice.org/909 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>