Age | Commit message (Collapse) | Author |
|
Change-Id: I83f2b1d7fbe940917ef2c0b7be225c722fe9df05
|
|
Change-Id: I2c7a0d4c3c2714bd1e2773c0749edd20ee38628f
|
|
Change-Id: I56e161d42f7a58a7931191ab3d0af79f2af9ee5c
|
|
Change-Id: I4b744cf10165383153d2a71c05df0c0ed327c641
|
|
Users can select the fill color for a shape among the theme-defined
colors. This results in the following XML:
<wps:spPr>
...
<a:solidFill>
<a:schemeClr val="accent2"/>
</a:solidFill>
...
</wps:spPr>
Now we store both the original fill color and the name of the
theme-defined color, if it exists, on the import phase. They are put
into the InteropGrabBag of the shape with the names
OriginalSolidFillClr and SpPrSolidFillSchemeClr. Additionally, we
needed to to store the decoded theme color inside StyleFillRef.
On the export phase we have to take into account several combinations
of factors:
* If the final color for the shape fill is different from the
original color, we must ignore any theme attributes and write the
new color.
* If the fill color is unchanged and some theme color exists, we must
write the theme color.
* If the fill color is unchanged and no theme color exists, we must
check if the original color matches the style-defined color. If it
does, we must not write any <a:solidFill> tag.
* Otherwise we must write the <a:solidFill> tag with the RGB color.
The method putPropertiesToGrabBag was added to the Shape object for
convenience.
The data files for some /sd/qa/ unit tests were updated to reflect
the new properties inside the Shape InteropGrabBag.
Change-Id: If0915c5442872a8acab0a8a081f60c89c97277bd
|
|
Shape style attributes contain the default format for the shape in
case that no direct format is specified for it. This is an example
of the attribute we want to preserve with this patch:
<wps:style>
...
<a:fillRef idx="1">
<a:schemeClr val="accent1"/>
</a:fillRef>
...
</wps:style>
The relevant values in these tags are stored at the maShapeStyleRefs
member in the Shape object. The storage happens at
ShapeStyleContext::onCreateContext which is run when the <a:fillRef>
tag is opened. The ShapeStyleRef object contains the idx value and a
Color object which will contain the inner tag <a:schemeClr>.
The Color object has been modified to store the string value of
schemeClr. The storage happens at ColorValueContext::onStartElement
which is run when the tag <a:schemeClr> is opened.
Later, Shape::createAndInsert is called by the ShapeContextHandler to
create the actual XShape, this happens when the tag <wps:wsp> is
closed. createAndInsert puts idx and schemeClr values into the
InteropGrabBag property of the XShape with the name StyleFillRef.
On export time, when the shape data is written at
ShapeExport::WriteCustomShape, we added a call to
DrawingML::WriteShapeStyle. This method will check the existence of
the InteropGrabBag property in the shape, read the StyleFillRef prop
inside it and output the proper XML to the style definition.
DrawingML::WriteShapeStyle also writes some mock tags into the
<wps:style> because we found that they are compulsory. We will
replace them with the proper data in further patches.
The method putPropertyToGrabBag was added to the Shape object for
convenience.
The data files for some /sd/qa/ unit tests were updated to reflect
the new property StyleFillRef inside the InteropGrabBag.
Change-Id: I5ffa5242852461a1a709a8f169d40f0d7a2c9aa3
|
|
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
|
|
Change-Id: Ib41ed9ace428081e1948cf109de095ea9e7c45c2
|
|
Change-Id: I19b429741a2ba972bef8863008657823b9bb7f91
|
|
Change-Id: I3b345be909ed2cb93cd0d478af4b26c9909d2726
|
|
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
|
|
Change-Id: I9b838b6c00bc6e456adcf5d63c9936c08bf0d1aa
|
|
This is in preparation for more conversion of SvStream::operator<< calls
to use more explicit method names.
This converts the subclasses that have their own convenience overloads
of operator<< to use normal methods.
Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
|
|
Change-Id: Ib922ebf1e547ff4d02c4fbaac6e6a81313a036ec
|
|
...depending on DOCUMENT_TYPE_IMPRESS, similar to how the nPgNum argument to the
SdDrawDocument::GetMasterSdPage call a few lines up is computed.
Change-Id: I8a13ac72868d96d486c071a4a705268dd888c1eb
|
|
...in 4707f7bb54d143e642ad5df5eedf56d5d2b08385 "CWS-TOOLING: integrate CWS
cmcfixes51"
Change-Id: Icc8b2ed48d73f3f03c2820f554f896f6edb15e23
|
|
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
|
|
...since a5a5e61fd9a32b3d881f42c39d789ed4bc5d4122 "INTEGRATION: CWS
presentationengine01" in 2004.
Change-Id: Iad72fa7af037d97583621afb114243ac6a45b8ce
|
|
Change-Id: Ie62a6c1197594102bc68e246ae6059a9442ce314
|
|
Change-Id: I2439ed19b554381f80e882aacbac05167622df92
|
|
...instead of handing off to base class, so that potential wrapping in SdXShape
(in create) is not skipped.
Change-Id: I57fb10ef478688a5a0c1c3c736efbd55a7172423
|
|
so there isn't a hole if the remote control option is
hidden
Change-Id: I514b76d35ef831f4c74ea43f18b2fa812059cfd2
|
|
...and SfxEnumItemInterface::HasBoolValue, too.
Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
|
|
This is the actual re-write.
Use a clang rewriter to rewrite SvStream::operator<< to methods
like WriteuInt32.
Note that the rewriter is not perfect, and I hand-tweaked the output.
In particular, I had to adjust places doing things like
(*this) << 1;
Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a
Reviewed-on: https://gerrit.libreoffice.org/7342
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
An OUString* is type compatibile with void*.
Change-Id: I6f01fe02c75f4db0bda09c7e288cb88d1fbf3c37
|
|
draw/impress print options page (de)
Change-Id: Ie4cf8902d3db68a156d10bd4d1b2c7db33539f9c
|
|
Change-Id: I1dd51df0e78a3cc89cdfcaec91ffd9a753393e2e
|
|
Convert code like:
buf.append( static_cast<sal_Unicode>('!') );
to:
buf.append( '!' );
Change-Id: Iacb03a61de65a895540940953b49620677b3d051
|
|
(cherry picked from commit c31988351c10e9f3fd783730d95da34efd52c153)
Conflicts:
basic/source/comp/parser.cxx
basic/source/comp/token.cxx
dbaccess/source/ui/dlg/generalpage.cxx
sc/source/ui/unoobj/chart2uno.cxx
vcl/quartz/salbmp.cxx
Change-Id: Ic9580f2d4a44959cb3e38906eb4153b2c2a54899
|
|
This is a second batch of HiDPI changes. It fixes the following areas:
Sidebar
* Impress Master pages preview
* deck title height
* tab (icon) bar
* valueset dropdown control
* wider maximum width
* Draw and other misc. buttons which didn't get fixed by earlier
change to Toolbar.SetItemImage
There are several more sidebar issues, but it is much improved.
Other changes
* Writer and Calc auto-format dialog text
* file-properties document image
* fontwork gallery preview size
* Calc table border control
Change-Id: I95a0169a3b011836b1c75b3dcacb2733c9567ef3
|
|
It is not a problem of performance, but of the look - the images get too
blurry in the case of icons; and the blurry look is worse than than the
artifacts of the fast scaling.
Revert "hidpi: Use the default scaling algorithm."
This reverts commit e07097cce36f1220f5574a80dc22eeabb3005261.
Change-Id: I8af2827758e02ec3c8b7dade1559c45bd9f0ef35
|
|
|
|
Change-Id: I46458d497757162be283effb624a7c769aeb5354
Reviewed-on: https://gerrit.libreoffice.org/7200
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
|
|
Related to d1c74734c8d9026b0f0c03f7382ca60165cec8c6
Change-Id: Ic3a6147f0615e79640ec9f567168f93219d34020
|
|
In the past, NO_LOCALIZE_EXPORT macro must be used to
skip uneeded parsing of src files which has no localizable content.
It is unsued by now and it is more effective to handle
this files on gmake level:
gb_SrsTarget_add_nonlocalizable_files
gb_SrsTarget_add_nonlocalizable_templates
Plus remove some empty src file.
Change-Id: I8fc9b2db0b5fd7a3379d3c5be970c4fc691f4c53
|
|
Patch By: hanya
Review By: jsc
(cherry picked from commit 1831b6c95e6137432f64729a270e53fc39e46217)
Change-Id: Iad149ff5350ac63270ea0ae84343f7ef5fdde1a2
|
|
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
|
|
We are not on _that_ time critical path when setting up images for the UI, so
let's have at least some quality there :-)
Change-Id: I0a82106b0d60ac6a543d5e55c48fc86b6d5f60b1
|
|
This also introduces a getter for the mnDPIScaleFactor variable.
Change-Id: I02ba6858fb1842f911d62976f4c54afc3bfa337f
|
|
|
|
There is no point in storing pointers to a ref-counted value type like
OUString.
And while we're there, convert arrays to std::vector
Change-Id: I96ceeb13dd3c4fb4f2ebdd017edc92d01dcb47cb
Reviewed-on: https://gerrit.libreoffice.org/7044
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
|
|
|
|
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up,
of course.
Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
|
|
Change-Id: I6f75d0df0ddafc892fef0ce1bfdcdd6c70151afc
Reviewed-on: https://gerrit.libreoffice.org/7104
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
|
|
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
|
|
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
|
|
Change-Id: Ibec07fba0b2070a4dea7fd0008d7e5fd0af906d7
|
|
Change-Id: Ibc34750a0f9b5a36c8fa0743e9ac88482ccfecc4
|