Age | Commit message (Collapse) | Author |
|
Issue :
1] Extra data was getting written into document.xml after
</w:document>
This includes :
1) <sectPr> tag
2) Paragraph tag of <w:footnote w:id="2"> from
footnotes.xml
2] This is leading to document corruption
Implementation :
1] Enabled a flag inside DocxAttributeOutput::FootnotesEndnotes
2] Check value of flag to decide whehter to write section
properties or not
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
Reviewed on:
https://gerrit.libreoffice.org/6644
Change-Id: Iae53fd6bf12bcbac84846bd36823bc08f21f9edf
|
|
Issue:-
1] When MS Office docx file containing cropped image is
round tripped with LibreOffice 4.2, image looses
its cropping effect.
Implementation:-
1] Converted MAP unit, MAP_PIXEL to MAP_100TH_MM using
PixelToLogic function.
As for calculating EMU values for XML, we need
Original Height and Width of an image in
100thMM(HMM) format.
2] Written Export Unit Test (GIF) to verify cropping parameters.
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
https://gerrit.libreoffice.org/6595
Change-Id: I54d7b08c96608a0cfca3c2f8833684c09848351c
|
|
- m_bParaBeforeAutoSpacing / m_bParaBeforeAutoSpacing was never set to false
- m_iParaBeforeSpacing / m_iParaAfterSpacing was uninitialized
Change-Id: I5c8ebd8e4f4c151059916397bc45e0c0ebcf5040
|
|
During import a flag and fixed value is stored in InteropGrabBag and
during export we check for fixed value and value available in para spacing
object. Write autospacing only if para spacing values are not modified during
edit.
Reviewed on:
https://gerrit.libreoffice.org/6575
Change-Id: If34c5b61c3180b01e68dfe83862784c3d6f33981
|
|
Change-Id: I6f3dcf1007e91551e1f3335f4c40424add1c45c3
|
|
Currently - the angle of the gradient fill of a text-box was not
being exported. This resulted in the gradient always being a horizontal
gradient. This patch fixes that and exports the angle.
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
https://gerrit.libreoffice.org/6653
Change-Id: I1da60a8e82705097e9e699549d3828375967e744
|
|
This commit changes the behavior of the export process of text-box
gradient color. Currently it exports the colors inverted,
but it should do so only when it is an 'axis' gradient.
Change-Id: I8841982c1dbc57616d6e1640d73bc8aa823ae056
Reviewed-on: https://gerrit.libreoffice.org/6646
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Problem Description :
The <w:hyperlink> tag is not terminated properly due to that the file get corrupted.
Also unit test is added for export.
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Revewied on:
https://gerrit.libreoffice.org/6619
Change-Id: I2480ab624ab572e411bd1511030c0da1b7f5d183
|
|
Issue:-
1] When MS Office docx file containing cropped image is
round tripped with LibreOffice 4.2, image looses
its cropping effect.
Implementation:-
1] Function WriteSrcRect() is implemented inside docxattributeoutput.cxx
2] It writes out xml tag <a:srcRect> which is responsible for storing
cropping parameters
Change-Id: I8814df40f9907512779b42c9ad2405953c70626b
Reviewed-on: https://gerrit.libreoffice.org/6507
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Issue:-
1] When MS Office docx file containing cropped image is
round tripped with LibreOffice 4.2, image looses
its cropping effect.
Implentation:-
1] Function WriteSrcRect() is implemnted inside docxattributeoutput.cxx
2] It writes out xml tag <a:srcRect> which is responsible for storing
cropping parameters
3] Written Unit Test to verify cropping parameters
Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Reviewed on:
https://gerrit.libreoffice.org/6240
Change-Id: I6ab30305bae44ca1bfef73b0df2967d943ee60fe
|
|
Change-Id: I9e67d4f5e680a29718c4e7be7292913602cd9311
|
|
- Handled exporting of image for all type of format in vmlexport.
- fixed issue - .rels file was not getting exported for vmlexport.
- Not handled for .wmf image (will work on it)
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
https://gerrit.libreoffice.org/6369
Change-Id: I9ccf7a36ae316a658f06d1074caa4e4b2f5d271f
|
|
-added postpone method for vml export in docxattributeoutput
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
https://gerrit.libreoffice.org/6366
Change-Id: I37586447547e2e09028f7ae5009bcfaa87a35678
|
|
Change-Id: Ia261995b98e2108ab673c7b240a1aa822d3db96e
|
|
Change-Id: Ie0bc9aff722d87fcd246d0cf1971ad6f34f0996a
|
|
Change-Id: Icde4d5af2398a241c628f16225f1d427a2f27cfc
|
|
Change-Id: I7fec154ff3b39845e91301b4fb607381e80e13f7
|
|
Change-Id: I93495b4a2f85fe9729f8e1c810532717783756e4
|
|
Change-Id: Id656e48c1600bb7b04e8566d5c0f3297f80a89d9
|
|
Change-Id: Ide29e98b73410d8917742f2eeb15bdcbd9de87cc
|
|
Change-Id: I3a87a0277952ba0a422df8988151f8b14e166e06
|
|
Change-Id: I4ed35f2b497fec96d012303001d4861768daef6a
|
|
When the DOCX exporter exported a table, it filled the table
column definitions with the column sizes of the FIRST row only.
This was ok for tables that have the same columns on all rows,
but for more complex tables with different cell widths - the
filter exported the wrong number of columns and the wrong width.
A followup fix would fix the rounding problems there still are
with the column widths that are exported in the table
definition.
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Change-Id: Ie95dfe60b1c1811776433e457ca04e728623e01e
Reviewed-on: https://gerrit.libreoffice.org/6290
|
|
Convert code like:
xub_StrLen nLen = aStr.getLength();
into
sal_Int32 nLen = aStr.getLength();
Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
|
|
Converts code that calls comphelper::string::getTokenCount() to
use sal_Int32 to store the return value.
Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde
|
|
Also add a docxhelper, that contains stuff that was local to
DocxAttributeOutput till now, but required by DocxTableStyleExport.
Change-Id: I24dcc62d11862078202244c214b317e3bc600567
|
|
Change-Id: Ib368d558913149d7489ed320b459b66d3b1279a0
|
|
Change-Id: I6dfb29db030212e55a207f39e79a1cf01d482e85
|
|
Change-Id: Ie7073a6346553650741a1631096342318d650890
|
|
Change-Id: I145c08d17ccb36bfbf734306cd9d27e8423debdd
|
|
Change-Id: I83ca33d87a016f8634ca6a87b81df20f6b4e0e30
|
|
Read these from InteropGrabBag, as the importer already put them there.
Change-Id: I10745628c61841c168daa64bf46c51228cb38374
|
|
Change-Id: I7b31322b50c8c924e5df3c32e3c2da8093709938
|
|
Change-Id: Ia3ecac669f35c57467e62c777e18d176753fdb0e
|
|
This bug fix is for roundtripping a DOCX that has
a specific 'start value' for the page numbers.
In most cases LO imports it ok.
However - until now - Word allowed you to start page number
from 0, while LO only allowed starting page numbers from 1.
This was because the 'start value' was stored in an 'unsigned int',
and the value '0' was used to mark 'there is no start value'.
This patch changes the way the 'start value' is stored
from 'unsigned int' to 'optional unsigned int'.
This way - if there is no value applied - the variable will hold NULL.
However - if a value is set - it can be 0 or more.
This meant also tweaking all the places that used to get this value,
so that now they handle an 'optional uint', instead of a 'uint'.
Conflicts:
sw/source/ui/inc/break.hxx
sw/source/ui/inc/wrtsh.hxx
sw/source/ui/shells/textsh1.cxx
sw/source/ui/utlui/uitool.cxx
sw/source/ui/wrtsh/wrtsh1.cxx
Change-Id: I6ad9d90e03b42c58eed2271477df43c20ad6f20a
Reviewed-on: https://gerrit.libreoffice.org/5681
|
|
Change-Id: I96522b72de1e0322229105c24913ed011b28d170
|
|
For now just use what we have already: paragraph and character styles.
But it enum should contain numbering styles as well in the future.
Change-Id: Ifd2f918446537e04cb5ba2cd8df822c5a1f9099c
|
|
Problem Description: In case of multicolumn sections, separator line was getting added during export to docx.
Unit test cases added to verify the code changes.
Change-Id: Id65ac4d3878eed298882c85082cec9575f914d83
Reviewed-on: https://gerrit.libreoffice.org/6211
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: Ibdd454008244b9a6db5037f511ac2da723648d89
|
|
Change-Id: I0f929843d73eb445c8b1aa56d59cbbce844b9008
|
|
Change-Id: I8b26dcc671771f3a26c1270b94ef7e342074fa3c
|
|
Change-Id: Ibc5783aeea8bcdc05c14054fa10c43a0c98c2159
|
|
Change-Id: Ie5fc89d24cfff021e362811f3d2eed8608107767
|
|
Change-Id: I7527acd4b99b3b2a911532adb85b2a082c6569b7
|
|
Change-Id: I9d7c9bf832863c4b4776c7881ab7e44ab5df9607
|
|
Change-Id: I32a594464c71215ee7557823aadaa72b8b72b4e2
|
|
They are not really related, so no reason to have one method for them.
Change-Id: Id633c2a9e8d46c3a64dc9d5abe508a4da5ab2410
|
|
Change-Id: I093c95b8700b628375d69293022f7d4b8da2af9c
|
|
The paragraph properties still need some work, so that part is disabled in
order not to break the unit tests.
Change-Id: I06e55a5345d4fe08b14b8a260ab774b38770bf7b
|
|
Change-Id: I8a7fb3ba70676c4574bc493c5e0ea9eea5267608
|