summaryrefslogtreecommitdiffstats
path: root/svgio/inc
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:passstuffbyrefStephan Bergmann2014-08-071-1/+1
| | | | Change-Id: Ib2b244f466d21835229a5a42e6decf4cf4aba653
* loplugin:saloverrideStephan Bergmann2014-08-071-1/+1
| | | | Change-Id: Ifbcd602203708519f7b4416cf31d94d45b552556
* Related: #i125293# More unified (still simple) CssStyles and solversArmin Le Grand2014-08-073-4/+13
| | | | | | | | | | | | | | (cherry picked from commit b760428400bbc7ab3db4d5de6239589e79981a06) Conflicts: svgio/inc/svgio/svgreader/svgdocument.hxx svgio/inc/svgio/svgreader/svgnode.hxx svgio/inc/svgio/svgreader/svgstylenode.hxx svgio/source/svgreader/svgdocument.cxx svgio/source/svgreader/svgnode.cxx svgio/source/svgreader/svgstylenode.cxx Change-Id: Ifcfc665df18f56e2cbc359411b633271c3b8d4bb
* drop rtl:: and staticsCaolán McNamara2014-07-261-4/+4
| | | | Change-Id: I6108efad77cf1c21dea3826ae149f3750552b0ed
* Related: #i125293# Further corrections for CssStyle handling in SVG importerArmin Le Grand2014-07-261-1/+17
| | | | | | | | | | | | (cherry picked from commit f00d6d2ea3e73e687edb1da4c32c0960eaf5010b) Conflicts: svgio/source/svgreader/svgnode.cxx svgio/source/svgreader/svgstyleattributes.cxx svgio/source/svgreader/svgstylenode.cxx svgio/source/svgreader/svgsvgnode.cxx Change-Id: I335b292fcdf1ebac925c9fd76ad624efb923447d
* Resolves: #i125258# reworked some of the style hierarchy stuffArmin Le Grand2014-07-164-0/+14
| | | | | | | | | | | | | (cherry picked from commit 3b13e15a7174f5177700fdcd4864b64fbf0b3535) Conflicts: svgio/inc/svgio/svgreader/svgstylenode.hxx svgio/source/svgreader/svggnode.cxx svgio/source/svgreader/svgstyleattributes.cxx svgio/source/svgreader/svgstylenode.cxx svgio/source/svgreader/svgsvgnode.cxx Change-Id: I5cfe6871ab235305f206d83d643884b493901dfe
* fdo#50114 ingore flowRoot element during svg importJoren De Cuyper2014-07-152-0/+4
| | | | | | | | | | | This element is not specified in any released svg specification. It might be mentioned in svg1.2 but since this is not yet released/ or will even not be released ever -> ignore it. Change-Id: Iaf5a392893070fda9e7a420bc951c8565bcfb37f Reviewed-on: https://gerrit.libreoffice.org/10312 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
* Resolves: #i124852# Corrected mask and clip polygons for userSpaceOnUseArmin Le Grand2014-07-042-4/+8
| | | | | | (cherry picked from commit 247d5bc4d13c8ab299f8ca72768946f59815dca4) Change-Id: I328a55e940db64d3dad04902bf81ede56a0dfe73
* update_pch: add a bunch of pch filesThomas Arnhold2014-06-042-0/+83
| | | | | | | | | | | | | | desktop: 1m51s -> 54s framework: 1m55s -> 1m04s package: 32s -> 16s sdext: 1m31s -> 47s svgio: 32s -> 15s uui: 49s -> 20s vbahelper: 1m44s -> 27s xmlscript: 15s -> 10s xmlsecurity: 45s -> 23s Change-Id: Ia437969c091bf877983ababc5ea2d044bbc0bee0
* clean up, remove eof commentsThomas Arnhold2014-05-1630-182/+0
| | | | Change-Id: I166e781cb54181a8e5d08021cf5f6dfcd1fde5cb
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-1531-93/+93
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* add missing modelines to cxx and hxx filesThomas Arnhold2014-04-241-1/+2
| | | | | | some of them have no copyright header Change-Id: I9c2c0c859dabe231cb29af29290847e7b4aa46a3
* typo: dependend -> dependentThomas Arnhold2014-04-141-1/+1
|
* Explicitly mark overriding destructors as "virtual"Stephan Bergmann2014-04-011-1/+1
| | | | | | | | It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-2624-68/+68
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* Remove unused getXLinkStephan Bergmann2014-03-171-3/+0
| | | | Change-Id: I848d8afbec17dd5cfb5063942d1e504aa548c759
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-261-8/+8
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from svgioAlexander Wilms2014-02-2631-68/+68
| | | | | | | Change-Id: I5295d5204c3f42b67b877aefba605dc22279eab0 Reviewed-on: https://gerrit.libreoffice.org/8318 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Lenght -> LengthJulien Nabet2013-11-231-1/+1
| | | | Change-Id: Ic338484627a1b74fba2d4d0794f8865290177464
* Resolves: #i123433# Detect pseudo-vertices at svg import...Armin Le Grand2013-10-312-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unify svg:d handling, correct svg:d import for relative sub-polygons in svg import; changed default for moveto writes for svg:d in ODF to absolute (cherry picked from commit f15874d8f976f3874bdbcb53429eeefa65c28841) Conflicts: basegfx/inc/basegfx/polygon/b2dpolygontools.hxx basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx basegfx/source/polygon/b2dpolypolygontools.cxx basegfx/source/polygon/b2dsvgpolypolygon.cxx basegfx/source/polygon/b3dpolypolygontools.cxx basegfx/source/tools/makefile.mk basegfx/test/boxclipper.cxx basegfx/test/clipstate.cxx basegfx/test/genericclipper.cxx canvas/source/tools/surfaceproxy.cxx sdext/source/pdfimport/tree/drawtreevisiting.cxx sdext/source/pdfimport/tree/writertreevisiting.cxx xmloff/inc/xexptran.hxx xmloff/source/draw/XMLImageMapContext.cxx xmloff/source/draw/XMLImageMapExport.cxx xmloff/source/draw/shapeexport2.cxx xmloff/source/draw/shapeexport3.cxx xmloff/source/draw/xexptran.cxx xmloff/source/draw/ximp3dobject.cxx xmloff/source/draw/ximpshap.cxx xmloff/source/style/MarkerStyle.cxx xmloff/source/text/XMLTextFrameContext.cxx xmloff/source/text/txtparae.cxx Change-Id: I5171b4a3559ea116bea45152e1f2685666463635
* Resolves: #i123379# various SVG marker correctionsArmin Le Grand2013-10-111-8/+0
| | | | | | | | | (cherry picked from commit ff1eee61fc56b06e436735f5e2b133db56de3608) Conflicts: basegfx/inc/basegfx/polygon/b2dpolygontools.hxx Change-Id: I818657573a1e673e312702a4b45e7bb6394250d2
* childs -> children (in comments)Chr. Rossmanith2013-09-151-2/+2
| | | | Change-Id: Ib91c2b0195f2db5c8a35997d5d07d3c04e9e69b7
* Related: #i122600# access memory problem in SvgSvgNode::getCurrentViewPortOliver-Rainer Wittmann2013-08-215-5/+5
| | | | | | | | | | (cherry picked from commit d41dc0bbe76922fee4ce177ecac0d84b9efc4206) Conflicts: svgio/inc/svgio/svgreader/svgnode.hxx svgio/inc/svgio/svgreader/svgtools.hxx Change-Id: Ie4d5cd29461845edb5b8a57fe639302947d80ebd
* Revert "returning pointers to temporaries"Caolán McNamara2013-08-211-2/+0
| | | | This reverts commit 342438c6e0f377b938c4ff213dca9e9665b709d9.
* returning pointers to temporariesCaolán McNamara2013-08-141-0/+2
| | | | Change-Id: I1bb65ee0ff3059ee47f83d54814f3a228994d960
* Resolves: fdo#67047 fdo#64125 #i122600# svgio improvementsArmin Le Grand2013-08-142-1/+17
| | | | | | | | | | | | | (list see in task itself) and a regression/crash Patch by: regina Review by: ALG (cherry picked from commit 8a9164f5f853db66b4453fc6fb798acf0a88a238) Conflicts: svgio/source/svgreader/svgsvgnode.cxx Change-Id: I1c29073a3a18d2e645378e64a9fb28e73fc7e9ab
* Fix fdo#65847 - avoid infinite recursion in style resolution.Thorsten Behrens2013-06-272-6/+11
| | | | | | | | | That was previously asking back the node for the font size, which was again asking the SvgNumber, which was ... In this case, if the node has relative sizes, this is always relative to the parent. Change-Id: Iaa81d0238d9eb73f5af24df347d12d7cb8ba8c0a
* Resolves: #i122524# fixed some text import aspects for super/sub-baselineArmin Le Grand2013-06-182-0/+19
| | | | | | | | | (cherry picked from commit def95cfb69619071811fb8e564eb4187f59f4b99) Conflicts: svgio/source/svgreader/svgtoken.cxx Change-Id: I1208229a86807ce271a823415e9b8f0baf955e01
* Resolves: #i121801# Corrected handling of gradient transformationsArmin Le Grand2013-06-171-0/+5
| | | | | | | | | | | (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
* Resolves: #i121656# Some more cleanups for SVG importArmin Le Grand2013-06-133-11/+42
| | | | | | | | | | | | | | | | | | | | | | also const as const can (cherry picked from commit bb9ad24b16add4888c4b1fadac5252b95a72f04f) Conflicts: svgio/inc/svgio/svgreader/svgstyleattributes.hxx svgio/source/svgreader/svgstyleattributes.cxx svgio/source/svgreader/svgtoken.cxx Change-Id: If236eb8b1e0193c43229ea6dc496eb3a8fd20c42 Related: #i121656# removed const for return-by-value (cherry picked from commit aa85e31b3162cd4b18c818bf0af1a854cb05c57d) Conflicts: svgio/inc/svgio/svgreader/svgstyleattributes.hxx svgio/source/svgreader/svgstyleattributes.cxx Change-Id: Ief43c478ea3000d114487918875e9a201dd827bc
* WaE: type qualifiers ignored on function return typeTor Lillqvist2013-04-141-1/+1
| | | | Change-Id: I40d946b1e3ba104e8b8acac53ccf7296f6ee78fc
* #121221# added boolean state to remember when the StrokeDasharray was set to ↵Armin Le Grand2013-04-141-0/+7
| | | | empty by purpose
* Fix #120334# Added support for multiple CSS styles per graphic primitiveArmin Le Grand2013-04-142-9/+26
| | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 37446076e684a0d0de448366ab927531e3b54bba) Conflicts: svgio/inc/svgio/svgreader/svgstyleattributes.hxx svgio/source/svgreader/svgcirclenode.cxx svgio/source/svgreader/svgellipsenode.cxx svgio/source/svgreader/svggnode.cxx svgio/source/svgreader/svgimagenode.cxx svgio/source/svgreader/svglinenode.cxx svgio/source/svgreader/svgmarkernode.cxx svgio/source/svgreader/svgpathnode.cxx svgio/source/svgreader/svgpatternnode.cxx svgio/source/svgreader/svgpolynode.cxx svgio/source/svgreader/svgrectnode.cxx svgio/source/svgreader/svgstyleattributes.cxx svgio/source/svgreader/svgtextnode.cxx svgio/source/svgreader/svgusenode.cxx Change-Id: Id554528932eea590d645cb5e5a1ea8cf7f1d0aac
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0730-129/+129
| | | | | | | | 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
* Related: #i119125# corrected gradient renderingArmin Le Grand2013-03-133-0/+69
| | | | | | | | | | | | and added stuff to add Title and Description to primitives for later usage Conflicts: drawinglayer/Library_drawinglayer.mk drawinglayer/inc/drawinglayer/primitive2d/svggradientprimitive2d.hxx svgio/Package_inc.mk svx/source/sdr/contact/viewcontactofsdrobj.cxx Change-Id: I301c9f5f4ae0efc02d937cd3f56018e27c94a630
* Some svgio clean-upStephan Bergmann2012-11-2233-110/+0
| | | | Change-Id: I48adf3b0500f3e4e37fbe444f8a0773d273e09d2
* dropped dead code from svgEnrico Weigelt, metux ITS2012-11-212-2/+0
| | | | | | | Change-Id: I73244d54f182f44c08a942dee95ff11b53a24f5a Reviewed-on: https://gerrit.libreoffice.org/1078 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks2012-11-0633-0/+3352
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.