summaryrefslogtreecommitdiff
path: root/xmloff
AgeCommit message (Collapse)Author
2015-04-07loplugin:staticmethodsNoel Grandin
Change-Id: Id3d6b50e07ea0850af18ab9bdadfffe0e4602aab
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Engineering notation: Slight optimisationLaurent Balland-Poirier
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 Bergmann
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: Ic3764caeeb2cdec397071706845bf8517c848917
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: Ie25a2b8a84a146a5b988c6ef77127896d126e488
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-29Clean up remaining C-style casts among void pointersStephan Bergmann
Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I962bd44f2ef6204ed2ea51f79b752bd948f67209
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Ib054b36c87c87ae2189b5456bc9b12d7b76c49e7
2015-03-24also import and export to ODF the new databar propertyMarkus Mohrhard
Change-Id: Ib29a0d5c9fefe15fbd0f08a5cf9600eff58cd030
2015-03-24loplugin:constantfunction: xmloffNoel Grandin
Change-Id: I0ddcaada71eaa53cd7e6320c6ccaa8d8971f6df0
2015-03-23TyposJulien Nabet
Change-Id: Ie08a26a569b83bfe3ef4351dbb7b6e928745b95d
2015-03-22use ODFSaneDefaultVersion to determine if and how to store exponent-intervalEike Rathke
Change-Id: I58d4c75806d656cb3f8bf971efecba6f775e05a9
2015-03-22introduce SvXMLExport::getSaneDefaultVersion()Eike Rathke
Change-Id: I1b73b4850e78f4ec0823894b93b8bc1cbadf0d0d
2015-03-22use SvXMLExport::getDefaultVersion()Eike Rathke
... instead of SvtSaveOptions().GetODFDefaultVersion() Change-Id: Ib94fa3edc395f6ef39f3be33c5cdf4f4e2da32b4
2015-03-22write exponent-interval only for 1.2+ and later, tdf#30716 follow-upEike Rathke
... 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 Rathke
Change-Id: I3058c3249e7ae1f43c8e21972adf0fa7826d21a9
2015-03-22tdf#30716 start Engineering notation: implement exponent-intervalLaurent Balland-Poirier
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ás
Export merges the two background attribute. Change-Id: I882321fbd5a7d24991fb01b8dc9d2cc0bd294051
2015-03-19Related tdf#50133: Wrong underlining in ReportsJulien Nabet
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 Bergmann
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-13Typo: elemet->elementJulien Nabet
Change-Id: I204c49239faf3574b72530ba1118defb1ae31ff3
2015-03-13V803 decreased performance postfix incrementMichael Stahl
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 Francis
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 McNamara
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
2015-03-08tdf#50133: Wrong underlining in ReportsJulien Nabet
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 McNamara
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-03TyposJulien Nabet
Change-Id: I0aef0c185457687aa0e40a4a1e8024d9e691093f
2015-03-01make this a bit less crypticDavid Tardon
Change-Id: I800735cf4dd10af8e6cd2e2581b18bcb71eb2872
2015-03-01remove duplicate lineDavid Tardon
Change-Id: I80239379cfba8fa9d13554a693f0aa3e8610ef55
2015-03-01i assume this is what is wantedDavid Tardon
Change-Id: I619c57b07ccde25257f7848bd2bdf55ac78c9171
2015-02-26cppcheck: redundantAssignmentCaolán McNamara
Change-Id: Iee0fcb8e2b91a6554bedc7e3989c0585a1679a61
2015-02-25remove NUMBERFORMAT_ constantsNoel Grandin
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
2015-02-18Change var name: propertie->propertyStateJulien Nabet
Change-Id: I85397752e2660088b378d8ec71765a4167f5183a
2015-02-18Missing includeStephan Bergmann
Change-Id: I067a83ef97e55afc27673c59b0bdae974d7f3232
2015-02-17boost->stdCaolán McNamara
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-10cppcheck: cstyleCastCaolán McNamara
Change-Id: I0b5caeac629527112e3c7129b274b076da467d8d
2015-02-10cppcheck: variableScopeCaolán McNamara
Change-Id: I8a2262e6e27f0ea5f43837d5a10cb23525fe6ca5
2015-02-09xmloff: replace legacy DBG_WARNINGsMichael Stahl
Change-Id: I79f20f67e623b8d9607374e8be9a78fa10dc9af6
2015-02-09OFormsRootImport::CreateChildContext: survive a missing css.form.FormsMiklos Vajna
At least moz406390-1.odt has an unreferenced (so uninteresting in practice) <form:form> block. Till there is a real benefit of it, better not add form/database components to the Android component list but teach the user of such code to fail gracefully. Change-Id: I165a09fefa887da7b78a917c43ecc17d8f0ba3e2
2015-02-06fdo#75757: Remove inheritance from std::vectorMatthew Pottage
Deprecated comphelper/sequenceasvector.hxx. Rewritten code using it. Using instead the functions containerToSequence and sequenceToContainer, found in include/comphelper/sequence.hxx. One class that inherits from it (in framework/inc/stdtypes.h), and the code using that has been left. Signed-off-by: Michael Stahl <mstahl@redhat.com> Conflicts: writerfilter/source/dmapper/DomainMapper.cxx writerfilter/source/dmapper/TblStylePrHandler.hxx writerfilter/source/dmapper/WrapPolygonHandler.hxx Change-Id: Ice61c94ffb052e389281aebb7cdf185134221061
2015-02-05Revert "ODF export: don't write invalid "group-name" attribute"Lionel Elie Mamane
This reverts commit 2d4b87f0c1bfd97185a89c18d5b7680d11a958d6. The reverted commit leads to the following regressions: - Basic dialogs (which were not targeted, but impacted, by the reverted commit) with several RadioButtons sharing a group-name (as they will have a tendency to do) cannot be loaded anymore, since the implementation assumes (and checks) that names are unique. - Even in forms, where a RadioButton had both a form:name and a form:group-name attribute, the form:name attribute wins and thus RadioButtons that has the same group-name but different form:name (as they will tend to do) will not anymore be mutually exclusive, which defeats their point. Additionally, since it did not change the UI parts (property editor window), the user was still presented with two different editable properties "Name" and "Group Name", where "Group Name" was empty... Change-Id: I1bff532a5a7336cf2eb0579bcd4e2d16be6480fe
2015-02-05Revert "xmloff: dead code gives MSVC fits"Lionel Elie Mamane
This reverts commit 29e1b2f1ca6e2dcbf9a04c63a3ac1d554cfdcb52 in preparation for reverting 2d4b87f0c1bfd97185a89c18d5b7680d11a958d6
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-03xmloff: write character borders in the extension namespace for nowMiklos Vajna
Change-Id: Ia112cf626126149ea9cf09c5d6ff812d5d5ffec5
2015-02-01Resolves: #i114416# use default service name for scroll bar...Tsutomu Uchino
if failed to detect the control-implementation (cherry picked from commit 23e16b91ad69a123e795d63f2d4862d94412d582) Conflicts: xmloff/source/forms/elementimport.cxx xmloff/source/forms/elementimport.hxx Change-Id: I0ab4f9ff909ceba18a74d38488f6d0bdb3126110