summaryrefslogtreecommitdiffstats
path: root/include/xmloff/xmltoken.hxx
Commit message (Collapse)AuthorAgeFilesLines
* tdf#88154 workaround and unit testMarco Cecchetti2015-10-071-0/+1
| | | | | | | | | Fixed 45-degree layout for axis labels, too. Change-Id: I9764e281aeee0a439fa9eec1e3b0df840221b72f Reviewed-on: https://gerrit.libreoffice.org/18889 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
* tdf#90839: follow-up workMarco Cecchetti2015-10-071-1/+0
| | | | | | | | | | | | | | | | - Removed the data-label-wrap token and related code in xmloff module. - Using the already present `fo:wrap-option` seems to be the preferred solution: investigated to see how the token is imported exported: the class `XMLWordWrapPropertyHdl` takes care of that, luckily it converts the token to a boolean property. - Fixed a minor issue in the code for the data label dialog. Change-Id: Id050fdfeedd3af7fb79be96bfe157c61c4b44191 Reviewed-on: https://gerrit.libreoffice.org/19197 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* tdf#90839: support for wrapped text in data labels and for centered data valueMarco Cecchetti2015-09-091-0/+1
| | | | | | | | | | | | | | | | | | Now in a pie chart the text of a label can be wrapped, the wrapping is automatic and the maximum text width is fixed to almost half the pie radius. This feature is used to import correctly the relative text wrapping property provided by MSO. Moreover the data value and percent value of a label are now centered horizontally, respect with the label text. Conflicts: chart2/qa/extras/xshape/chart2xshape.cxx Change-Id: Ie10d6184365436f763cd9693a5bbefcfa9b3862b Reviewed-on: https://gerrit.libreoffice.org/17193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* tdf#90133 Comply attributes name with OASIS#3860Laurent Balland-Poirier2015-07-131-2/+2
| | | | | | | | | | See https://issues.oasis-open.org/browse/OFFICE-3860 Change-Id: I707b2e86633bc66df03dba8c43879aa6d5153062 Reviewed-on: https://gerrit.libreoffice.org/16905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Related tdf#88056: use better-fitting <text:page-name>Katarina Behrens2015-05-181-1/+1
| | | | | | | | | | | Implemented Regina's suggestions: * this is a text field, therefore it belongs to text namespace * page-name (evtl. slide-name) describes much better what this field really contains This (among other changes) reverts commit 6609de8856519e0e9 Change-Id: Idab3b7c291839a9137f80d325a7d3f5ef0ff2636
* tdf#90133 Extend ODF: variable decimal in scientific formatLaurent Balland-Poirier2015-04-281-0/+1
| | | | | | | | | | | | Variable decimal is only saved in ODF for number, and do not consider partial variable decimal: 0.0## is saved as 0.000 This patch extend ODF with loext:min-decimal-digit for number format and scientific format Change-Id: I5022458da47bbd33c3e195c280e75c43faca5f8d Reviewed-on: https://gerrit.libreoffice.org/15135 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* tdf#90133 Extend ODF: exponent sign of scientific formatLaurent Balland-Poirier2015-04-271-0/+1
| | | | | | | | | | | Scientific Format without sign in exponent, such as 0.00E0, are managed by LibO, and can be saved in XLS format This commit allows to save in ODF Change-Id: Ia0c4589e2af942543ea296f970d163bc1d1d6f05 Reviewed-on: https://gerrit.libreoffice.org/14955 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* tdf88056: implement export of page title field to ODFKatarina Behrens2015-04-211-0/+1
| | | | | | to loext namespace so far, since it isn't approved by ODF-TC yet Change-Id: I1bb7723bdccec9b670630da5e4d56f47cd615e43
* add attribute mandated by ODFMarkus Mohrhard2015-04-171-0/+1
| | | | | | | Make sure that it does not confuse our importer by adding an attibute to ignore it when the new elements have been added. Change-Id: I15991be9dd993e2aeb18c440a14de3711f8001f4
* the attribute name is actually table:database-table-nameMarkus Mohrhard2015-04-081-0/+1
| | | | | | | Change-Id: I9522529d918e143aafa6ea368fdb3fa55416d58b Reviewed-on: https://gerrit.libreoffice.org/15176 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* also import and export to ODF the new databar propertyMarkus Mohrhard2015-03-241-0/+2
| | | | Change-Id: Ib29a0d5c9fefe15fbd0f08a5cf9600eff58cd030
* tdf#30716 start Engineering notation: implement exponent-intervalLaurent Balland-Poirier2015-03-221-0/+2
| | | | | | | | | | | | | | | | ODF1.3 implement a new attribute for engineering notation https://issues.oasis-open.org/browse/OFFICE-1828 This commit only add this attribute to ODF import/export. Engineering notation is not yet available. Treat also thousand separator with exponent-interval Change XML_NAMESPACE_NUMBER to XML_NAMESPACE_LO_EXT for exponent-interval Change-Id: Ia18f9e150ca32aa9bbe133c082c3f9330e949f11 Reviewed-on: https://gerrit.libreoffice.org/14875 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Enhancement tdf#87972 : Cannot repeat items labels on a pivot tableDeena Francis2015-03-121-0/+1
| | | | | | | | Change-Id: I44b2521ea548b51a1b3e9b42cfa64c5f50d7798a Reviewed-on: https://gerrit.libreoffice.org/14504 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
* remove invalid attribute that is not read anywayMarkus Mohrhard2014-12-071-1/+0
| | | | Change-Id: Id7770ffda49ba7bc0ebc780c67c56b81152213f7
* use correct xml element name, related fdo#45266Markus Mohrhard2014-12-071-0/+1
| | | | | | | Below data-pilot-groups the correct element name is data-pilot-group-member and not data-pilot-member. Change-Id: I41aecb7f85a881d13b3eaaa7be8de737b47ea312
* last inconsitently named data table valueMarkus Mohrhard2014-12-071-1/+1
| | | | Change-Id: I1a558616156f5217e309c5957967a69d81c20b8e
* more fixes for inconsistent namingMarkus Mohrhard2014-12-071-1/+1
| | | | Change-Id: Iedb1b30d4e3905f884bc3bb39d4703a883e95c46
* use a consistent naming schemeMarkus Mohrhard2014-12-071-1/+1
| | | | Change-Id: Ia420779fd875cb2a81b90871b26940f8a0258b4d
* xmloff: XML_DROPDOWN should be XML_DROP_DOWNMichael Stahl2014-11-111-1/+1
| | | | Change-Id: I47247289bb4367faa9a07f3568270718b5423353
* bnc#885825: Handle ODF import and export of data label border properties.Kohei Yoshida2014-07-261-0/+4
| | | | Change-Id: Ic8c7bc873768008537cd52a3fd4b11031b403139
* export label names that are strings, fdo#64722, cp#1000058Markus Mohrhard2014-04-051-0/+1
| | | | Change-Id: Id72e9778c70db02b942326c6f8b5f448acb28b41
* xmloff: sal_Bool->boolNoel Grandin2014-03-311-1/+1
| | | | Change-Id: Id3d8f4f4ef32280a131907ffa32eb2ad5d6ea2e1
* Export RoundedEdge property to ODF.Kohei Yoshida2014-03-261-0/+1
| | | | Change-Id: I3b20ef70dac4dc9905a169245e0b48b98a20c697
* Properly import and export the new chart type to and from ODF.Kohei Yoshida2014-03-251-0/+1
| | | | Change-Id: I38e9813c6eb853dfb92b1537cea0b9ad97473b57
* Add dash-dot and dash-dot-dot line styles.Kohei Yoshida2014-03-191-0/+2
| | | | | | We need these for Excel interop. Change-Id: I91450c1d205f28636edfb4392aa6ae5091b1d7b7
* remove element that was only written for binary formatsMarkus Mohrhard2014-03-171-1/+0
| | | | Change-Id: Ic930fc6e12912ead8d6b1daa79894c968d99d988
* support export of property mappingMarkus Mohrhard2014-03-101-0/+2
| | | | Change-Id: I9529eedb9c9c002bfc2fee638938082cef59f185
* fdo#75260: Correctly draw double lines for both Writer and Calc.Kohei Yoshida2014-03-041-0/+1
| | | | | | | | | | | | | | 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. Change-Id: Iaaa353b6e4f998b524262bea59260b4333e0cdb4
* fdo#74112 Preserve Chart displayunits properties during ODF import/export.sushil_shinde2014-02-111-0/+3
| | | | | | | Change-Id: I38508b71ee5b3b966e1d36b0d253304fe17c0ec0 Reviewed-on: https://gerrit.libreoffice.org/7721 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* swpagerelsize: implement ODF import/exportMiklos Vajna2014-01-301-0/+2
| | | | | | | Export rel-height-rel / rel-width-rel only in case rel-height / rel-width is non-zero, though. Change-Id: I36120cbd8679ac4fc072d1e7cf4dfc024836b5ac
* fdo#72520 : Added property to store external data path in chart.sushil_shinde2014-01-161-0/+1
| | | | | | | | | - added new property entry to store xlsx external data for chart. Change-Id: I3695865ad7e888359d1048e9bc380cba26108636 Reviewed-on: https://gerrit.libreoffice.org/7212 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Add new XML tokens for ODS, for calc data stream import & export.Kohei Yoshida2013-12-191-0/+3
| | | | Change-Id: I3b86a53a3fcbac8eab56a74c5c636e0ce0cb13e5
* fdo#72304 Preserve Chart data table properties during ODF import/export.Nikhil Walvekar2013-12-191-0/+4
| | | | Change-Id: I767bb32fdaddcaf742923055cc86bb19138b42be
* write the correct 'sort-ascending' value, fdo#72548Eike Rathke2013-12-101-1/+3
| | | | | | ... for <table:content-validation table:display-list='sort-ascending' ...> Change-Id: I57d35cd08e3fce4eff5d571a19bb8793fde4a201
* Support regression curve name in ODF.Tomaž Vajngerl2013-11-241-0/+1
| | | | Change-Id: Ic065d63eee507906febfa15eb6d5ae1e7de58280
* Respect svg:font-face-format element.Brennan Vincent2013-11-131-0/+1
| | | | | | | | | Call libeot to parse font if value "embedded-opentype" is found. Change-Id: I03a072fd4db47d151a3934e959ad17c1e24fcf09 Reviewed-on: https://gerrit.libreoffice.org/6144 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#65108 inter-module includes <> include/xmloffNorbert Thiebaud2013-11-091-2/+2
| | | | Change-Id: I1d2da1dd3c82e95b8ad4883ce83b42f6dcb6200f
* Remove the xmloff::token::ResetTokens race conditionStephan Bergmann2013-10-311-9/+0
| | | | | | | | | | | | | | | | | | ...where multiple parallel calls to xmloff::token::ResetTokens or xmloff::token::GetXMLToken can see dangling pOUString pointers. There is no point in releasing this (bounded) amount of memory referenced from global aTokenList, anyway. There is still a race when parallel calls to xmloff::token::GetXMLToken write to a pOUString pointer in parallel, but that's more harmless, and maybe calls to GetXMLToken are synchronized by Solar Mutex? Calls to ResetTokens (e.g., via URP remote release request -> ~ScXMLExport -> ~SvXMLExport) were definitely /not/ synchronized via any mutex. The xmloff::token::Inc/DecRescheduleCount functions are now pointless and have been removed, too. Change-Id: I85905d4de1f042ed5c9a37589f942910d8ef80fd
* fixincludeguards.sh: include/xml*Thomas Arnhold2013-10-231-2/+2
| | | | Change-Id: Iffab819621615c59709c087202cc578af00dd799
* ODF export/import of fine dashed border styleZolnai Tamás2013-08-231-0/+1
| | | | Change-Id: Ia81385dd9952e90cd5ebb3d1bba38aff6f84d079
* add character shading value to ODT filtersAdam Co2013-08-141-0/+1
| | | | | | | | | | The attribute is only exported for ODF versions > 1.2; use the new loext (LO_EXT) namespace. Change-Id: Ie44e4b851c4adf52d8cc4fc2cbe37d6c3a9941d8 Reviewed-on: https://gerrit.libreoffice.org/4830 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
* xmloff: add a generic LibreOffice ODF extension namespaceMichael Stahl2013-08-141-0/+3
| | | | | | | | | | XML_NAMESPACE_LO_EXT can be used for elements and attributes that are not yet specified by OpenDocument. Change-Id: Id29392533d46f6592d964ce79c05ffefa4d69ebc Reviewed-on: https://gerrit.libreoffice.org/5419 Tested-by: Thorsten Behrens <tbehrens@suse.com> Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
* read/write ODF *:script* and *:rfc-language-tag*Eike Rathke2013-07-091-0/+2
| | | | | | | | This prepares to be able to read/write the attributes, it does not enable proper handling of unknown language tags yet. An unknown tag usually falls back to SYSTEM locale. Change-Id: I4a78e8fd37deae188c69570157bc4589a712bc7a
* added rfc-language-tag* tokensEike Rathke2013-07-051-0/+5
| | | | Change-Id: Ifef5ebf638863f4b0fa6f985ad2e84359b75b708
* Added new regression curve properties as ODT 1.2 extended.Tomaž Vajngerl2013-07-031-1/+11
| | | | | | | | | | | | | | | | Added: - regression-extrapolate-forward - regression-extrapolate-backward - regression-max-degree - regression-min-degree - regression-moving-type - regression-period - regression-force-intercept - regression-intercept-value Not all of these are yet filled as they are not yet implemented. Change-Id: I7ac39c0df5b8b7fb7be6b32d301e33a7f49f2960
* Refactor regression curve handling in xmloff import to use chart2.Tomaž Vajngerl2013-07-031-0/+1
| | | | | | | | | | Additionally support more regression curves per one series and add polynomial an moving average tokens. Conflicts: xmloff/source/chart/SchXMLPlotAreaContext.cxx Change-Id: I9dfebb1f47942c88ab0ccff48ec7632136fb1bc9
* fdo#66282 - MathML export: improve ExportBraceFrédéric Wang2013-07-031-0/+1
| | | | | | | Change-Id: If15038f8942c649703659e05868162c31785c762 Reviewed-on: https://gerrit.libreoffice.org/4632 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
* #fdo66277 - Add support for alignment in MathML export.Frédéric Wang2013-07-011-0/+3
| | | | | | | Change-Id: I78352ff93da5b4e912040c4019fcea924f7b0c20 Reviewed-on: https://gerrit.libreoffice.org/4625 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
* fdo#66086 - MathML export: wideslash, widebslash and overstrikeFrédéric Wang2013-06-281-0/+4
| | | | | | | Change-Id: I1e8da340ffdacab133b0cff6d6344fe56da34bf8 Reviewed-on: https://gerrit.libreoffice.org/4465 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* execute move of global headersBjoern Michaelsen2013-04-231-0/+3212
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a