Age | Commit message (Collapse) | Author |
|
Change-Id: I4825d94c58d8cfb245f110b7f46397c2724436a3
|
|
It seems this comes from the code attempting to 'scroll' the 'frame'
window. With tiled rendering there is of course no real 'frame window'
that would be displayed and need to be scrolled, so just bypass that.
Unfortunately this had no effect on the Smart Art rendering artefacts.
I had hoped those messages were related to rendering of them, but no.
Change-Id: Id4624eb5c1d825a120ef48bd2ae424f147060d35
|
|
The export -> import part of this file took 72s on my machine, now it
takes 4s.
Change-Id: I693a922027a7285b5e967bbb2bcf8289728eae82
|
|
Re-enable the unit test with the fixed xPath expression.
This reverts commit 0e5f9958a57a68a3707db5b1eb9f82e0326327c1.
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Change-Id: Ibc848b2ae89b3fb7f009cd984d0ecc5fc165673a
Reviewed-on: https://gerrit.libreoffice.org/8679
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
- m_oldTableReference values were not being reset.
- A call for DocxAttributeOutput::switchHeaderFooter from
DocxExport::WriteHeadersFooters would end up using the m_oldTableReference
value saved by DocxAttributeOutput::EndParagraph, which is incorrect.
- Fixed this issue and added an UT for the same.
Change-Id: I5ac51c3449e78bd26389e93e0d733d429dcc6874
Reviewed-on: https://gerrit.libreoffice.org/8659
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I06db8f7466f5baddc55ea9cb117bb8a222de0c01
|
|
Change-Id: Iee5554f1b51db0f6dc22ccbed743ae431bb895f6
|
|
Change-Id: Id6a444bd01873e30ea1522aaf3b951f4d5adc261
|
|
Change-Id: I637cec62eb6cf951cb3d7c9e83c896494d6e1701
|
|
MS Office has an internal limitation of 4091 styles in styles.xml
and cannot load a .docx with more. However the documentation seems to allow
that. So if there are more styles, don't export those.
MS Office follows the same principle and repairs the corrupt document by
removing extra styles.
Change-Id: I20c8775ee9d697a6613be96eb01283844c1d78f5
Reviewed-on: https://gerrit.libreoffice.org/8653
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I932440ae95a6e7599168e88e9a17686b67763247
Reviewed-on: https://gerrit.libreoffice.org/8667
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I45d81df485ff62417f94c01234c3ddc41b6f3c77
Reviewed-on: https://gerrit.libreoffice.org/8665
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Reviewed on:
https://gerrit.libreoffice.org/8664
Change-Id: I719fe3266b80fd6e4da73729c74f3d606708b691
|
|
Change-Id: Ib9ca82b1b5f19dff439cd3119781a5f025b45231
Reviewed-on: https://gerrit.libreoffice.org/8663
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I9245101f3affa495e8da545dccdeb6510e37f17c
|
|
We don't actually need to do anything with altname, so just break.
Change-Id: I4b20d762c730675acb79ea1a4f0c5c14e7b86752
Reviewed-on: https://gerrit.libreoffice.org/8616
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change xPath as suggested by Luke Deller in
https://gerrit.libreoffice.org/#/c/8572/.
Change-Id: Ibcf2bc6cd2b35df501aeeaf143a3928603cf6038
|
|
Reviewed on:
https://gerrit.libreoffice.org/8675
Change-Id: I8d797acb3ca9e2341c5db08b2fc409a3cd97635e
|
|
Change-Id: I2e2a7c380ca593ad957c3b0085d01971c843f172
|
|
Change-Id: I5dc6e56bcbec5055da629d4dfda608f266191ef9
|
|
Change-Id: I4db0fa34e00364e38ae015d079fee551be7319b3
|
|
Change-Id: I7131abdc2202f80f0e9600d04633bbd6078700bf
|
|
Change-Id: Ia0a0dfae4390ad8cd74520396ecfbd6ac03a5d6f
|
|
SDT blocks can contain document properties, like the author. This is
done with the dataBinding tag inside sdtPr.
Added a resource definition to the ooxml model file, so the parser can
process this tag. The attributes are stored in the existing grab bag
used for other sdt properties and written back on export.
The code to write the SDT block in the exporter has been modified to
be able to extract the new tag from the grab bag and write it to the
document.
Added a unit test.
Change-Id: I18f35a61784eb0a03ab9ca2cc398ca0df289956c
|
|
Change-Id: Iefd8de05107c6e9ad1dec04711ee3fd8e4c05b17
|
|
The exporter writes the sdt blocks enclosing an entire paragraph, but
that's not the proper behaviour in all cases. The documents that mix
checkboxes and text in the same paragraph export the text inside the
sdt box and that's incorrect.
We have added code to be able to write sdt blocks that enclose
paragraphs or text runs, depending on the type of block. We have
applied it to checkboxes now.
There are two sets of properties in DocxAttributeOutput that store
sdt properties for the text run and for the paragraph. We have
modified the method WriteParagraphSdt to be generic enough to support
both cases. To write the sdt block enclosing the text run we used
parser marks.
We have renamed the property id PROP_PARA_SDTPR to the more generic
name PROP_SDTPR.
Checkbox unit test was modified to match the new structure of the
generated document.
Change-Id: I81ffe0062e1a5f80fc4638f7ee454a9bc18e63ee
|
|
This patch modifies the importer to reuse the code that imports the
dropdown control and creates a combo box with it.
The only drawback is that the combobox tag is transformed into a
dropdownlist when exported back, but it doesn't seem to be an issue
from the point of view of the user.
Change-Id: I340d0cf02d8c5ea575ad4784a1242d2a3e9bd214
|
|
Checkbox controls in docx are implemented with a sdt block containing
the property w:14:checkbox, which has several child elements.
To implement the preservation of the field, we had to add several
tags to the ooxml model file. Notice they belong to namespace w14,
that's why we had to add a redundant definitions of CT_STRING,
ST_STRING and their actions. Then, we just used the existing
mechanisms on the importer and the exporter.
Finally, added a unit test.
TODO: the checkbox is preserved on export but it cannot be modified.
We should import it like we do for combo and date boxes.
Change-Id: I40f29b48ec24719c48482b9c8cff10176d1b188d
|
|
This patch strictly reuses the code introduced at commit
55211e612d2cbed03dd81c039d07ea4e936c2804.
Change-Id: Ie9151c81c2cb63d0f4a320293b6e5d27f20d4043
|
|
Change-Id: Id24cfcd34355ed39f80baa9e7b90ab7705e852a2
|
|
Change-Id: I4533504d110dadbabfc737f7ca56b88afcc8ef44
|
|
Change-Id: I58bb5ede9c59f16d556db3c1e2f254eeba1c8f7d
|
|
(both users of PropertySetHelper use a SolarMutex-based ThreadHelpBase)
Change-Id: If542914bbf33a9e81f86d654498c2af04082f31d
|
|
Change-Id: If09abe4dd6191efa5f92bf3af7cc6e119f401ab8
|
|
Change-Id: I0e15184071fc2c1cb231ead98210d4a1654208e7
|
|
Change-Id: I4b245dd68bf032a1d74fb16b910dc952fd761781
|
|
Change-Id: I0da7f9621d2770f49a554fb97591d9cac0bde9be
|
|
Change-Id: I9cad3f9f2a80f7915a5525855fcdf6fd5bb32d50
|
|
Change-Id: I2cfb9dd31b76d230a4c8aadc5461b7601fbc63a4
|
|
It hasn't worked since the switch to tiled rendering anyway, and we
use the 'TiledLibreOffice' app for testing now.
Change-Id: I8137b8390c020ec4e6826e40e9cda69810f8318f
|
|
Change-Id: I99678f9b0595b8d5adfe939a1bfae4f4f2e8454e
|
|
Change-Id: I633e2ff112e21488b9d17ffbb59a926b22b51952
|
|
Change-Id: Ie5f5e6c92845933403b2371400fcdba10eba1a42
|
|
Change-Id: I81a24a7affa7dffcc3dac65248444679c3c49925
|
|
Change-Id: I90e12d6e2999522ef0d252e1592b8649e8e4560c
|
|
To make this experience slightly less confusing.
Change-Id: I844dd2cdbc0349433d445955cdcf5e9723673286
|
|
Change-Id: Ibd88c8d980072801f533103cd16d2c3a5e9b8fc5
|
|
Change-Id: I53e8d7d976f37a0dcf09200713ea418ed024305d
|
|
Change-Id: I96f5b58ac000e7535b6759af04be60e738aa2b09
|
|
Change-Id: I3189ff08bd984b8f4fa127aeb40e8c13e5cc01c9
|