summaryrefslogtreecommitdiff
path: root/xmloff
AgeCommit message (Collapse)AuthorFilesLines
2015-04-22-Werror,-Wunused-const-variableCaolán McNamara1-1/+0
Change-Id: I2d150a8b387052e917f985907e2a7334682f1dc8
2015-04-22tdf#88056: Implement import of page title field from ODFKatarina Behrens3-0/+56
the field seems to get imported now, but still ain't displayed in Impress *sigh* Change-Id: I095b9a2c59145f984bc9db853cc22501ca103bb7
2015-04-22fix assert on export of ooo63141-1.doc to odtCaolán McNamara1-5/+8
if bAutoStyles is true then the mbDoSomething of the SvXMLElementExport is false, and the ctor/dtor doesn't do anything so any attributes added to the exporter are not cleared by the SvXMLElementExport dtor so only add the attribute if bAutoStyles if false and might as well extend the block to cover the use of SvXMLElementExport and use the other ctor which defaults mbDoSomething on Change-Id: If35cd35e902372562fd7e78b3f970d91fcec3c16
2015-04-21tdf#90640: xmloff: ODF export: fix style:background-image attributesMichael Stahl2-26/+30
... for Writer frames, which were missing the draw:opacity; turns out this is because now the the default valued properties are not exported any more, which causes them to be missing in the property array so the hard-coded indexes in XMLTextExportPropertySetMapper::handleElementItem() do not find them. (regression from c3e49660e782816d1203cb936156ef6d6a1ad572) Change-Id: I84b6c09b23a2275161135290f1b0ac9f52546a80
2015-04-21tdf88056: implement export of page title field to ODFKatarina Behrens3-0/+19
to loext namespace so far, since it isn't approved by ODF-TC yet Change-Id: I1bb7723bdccec9b670630da5e4d56f47cd615e43
2015-04-18xmloff: cleanup StyleMapTomaž Vajngerl1-24/+24
Change-Id: I487ab62f412512b0437e6b46a01a3be7c88f5760
2015-04-18these two attributes are not part of ODF and unnecessaryMarkus Mohrhard1-4/+0
Change-Id: I8eda0998f0bb9503cf7d6e89ace2fb1872273880
2015-04-17add attribute mandated by ODFMarkus Mohrhard1-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
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin12-35/+35
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-14xmloff: add back the presumably accidentally removed "FootnoteLineStyle"Michael Stahl1-0/+1
(regression from 7d9bb549d498d6beed2c4050c402d09643febdfa) Change-Id: I67ec4516ff431efd47451ff07fc261ba32e80385
2015-04-08xmloff: also print what is duplicateMichael Stahl1-1/+1
Change-Id: I87b5122b8f1f4e26ba16ebc1228fb77f8b7800d9
2015-04-08text:p is not allowed as child element of draw:frameMarkus Mohrhard9-17/+26
Regression from #i118485#. Change-Id: Ib242ca1417f46b731d62d117132cbed6c02448fb Reviewed-on: https://gerrit.libreoffice.org/15173 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-04-08only try to export text:p for elements that really support itMarkus Mohrhard1-13/+23
Change-Id: Ie2c072c67ecaa0c0ec45c804ebbd4b3bcd631a13 Reviewed-on: https://gerrit.libreoffice.org/15172 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-04-08the attribute name is actually table:database-table-nameMarkus Mohrhard1-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>
2015-04-07tdf#89802: xmloff: fix ODF import of frame with empty style name refMichael Stahl1-0/+13
draw:fill-gradient-name="" in the graphic properties now causes BaseFrameProperties_Impl::FillBaseProperties() to fail and prevent insertion of the SwXTextFrame. (regression from 6e61ecd09679a66060f932835622821d39e92f01) Change-Id: I9b4f3ddb0f0e1b3a80e86bbdc1af2dade1c8edf7
2015-04-07convert SvtModuleOptions::EFactory to enum classNoel Grandin2-6/+6
and fix issues in iterating through o3tl::enumarray Change-Id: Ia59ef9be44d8c92c2e406fa71aa92269578e26e3
2015-04-07loplugin:staticmethodsNoel Grandin39-72/+71
Change-Id: Id3d6b50e07ea0850af18ab9bdadfffe0e4602aab
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann2-2/+2
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann2-2/+2
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Engineering notation: Slight optimisationLaurent Balland-Poirier1-6/+4
Update of commit Ia18f9e150ca32aa9bbe133c082c3f9330e949f11 Change-Id: I5118619f2ab669f90e0377d9cabdba4778179581 Reviewed-on: https://gerrit.libreoffice.org/15100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann1-2/+2
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann34-113/+113
Change-Id: Ic3764caeeb2cdec397071706845bf8517c848917
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann3-15/+15
Change-Id: Ie25a2b8a84a146a5b988c6ef77127896d126e488
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann1-2/+2
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-29Clean up remaining C-style casts among void pointersStephan Bergmann1-1/+1
Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann27-110/+110
Change-Id: I962bd44f2ef6204ed2ea51f79b752bd948f67209
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann9-22/+22
Change-Id: Ib054b36c87c87ae2189b5456bc9b12d7b76c49e7
2015-03-24also import and export to ODF the new databar propertyMarkus Mohrhard1-0/+2
Change-Id: Ib29a0d5c9fefe15fbd0f08a5cf9600eff58cd030
2015-03-24loplugin:constantfunction: xmloffNoel Grandin3-41/+15
Change-Id: I0ddcaada71eaa53cd7e6320c6ccaa8d8971f6df0
2015-03-23TyposJulien Nabet1-1/+1
Change-Id: Ie08a26a569b83bfe3ef4351dbb7b6e928745b95d
2015-03-22use ODFSaneDefaultVersion to determine if and how to store exponent-intervalEike Rathke1-12/+3
Change-Id: I58d4c75806d656cb3f8bf971efecba6f775e05a9
2015-03-22introduce SvXMLExport::getSaneDefaultVersion()Eike Rathke1-0/+9
Change-Id: I1b73b4850e78f4ec0823894b93b8bc1cbadf0d0d
2015-03-22use SvXMLExport::getDefaultVersion()Eike Rathke1-2/+2
... instead of SvtSaveOptions().GetODFDefaultVersion() Change-Id: Ib94fa3edc395f6ef39f3be33c5cdf4f4e2da32b4
2015-03-22write exponent-interval only for 1.2+ and later, tdf#30716 follow-upEike Rathke1-3/+19
... and prepare for distinguishing between 1.2+ and 1.3 Change-Id: I8d491be4b0ff5f65fc1506145f460f07e8371a73
2015-03-22read both, XML_NAMESPACE_LO_EXT and XML_NAMESPACE_NUMBER, tdf#30716 follow-upEike Rathke1-1/+1
Change-Id: I3058c3249e7ae1f43c8e21972adf0fa7826d21a9
2015-03-22tdf#30716 start Engineering notation: implement exponent-intervalLaurent Balland-Poirier3-5/+56
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>
2015-03-21Char highlight: ODT filtersZolnai Tamás2-2/+25
Export merges the two background attribute. Change-Id: I882321fbd5a7d24991fb01b8dc9d2cc0bd294051
2015-03-19Related tdf#50133: Wrong underlining in ReportsJulien Nabet1-1/+3
By running some tests, I noticed double wave didn't appear when opening report in non edit mode. First you must know that to indicate "double wave", xml contains these 2 information: style:text-underline-style="wave" style:text-underline-type="double" The problem is the reading order of the parser doesn't seem the same each time. So if it reads style then type, it's ok thanks to this part: 132 case awt::FontUnderline::DOUBLE: 133 // A double line style has priority over a bold line style, 134 // but not over the line style itself. 135 switch( eUnderline ) 136 { 137 case awt::FontUnderline::SINGLE: 138 case awt::FontUnderline::BOLD: 139 break; 140 case awt::FontUnderline::WAVE: 141 case awt::FontUnderline::BOLDWAVE: 142 eNewUnderline = awt::FontUnderline::DOUBLEWAVE; 143 break; but if the parser read type in the first place then style, the case FontUnderline "DOUBLEWAVE" wasn't managed Change-Id: Ie090507898e537827eebaae157dfac248baa43f1 Reviewed-on: https://gerrit.libreoffice.org/14801 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann2-2/+33
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-13Typo: elemet->elementJulien Nabet1-1/+1
Change-Id: I204c49239faf3574b72530ba1118defb1ae31ff3
2015-03-13V803 decreased performance postfix incrementMichael Stahl1-1/+1
These are pretty silly anyway, but apparently it complains even about integer variables which make this rather a waste of time. Change-Id: I15e847d33d5decd2adcab04e4f1567d3997d28a2
2015-03-12Enhancement tdf#87972 : Cannot repeat items labels on a pivot tableDeena Francis1-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>
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara5-58/+34
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-09V801: Decreased performanceCaolán McNamara14-68/+68
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
2015-03-08tdf#50133: Wrong underlining in ReportsJulien Nabet1-1/+1
Change-Id: Ia1d37d150c2186f014733cd87179445722b54346 Reviewed-on: https://gerrit.libreoffice.org/14789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-03-04V813: Decreased performanceCaolán McNamara1-4/+4
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-03TyposJulien Nabet1-1/+1
Change-Id: I0aef0c185457687aa0e40a4a1e8024d9e691093f
2015-03-01make this a bit less crypticDavid Tardon1-10/+8
Change-Id: I800735cf4dd10af8e6cd2e2581b18bcb71eb2872
2015-03-01remove duplicate lineDavid Tardon1-1/+0
Change-Id: I80239379cfba8fa9d13554a693f0aa3e8610ef55
2015-03-01i assume this is what is wantedDavid Tardon1-1/+1
Change-Id: I619c57b07ccde25257f7848bd2bdf55ac78c9171