summaryrefslogtreecommitdiffstats
path: root/drawinglayer
Commit message (Collapse)AuthorAgeFilesLines
* fix typos (wich instead of which)Philipp Riemer2013-05-061-1/+1
|
* Resolves: #i120230# Adapt hatch processing for a more pleasant visualisationArmin Le Grand2013-05-024-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
* double lock drawinglayer staticsCaolán McNamara2013-05-021-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
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-303-69/+12
|
* Clang cleanup, unused mutex variablesNoel Grandin2013-04-305-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>
* fdo#53163 fix hatching for objects with curvesDavid Tardon2013-04-261-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
* Don't point to inc directories that don't exist any longerTor Lillqvist2013-04-241-5/+0
| | | | Change-Id: Ia160f0ee3e9480c60056d38bf11a6b139b53424f
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-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>
* execute move of global headersBjoern Michaelsen2013-04-23118-13151/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-228-180/+34
|
* fdo#60724 correct spellingThomas Arnhold2013-04-151-2/+2
| | | | Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
* add filter libs to libmergedPeter Foley2013-04-142-3/+3
| | | | Change-Id: I1891d1499aae87a87436bc9aaf4f70203dfbb585
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0720-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
* new module i18nlangtagEike Rathke2013-04-056-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
* fdo#62525: use cow_wrapper for ViewInformation3DThomas Arnhold2013-04-032-66/+20
| | | | Change-Id: I4f304febfedfa4a5a89d996fe276a9413d0ef855
* fdo#62525: use cow_wrapper for ViewInformation2DThomas Arnhold2013-04-032-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>
* fdo#62525: use cow_wrapper for Sdr3DObjectAttributeThomas Arnhold2013-04-032-69/+32
| | | | Change-Id: I80e378f6a88068f5d3b36c6187b41ab8d968a0c3
* fdo#62525: use cow_wrapper for SdrSceneAttributeThomas Arnhold2013-04-032-64/+27
| | | | Change-Id: Iaedb5080f341482c3ac4f4e0548be49801c5f0b2
* fdo#62525: use cow_wrapper for SdrLineStartEndAttributeThomas Arnhold2013-04-032-68/+30
| | | | Change-Id: I714011f70ae4c1b9a1dcce5cb3653e918cc742b4
* fdo#62525: use cow_wrapper for StrokeAttributeThomas Arnhold2013-04-032-63/+24
| | | | Change-Id: Icf5daca279902b90da98069338638c3ad432e69a
* fdo#62525: use cow_wrapper for SdrLineAttributeThomas Arnhold2013-04-032-70/+30
| | | | Change-Id: I62b897bd49ef05a3862cb2cd91c3aa13f621e9fd
* fdo#62525: use cow_wrapper for SdrLightingAttributeThomas Arnhold2013-04-032-62/+24
| | | | Change-Id: Ibd6bd31ef78f2e853ff668f64202eff89afb1234
* fdo#62525: use cow_wrapper for Sdr3DLightAttributeThomas Arnhold2013-04-032-61/+24
| | | | Change-Id: I9639746d072642d46c3f0766c473425221b1706a
* fdo#62525: use cow_wrapper for SdrFillBitmapAttributeThomas Arnhold2013-04-032-68/+30
| | | | Change-Id: Ib8bb849b179be12680c5adae6bf89afc5ad31563
* fdo#62525: use cow_wrapper for SdrFillAttributeThomas Arnhold2013-04-032-65/+27
| | | | Change-Id: I827e1edb2c6ec2fc3e16fde6f105063e59d40f66
* fdo#62525: use cow_wrapper for MaterialAttribute3DThomas Arnhold2013-04-022-67/+28
| | | | Change-Id: I7ee65afe8065525e6af198a4d1b75e1035644983
* fdo#62525: use cow_wrapper for LineStartEndAttributeThomas Arnhold2013-04-022-63/+25
| | | | Change-Id: Id8803574245298c6d15b3c59bbfd3b7c812b5794
* fdo#62525: use cow_wrapper for LineAttributeThomas Arnhold2013-04-022-64/+26
| | | | Change-Id: I8934156790051d52dd317b6654b1cc2e1bc381a4
* Prefer prefix ++/-- operators for non-primitive typesJulien Nabet2013-04-011-1/+1
| | | | Change-Id: Ie155215aea1d6f15e51bf5e64bab10eb2198d4de
* Prefer prefix ++/-- operators for non-primitive typesJulien Nabet2013-03-292-2/+2
| | | | | | + use const_iterator for end iterator Change-Id: Ib07b71bb878665126666db3569bd5a40e23eff5e
* Re-introduce accidentally removed basegfx::fround().Jan Holesovsky2013-03-281-1/+1
| | | | Change-Id: I0ea05229009a1473767d1614623af2b5a6536c5a
* fdo#61789 Fix crash, pSvtGraphicStroke is allowed to be NULL.Jan Holesovsky2013-03-282-16/+18
| | | | Change-Id: Ia08e2e91354c9b4e543023c193b95e79d56e235b
* fdo#62525: use cow_wrapper for FontAttributeThomas Arnhold2013-03-272-63/+32
| | | | Change-Id: Ic07da7c7cf225a910e6f0fa4f6d20c4700e7ec7a
* fdo#62525: use cow_wrapper for FillHatchAttributeThomas Arnhold2013-03-272-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>
* fdo#61789 - move metafile line width scaling somewhere more sensible.Michael Meeks2013-03-252-6/+12
|
* fdo#62525: use cow_wrapper for FillGradientAttributeThomas Arnhold2013-03-232-65/+30
| | | | Change-Id: I85a9864820f49da8ebcc4a7d2c80a3c9d0c13b27
* fdo#62525: use cow_wrapper for FillBitmapAttributeThomas Arnhold2013-03-232-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>
* fdo#62525: use cow_wrapper for SdrShadowAttributeThomas Arnhold2013-03-232-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>
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-193-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>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-191-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>
* Resolves: #i118780# Moved ObjectInfoPrimitive2D extractor to drawinglayer...Armin Le Grand2013-03-164-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
* Resolves: #i119601# support for transparency in PNG export dialogArmin Le Grand2013-03-161-1/+1
| | | | | | | | | | Added support for transparency in PNG export dialog and support for alpha channnel Conflicts: svtools/source/filter/exportdialog.cxx Change-Id: I324bfd6a34803478bf17f113e015620056c90567
* Related: #i119125# Added MetaFloatTransparentAction handling...Armin Le Grand2013-03-151-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
* Related: #i119125# change XFillBitmapItem to work with GraphicObjectArmin Le Grand2013-03-152-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
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-4/+0
|
* Related: #i119125# corrected gradient renderingArmin Le Grand2013-03-138-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
* make sure Release is called if one of two Acquires failedCaolán McNamara2013-03-071-4/+4
| | | | | | | checking the body of ReleaseAccess in vcl its safe to pass NULL to them, so keep it simple Change-Id: I5f057f9c79f0787d670869af4114c989e7f1562a
* doubled includesThomas Arnhold2013-03-041-1/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-032-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
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885