summaryrefslogtreecommitdiff
path: root/src/lib/VSDXTheme.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-10-11tdf#154379 Fix reading TextBkgnd from ShapeBartosz Kosiorek1-2/+4
The TextBkgnd cell can have any value from 0 through 24, or 255. The values 0 and 255 (visTxtBlklOpaque) both indicate a transparent text background. In previous implementation if: <Cell N='TextBkgnd' V='0'/> were specified, the value was taken from colors. With this implementation, if V='0' then background is not displayed, according to documentation. Change-Id: I32831ef58a5ea11e6fcc6f1fccda8618817f3af4 Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/174712 Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl> Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2024-10-10tdf#154379 Fix reading FillStyleLstBartosz Kosiorek1-2/+6
With previous implementation readFillStyleLst method is saving all colours into first element: m_fillStyleLst[0] It was causing that only last colour was present. This commit is fixing that issue, by increasing iterator. Change-Id: Ib77463c582874967e255ef91c0380fd880b8418e Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/174698 Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl> Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2024-03-19read and use simple solid fill stylesJaume Pujantell1-2/+102
Implemented the reading of simple solid fills from the fill styles list in a theme. And it's use with the quick style fill matrix value. Change-Id: I658340f73ced475bbc8999b4d09c4666fd50dea5 Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/163580 Tested-by: Miklos Vajna <vmiklos@collabora.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-08-12simplify creation of xmlReaderDavid Tardon1-3/+1
Change-Id: I95815a3f19c612a2926ea1d80f07abbaba1f5595
2019-08-07drop XML_PARSE_NOENT and default to not expanding entitiesCaolán McNamara1-1/+1
Change-Id: I3c3f143b97df19227e274a1591471faa3dd3ed5f Reviewed-on: https://gerrit.libreoffice.org/76779 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2017-11-26ofz: ignore invalid/incomplete font entriesDavid Tardon1-6/+9
Change-Id: Ic5e6cf0afe62e92fba1503a1a3540eb50800dc3c
2017-09-18Convert 0 to nullptr where it's used as a pointer valueMiklos Vajna1-1/+1
To make the code easier to read, because this means the remaining zeros all mean numbers. Change-Id: I677df217aae81e15496d47a93daaab633d8b903f
2017-04-07boost::shared_ptr -> std::shared_ptrDavid Tardon1-2/+2
Change-Id: I873a476e8428c8c3ca0a45d721d5ba3b300a33b4
2017-02-24Parse Font schemeFridrich Štrba1-1/+119
Change-Id: If2de16033a921443025f582431c4a4b03a9e7145
2015-07-20move libxml2-related functions to a separate fileDavid Tardon1-0/+1
Change-Id: I41a37b02f72e5c8d42e636b54627716add60e70f
2015-07-15don't leak in case of exceptionDavid Tardon1-7/+7
Change-Id: Ib9eb9e02b678bc892b4cefd9fb793a06b2302879
2015-07-14fix more string leaksDavid Tardon1-4/+7
Change-Id: Ifc79cf5d91a262fb4d51d13d9d183164ccc24f07
2015-06-29tdf#92270 VSDX theme color import fixAndras Timar1-0/+7
Change-Id: I4843762646c204d5c898d0f0dea503196a1e414a
2014-02-03Parse the quick-style pointersFridrich Štrba1-4/+4
Change-Id: I2d6b5a72c6c2764793992d1ca6363c831fa425b0
2014-02-03Little changes to theme parsingFridrich Štrba1-0/+59
Change-Id: Ie5e7b86799fda82611edf299952a8508efd7dc5f
2014-01-31With agreement of all contributors, simplifying licensing to MPL2Fridrich Štrba1-25/+5
Change-Id: I9cad20e93dad4ae59000b823e5919b777dfcb221
2013-11-05librevenge namespaceFridrich Štrba1-1/+1
Change-Id: I68cc109a7583067dd375db5a98b291b5c3a20b4b
2013-11-04trying to move libvisio to librevenge APIFridrich Štrba1-1/+1
Change-Id: I6a17a8e0e435b4de87e0017bddb5d16f6b1a543d
2013-09-21WaE: ... should be initialized in the member init. listDavid Tardon1-0/+29
Change-Id: I6c0d63b47f361b030481f58a6788b2ff4b0ee5be
2013-07-22Some more parsing of theme informationFridrich Štrba1-4/+175
2013-07-22Stub reader for a:clrSchemeFridrich Štrba1-2/+14
2013-07-22Reader for a:sysClrFridrich Štrba1-0/+21
2013-07-21reader function for a:srgbClrFridrich Štrba1-0/+22
2013-07-21a:srgbClr does not have # in the beginning of the hexFridrich Štrba1-2/+1
2013-07-20Add tokens related to themeFridrich Štrba1-2/+16
2013-07-20Stub the theme class to keep theme informationFridrich Štrba1-0/+57