summaryrefslogtreecommitdiff
path: root/drawinglayer
AgeCommit message (Collapse)AuthorFilesLines
2013-05-06fix typos (wich instead of which)Philipp Riemer1-1/+1
2013-05-02Resolves: #i120230# Adapt hatch processing for a more pleasant visualisationArmin Le Grand4-8/+54
Adapt hatch processing to keep a view-dependent minimal distance for a more pleasant visualisation (cherry picked from commit 6a036e7ac17a1d4394d60471bd8931d9b16b7bb4) Conflicts: drawinglayer/inc/drawinglayer/attribute/fillhatchattribute.hxx drawinglayer/inc/drawinglayer/primitive2d/fillhatchprimitive2d.hxx drawinglayer/inc/drawinglayer/primitive2d/primitivetools2d.hxx drawinglayer/source/attribute/fillhatchattribute.cxx Change-Id: I15cd784ef7d3e47a20308f16d370c24ef46d2f22
2013-05-02double lock drawinglayer staticsCaolán McNamara1-128/+194
move related statics into classes and the make safe static singleton instances of those clases. We still have to have the additional mutex (now per singleton) on the methods that return the buffered data, as it may be modified per call Change-Id: I5873ae8271f48a0ebf4b584c1734688b77cd1d42
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks3-69/+12
2013-04-30Clang cleanup, unused mutex variablesNoel Grandin5-15/+2
Some of these were doing nothing useful at all. I removed those. A couple were protecting static data, and I fixed those to use Mutex and MutexGuard properly. Change-Id: I444d13f8b6c50e526cce8d69d09aeaf240e5c6ca Reviewed-on: https://gerrit.libreoffice.org/3678 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-26fdo#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
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist1-5/+0
Change-Id: Ia160f0ee3e9480c60056d38bf11a6b139b53424f
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-2/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen118-13151/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks8-180/+34
2013-04-15fdo#60724 correct spellingThomas Arnhold1-2/+2
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-14add filter libs to libmergedPeter Foley2-3/+3
Change-Id: I1891d1499aae87a87436bc9aaf4f70203dfbb585
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák20-162/+162
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
2013-04-05new module i18nlangtagEike Rathke6-6/+6
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-03fdo#62525: use cow_wrapper for ViewInformation3DThomas Arnhold2-66/+20
Change-Id: I4f304febfedfa4a5a89d996fe276a9413d0ef855
2013-04-03fdo#62525: use cow_wrapper for ViewInformation2DThomas Arnhold2-66/+20
Change-Id: Ide3bce3257c9fed7bbda7276dfb55fa179d74fdd Reviewed-on: https://gerrit.libreoffice.org/3183 Tested-by: Thorsten Behrens <tbehrens@suse.com> Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
2013-04-03fdo#62525: use cow_wrapper for Sdr3DObjectAttributeThomas Arnhold2-69/+32
Change-Id: I80e378f6a88068f5d3b36c6187b41ab8d968a0c3
2013-04-03fdo#62525: use cow_wrapper for SdrSceneAttributeThomas Arnhold2-64/+27
Change-Id: Iaedb5080f341482c3ac4f4e0548be49801c5f0b2
2013-04-03fdo#62525: use cow_wrapper for SdrLineStartEndAttributeThomas Arnhold2-68/+30
Change-Id: I714011f70ae4c1b9a1dcce5cb3653e918cc742b4
2013-04-03fdo#62525: use cow_wrapper for StrokeAttributeThomas Arnhold2-63/+24
Change-Id: Icf5daca279902b90da98069338638c3ad432e69a
2013-04-03fdo#62525: use cow_wrapper for SdrLineAttributeThomas Arnhold2-70/+30
Change-Id: I62b897bd49ef05a3862cb2cd91c3aa13f621e9fd
2013-04-03fdo#62525: use cow_wrapper for SdrLightingAttributeThomas Arnhold2-62/+24
Change-Id: Ibd6bd31ef78f2e853ff668f64202eff89afb1234
2013-04-03fdo#62525: use cow_wrapper for Sdr3DLightAttributeThomas Arnhold2-61/+24
Change-Id: I9639746d072642d46c3f0766c473425221b1706a
2013-04-03fdo#62525: use cow_wrapper for SdrFillBitmapAttributeThomas Arnhold2-68/+30
Change-Id: Ib8bb849b179be12680c5adae6bf89afc5ad31563
2013-04-03fdo#62525: use cow_wrapper for SdrFillAttributeThomas Arnhold2-65/+27
Change-Id: I827e1edb2c6ec2fc3e16fde6f105063e59d40f66
2013-04-02fdo#62525: use cow_wrapper for MaterialAttribute3DThomas Arnhold2-67/+28
Change-Id: I7ee65afe8065525e6af198a4d1b75e1035644983
2013-04-02fdo#62525: use cow_wrapper for LineStartEndAttributeThomas Arnhold2-63/+25
Change-Id: Id8803574245298c6d15b3c59bbfd3b7c812b5794
2013-04-02fdo#62525: use cow_wrapper for LineAttributeThomas Arnhold2-64/+26
Change-Id: I8934156790051d52dd317b6654b1cc2e1bc381a4
2013-04-01Prefer prefix ++/-- operators for non-primitive typesJulien Nabet1-1/+1
Change-Id: Ie155215aea1d6f15e51bf5e64bab10eb2198d4de
2013-03-29Prefer prefix ++/-- operators for non-primitive typesJulien Nabet2-2/+2
+ use const_iterator for end iterator Change-Id: Ib07b71bb878665126666db3569bd5a40e23eff5e
2013-03-28Re-introduce accidentally removed basegfx::fround().Jan Holesovsky1-1/+1
Change-Id: I0ea05229009a1473767d1614623af2b5a6536c5a
2013-03-28fdo#61789 Fix crash, pSvtGraphicStroke is allowed to be NULL.Jan Holesovsky2-16/+18
Change-Id: Ia08e2e91354c9b4e543023c193b95e79d56e235b
2013-03-27fdo#62525: use cow_wrapper for FontAttributeThomas Arnhold2-63/+32
Change-Id: Ic07da7c7cf225a910e6f0fa4f6d20c4700e7ec7a
2013-03-27fdo#62525: use cow_wrapper for FillHatchAttributeThomas Arnhold2-64/+27
Change-Id: I1581b4bca6f14bd27af12ff40a4f4c0fe08af133 Reviewed-on: https://gerrit.libreoffice.org/3073 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-25fdo#61789 - move metafile line width scaling somewhere more sensible.Michael Meeks2-6/+12
2013-03-23fdo#62525: use cow_wrapper for FillGradientAttributeThomas Arnhold2-65/+30
Change-Id: I85a9864820f49da8ebcc4a7d2c80a3c9d0c13b27
2013-03-23fdo#62525: use cow_wrapper for FillBitmapAttributeThomas Arnhold2-62/+24
Change-Id: I0f666d4baaf6dc4e9f7ea30a518a8904f01d749f Reviewed-on: https://gerrit.libreoffice.org/2948 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-23fdo#62525: use cow_wrapper for SdrShadowAttributeThomas Arnhold2-62/+25
Thanks to Thorsten. Change-Id: I9b5435d2326e9ebf340e88025eeea25ff6388ea2 Reviewed-on: https://gerrit.libreoffice.org/2946 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold3-16/+16
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-1/+1
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-16Resolves: #i118780# Moved ObjectInfoPrimitive2D extractor to drawinglayer...Armin Le Grand4-0/+130
changed name to be the filename only, added code to SW to set Title and Desc Conflicts: drawinglayer/Library_drawinglayer.mk drawinglayer/Package_inc.mk svx/source/svdraw/svdograf.cxx sw/inc/ndgrf.hxx sw/source/core/doc/doc.cxx sw/source/core/doc/notxtfrm.cxx sw/source/core/docnode/swbaslnk.cxx sw/source/core/graphic/ndgrf.cxx sw/source/filter/rtf/rtffly.cxx Change-Id: Id433031958529498441574dafe2fbd5261371efc Notes: merged as: 977a0eff5415a2a4716e02bfab8e69ffb64ad7ce
2013-03-16Resolves: #i119601# support for transparency in PNG export dialogArmin Le Grand1-1/+1
Added support for transparency in PNG export dialog and support for alpha channnel Conflicts: svtools/source/filter/exportdialog.cxx Change-Id: I324bfd6a34803478bf17f113e015620056c90567
2013-03-15Related: #i119125# Added MetaFloatTransparentAction handling...Armin Le Grand1-5/+33
...using primitive renderer Conflicts: svx/source/svdraw/svdedtv2.cxx svx/source/svdraw/svdfmtf.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdograf.cxx Change-Id: I2223f86a63be80ecae91af0a6987ac587f07bc30
2013-03-15Related: #i119125# change XFillBitmapItem to work with GraphicObjectArmin Le Grand2-26/+34
Completely changed XFillBitmapItem to work with GraphicObject, removed XOBitmap class, adapted all usages (also the pretty old 8x8 pixel editor). All Bitmap fill styles will now accept transparent bitmaps as fillings in all variations (tiled, etc.). LoadSave is no problem, ODF defines graphic as content for fill. Backward means that OOs before this change will use a white background of fill with transparent, same as the fallback all the time when using a transparent fill. This is also a preparation to e.g. offer SVG or Metafiles as fill style. Conflicts: cui/source/tabpages/backgrnd.cxx cui/source/tabpages/tparea.cxx cui/source/tabpages/tpbitmap.cxx filter/source/msfilter/msdffimp.cxx filter/source/msfilter/svdfppt.cxx sc/source/filter/excel/xiescher.cxx sd/source/ui/func/fupage.cxx svx/inc/svx/dlgctrl.hxx svx/inc/svx/xbitmap.hxx svx/inc/svx/xbtmpit.hxx svx/inc/svx/xtable.hxx svx/source/customshapes/EnhancedCustomShape2d.cxx svx/source/dialog/dlgctrl.cxx svx/source/svdraw/svdograf.cxx svx/source/tbxctrls/fillctrl.cxx svx/source/unodraw/XPropertyTable.cxx svx/source/xoutdev/xattrbmp.cxx svx/source/xoutdev/xtabbtmp.cxx Change-Id: Id838bfbacc863695d078fb3cf379d1c0cd951680
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-4/+0
2013-03-13Related: #i119125# corrected gradient renderingArmin Le Grand8-60/+222
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
2013-03-07make sure Release is called if one of two Acquires failedCaolán McNamara1-4/+4
checking the body of ReleaseAccess in vcl its safe to pass NULL to them, so keep it simple Change-Id: I5f057f9c79f0787d670869af4114c989e7f1562a
2013-03-04doubled includesThomas Arnhold1-1/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold2-2/+2
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885