Age | Commit message (Collapse) | Author |
|
Change-Id: Ia8b23df9a78385f9129d5cea1195a8ba210113d2
|
|
Writer's SwXShape doesn't have that property yet, though.
Change-Id: I997eb188574fab93d35595972fdc2eaebabc015b
|
|
Camera options in shape 3D effects can have rotation settings like in
the following example:
<a:camera prst="perspectiveRelaxedModerately" zoom="150000">
<a:rot lat="19490639" lon="0" rev="12900001"/>
</a:camera>
This patch preserves the a:rot tag and its attributes using the
shape grab bag. We created the class Scene3DRotationPropertiesContext
to be piled on top of a Scene3DPropertiesContext and process the
contents of the child item. It also adds a unit test for this case.
Change-Id: Id6bf58ad05fe5b49061619b6750ed0658badc9af
|
|
Shapes can contain 3D effects like in the following example:
<a:scene3d>
<a:camera prst="isometricLeftDown" zoom="150000"/>
<a:lightRig rig="threePt" dir="t"/>
</a:scene3d>
This patch preserves the a:camera tag and its attributes using the
shape grab bag. It also adds a unit test for this case.
Change-Id: Ic6a78031d2e1fb84a2bacd97b5cc9c55d9dbaa95
|
|
Code for these two classes was already present but it was commented
out or left outside of the build system because it didn't even
compile. I've brought it back and made it compile, but it has no use
yet. The goal is using it to preserve 3D transformations.
At scene3dcontext.cxx I removed the text chunks found in the middle
of the source and corrected some mistakes; I also modified the
conversion of "fov" attribute.
At shape3dproperties.hxx I removed all the struct members because
they seemed to have been copied&pasted from another file, and added
only those members that made sense. Removed useless function
definitions.
Change-Id: I2c00ea638e1a4fb1a3820bc4c322488296d3e6d7
|
|
Regression from commit f5ccbfdc561c68099872d1abe07ac72fcddedd35 (oox
customshapepreset: switch to generated data -> code, 2014-04-17).
Change-Id: I2106271e2f43e7936237628e47cd4e01ab34441c
|
|
... during DOCX import of shapes with text, so that we don't crash when
the currently always active
setServiceName("com.sun.star.text.TextFrame") call is not present.
Change-Id: I5b005583ddcee81b9683e3b34e8f0a2e5faa4f95
|
|
Change-Id: Idbdab90e100cbd2de83a2255e2554b5024a2f927
|
|
Change-Id: I342c49f968a921167c4da8b98e7e17e79b945491
|
|
This is the same like 1139d618b8bc6ab823a96184bd0f0257980aad24, for docx.
Change-Id: I1ef4e18444e8c60e9ae8f67249bcef1053f0d62d
|
|
This is an extra check against clumsy programmers like me to prevent
generating incorrect documents.
Change-Id: I22261e3b6123a9a44461683519e33224f08adb5a
|
|
Reused the code for other effects just adding the new attribute
"grow".
I didn't add a unit test for this effect because I found no way to
apply it to an object in Word, but it's technically part of the
standard.
Change-Id: I391aff17f59d49d6bf339a71481dcdb51c537c9e
|
|
Reused most of the code of other effects, but adding some new
attributes specific for this effect. Finally, modified an existing
unit test to add a check for reflection.
Change-Id: Iffd0c1203e9c66a8d7b7f748d98d9c3ef01c7bbf
|
|
Reused most of the code of outerShdw and innerShdw effects. Modified
an existing unit test to add a check for innerShdw.
Change-Id: I7328fe696721d28c35b26ca1b702c7f64c63ab21
|
|
Reused most of the code of outerShdw and innerShdw effects, but adding
a new attribute "rad" and a flag to check if a color definition must
be written inside the effect definition. Finally, modified an existing
unit test to add a check for softEdge.
Change-Id: I0d32714bde9a5b05c726acd47b85b1dea3c6a581
|
|
Change-Id: I8b76da14c75050f60b0af10cdadda821484db4f1
|
|
Change-Id: Id2c8432aba3268f7ffbe26c13e81025f2e047865
|
|
As it no longer actually generates C++ code, but data.
Change-Id: I9b05f139ca4ad2bcfdbbb4b954ed4e0f2a9bcd8b
|
|
Change-Id: Ie7ef8cd247dedb2a6ea0a6de249cb05e9056f726
|
|
Change-Id: I532dc4ec24c635b9889d77c37113a8ece2c9b88b
|
|
Change-Id: I6de50ccd8b99d6d7dbd049fc184c3f6117217318
|
|
In case there is some text entered in place of X coordinates for scatter chart
then x coordinates should be taken as 1,2,3....
MS Word does the same thing
Change-Id: I1db0fd64c6ac0f4d5e77a9676812f5e26577ecf6
Reviewed-on: https://gerrit.libreoffice.org/9011
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
control points to our relative control points
(cherry picked from commit 8625253da753153838554fef459ae603ca8d3ecc)
Conflicts:
oox/source/drawingml/customshapeproperties.cxx
Change-Id: I356a44fdbdcc22630811467e706bcb60c41dbc2c
|
|
Change-Id: I673a76ef85038b1f304ea85faeed5b4a462cb144
|
|
At least, it makes CppunitTest_sw_ooxmlsdrexport succeed again.
Change-Id: I05b9de5366b0e3d2007311d00991758b6d6f8dba
|
|
Change-Id: I82525020d148de276ece44406180cc59e759d93f
|
|
Reused most of the code of outerShdw effect. Modified an existing
unit test to add a check for innerShdw.
Change-Id: Ifdd77850bfd3b5fa250594469455b1b66c338611
|
|
The goal is preserving the shadow effect with all its attributes using
the shape grab bag. This is the relevant piece of XML in the document:
<a:effectLst>
<a:outerShdw blurRad="50800" dist="38100"
dir="2700000" algn="tl" rotWithShape="0">
<a:schemeClr val="accent1">
<a:alpha val="40000" />
</a:schemeClr>
</a:outerShdw>
</a:effectLst>
In first place, we added members to the structure EffectProperties to
store the effect name and attributes. Later, when we create the shape,
we add them to the shape grab bag together with the shadow color (if
it is a theme color we store its name and transformations like in
other cases). Finally, we read back all these data from the shape grab
bag and write them back to the document.
I added a unit test for this shape property.
Change-Id: Idda2d5e2970cb8563e2ed13a84b2fa2d4b99aa70
|
|
Change-Id: I08f37f3bfe7d14e10fb4383eae3d3469df7e707e
|
|
Change-Id: Icddec34e91305cfc3f9d852472bb86eab4d8cb26
|
|
- Textbox run character properties are change after roundtrip
- Italic case was not handled in textcharacter properties
Reviewed on:
https://gerrit.libreoffice.org/9096
Change-Id: Ia38fcadce489ef0bfffb9bda402d13058cf6129a
|
|
Added support for linked textboxes for docx interoperability.
Reviewed on:
https://gerrit.libreoffice.org/9092
Change-Id: I7db4f5a1783afff53c64908d182788b262f5e863
|
|
Change-Id: I4a1bf64267d36ff4b3b7cf0ba2cc23c52ec2d36e
|
|
Change-Id: Ic7dc70c1052f5ab04a3e1795549ca43e2e0f2587
|
|
Change-Id: I25a713094089f4d6df9fbb3ce9e5015ea66eb34a
|
|
Change-Id: I6e93180cbc980438e47ee24735de1fb9758b7add
|
|
Change-Id: I53e7bd12701ca4d30fdbf36fe525076d53f86edc
|
|
With this, oox/source/drawingml/customshapepresets*.cxx becomes unused
code, while share/filter/oox-drawingml-cs-presets in instdir becomes a
requirement.
Change-Id: Ia886a47295514bbacd1e522273c59f0656e4cf6b
|
|
In case the data is empty, the data loader still set the proper type for
the sequence, while the generated code used a string sequence. Do the
same to keep testcases happy, there is no visual difference anyway.
Change-Id: I1b9be4486184a2a84c384f1365cc68dd45b8eee0
|
|
Change-Id: I2feb7054ea2bd699384b01a1d83845cd3c2562b0
|
|
Change-Id: Ie18c3e631c266d4281df8b92d08ddeaaef20e8d7
|
|
Change-Id: Icc6e96f4cfbf8304933246d43621bf8d2824daf3
|
|
Change-Id: I35d1c6aaf94853df844bd226c57003742d3c48be
|
|
Change-Id: I842a464ddc0403d63698b2f9b52d4362af1e46c3
|
|
Change-Id: I41b1ff9fa030267ef05fadeb6f77d33a183af8f1
|
|
Change-Id: I8649866c338055ed7fe7c14f366c69670b538d93
|
|
CustomShapeProperties::pushToPropSet() still uses the old generated
code, though.
Change-Id: I02550bdf4ac57ef54992facd7ccd144e798be1e8
|
|
This is generated data, meant to replace
source/drawingml/customshapepresets*.cxx soon. Just like the code
before, let's have it in git, generating it requires an already working
Impress, so it's nontrivial to produce it build-time.
Change-Id: Iaf8c77fc6ee0402e3e145b131724b7891d6b6b3f
|
|
Problem description:
For the images who has the "Text wrapping" property set as Behind Text
is not preserved after saving the file in DOCX format using LO.
Reviewed on:
https://gerrit.libreoffice.org/9065
Change-Id: Ic8555103909c0f1ed1cb58fba4dc2ef2f84cc9dd
|
|
Change-Id: I72d795203aedf34d32012ecee3c8fdfbc2a8a08f
|