Age | Commit message (Collapse) | Author |
|
If a picture contains some 2D (glow, shadow...) or 3D effect
(rotation, extrusion...), we prevent the importer from transforming
it into a XTextContent so the XShape grab bag is not removed and
the effects are preserved using the existing mechanisms. Added a unit
test for this issue, and modified some existing unit tests to match
the new behaviour.
Change-Id: I3b87069ea208604383a592d34d0a4ceb6b0f9fc7
|
|
Transformed the preservation process of shape effects to be able to
store more than one effect. For that we:
* Created the Effect struct and added a vector member to the
EffectProperties struct.
* Changed the shadow effect to use the new Effect struct,
EffectShadowProperties struct is preserved because the direction
field still has some use but we should remove it.
* Changed the structure of the grab bag to store more than one effect.
* Modified an existing unit test to check shapes with several effects.
Change-Id: I0dd908fa1d9578827c02ef6272fc9e2b914391be
|
|
This was actually a bug. It didn't matter much because a document with
an a:sp3d tag but without a:scene3d section would be invalid, but the
code was logically wrong.
Change-Id: Ifa838e425849642c2a1bf6fca6b6a8dc8ed3b465
|
|
In preparation of having a language box available as ComboBox to be able
to add language tags.
Change-Id: I5af5ea5bb06e558db1fcf9c0668be274d5cec04e
|
|
(cherry picked from commit 213aafbf006a5099e951f65a472e4f8fa66256a4)
Change-Id: I862abc31b69b98f0ec766ca260fdc063d14a2ee4
|
|
Change-Id: I3da71e354ed2595c1f5b2eaeb5fb565205d24de0
|
|
Change-Id: I11d4838a320ada1d454870436e540b2c56fa18fd
|
|
Change-Id: Id511d6d0d975434b4754786204cc0fc91568168e
|
|
Change-Id: I2df05054c4108cb173f80ce6fa66f30c713b70cd
|
|
When compiling 32-bit OS X code, the code will use the "legacy
Objective-C runtime", which means that instance variables of an
Objective-C class must be declared in the @interface block, not in the
@implementation.
CGRect and NSRect are not the same for 32-bit code.
Also, use boost::unordered_map.
Change-Id: Icc56ff298203565a7568714b0e9f42c7c6b89737
|
|
Change-Id: Idac24afb7cb67fa2d539553fb9fa049c2d61ecf0
|
|
This is a follow-up to fcf455d4efde077bb2b092b607de12ebfc350275 "Consolidate
CreateTempName_Impl and lcl_createName," which apparently lead to hard-to-
diagnose sporadic "make check" failures on some machines. Hope is that bLock
now more carefully tracking the behavior of the original two functions fixes
that.
Change-Id: I37ba00545f5921fd603ff9f1ea46927c42e88899
|
|
Issue :
- In RT in document.xml, value of Absolute Position Offset
<wp:posOffset> was going out of bounds.
- <wp:posOffset> is of type Int(32-bits), hence it's value
should not cross the MAX and MIN limits of Int.
Implementation :
- Added check for <wp:posOffset> should not cross
Maximum/Minimum limit of Int.
- Written Export Unit test case.
Reviewed on:
https://gerrit.libreoffice.org/9328
Change-Id: I22e75d7e603ebbf6a49e764fb1a3e6a4d2fd8b23
|
|
|
|
Change-Id: Ia9c29d37eaf962e0245920e50f534dd779af72dc
|
|
Change-Id: I2960713b1005c5f91fe78d12e33f1786978eac67
|
|
Change-Id: I10342262cacbe3e3d978fee652cdbc4692f46dc4
|
|
Change-Id: Ia08e9f8caf2a2fb42855dcb2245e013e1a181216
|
|
This patch fixes the writer part, calc part is fixed long ago.
Problem: it overwrites when you paste from impress or calc.
This allows to keep the graphic's frame,
so the text doesn't have to be rearranged.
(i.e. it is desired, so I didn't change that)
I was trying to give the user a choice,
but I didn't succeed in keeping the frame when pasting from writer to writer.
coming soon!
Change-Id: I07271df9bb501779d06f332bb13edd05f0aefacb
Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net>
|
|
MimeConfigurationHelper::GetDefaultFilterFromServiceName() checks that
there is both an import and an export filter, and for OOoXML the export
has been removed; tweak the check to require only import for OOoXML.
Currently it still works invoke the OOoXML filter, but it is clearly
better to store the embedded documents only in ODF, so tweak
OCommonEmbeddedObject::store* methods to do that.
(regression from aeeaccf59abbc485d7786486f1accc1cb4d4dbf7)
Change-Id: Ib71f23fd110cbd4b570517f2dde2c53e3aa6301d
|
|
Change-Id: Ieecfd7ccb10c75ac639d0ba8e7cb588607097c2a
|
|
Change-Id: I10ca928ce30631b531a2549985b54ca071efb79c
|
|
Change-Id: I53a7cd73ff754bf3b019cb36341b2ab09c61e762
|
|
Change-Id: I9c573af8f378cd0b0cb9898d84b5d566f498f57e
|
|
Change-Id: I614bbda7b796a4bd57d9511a9dc68beafa398b38
|
|
Change-Id: Ic3e2a5ed247b35b4e6d80a4ad824bc9b535783fb
|
|
Change-Id: Iac393561337825e316a974801a6061944b8fd72a
|
|
Change-Id: If33ad8bcca2c224b6bf68a1bdaa015326c17aef8
|
|
Change-Id: I5e17b8636236c2a0f78df80c36d82a3ba16a1c5f
|
|
Change-Id: Iaba274f73edf4ff49d06f5dd15ab8ab2ddd043f7
|
|
Change-Id: I6b50172b636cd8334b5cbfd3986631c1f17dd366
|
|
By now there is no a timer which rerender the
scene all the time so we need to move camera
without setting time.
Change-Id: Iba1bfd9b9dc87309cf83d5dcd6832f0e4cb2cd92
|
|
Change-Id: Ia8a91a565118d102ff769da8bca65f16b5dfece2
|
|
Change-Id: Ic21709896fe156c7393ece54345b00bceb37587d
|
|
Change-Id: I546d654726483b40ce4d981bc66377c8a3df6194
|
|
Change-Id: Ie42f72e0fc281d1f51e1729be408c2b0042f4174
|
|
Change-Id: Iff8af5e9ffefb4c3cecf387b16473d45e8b4a65a
|
|
Change-Id: I7fa566e036508d43b153c7983dc89fc6660718e7
|
|
Change-Id: Ib061b5e05df5215bea210a750d5dfd5314eeadec
|
|
Change-Id: Ifc933e9b4ca2f604f3aaf1ba74b34b414f96dd64
|
|
Change-Id: I8bf15c9990745759dd1414296257558adf5a42c0
|
|
AsRGBHexString returns the Color as a RGB hex string. For example
"00ff00" for green color.
Change-Id: Ia95c7f9eb6d9aefc3ca989046fa8d76b7b7f9e8f
|
|
A sw test fails when WriteWithVersion is used istead of direct
replacement. Remove it for now.
Change-Id: I0425c85d6492061a5d7565e709d5913b79b28a46
|
|
Macros to reduce code duplication in metaact.cxx are discuraged
as it is not possible to find those classes using "git grep".
Lets find a better way to reduce code duplication for those
classes (some have already been replaced in this commit).
Change-Id: I35c7cd74d6345f37e937754e2d0177b816e0e0fa
|
|
If the image is non-placable the image bounds are bounds of all
elements. Special cases are when both SETWINDOWEXT and SETWINDOWORG
or SETVIEWPORTORG and SETVIEWPORTEXT are available - in those two
cases use those bounds bounds instead.
Change-Id: I60e53cf6c47ccfc0f1139a11a866392f3e8e3ed1
|
|
Change-Id: I0b8d433d3d3bf03e3f414b2586a718146380ee2a
|
|
Scaling needed to be worked-around again so that the image in the
bug report could be drawn correctly. The issue needs some more
investigation how to detect what are the exact conditions that
scaling is needed.
Change-Id: Icd3f57a8ded92c49848feea92dc5a14362718874
|
|
revert part of 00e577ac012405f29003533c145bd29d0edbf6db which
causes that the text in some WMF images is not drawn. For example
the document in fdo#56886
Change-Id: I401c702f0567b1f142a82a4417abe719687a86f9
|
|
Change-Id: Idb4b6442be7ddb08875c6b59f54a887399385be7
|
|
Change-Id: Ie503c2758e809712c99df6e53a02ac6e719dd036
|