summaryrefslogtreecommitdiff
path: root/drawinglayer
AgeCommit message (Collapse)AuthorFilesLines
2013-06-13Revert "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-05-07fdo#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: https://gerrit.libreoffice.org/3660 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-28Re-introduce accidentally removed basegfx::fround().Jan Holesovsky1-1/+1
Change-Id: I0ea05229009a1473767d1614623af2b5a6536c5a Signed-off-by: Petr Mladek <pmladek@suse.cz>
2013-03-28fdo#61789 Fix crash, pSvtGraphicStroke is allowed to be NULL.Jan Holesovsky2-16/+18
Change-Id: Ia08e2e91354c9b4e543023c193b95e79d56e235b Signed-off-by: Michael Meeks <michael.meeks@suse.com>
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 <mstahl@redhat.com>
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: https://gerrit.libreoffice.org/2076 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa> (cherry picked from commit 6708ad7f1baa8d4cef1718bdef1d26fb5d8510f3) Signed-off-by: Lior Kaplan <kaplanlior@gmail.com>
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 <pmladek@suse.cz> Conflicts: drawinglayer/source/primitive2d/svggradientprimitive2d.cxx Change-Id: I04c148303e7153a5376eae79803c540f6eba0b00 Signed-off-by: Petr Mladek <pmladek@suse.cz>
2013-02-06n#753462: Drawing text with font size 0 causes artifacts.Muthu Subramanian1-0/+4
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
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 <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
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 http://svn.apache.org/viewvc?view=revision&revision=1232507 Patches contributed by Sven Jacobi impress212: #i81610# fixed animation export http://svn.apache.org/viewvc?view=revision&revision=1167620 impress212: drawinglayer gbuild environment changes http://svn.apache.org/viewvc?view=revision&revision=1167627 http://svn.apache.org/viewvc?view=revision&revision=1167628 impress212: DffPropSet -> minor code improvements, removing table http://svn.apache.org/viewvc?view=revision&revision=1167634 impress212: #158494# fixed excel import (text rotation) http://svn.apache.org/viewvc?view=revision&revision=1167638 Patches contributed by Armin Le Grand Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement http://svn.apache.org/viewvc?view=revision&revision=1220836 #118728# changed indentifying definitions for Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1229961 #118838# LineGeometry creation for complicated cases optimized to create single Polygons http://svn.apache.org/viewvc?view=revision&revision=1236232 #119176# corrected file type detection for SVG for svg files without xml header http://svn.apache.org/viewvc?view=revision&revision=1309445 #118728# Extended Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1230531 #118529# solve break converters and convert commands for OLEs and images http://svn.apache.org/viewvc?view=revision&revision=1186168 svg: added WaE changes from branch svgreplacement to trunc http://svn.apache.org/viewvc?view=revision&revision=1222974 svg: corrected missing member initialization http://svn.apache.org/viewvc?view=revision&revision=1226134 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles to bitmapEx ... http://svn.apache.org/viewvc?view=revision&revision=1293316 fix for #118525#: removed no longer used variable maOriginalMapMode, one more exception eliminated http://svn.apache.org/viewvc?view=revision&revision=1227097 #16758# Added buffering to the VDev usages of the VclProcessor2D derivates... http://svn.apache.org/viewvc?view=revision&revision=1229521 #116758# Secured VDev buffer device to Vcl deinit http://svn.apache.org/viewvc?view=revision&revision=1230574 #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 http://svn.apache.org/viewvc?view=revision&revision=1230927 #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive representation instead of TransparencePrimitive2D http://svn.apache.org/viewvc?view=revision&revision=1231198 #118822# secured 3D geometry creation (slices) by subdividing the 2D source polyPolygon early http://svn.apache.org/viewvc?view=revision&revision=1234749 #118829# enhanced Svg gradient quality, obstacles avoided http://svn.apache.org/viewvc?view=revision&revision=1235361 #118834# Unified usage of TextBreakupHelper as single tooling class for i18n text primitive breakup http://svn.apache.org/viewvc?view=revision&revision=1236110 #118853# added square pixel size limit to conversion of TransparencePrimitive2D to Metafile action http://svn.apache.org/viewvc?view=revision&revision=1237656 #118824# coreccted mirroring and boundrect when the graphicmanager is used for bitmap output http://svn.apache.org/viewvc?view=revision&revision=1240097 #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for various optimization scenarios http://svn.apache.org/viewvc?view=revision&revision=1241434 #118783# Corrected errors in ID strings, corrected Svg line/fill export, corrected polygon close state http://svn.apache.org/viewvc?view=revision&revision=1232006 #118796# corrected null-pointer usage in SVG text exporter http://svn.apache.org/viewvc?view=revision&revision=1240262 #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image import with linked graphics, too http://svn.apache.org/viewvc?view=revision&revision=1229962 #118898# corrected error in GDIMetaFile::GetBoundRect in handling MetaFloatTransparentAction http://svn.apache.org/viewvc?view=revision&revision=1293349 #118855# Corrected handling of possibly created empty clipRegions after PolyPolygon clipping http://svn.apache.org/viewvc?view=revision&revision=1237725 #115962# Better (but not yet optimal, see comments in task) handling of MetaFloatTransparentAction in PDF export http://svn.apache.org/viewvc?view=revision&revision=1241078 IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ... http://svn.apache.org/viewvc?view=revision&revision=1200879 118779# Added svg content streaming in/out to ImpGraphic stream operators http://svn.apache.org/viewvc?view=revision&revision=1231908 linecap: correctons for WaE and mac drawing http://svn.apache.org/viewvc?view=revision&revision=1232793 svg: uses current system Dpi for Svg replacement image creation http://svn.apache.org/viewvc?view=revision&revision=1233948 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1394326 Remove duplicate header includes. cws mba34issues01: #i117720#: convert assertion into warning http://svn.apache.org/viewvc?view=revision&revision=1172352 118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand. http://svn.apache.org/viewvc?view=revision&revision=1182166 cws mba34issues01: #i117714#: remove assertion http://svn.apache.org/viewvc?view=revision&revision=1172357 Patch contributed by Jurgen Schmidt add some additional checks to ensure proper reading operations http://svn.apache.org/viewvc?view=revision&revision=1209022 mostly prefer our stream / bounds checking work. Patches contributed by Herbert Duerr #i118816# add clarifying comment regarding Font::*Color*() methods http://svn.apache.org/viewvc?view=revision&revision=1233833 extend macro->string handling for empty strings http://svn.apache.org/viewvc?view=revision&revision=1175801 avoid magic constants for SALCOLOR_NONE http://svn.apache.org/viewvc?view=revision&revision=1177543 initialize slant properly in ImplFontMetricData constructor (author=iorsh) http://svn.apache.org/viewvc?view=revision&revision=1177551 #i118675# make check for extension updates more stable http://svn.apache.org/viewvc?view=revision&revision=1214797 #a118617# remove VBasicEventListener.dll binary There are no known users depending on its CLSID http://svn.apache.org/viewvc?view=revision&revision=1203697 Patches contributed by Ariel Constenla-Haile Fix build breaker on Linux/gcc http://svn.apache.org/viewvc?view=revision&revision=1221104 Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG http://svn.apache.org/viewvc?view=revision&revision=1215559 Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider instances of <SwFlyDrawObj> http://svn.apache.org/viewvc?view=revision&revision=1172120 sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 gnumake4 work variously from Hans-Joachim Lankenau http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1396782 http://svn.apache.org/viewvc?view=revision&revision=1394707 plus some amount of re-splitting of legacy headers. Patch contributed by Pavel Janik WaE: Remove unused variables. http://svn.apache.org/viewvc?view=revision&revision=1230697 Patches contributed by Takashi Ono mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 Patch contributed by Christian Lippka impress212: #i98044# re enable Text menu for outline and title shapes http://svn.apache.org/viewvc?view=revision&revision=1167639 Patch contributed by Andre Fischer 118674: Made category B code optional and disabled by default. http://svn.apache.org/viewvc?view=revision&revision=1215131 118881: Ignore empty paragraphs after bullets. http://svn.apache.org/viewvc?view=revision&revision=1296205 Patches contributed by Philipp Lohmann ooo340fixes: #i117780# use rtl allocator http://svn.apache.org/viewvc?view=revision&revision=1172087 ooo34gsl02: #i117807# fix an off by one error (index actually inside the pfb section header) http://svn.apache.org/viewvc?view=revision&revision=1167576 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: https://gerrit.libreoffice.org/852 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
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: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
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 <Wasserthal@nefkom.net>
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
2012-07-12Added dumping of TextFrames & GluePoints propertiesArtur Dorda2-0/+49
Change-Id: Ibaa5f782d511d406575bfec6267f95d6ae50b87c