Age | Commit message (Collapse) | Author |
|
Change-Id: I14d6a7e4a53e65070357a2a5ceab3b25498a9fd4
Reviewed-on: https://gerrit.libreoffice.org/5933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I3a2f1ff990495c818a07e7c5b1d1ed509273f286
|
|
Change-Id: If1b4125fa0757fdcdff5466bf9b99791c930ffa6
|
|
this one nearly killed me
Change-Id: I51f14017940a275cca33dacf6f42438da43f46bc
|
|
Change-Id: Icd832483228812cf3c8ddff3c0d56090f3b17856
|
|
When exporting a Frame that contains an eDrawing, check whether it's
a diagram and export it properly if so.
Exporting the diagram means adding the relations for the four
mandatory files (data, layout, quickStyle and colors), and the
optional one (drawing), and also writing those from the imported
XDocuments to the respective files.
If the drawing file exists, the data XDocument must be updated before
writing it to disk, as it contains a reference to the drawing file
that must be updated with the new relation id.
With this change, the files saved to docx that contain SmartArt will
be properly opened by MS Word without data loss.
LibreOffice won't be able to properly open saved files though, as
it requires the theme file to be present, and it's not being
exported yet. This is planned to be fixed in an upcoming patch.
Change-Id: If69ca9815dd076597a37937fe2af8ed4d1c7acc5
Reviewed-on: https://gerrit.libreoffice.org/5896
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: Ica52384f05ea1e74c489b38d953e27dd37bcde89
|
|
Change-Id: I323fa5f1c9b94166d32b0457905ccb1ec06ecd5c
|
|
Change-Id: I29efbe2bee94c0059f5a2e3dc4d163375e439e1a
|
|
Change-Id: Ic846da3b22391d724da6f8df94dd771e89d2efb4
|
|
This was never enabled by default, nobody requested it, adds complexity,
so just don't do it at all.
Change-Id: Ieafb9777045e9cde3cdd2272c5190f88eb5eb576
|
|
Change-Id: I578bd89d2abb077c7b90ec4f75e0b8204dd33f92
|
|
Change-Id: I7c44a2bdb69563953d3257b435aeed5bae50f7b2
|
|
Change-Id: Ide40e0ef91aec04c2ae274aaf2a957dd5064854c
Reviewed-on: https://gerrit.libreoffice.org/5894
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I805425885ea86fdaf658d89f955a47769782c0cd
|
|
and add a unit test for the word 2..5 formats
Change-Id: I6c7c26be6092acbb81282080de6c393d92ad5dd4
|
|
and convert String* to OUString, no need to hold a pointer
to a ref-counted value type.
Change-Id: I79c62979ee8ec0d5e6d2efc50609ad5595571a7d
|
|
Change-Id: I076ae20fb21accf8ff7e7fad096534e97ba7dab4
|
|
Change-Id: I52e6e34776fe494da431f8387f5f330b9aca36fe
|
|
Change-Id: I4f70ebb03d5028db77ab3d86eb884462c92ec9dc
|
|
Also:
- simplify the return type of the GetPrevPara method, there is no
need return an OUString by pointer
- simply the ppPara parameter of the ChgAutoCorrWord method,
passing a pointer to a pointer to a value type is unnecessary.
Change-Id: I4a8c44fdab1cf68af88c34003827d1c20704f839
|
|
Change-Id: Ic3686fb44cd1e448b9998f2ddc73f9bfd1b3aaa8
|
|
The XDocuments representing the DOM documents of a
DrawingML diagram (Smart-Art) are now stored as
the PropertyValues "OOXData", "OOXLayout",
"OOXStyle", "OOXColor" and "OOXDrawing" into the
"InteropGraBag" property of the parent
SvxGroupShape created from such diagram.
Modified the oox::drawingml::dgm::Diagram class to
be able to hold the map storing the XDocuments and
its names. Added the getDomMap() method to obtain
the map directly and the getDomsAsPropertyValues
method to get the map as a sequence of Property
Values.
Modified the methods for importing and loading the
Smart-Art into the Diagram so they add
automatically the DOM documents to it.
Modified the oox::drawingml::Shape class to be
able to hold the sequence of PropertyValues
storing the XDocuments and its names coming from
the oox::drawingml::dgm::Diagram class. Added the
getDiagramDoms() and setDiagramDoms() methods.
Enhanced the
oox::shape::ShapeContextHandler::getShape() method
to add the extended drawing document to the
oox::drawingml::Shape class.
Modified the
oox::drawingml::Shape::createAndInsert() method to
store the sequence of XDocuments in the
"InteropGrabBag" property of the GroupShape
service SvxGroupShape implementation representing
a Smart-Art.
Change-Id: I7d0b9dfbfc9d5299ddd25fab394e5e9a422d1dd1
Reviewed-on: https://gerrit.libreoffice.org/5849
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I1c5af09932a5004c5c76080fd490e53d8927c285
|
|
Change-Id: If859505c52b7166e9e586008b40a6aff3a2ccf3c
Reviewed-on: https://gerrit.libreoffice.org/5893
Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
|
|
Change-Id: Iec2db10104e79406cb2b9b6bac81d64dbe597d8d
|
|
Change the order of words BORDER and EQUAL in the
macro name to become consistent with other macro names.
e.g. CPPUNIT_ASSERT_DOUBLES_EQUAL
Use a function inside the macro to make it type safe.
Add additional message to make clear why the test failed.
Change-Id: I9fc7a5813adf2cac36ae831d438cec498232b06c
Reviewed-on: https://gerrit.libreoffice.org/5885
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I8f7e56ce86e7097379a8e063405bf95405616318
|
|
Change-Id: I553e6f696ad10e847d845c263fbfbab5d2279345
|
|
Change-Id: I91c69add679f62af5f67cc1bd7c2739b2de84cfb
|
|
Change-Id: I0d8ef363e45f9032676a161c63d7cf9bcbe417fd
|
|
Change-Id: I19bd1cbedd42101186fd4afbcd7af9afb630f857
|
|
Change-Id: I1365cf183a768f17dd2d16f695a27d9710eb4daf
|
|
Change-Id: I98f2e16f1e679cb2c01984ed34dc4efb254c918d
Reviewed-on: https://gerrit.libreoffice.org/5876
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I0adbe625400f71eb8cb21d0b36a117c708348a20
Reviewed-on: https://gerrit.libreoffice.org/5875
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
In general, paste should not deal with page styles. In this case, it
even caused an additional page break.
Change-Id: Ia7c5a9ad844821b6622babfbd94469ec3c04cf0a
|
|
Change-Id: I40040a237763a0706177ba5c6c1a664a51b3ee07
|
|
Change-Id: I7fb53193d52d6c04c34fce23aa1610ce1035493c
|
|
Change-Id: I6e15b914e022674e27a14023144fe7a3add0ed43
|
|
Change-Id: I2d9baf887cf31789e0d439c4b9bbe3c1371b8f18
|
|
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
|
|
Change-Id: Ic9895e027be8b5406dda7756a19127bd4edee63d
|
|
Change-Id: I6cb2a11b6ee2f94f611aa852c79dd1a6534381da
|
|
-WW8 filter is the only MS filter which ignores padding
of character border.
Change-Id: I17973d8d2ae624d68356729334c701864fe0a10d
|
|
-Use sprm:CBrc attribute for all MS filter (for ooxml too).
-Extract general code to FormatCharBorder() method, it selects
the border side and decides whether add shadow to the border.
-RTF export has a color table, which must be filled with border
colors before the actual export.temp
Change-Id: Ic3ceae6e19ddc2ed5aaa8de85617f9a592289b4f
|
|
- Modify HasTextItem() method to able to get
character attributes during export.
(in this case RES_CHARTR_SHADOW)
- Only one side of the border can be exported.
Selecting order: (top, left, bottom, right)
- During import set all four side and use the Word
default shadow type (back, bottom-right, border width wide)
Change-Id: I3e1e27a2ef2d77b397f2ca8efe578e09271bcf8c
|
|
-I don't implement shadow because HTML filter use css1 attributes
and there isn't box-shadow in css1.
-Border merge: skip span open and close tags to get the
right result.
Change-Id: I17edc2e1cc42359b5f1721b8891350c528c7793e
|
|
This reverts commit 9ece71a185c93845e38c25eae91bc1955d60bfed.
I solved some bug which were hide by the usage of this method,
but there are other cases where it is neccessary.
Conflicts:
sw/source/core/layout/paintfrm.cxx
Change-Id: I01f27c812890d7bc4d47e645f25213ba67a955d5
|
|
Change-Id: Ib8168112e297571cc99b39fbf365d888e2247da5
|
|
With macro the error message will point to the right line.
Check padding distinct.
Change-Id: Id09fbf65350a7a3708923eb07d673068c2943b50
|