summaryrefslogtreecommitdiff
path: root/drawinglayer
AgeCommit message (Collapse)Author
2014-01-31-Werror,-Wunused-variableStephan Bergmann
(cherry-picked from 849482c0ea88c4aa70ec56adfefe7e59b6060950) Change-Id: I39d15f863f4e1fd585b03bfc5f8854fb66af3b4c Reviewed-on: https://gerrit.libreoffice.org/7749 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-01-29fdo#73487, fdo#73886: Overhaul cell borders to make them look sane.Kohei Yoshida
Change-Id: Ie563f272b60ec8b6b8a4ff0df7256902997610c1 Reviewed-on: https://gerrit.libreoffice.org/7597 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-01-17fdo#72530: drawinglayer: fix PDF export of lossless pictureMichael Stahl
Don't pass empty Rectangle to PDFExtOutDevData::EndGroup(), it will result in early return from PDFWriterImpl::drawJPGBitmap() and no picture in the PDF. Passing in the same Rectangle for the 3rd and 4th parameter will avoid cropping in PDFExtOutDevData. (regression from 677df250becd5cde71c6310f647e78ac3763347e) Change-Id: Icf110fe3e635319419fcacc7bc684c792a34d6ad (cherry picked from commit c8e9038b13c64df430fb4e3fecac65a3c507e3e8) Reviewed-on: https://gerrit.libreoffice.org/7502 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString constructorNoel Grandin
Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: Ib723e19923578c07353bbd8cef98ae031a766045
2013-11-06Resolves: #i123500# redefined ColorModifiers and ColorModifierStack...Armin Le Grand
redefined GraphicAttr to be expressed as primitives if needed, enhanced render and export quality if graphic is modified using graphic attributes (cherry picked from commit 1e79e8da3f8042f7d7bd94b2c9f03cff7545b05c) Conflicts: basegfx/inc/basegfx/color/bcolor.hxx basegfx/inc/basegfx/color/bcolormodifier.hxx basegfx/source/color/bcolormodifier.cxx drawinglayer/inc/drawinglayer/primitive2d/graphicprimitivehelper2d.hxx drawinglayer/inc/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx drawinglayer/inc/drawinglayer/primitive3d/modifiedcolorprimitive3d.hxx drawinglayer/source/primitive2d/graphicprimitive2d.cxx drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx drawinglayer/source/primitive2d/modifiedcolorprimitive2d.cxx drawinglayer/source/primitive3d/modifiedcolorprimitive3d.cxx Change-Id: Ief2172efc9cc1b9838de48ec7f536c05573c7dc3
2013-11-05Resolves: i123564 corrected some aspects when working with bitmaps...Armin Le Grand
with low color depth or small size (cherry picked from commit ba54ce4fc788605fc96235f432b455311faee406) Conflicts: cui/source/tabpages/tpbitmap.cxx Change-Id: I10677414ab7d1904dbb29cd395a0c0334e0faa03
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-15update pchThomas Arnhold
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-08fdo#70090: Avoid race in copy vs. modification of aRetval SequenceStephan Bergmann
If, in the original code, aRetval[0] was computed before calling new MaskPrmitive2D (as apparently happens with Clang), no COW-copy of aRetval's internals was created (as the refcount was still 1), so MaskPrimitive2D's maChildren would share the Sequence internals with aRetval, so would end up having itself as its children after the assignment. Change-Id: I145ca429fdfae2ea555b8c754b407a81b989d45b
2013-10-07fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316 Reviewed-on: https://gerrit.libreoffice.org/6035 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-04fdo#39674 fix some spellingThomas Arnhold
Change-Id: I72e497fb97edf8782c69000576f42896594e1556
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: Icb19121e39565a3588c0acd14db114a8572b00fa
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: If08088f17f65619023774473c088dcf589de4e79
2013-09-22add mode lines to new files (and idls) since last runCaolán McNamara
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-20Resolves: #i123295# corrected object and clip rect...Armin Le Grand
in PDFExtOutDevData::EndGroup call in VclMetafileProcessor2D (cherry picked from commit b756639c139f043a613df6ca16c18f426fca1f29) Change-Id: I75faf2c8d925ec210cd74d8c29b90f5f9bf61ec8
2013-09-17convert DRAWINGLAYER module from String to OUStringNoel Grandin
Change-Id: I0856974cb9fe33418e3be0a5b977100be3bdce00
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-09-05clean up after my cow wrapper changesThomas Arnhold
Change-Id: I42fcce936750888388e80db24b529b7543f9f4bf
2013-08-31deleted code that was commented outPhilipp Riemer
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I7a67c3768c0d7e36784ee88fc46680037acb244d
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-28Resolves: #i122923# optimize place to add alpha to bitmaps which need rotationArmin Le Grand
(cherry picked from commit 2178fea0941c4abb624ecddf2453f670ba68878f) Change-Id: Ib83d10bcd2d0950fbb8afe8894caa9c0b60e6a5d
2013-08-22convert drawinglayer module from String to OUStringNoel Grandin
Change-Id: I115dfd5ca7d343b220b2a3e8aa0565f9e4689042
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-07-29Avoid SolarMutex assertion in a dbgutil build when exiting ImpressTor Lillqvist
Change-Id: I903d078713007920574dcdb780e1dd301ce94bf6
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-25Resolves: #i122836# fix rotated images looking corrupted on MacOSXHerbert Dürr
The solution is to intialize the images rotation mask to be opaque, an approach that also the fix for bug #i122758#. (cherry picked from commit 78f54616efdcfb1c8cbd1a75d3cf9faf7b5e1b8a) Change-Id: I417aab21ded9619ae4023edf169136c7115d4a07
2013-07-16Resolves: #i122758# Initialize Mask with non-transparentArmin Le Grand
(cherry picked from commit db4affff17f202e69447fd22c246843a6cda3e52) Change-Id: I4851c544b23d2857a0f13cff3ede987ebb813cef
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-12PCH for more librariesLuboš Luňák
Change-Id: I6f9a1969605e0016b11157ddb5754ac77fd3966b
2013-07-12fdo#66745: drawinglayer: properly restore anti-aliasing modeMichael Stahl
VclPixelProcessor2D: the constructor changes the anti-aliasing mode of the given output device, and the destructor restores a hard-coded mode instead of what was there before. Due to this commit 5913506b2193e93ca2767ab7365ab2e76ed7848f turned off anti-aliasing for FontWork objects simply by creating a temporary VclPixelProcessor2D. Change-Id: I7f7fcbf86b0dd425f599cd8e62fce3c69a2744bb
2013-07-08WaE and numerical inconsequence in gradient fallback render handlingArmin Le Grand
(cherry picked from commit d8dfdae3da901a5a26182f3221c7aa374561672f) Conflicts: drawinglayer/inc/drawinglayer/primitive2d/svggradientprimitive2d.hxx drawinglayer/source/primitive2d/svggradientprimitive2d.cxx Change-Id: Ifcc795a3474efad1c1bca77088adfef36258ee95
2013-07-04emf+ is not decomposed into primitives, so restore wind and playCaolán McNamara
regression from f69df53b316b53931e10d35402a70f533399398c we presumably should process comments and go through their emfplus contents too, or something of that nature Change-Id: Ifa8c3f058f0a320057d02b53f5717eaa42e63282
2013-06-19Resolves: #i110384# added better fat line rendering where possibleArmin Le Grand
(cherry picked from commit 144eb666b72516ef78c15424087800dff1be5cfd) Conflicts: drawinglayer/inc/drawinglayer/processor2d/vclpixelprocessor2d.hxx drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx vcl/inc/vcl/outdev.hxx Change-Id: I89f378a4d7a8311b8922f10acff66b000a20a4b7
2013-06-18Resolves: #i122120# Changed UI preview creators...Armin Le Grand
to no longer need SdrModel/SdrObject (cherry picked from commit 0c353433ad94786a937fa9da01d6e7382e3da942) corrected unwanted change (cherry picked from commit 8a10735b8ee3926a592d6919f4dbb823771bed9f) Conflicts: vcl/inc/vcl/outdev.hxx 7c096015d974382e6874a874370ee72a61f02e6a Change-Id: Ib2afe135566eba2e99cc8c4a653de3df0fa7f0cd
2013-06-17Resolves: #i74211# Correct crop of bitmap data when...Armin Le Grand
logical size and MapMode do not match real pixel size (cherry picked from commit a24965371f7e881671182bc51432c08cbf667b56) Conflicts: svtools/inc/svtools/grfmgr.hxx svtools/source/graphic/grfmgr.cxx svx/inc/svx/svdhdl.hxx svx/inc/svx/svdograf.hxx svx/source/svdraw/svdhdl.cxx Change-Id: Icfb9091b55e50081e8daf697c9f00f5b5a10531a
2013-06-17restore now needed ctorCaolán McNamara
partial revert of bb61f56d71b699dfbe422bac37a3151767e6a40f now that we need it again Change-Id: Iffaf72b96b237101b4bbb65efd32d6c5f18eb212
2013-06-17Related: #i121801# Corrected objectBoundingBox case for GradientTransformArmin Le Grand
(cherry picked from commit f03ec4812cfe71f582c5290869f22eadd661b48a) Change-Id: Icb3e2cefda2fd5fe9a2dcf501e5e07881961932e
2013-06-17Resolves: #i121801# Corrected handling of gradient transformationsArmin Le Grand
(cherry picked from commit 4f49f1d95e8d0be7df259ad1458441fd858be735) Conflicts: drawinglayer/inc/drawinglayer/primitive2d/svggradientprimitive2d.hxx svgio/source/svgreader/svgnode.cxx svgio/source/svgreader/svgstyleattributes.cxx Change-Id: I155854692a9d1771826867d2666fc6174e2c9256
2013-06-17Resolves: #i122132# Some simple extensions to exporterArmin Le Grand
(cherry picked from commit 3454d18694e0ddcf9bc71661bf48c37450fa1fab) Conflicts: filter/source/svg/svgwriter.cxx Change-Id: I2f9d96ffce0d51695a665b58a776807bab5d277e
2013-06-17Resolves: #i113080# added test code, cleaned up a small inconsistencyArmin Le Grand
(cherry picked from commit d7fa73b25f75796291432496d9bb8d7c80e82c8b) Conflicts: drawinglayer/source/tools/converters.cxx Change-Id: Ia8edda4ca2c79bfc9d4a0962f99d8db581622a7d
2013-06-17move now private headers to private locationCaolán McNamara
Change-Id: Ibc3a6d446dd2bd49af916cbe1ca88e173ae414cb
2013-06-17Related: #i121532# unified processor2d usages from other modulesArmin Le Grand
(cherry picked from commit f371f92c89d296207ef9a219518ba8caa481bcfe) Conflicts: drawinglayer/Library_drawinglayer.mk drawinglayer/Package_inc.mk drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx drawinglayer/inc/drawinglayer/processor2d/vclpixelprocessor2d.hxx drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx drawinglayer/inc/drawinglayer/processor3d/defaultprocessor3d.hxx drawinglayer/inc/drawinglayer/processor3d/zbufferprocessor3d.hxx drawinglayer/source/processor2d/processor2dtools.cxx svx/Package_inc.mk svx/source/sdr/contact/objectcontactofobjlistpainter.cxx svx/source/sdr/contact/objectcontactofpageview.cxx svx/source/sdr/overlay/overlaymanager.cxx svx/source/sdr/overlay/overlayprimitive2dsequenceobject.cxx svx/source/svdraw/svdedxv.cxx sw/source/core/doc/notxtfrm.cxx Change-Id: Iea4a79133f4375cb0625b187eeb3d727b50ff0fe Related: #i121532# missing defaultprocessor3d.hxx breaks build Revision 1440387 changed defaultprocessor3d.hxx to be no longer "delivered". It is needed in svx by being included indirectly via cutfindprocessor3d.hxx. Fixing the build breaker by "delivering" the missing header file again. (cherry picked from commit 3bd3ea81c8d54109950b435225c3aac011d56c3d) Conflicts: drawinglayer/Package_inc.mk Change-Id: If0dcea79cfff4cf20a1ca1af3d0a34f86eb2e24e Related: #i121532# removed include to no longer existing file (cherry picked from commit a4c602d9b5b17e220dbaa4dec2cef91d39945154) Conflicts: sw/source/core/doc/notxtfrm.cxx Change-Id: I7dc2f99684fa285225dfdcfc7add553695b8412e
2013-06-16Resolves: #i121532# enhanced visualisation of text edit&selectionArmin Le Grand
D&D overhauled (cherry picked from commit c6e63b6bbb6b4a63fe1302de57fc32cd28432378) Conflicts: drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx drawinglayer/inc/drawinglayer/processor2d/linegeometryextractor2d.hxx drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx svx/Package_inc.mk svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx svx/inc/svx/sdr/overlay/overlayobject.hxx svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx svx/inc/svx/sdr/overlay/overlayrectangle.hxx svx/inc/svx/sdr/overlay/overlaytools.hxx svx/inc/svx/sdr/primitive2d/svx_primitivetypes2d.hxx svx/inc/svx/svdview.hxx svx/source/engine3d/view3d.cxx svx/source/sdr/overlay/overlayanimatedbitmapex.cxx svx/source/sdr/overlay/overlayhatchrect.cxx svx/source/sdr/overlay/overlaypolypolygon.cxx svx/source/sdr/overlay/overlaytools.cxx svx/source/svdraw/svdcrtv.cxx svx/source/svdraw/svdedxv.cxx svx/source/svdraw/svdhdl.cxx svx/source/svdraw/svdobj.cxx svx/source/svdraw/svdview.cxx sw/source/ui/dochdl/swdtflvr.cxx Unname unused arguments to prevent WaE issues. (cherry picked from commit 0735a61e631b8d4bb3d4e889bee436fb9e7c5734) Change-Id: I3b1cf4754063985dc1b4adac44b33e52e200607f e4288936cadd1f6e06bdf79611536d7114236b56
2013-06-15Resolves: #i122216# Ensure FormControls get printed/PDFedArmin Le Grand
also ensure graphics are all visible in metafiles (cherry picked from commit f3695b261c9fb6f7053b325bd25dc43f578b32fe) Change-Id: I70dcf53e56f883a8c28c85c410d3c9f0d1d4bbe1
2013-06-14Related: #i121534# avoid expensive emulation of 1bit masks for Mac's QuartzHerbert Dürr
(cherry picked from commit 194c7ff906c9164a522f924dc1c1f8c5fc81b6e6) Change-Id: I28a31c5abb14ceb72dc290e6ed2161c0ef6592df
2013-06-14Resolves: #i122525# use X and Y for unit evaluationArmin Le Grand
(cherry picked from commit a34f3fdf50dbf8eac0599dfb018fc0040ef2a2f0) Change-Id: Icdb83829917315173be5e824083ed502f6a6a8cb
2013-06-14Resolves: #i121534# Reintegrating changes for rotated bitmap supportArmin Le Grand
(cherry picked from commit b2cc0de3fc9adee90787ca760e86869f9255b380) Conflicts: canvas/source/vcl/spritecanvashelper.cxx drawinglayer/Library_drawinglayer.mk drawinglayer/source/processor2d/vclhelperbitmaprender.cxx drawinglayer/source/processor2d/vclhelperbitmaprender.hxx drawinglayer/source/processor2d/vclhelperbitmaptransform.cxx drawinglayer/source/processor2d/vclhelperbitmaptransform.hxx drawinglayer/source/processor2d/vclprocessor2d.cxx officecfg/registry/schema/org/openoffice/Office/Draw.xcs svx/source/svdraw/svdograf.cxx vcl/aqua/source/gdi/salgdi.cxx vcl/inc/aqua/salgdi.h vcl/inc/os2/salgdi.h vcl/inc/salgdi.hxx vcl/inc/unx/pspgraphics.h vcl/inc/vcl/bitmapex.hxx vcl/inc/vcl/outdev.hxx vcl/inc/vcl/salbtype.hxx vcl/os2/source/gdi/salgdi2.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/outdev2.cxx vcl/source/gdi/salgdilayout.cxx vcl/source/gdi/salmisc.cxx vcl/unx/generic/gdi/pspgraphics.cxx vcl/unx/generic/gdi/salgdi2.cxx vcl/unx/headless/svpgdi.cxx vcl/unx/headless/svpgdi.hxx vcl/unx/headless/svppspgraphics.cxx vcl/unx/headless/svppspgraphics.hxx vcl/win/source/gdi/salbmp.cxx vcl/win/source/gdi/salgdi.cxx vcl/win/source/gdi/salgdi3.cxx vcl/win/source/gdi/salgdi_gdiplus.cxx vcl/win/source/gdi/winlayout.cxx Change-Id: I871d1d107b019758f3913e5eb63bc9bc0ba403fd Do not name unused arguments to prevent compiler warnings. (cherry picked from commit f3118889a0cd941f193e9b6557c0792015d77a34) Change-Id: I482d1f96d695c7bf9912ec464bb39e7fdd14adef Related: #i121534# fix graphite-enabled windows build (cherry picked from commit c90a6ca92b1239d01a2892e15488e4a183a88b1a) Conflicts: vcl/win/source/gdi/winlayout.cxx Change-Id: I95fd41ad6f7187f34ba9474674a471fb4fc65314