summaryrefslogtreecommitdiff
path: root/drawinglayer
AgeCommit message (Collapse)AuthorFilesLines
2014-03-18fdo#75260: Improve double line drawing for writer table.Kohei Yoshida1-30/+26
(cherry picked from commit 1c6fb266567c8e397e3c65663b21f0fa50696aa5) (cherry picked from commit 77b6c1602aaa0bd059077765e7fabb53d9e6ddeb) (cherry picked from commit 32391d25293935fbbf0075e3ccf68625951427f0) (cherry picked from commit 24b4fbfa39f212c769bf4d966258a8fb4c98c201) (cherry picked from commit 07909e0045d9f94329861fe2e7b3403a5c4befed) (cherry picked from commit 335470edf00cabb47abb9d7dcc4dd3a5a0e79616) Change-Id: Id350531f09b3ded66fd05ea7ebeefe8771260b62
2014-03-05fdo#75260: Correctly draw double lines for both Writer and Calc.Kohei Yoshida2-55/+69
Fix all sorts of incorrect double line handling in drawinglayer in order to draw thick-thin double line types correctly. Also change handling of border lines in writer tables. There are still some outstanding issues but it's much better than how it was before. Also realized that Word and Excel handle simple thin double lines differently; Word varies widths of all of the lines and the gap whereas Excel only has one fixed size for its double line. For this reason I decided to add a separate double line type (DOUBLE_THIN) to handle Excel's double line. (cherry picked from commit 2c62596cf264ef10749d8bfdb2bb2ebef2d98fbc) Conflicts: cui/source/tabpages/border.cxx sc/qa/unit/subsequent_export-test.cxx sc/source/ui/view/tabvwsha.cxx sw/source/core/layout/paintfrm.cxx xmloff/source/style/bordrhdl.cxx Conflicts: cui/source/tabpages/border.cxx sw/source/core/layout/paintfrm.cxx xmloff/source/style/bordrhdl.cxx Change-Id: Iaaa353b6e4f998b524262bea59260b4333e0cdb4
2014-01-20fdo#73487: Better pixelization of lines for on-screen rendering.Kohei Yoshida1-2/+317
Conflicts: drawinglayer/source/processor2d/vclpixelprocessor2d.cxx drawinglayer/source/processor2d/vclpixelprocessor2d.hxx Change-Id: I95d087a1f4841bfb7f665bcfebecd4c22c817958
2014-01-17fdo#73487: Overhaul cell borders to make them look sane.Kohei Yoshida3-119/+180
Change-Id: I207db352e017214f61baa947ef8f34662c724087
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks1-3/+0
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48 (cherry picked from commit 03993b47c522dcc71f7cd73ee21df3de9650080d)
2013-07-13fdo#66745: drawinglayer: properly restore anti-aliasing modeMichael Stahl1-4/+16
VclPixelProcessor2D: the constructor changes the anti-aliasing mode of the given output device, and the destructor restores a hard-coded mode instead of what was there before. Due to this commit 5913506b2193e93ca2767ab7365ab2e76ed7848f turned off anti-aliasing for FontWork objects simply by creating a temporary VclPixelProcessor2D. Change-Id: I7f7fcbf86b0dd425f599cd8e62fce3c69a2744bb (cherry picked from commit 420aa16af0bbab4bdef80ceeb8d44cabe65840e0) Reviewed-on: https://gerrit.libreoffice.org/4872 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-11Revert "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-20drawinglayer: Fix typo Primitrive -> Primitive.Jan Holesovsky61-86/+86
Change-Id: Iec1f5192fb052e884c4878ffb017dfd2f5f99350
2013-05-20correct bugtracker idsCaolán McNamara1-2/+2
Change-Id: I082857045bdca110c9eb07eb678c85e9a53687ad
2013-05-20Resolves: #i121185# corrected handling of gradients in rotated metafilesArmin Le Grand1-63/+93
(cherry picked from commit 498926039ce717631eda046b1aa256efd24dfdf6) Conflicts: drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx Change-Id: Ib1a96888d0990f6f9aa573e308736d40b694a613
2013-05-20Resolves: #i116162# Forced DRAWMODE_WHITEFILL to DRAWMODE_BLACKFILLArmin Le Grand1-0/+26
during line geometry processing to get line geometry rendered black (as intended) in b&w mode (e.g. print preview) (cherry picked from commit e3ec94e68f63e4e9fda829c9214f89dd5ffc4df2) Change-Id: I35fd6d26ac48bb478a8a3b9cd4f50ccd0e4468d0
2013-05-19Resolves: #i120596# Optimized grid primitiveArmin Le Grand1-61/+105
added some tooling to basegfx (cherry picked from commit 97fa4faaa0b09724cf98dbf22390b283ba57b41c) Conflicts: basegfx/inc/basegfx/numeric/ftools.hxx Change-Id: Ib15c43cf4d5b50605ec596dab498e3a678f3734a
2013-05-16XShapeDumper: Dump more values, to be able to test n#819614.Jan Holesovsky2-29/+118
Change-Id: I19cbae855996bffb18206b9003e22a2bcc0c75d9
2013-05-15sd unittests: Do not dump the font name, depends on installed fonts.Jan Holesovsky1-13/+0
Change-Id: Id401feed7d629cbc0c24428b0c1273afdb31be89
2013-05-15sd unittests: Update XShapeDumper to dump also (some) font properties.Jan Holesovsky1-6/+50
+ update the expected dumps together with that. This allows testing of the other part (wrong text color and size, commit 55c63ccfd460895af22e91979967cec15d80b72d) of n#758621 too. Change-Id: Ie93feb9d9d05eb4e11106bf9aa1f237947351b4e
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist1-1/+1
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>