path: root/drawinglayer
AgeCommit message (Collapse)AuthorFilesLines
2013-08-14fdo#51688 fdo#66745: drawinglayer: properly restore anti-aliasing modeMichael Stahl2-4/+21
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 (cherry picked from commit 420aa16af0bbab4bdef80ceeb8d44cabe65840e0) Reviewed-on: Reviewed-by: Tor Lillqvist <> Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2013-06-11Revert "fix fdo#60533, Set TEXT_LAYOUT_BIDI_STRONG flag."Petr Mladek1-2/+2
It caused some regressions. For example, see fdo65414 and fdo65562 This reverts commit 6708ad7f1baa8d4cef1718bdef1d26fb5d8510f3. Change-Id: I0108463c78bbcb48a4c218d78e51deaa39caec0c
2013-04-30fdo#53163 fix hatching for objects with curvesDavid Tardon1-1/+1
B2DPolyPolygon can contain Bezier curves, but that is not taken into account when drawing the hatching in OutputDevice::ImplDrawHatch. The poly-polygon is adapted already when creating metafile, because the information about the poly-polygon containing curves is then lost somewhere in the process. At least, when I do the adaptation in OutputDevice::ImplDrawHatch, it has no effect and the hatching in the produced PDF is still wrong. Change-Id: Ibec9d6aceb23da986fe2d2414dc2e7fd4bf835b4 (cherry picked from commit 092fa33f22bbdcb74c3533750158db1724971878) Reviewed-on: Reviewed-by: Thorsten Behrens <> Tested-by: Thorsten Behrens <>
2013-03-28Re-introduce accidentally removed basegfx::fround().Jan Holesovsky1-1/+1
Change-Id: I0ea05229009a1473767d1614623af2b5a6536c5a Signed-off-by: Petr Mladek <>
2013-03-28fdo#61789 Fix crash, pSvtGraphicStroke is allowed to be NULL.Jan Holesovsky2-16/+18
Change-Id: Ia08e2e91354c9b4e543023c193b95e79d56e235b Signed-off-by: Michael Meeks <>
2013-03-27fdo#61789 - move metafile line width scaling somewhere more sensible.Michael Meeks2-6/+12
(cherry picked from commit 432b6ab482d6fcef05514ab17e4bc762ee552139) Signed-off-by: Michael Stahl <>
2013-03-14fix fdo#60533, Set TEXT_LAYOUT_BIDI_STRONG flag.navin patidar1-2/+2
Stop ImplLayoutArgs::ImplLayoutArgs() to perform ubidi algo on text by setting TEXT_LAYOUT_BIDI_STRONG flag. Change-Id: I7222517c1db6649eef0c0d9c11cbbbed1fc6bb04 Reviewed-on: Reviewed-by: Ahmad Harthi <> Tested-by: Ahmad Harthi <> (cherry picked from commit 6708ad7f1baa8d4cef1718bdef1d26fb5d8510f3) Signed-off-by: Lior Kaplan <>
2013-02-26fix emf+ renderingRadek Doulik1-2/+3
Change-Id: Ib49898362f7e648a8ce9c27b5e5b4f0b2ad93afd
2013-02-22WaE: unused bInterpretAbsoluteCaolán McNamara1-2/+0
Change-Id: I5f16d42fbb53efd6ee6e0cce48d99c2b74d99944
2013-02-22#120616# Corrected SVG gradient primitive and it's decompositionArmin Le Grand2-23/+69
Signed-off-by: Petr Mladek <> Conflicts: drawinglayer/source/primitive2d/svggradientprimitive2d.cxx Change-Id: I04c148303e7153a5376eae79803c540f6eba0b00 Signed-off-by: Petr Mladek <>
2013-02-06n#753462: Drawing text with font size 0 causes artifacts.Muthu Subramanian1-0/+4
Signed-off-by: Jan Holesovsky <>
2013-01-28Resolves: fdo#49784 CRASH when FILEOPEN particular doc containing .svmJulien Nabet1-1/+2
(cherry picked from commit 59bce03256c5c00616cf63ace140cb91fdd46aa7) Change-Id: Ia86ec2f32259180a29857eee53d6d5c082e05bf7 Reviewed-by: Radek Doulík <> Tested-by: Radek Doulík <>
2012-11-22AllSettings with LanguageTagEike Rathke1-1/+1
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-16use LanguageTagEike Rathke2-6/+6
Change-Id: I28b1dbb21e40585aaf2451e12ffd4f03783d4c4b
2012-11-15n#782833: Rotated text in emf images looks thicker.Muthu Subramanian1-7/+0
Any rotated text in an emf image (image size != original size), has thicker fonts. This is kind of a regression caused by commit 8c2902ecbf135fae070ea032fa10a59bb76ec1b0 So, partially reverted it. The code was kind of a workaround/copy-paste, so I am assuming it is safe to revert. Side-effects: The dotted borders (in calc) look a little lighter and not so very visible in the page-preview.
2012-11-06re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks171-4872/+6234
linecap: Reintegrating finished LineCap feature Patch contributed by Regina Henschel Patches contributed by Sven Jacobi impress212: #i81610# fixed animation export impress212: drawinglayer gbuild environment changes impress212: DffPropSet -> minor code improvements, removing table impress212: #158494# fixed excel import (text rotation) Patches contributed by Armin Le Grand Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement #118728# changed indentifying definitions for Svg file detection #118838# LineGeometry creation for complicated cases optimized to create single Polygons #119176# corrected file type detection for SVG for svg files without xml header #118728# Extended Svg file detection #118529# solve break converters and convert commands for OLEs and images svg: added WaE changes from branch svgreplacement to trunc svg: corrected missing member initialization fix for #118525#: Using primitives for chart sub-geometry visualisation #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles to bitmapEx ... fix for #118525#: removed no longer used variable maOriginalMapMode, one more exception eliminated #16758# Added buffering to the VDev usages of the VclProcessor2D derivates... #116758# Secured VDev buffer device to Vcl deinit #116758# added remembering allocated VDevs for VDevBuffer to be able to also delete these when vcl goes down; it should never happen, but You never know #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive representation instead of TransparencePrimitive2D #118822# secured 3D geometry creation (slices) by subdividing the 2D source polyPolygon early #118829# enhanced Svg gradient quality, obstacles avoided #118834# Unified usage of TextBreakupHelper as single tooling class for i18n text primitive breakup #118853# added square pixel size limit to conversion of TransparencePrimitive2D to Metafile action #118824# coreccted mirroring and boundrect when the graphicmanager is used for bitmap output #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for various optimization scenarios #118783# Corrected errors in ID strings, corrected Svg line/fill export, corrected polygon close state #118796# corrected null-pointer usage in SVG text exporter #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image import with linked graphics, too #118898# corrected error in GDIMetaFile::GetBoundRect in handling MetaFloatTransparentAction #118855# Corrected handling of possibly created empty clipRegions after PolyPolygon clipping #115962# Better (but not yet optimal, see comments in task) handling of MetaFloatTransparentAction in PDF export IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ... 118779# Added svg content streaming in/out to ImpGraphic stream operators linecap: correctons for WaE and mac drawing svg: uses current system Dpi for Svg replacement image creation Patches contributed by Mathias Bauer (and others) gnumake4 work variously Remove duplicate header includes. cws mba34issues01: #i117720#: convert assertion into warning 118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand. cws mba34issues01: #i117714#: remove assertion Patch contributed by Jurgen Schmidt add some additional checks to ensure proper reading operations mostly prefer our stream / bounds checking work. Patches contributed by Herbert Duerr #i118816# add clarifying comment regarding Font::*Color*() methods extend macro->string handling for empty strings avoid magic constants for SALCOLOR_NONE initialize slant properly in ImplFontMetricData constructor (author=iorsh) #i118675# make check for extension updates more stable #a118617# remove VBasicEventListener.dll binary There are no known users depending on its CLSID Patches contributed by Ariel Constenla-Haile Fix build breaker on Linux/gcc Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider instances of <SwFlyDrawObj> sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines gnumake4 work variously from Hans-Joachim Lankenau plus some amount of re-splitting of legacy headers. Patch contributed by Pavel Janik WaE: Remove unused variables. Patches contributed by Takashi Ono mingwport35: i#117795: MinGW port fix for vcl2gnumake mingwport35: i#117795: MinGW port fix for vcl2gnumake Patch contributed by Christian Lippka impress212: #i98044# re enable Text menu for outline and title shapes Patch contributed by Andre Fischer 118674: Made category B code optional and disabled by default. 118881: Ignore empty paragraphs after bullets. Patches contributed by Philipp Lohmann ooo340fixes: #i117780# use rtl allocator ooo34gsl02: #i117807# fix an off by one error (index actually inside the pfb section header) various cleanups, related compilation fixes, warning cleanups, re-working of obsolete stl template pieces to use boost instead, changed string classes, re-adapt KDE about data, about dialog, fixing warnings, and other fixes & improvements. Disable svg import / render for about/ branding code-paths for now. Restore full icon theme set. Remove OS/2 conditionals and sources. Remove conflicting gtk/full-screen monitors support. Retain existing svg rasterizer files - temporarily disabled. Standardize stringificaiton and fixup dllpostfix issues. Rename SvgGradientHelper::== to equalTo to avoid overloading issues. Use the flat GdiPlus API for LineCaps calls.
2012-11-05cleanup README files.Michael Meeks1-2/+2
Convert DOS -> unix newlines. Cleanup and clarify several files.
2012-10-30trivial empty-init String::Fill -> comphelper::padToLengthCaolán McNamara1-3/+5
Change-Id: I6c41b8f4d3ad739eff545063bd1f8fe8f4fba65e
2012-10-23fdo#46808, use service constructor for i18n::BreakIteratorNoel Grandin2-39/+37
Note that I found a pre-existing bug in linguistic/source/gciterator.cxx but I was not able to fix it, because doing so appears to expose bugs elsewhere! Change-Id: I17fb9108d98a98d0ae13fe5a8e043d2db5b27a6a
2012-10-11Fix fdo#35278 - don't generate hidden primitive rectanglesThorsten Behrens1-20/+0
I'm really rather certain we don't need to generate those non-stroked, non-filled rects in metafiles - at least not for the slideshow. The comment states otherwise, alas, there's no further explanation in any referenced bug etc. Change-Id: If7040b46900ea32515f29cf371897a693858b100
2012-10-10add a README filesManal Alhassoun1-0/+3
Change-Id: I2e779831e47cb1243ae7319b73b9fa553cf97034 Reviewed-on: Reviewed-by: Michael Meeks <> Tested-by: Michael Meeks <>
2012-10-02XubString->OUString in drawinglayerNoel Grandin1-5/+5
Also fix method name Change-Id: I2ebe3fe5231fbf5e8253537f2f9809e780f180cb
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl1-2/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl1-1/+2
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl1-0/+1
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-1/+1
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: Tested-by: Norbert Thiebaud <> Reviewed-by: Norbert Thiebaud <>
2012-08-17Revert "Fixed Bug [35079]"David Tardon1-17/+14
The commit completely breaks slide transitions (and probably other things as well). This reverts commit 234738874f29ed23cd2aafb470511b5acf411e3c.
2012-08-16-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann1-5/+0
Change-Id: I156255a5691beedec0cd00db0c772dac8ecfa564
2012-08-15Working version of XShapeDumperArtur Dorda1-0/+4
Change-Id: I4f4d37abdb1865d0bc05f01518d854872235121f
2012-08-14Fixed Bug [35079]Lennard1-14/+17
Drawing: Fixed Custom Shape Frame-Selection Bounding box bug Change-Id: Ia14feba446358cb195922477e0aa9576e9be2ae6 Signed-off-by: Lennard <>
2012-08-14drawinglayer: fixed file name in a commentCédric Bosdonnat1-1/+1
Change-Id: Ia27b38a2eb027a987990d55cbe8b9951b7d384f7
2012-08-08reduce ascii noise and useless commentsThomas Arnhold2-4/+0
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-07drop bogus eof linesThomas Arnhold225-627/+0
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann2-10/+10
Change-Id: I04f64b11b484be8c997e1dbab8de35282fa64289
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann2-14/+14
Change-Id: Ia735ee75b75b3e2dafe610cf5cd513dd7d4b7392
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann2-25/+25
Change-Id: I79731b0e8a991a96b87938749fa9898110fe2dde
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann2-23/+23
Change-Id: If16ce75845383cf697a2f1e4cef438a8bc43c125
2012-07-19Work around bogus Mac GCC uninitialized warningsStephan Bergmann2-7/+7
Change-Id: I174b34835cc955c234a06618a48f61fc700e4400
2012-07-15-Werror,-Wunused-functionStephan Bergmann1-36/+0
Change-Id: Ie0e37aae9be1c6fcf3f8c0b8d571dc3786f38205
2012-07-13better error messages for exceptions in XShapeDumper.cxxMarkus Mohrhard1-3/+12
Change-Id: I37761931b9f8351036f360423f481f53a59855fb
2012-07-13Merge branch 'feature/gsoc_test_improvements2'Markus Mohrhard6-0/+3194
2012-07-13forgot to remove the header file from the deliver codeMarkus Mohrhard1-1/+0
Change-Id: Ifd6edd22e144948a3e98b02744ebf4852f0aa3e3
2012-07-13move EnhancedShapeDumper to a module local locationMarkus Mohrhard3-4/+3
Change-Id: Idb4cd44da611973c92bda6de779daf3aa8425168
2012-07-12fix indentationMarkus Mohrhard1-1600/+1600
don't indent after namespace declaration Change-Id: I3773521abd2463269c58162eae6a608085b1bf9f
2012-07-12some small improvements for the dumperMarkus Mohrhard1-46/+41
Change-Id: I0a24a0e9c4a3b818c9144bc38857b67e49483915
2012-07-12Added dumping TextPathMode & ScaleX propertiesArtur Dorda2-0/+41
Change-Id: Ib31fc84424d4a57e8f3bcca2054016c5809b6f10
2012-07-12Started dumping EnhancedCustomShapeTextPath service & added TextPath propertyArtur Dorda3-0/+32
Change-Id: I4945ee8cba2d9d4fc9f374cf0002dbdb99d6df28
2012-07-12Added dumping of TextPathAllowed & SubViewSize propertiesArtur Dorda2-0/+35
Change-Id: I4088e15cf010f2c0c4493b9a7781c9720d375480
2012-07-12Added dumping of ExtrusionAllowed & ConcentricGradientFillAllowed propertiesArtur Dorda2-0/+30
Change-Id: I696c7bfc6f0f7e50d0f0ae84a9e96c6b2f1bd554
2012-07-12Added dumping of GluePointLeavingDirections & GluePointType propertiesArtur Dorda2-0/+30
Change-Id: Ie83dfd31196cc9777e4d582f45f27ff74482d2b4