summaryrefslogtreecommitdiff
path: root/cppcanvas
AgeCommit message (Collapse)AuthorFilesLines
2013-06-07cppcanvas: try to make MSVC tinderbox happyMichael Stahl1-4/+4
(cherry picked from commit 930127da85ee72ccec6b81efc18cc9878f11d88d) Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch> Conflicts: cppcanvas/source/mtfrenderer/emfplus.cxx Change-Id: If4fd5a788d3907a986e27f5f53d5995c7035f685
2013-06-07fdo#65502 - EmfFillPie fix.Michael Meeks1-9/+9
Change-Id: Ic52ae70c7879de93029ecfd8b3de85c5fbcfa9eb Reviewed-on: https://gerrit.libreoffice.org/4189 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-07Transform the clipping polygon before using itFridrich Štrba1-0/+1
(cherry picked from commit abdbb847fa135dd758ef3ef99db4c07a2671ca47) Change-Id: I71a00f7d4b80ef41b637889e51a414fac6883ba1 Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2013-05-30WaE: Potentially uninitialized local variableTor Lillqvist1-1/+8
(cherry picked from commit fe8eba5faa59ddf9ee82f3eb009daac72a0ec846) Conflicts: cppcanvas/source/mtfrenderer/emfplus.cxx Change-Id: I497c30dfd951132fe2f7998a158b6c14efe5ebf7
2013-03-19implemented EmfPlusRecordTypeSave and EmfPlusRecordTypeRestore recordsRadek Doulik3-3/+58
Change-Id: Iac87870c0f50a74b7f4db4c674adcded1494c055 Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2013-03-15implemented EmfPlusRecordTypeSetClipRect recordRadek Doulik1-5/+34
(cherry picked from commit f2d9db4ef951d04c63733b08dd8746c196dd5f05) Conflicts: cppcanvas/source/mtfrenderer/emfplus.cxx Change-Id: I0778cf44a1f4e920e723c17c34f6de4f8eed2342 Reviewed-on: https://gerrit.libreoffice.org/2753 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-15implemented EmfPlusRecordTypeDrawEllipse recordRadek Doulik2-34/+47
(cherry picked from commit fa109b4603f06533a63ee19518c482a23976bfe8) Conflicts: cppcanvas/source/mtfrenderer/emfplus.cxx Change-Id: If8d7c210e437a041f3202c09f3d26d621b5af748 ops, fix build (cherry picked from commit ebebb309403498a9438a908a26248b05cc855879) Conflicts: cppcanvas/source/mtfrenderer/emfplus.cxx Change-Id: If72f3c1e0d7a14779074d898c4d1eb0fe8f07871 Reviewed-on: https://gerrit.libreoffice.org/2751 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-15implemented EmfPlusRecordTypeFillEllipse recordRadek Doulik1-1/+27
(cherry picked from commit cf6b2f0ecef2c23c24114ca1a1609a4a81ade8a1) Conflicts: cppcanvas/source/mtfrenderer/emfplus.cxx Change-Id: Id9362d05ddae2066f2fa289640f447393d7cda84 Reviewed-on: https://gerrit.libreoffice.org/2749 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-07Backport of EMF+ changes from masterFridrich Štrba2-12/+16
Change-Id: Ibfc5d700a81e661b663dfd3eb1f83e488fd1112f Reviewed-on: https://gerrit.libreoffice.org/2581 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2013-02-25fdo#59405: cppcanvas: fix infinite loop in processEMFPlusMichael Stahl1-1/+10
This can be observed when inserting the bugdoc from fdo#59405. Apparently the "size" and "length" do not agree; ensure that the "length" does not underflow. Change-Id: Idfc68919859b8284c724831de21208e4392af328 (cherry picked from commit ec0d1440cf07008a220708535848567bcbb233ea) Reviewed-on: https://gerrit.libreoffice.org/2394 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2013-01-22implemented EmfPlusRecordTypeFillPie recordRadek Doulik1-0/+45
Change-Id: I15e7464a6a295bb4c1313c0a65ee33b6443c61c8 Signed-off-by: Andras Timar <atimar@suse.com>
2013-01-08Make LO buildable again after the GraphicFilter move.Jan Holesovsky1-1/+1
Conflicts: svtools/Library_svt.mk q# Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-12-11fdo#35680 - fix wrong gradient rendering when grouped.Michael Meeks1-11/+15
2012-11-16use LanguageTagEike Rathke1-2/+2
Change-Id: I2f8fd72cb49298f59d5eb406f03a1fc4128d1c8d
2012-11-06re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks34-1002/+436
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-06Revert "calc65: #i116318# Fixed the painting of axial gradients."Michael Meeks1-15/+2
This reverts commit de2dd7a15678d2968cd7c22d74e7056c35a051f3.
2012-10-19replace sxub_Unicode by sal_UnicodeNorbert Thiebaud1-1/+1
Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831 Reviewed-on: https://gerrit.libreoffice.org/887 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl2-4/+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 Stahl2-2/+4
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2-0/+2
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-06fixed typoRadek Doulik1-2/+2
Change-Id: I483ff930b99d04cbd1514d7f541e57e223b04bab
2012-08-15display hexadecimal and decimal record numbersRadek Doulik1-1/+1
Change-Id: If8720ad99d2c4c6fa4927771027123a559895bb6
2012-08-09remove some unused methodsCaolán McNamara2-26/+0
Change-Id: I8b89f49eff059f5650bfb531bcb568db1d97c3a3
2012-07-19emf+: added implementation of DrawImage recordRadek Doulik2-16/+40
Change-Id: I6c86c2eaca1586d915b648292373da4378c755ba
2012-07-18Various Clang 3.1 -Wunsued-variable, -Wconstant-conversionStephan Bergmann2-6/+4
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-02Remove unused definesThomas Arnhold1-2/+0
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks2-8/+2
2012-06-25replace custom readString with read_uInt16s_ToOUStringCaolán McNamara1-20/+2
replace custom readString with more efficient and foolproof read_uInt16s_ToOUString Change-Id: Idf5f85adad008b4bd775badd83f55b152a6ddaaf
2012-06-22cppcanvas: remove obsolete makefile.mkMichael Stahl2-77/+0
Change-Id: Id9ccc156371a235bca764044a8d155b8720782c0
2012-06-22remove bunch of obsolete looking .dxp filesMichael Stahl1-1/+0
Change-Id: Ib06d88890007fd27d6838a5c8829230733d3df97
2012-06-23removed unused forward declarations of classTakeshi Abe2-4/+0
except moving ScPostIt into source/filter/inc/xeescher.hxx Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff
2012-06-22re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks35-832/+517
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-19death to some UniStringsCaolán McNamara1-1/+1
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-19use a temporary rather than calling EraseCaolán McNamara1-6/+2
Change-Id: I77c80d332e4bef34c31accf6e2ab77e59f9bf93e
2012-06-19where is the logic of having 5 pChars if we only need 4Caolán McNamara1-2/+2
Change-Id: I16c1f5ee7a05aa011d00e6f1de86e1aa5d9621b8
2012-06-19if the string is created of len 0, then no point passing any argumentsCaolán McNamara1-1/+1
Change-Id: I0055ad846f438765c5259e02025e6ef5f32c6169
2012-06-19if the string is created from 4 sal_Unicodes then it cannot be of 0 lenCaolán McNamara1-7/+4
Change-Id: I14695ec0871e186266770d7cfe90f532de31ea57
2012-06-12Get rid of GRADIENT_* defines, they conflict with Windows GDI types.Jan Holesovsky1-7/+7
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-05-22targetted string re-workMichael Meeks2-14/+14
Change-Id: I9ed4df2a25c8a2a868f83de48472715a6cabe2be
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-18tune the guessed position a bit, so that it works better with test documentsRadek Doulik1-1/+1
2012-04-18implemented EmfPlusRecordTypeDrawString recordRadek Doulik2-19/+95
2012-04-18added debug message for unsupported casesRadek Doulik1-0/+2
2012-04-18SrcRect for SrcUnit = 2 is in pixels, don't Map itRadek Doulik1-2/+2
2012-04-18ImplText never instantiatedCaolán McNamara5-173/+8
2012-04-13set minimal width if pen width is set to zeroRadek Doulik1-1/+2
2012-04-13fix crash on invalid/missing penCaolán McNamara1-20/+26
2012-04-13fix busted indentCaolán McNamara1-13/+13
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl1-1/+1