summaryrefslogtreecommitdiff
path: root/drawinglayer/source/dumper/XShapeDumper.cxx
AgeCommit message (Collapse)Author
2018-02-18remove use of FillBitmapURL and use FillBitmap as the alternativeTomaž Vajngerl
This is under the ongoing work to get rit of all usage of GraphicObject URLs Change-Id: I900e435ac36a4012ec36a2f0c1d909982c82660a Reviewed-on: https://gerrit.libreoffice.org/49895 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-01-12More loplugin:cstylecast: drawinglayerStephan Bergmann
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I38baea4d1dd354e48eb90fc2fc385ef60485b5e3
2017-05-12remove unused uno::Reference varsNoel Grandin
found by temporarily marking Reference as SAL_WARN_UNUSED. Change-Id: I18809b62654467f890016adcc92576980ced393b Reviewed-on: https://gerrit.libreoffice.org/37511 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-04-11clang-tidy performance-unnecessary-value-param in drawinglayerNoel Grandin
Change-Id: I59d65ba81afab41e781f9dea5339a01d7918c51c
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I3aa15efd12b8c9b20319a1975dbbd541783aea2d
2015-09-12drawinglayer: com::sun::star->cssNoel Grandin
Change-Id: I65706e3e87c1ce287020c90a89f7dc00866bef64 Reviewed-on: https://gerrit.libreoffice.org/18501 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-03Improve loplugin:passstuffbyrefStephan Bergmann
Change-Id: I88ab4c51ff59312127681d3087d22b9c79192b94
2014-11-15drawinglayer: these are expected to be UTF-8Miklos Vajna
Change-Id: Ic2054af851bb9d195be4d550f36b1d7349f90204
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-05-14various loplugin:passsequencebyrefNoel Grandin
Change-Id: Id1045a7f66b4fa10b6491587ba07246a31ceba72
2014-04-25add way for shape dumper to dump single shapeMarkus Mohrhard
Change-Id: I031921d6869d3bbdef4ed11e4316b6cd977992ca
2014-04-07drawinglayer: sal_Bool->boolNoel Grandin
Change-Id: I893d00a61d314926f84fb3e94743aba2ef5622c4
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin
It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-28sd/qa: Remove InteropGrabBag property from XML dumpsJacobo Aragunde Pérez
The InteropGrabBag property adds a lot of noise to this tests and it doesn't actually have any purpose, because we are building their own tests for InteropGrabBag-supported document attributes. We have removed this property by default but we left a flag to enable it when it's convenient for debugging. Change-Id: I97cc7ba171783222a57ab5a96e5755070b949505
2013-12-08fdo#72260: guard against duplicate "name" attributeKorrawit Pruegsanusak
Change-Id: I1ee4b82e04318a50db8bb54bd5c7e00c79177d37 Reviewed-on: https://gerrit.libreoffice.org/6984 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-08XShapeDumper: empty name should not be dumpedKorrawit Pruegsanusak
Change-Id: Ic1ab8840c9e543cebf322de922b01739684789ad
2013-12-08add vim modelines for drawinglayer/source/dumper/*Korrawit Pruegsanusak
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: Icb19121e39565a3588c0acd14db114a8572b00fa
2013-09-09drawinglayer: added dumping of InteropGrabBag propAndres Gomez
XShapeDumper is now also dumping the InteropGrabBag property as a new empty element. In the future, new "private" properties added to the grab bag could be dumped too. Updated the unit tests accordingly. Change-Id: I7526dbd64bdc08915dc71f1167f05224118f17a6 Reviewed-on: https://gerrit.libreoffice.org/5848 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-05WaE: unused function 'dumpInteropGrabBagAsElement'Tor Lillqvist
Change-Id: I304b8021225c105f068c793ce04a447d4db4f7cf
2013-09-05svx: new InteropGrabBag UNO prop in Shape serviceAndres Gomez
Added the new InteropGrabBag property to the Shape service and modified the JUnit UNO unit tests for it. Added specific implementation in the svx module for the SvxShape class. This new property is intended by now for its usage on preserving OOX's Smart-Art but it could also be used for preserving other attributes for interoperability among document formats. Change-Id: Idc7a8e91592399ff05effd4da6eaa2935f8f4d42 Reviewed-on: https://gerrit.libreoffice.org/5769 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-05-16XShapeDumper: Dump more values, to be able to test n#819614.Jan Holesovsky
Change-Id: I19cbae855996bffb18206b9003e22a2bcc0c75d9
2013-05-15sd unittests: Do not dump the font name, depends on installed fonts.Jan Holesovsky
Change-Id: Id401feed7d629cbc0c24428b0c1273afdb31be89
2013-05-15sd unittests: Update XShapeDumper to dump also (some) font properties.Jan Holesovsky
+ update the expected dumps together with that. This allows testing of the other part (wrong text color and size, commit 55c63ccfd460895af22e91979967cec15d80b72d) of n#758621 too. Change-Id: Ie93feb9d9d05eb4e11106bf9aa1f237947351b4e
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann
Change-Id: I04f64b11b484be8c997e1dbab8de35282fa64289
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann
Change-Id: Ia735ee75b75b3e2dafe610cf5cd513dd7d4b7392
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann
Change-Id: I79731b0e8a991a96b87938749fa9898110fe2dde
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann
Change-Id: If16ce75845383cf697a2f1e4cef438a8bc43c125
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann
Change-Id: I174b34835cc955c234a06618a48f61fc700e4400
2012-07-15-Werror,-Wunused-functionStephan Bergmann
Change-Id: Ie0e37aae9be1c6fcf3f8c0b8d571dc3786f38205
2012-07-13better error messages for exceptions in XShapeDumper.cxxMarkus Mohrhard
Change-Id: I37761931b9f8351036f360423f481f53a59855fb
2012-07-13move EnhancedShapeDumper to a module local locationMarkus Mohrhard
Change-Id: Idb4cd44da611973c92bda6de779daf3aa8425168
2012-07-12fix indentationMarkus Mohrhard
don't indent after namespace declaration Change-Id: I3773521abd2463269c58162eae6a608085b1bf9f
2012-07-12some small improvements for the dumperMarkus Mohrhard
Change-Id: I0a24a0e9c4a3b818c9144bc38857b67e49483915
2012-07-12Started dumping EnhancedCustomShapeTextPath service & added TextPath propertyArtur Dorda
Change-Id: I4945ee8cba2d9d4fc9f374cf0002dbdb99d6df28
2012-07-12Started dumping of EnhancedCustomShapePath serviceArtur Dorda
Change-Id: I11ded0e19f4a9f619546af2ff838ad7aeadd7429
2012-07-12Added dumping of EnhancedCustomShapeHandle serviceArtur Dorda
Change-Id: I0b9d2b7abd966bf4d8e1cf579fdc0cf319978a6e
2012-07-12Added EnhancedCustomShapeGeometry service & Type propertyArtur Dorda
Change-Id: I38c60a10fc378a840f4bd267a9d6bec529906ca8
2012-07-12Restructurization of XShape- and EnhancedShape- dumpers, builds fine nowArtur Dorda
Change-Id: I57e230f5b2aff8cd6818b38776ae0b0b0d614d61
2012-07-12Added service EnhancedCustomShapeExtrusion, properties Extrusion & BrightnessArtur Dorda
Change-Id: Ie787fb90f2c8192632e0ad8a86c7affbb3315791
2012-07-12Added new class EnhancedShapeDumper handled in XShapeDumperArtur Dorda
Change-Id: Ie719eba2579998917cea030fad51f07b0bcacec4
2012-07-12fixed taking wrong string as a parameterArtur Dorda
Change-Id: I30a68a17b14b9867dc2d2ade8b12e7484d68fe9e
2012-07-12Added CustomShapeReplacementURL propertyArtur Dorda
Change-Id: Ie0f2b1993392a8ba6974d891ca5147c69bf9a59d
2012-07-12Added CustomShapeGeometry propertyArtur Dorda
Change-Id: I2a4a22cef0c31a8535d33f920a74f61d712e9080