summaryrefslogtreecommitdiff
path: root/xmloff
AgeCommit message (Collapse)Author
2012-10-25WaE: 'xChartType$D57056$_pInterface' may be used uninitialized…Christian Lohmaier
… in this function" declaring those functions static breaks the build on MacPPC / gcc 4.0.1 Change-Id: I3a389530d51ae0ddd38418159ca4234016bf93ba Reviewed-on: https://gerrit.libreoffice.org/911 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2012-10-23fdo#46808, use service constructor for uri::UriReferenceFactoryNoel Grandin
Change-Id: I4e72bf5880fa28cb96d93ede7730a63220af7fa6
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin
Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-22accelerate shape import & export by more sensible XInterface handling.Michael Meeks
Instead of converting both XInterfaces (again) to a root XInterface inside the Reference == operator - we ensure that we have done this on insertion, and do a fast pointer compare; saves ~40% of load time on some docs, and more on save. Change-Id: Ic3c97dd731ffb3854ebc135f416f6032d87b9d15
2012-10-13loplugin: some log, indent and unused variable warningsCaolán McNamara
fix up some indents, remove some unused OUStrings and add some log areas Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
2012-10-12uninit variableJulien Nabet
Change-Id: I94870693fc269ab7a40e9ded482d259921316c38
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I37ab7e25d1a9fcce2009b8e35535fc1d0b02013b
2012-10-08Remove more useless code inside "#if 0" blocksMarcos Paulo de Souza
Change-Id: Ifb9f9d2211608b848a5de66e1d19c4815a755907 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/840 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-02don't blow up on .odt export with !hasValue footers/headersCaolán McNamara
Change-Id: I2507c23b7b17b9172f720548d32cdfe299d4fa20
2012-10-02String->OUString in svl::ImpSvNumberformatInfoNoel Grandin
Change-Id: Iff00b06a1e4e7c485e70ef0537fdea07ce3d42e5
2012-10-02XubString->OUStringCaolán McNamara
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
2012-10-01Deduplication of NavigationOrderAccess for disable-dynlinkingTor Lillqvist
Change-Id: I70238711222a12cb6bd843ebbc742a21a325810d
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-20Sprinkle some staticness to avoid duplicate symbols when DISABLE_DYNLOADINGTor Lillqvist
Change-Id: I9c5203400904902238c1f9a8f01338fdcf2904d8
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-14SvXMLImportPropertyMapper::importXML: fix assertion to be less sillyMichael Stahl
Change-Id: I009f0519e34900a1b1447de02d99f32dd0e07410
2012-09-14fdo#49571: ODF import: ignore "text:enable-numbering" attributeMichael Stahl
It has been imported as an alien attribute since CWS impressodf12 5b364c2e8baf9b1f6bbe611c0fd6895a88056afc, and could not be written to a document created from scratch anyway. Change-Id: I054fcf71d7ddc3ed19735b8aa898d1b1a12db5b9
2012-09-14fdo#49876: ODF export: do not export font-size="0pt"Michael Stahl
This is invalid, font size must be positive. Change-Id: I2425d7c596ca9c7c80c0d24c44cdd9ec1ac1dd80
2012-09-14fdo#49678: ODF export: add svg:viewBox to draw:connectorMichael Stahl
This attribute is mandatory; for the given bugdoc various svg:viewBox="0 0 2500 1" are now written. Change-Id: I7ea2294e0796546dcbb245993c01c2dd2b2a755a
2012-09-14fdo#49677: ODF export: always add xlink:type attributeMichael Stahl
The xlink:type was optional on text:a and draw:a elements in ODF 1.1 but is mandatory in ODF 1.2 Change-Id: Ifc7301ed1b0120d31a156751888dea1a55e952fe
2012-09-14fdo#30711: ODF export: "text:name" is mandatory on bookmarks:Michael Stahl
XMLTextParagraphExport: Add a mapping that generates names for those field marks that don't have a name so validators don't complain. (regression from 7a1c5e54afe4e4ef7e17c2e9c969cd41221edc28) There is still the problem that we cannot easily guarantee that the names (generated or from some field param) do not clash with the names of actual bookmarks... Change-Id: I9ed65b94b3e8f725db4354222f2565176b32be52
2012-09-12Improvement on previous commitStephan Bergmann
Change-Id: I51226f78ca60c32ebb908bcf4f74d38d0750eb00
2012-09-12fdo#46808, Adapt xml::dom::SAXDocumentBuilderr UNO service to new styleNoel Grandin
Create a merged XSAXDocumentBuilder2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: Iaa96031a0b7c27e957d2edb0394e5eeaaa84cdca
2012-09-03fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new styleNoel Grandin
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-08-17gbuild: register all jarsMichael Stahl
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-16-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I4b877ab97259f7e031e34daf7ce93e1b59417a08
2012-08-10Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: Ic8d149a78b2bc2bf352b7893202d0d0b6730746c
2012-08-10fdo#39468: Translate German comments in toolkit,unotools, & xmloffOliver Günther
Also checked the following with bin/find-german-comments (all false positives): - sysui - xml2cmp - udm - ucb Change-Id: I2c72f973f5cecf56d70b5419e56338170dd55a2e
2012-08-08remove include comments and boxesThomas Arnhold
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07drop bogus eof linesThomas Arnhold
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-08-04Replace usage of rtl/memory.h in xmloff with equivalent from string.hArnaud Versini
Change-Id: Ie4747a424bb688263dd578905b44c849e3cac08d
2012-08-03fdo#38056: fix XMLTextImportPropertyMapper regression:Michael Stahl
The invalidation introduced in 7f9928bfa561ccb6ed4e2baacc7d6960bc1ce231 is unfortunately in the wrong place; the pAllFoo actually point at vector elements, and so they must not be dereferenced after new elements are added to the vector, so move the invalidation up a bit. Change-Id: I244d1d5cfd40469ff6d2c081e057355460d34cf4
2012-08-03support new xml number:fill-character elem for number-style namespaceNoel Power
Change-Id: I7d3ca1f121396dfc017bb1ee73651f9017e58ba3
2012-08-03additional const_iterator in const methodCaolán McNamara
Change-Id: I8cad958e1b6ba5eec000244a31e1ee98e0b5d123
2012-08-02SvXMLAutoStylePoolP_Impl: try to make MSVC happyMichael Stahl
Change-Id: Ifecfa196923b7fdde51839d74bef46e840bae501
2012-08-02cntnrsrt.hxx: remove dead codeMichael Stahl
Change-Id: I004101e814ac3eb1de7a518c2dd9b1f14683eca8
2012-08-02STL'ify DECLARE_CONTAINER_SORT_DEL(SvXMLAutoStylePoolParentsP_Impl)Noel Grandin
Change-Id: I54f1595198b65058d3dd7f3304e0acb75cd55291
2012-08-02STL'ify DECLARE_CONTAINER_SORT(XMLTextListAutoStylePool_Impl)Noel Grandin
Change-Id: Ib9aa0e619434acde5b4dd93b43b231ba23adb63e
2012-08-02STL'ify DECLARE_CONTAINER_SORT_DEL(XMLFontAutoStylePool_Impl)Noel Grandin
Change-Id: Ic02f143a0e0f01a6cbc88c47d20e0c27dca17a74
2012-08-02convert XMLFamilyDataList_Impl to boost::ptr_setCaolán McNamara
Change-Id: I2a23787091828415cf814eb7091f3fa926b5876c
2012-08-01const SvXMLStyleIndexCmp_Impl upCaolán McNamara
Change-Id: I5bd75e73f2584364bbb749767529efc75aff3d15
2012-08-01convert SvXMLAutoStylePoolNamesP_Impl to a std::setCaolán McNamara
Change-Id: I839edf8d0e941f78f6f6f9e6a9117f76587a5f39
2012-07-30remove unnecessary includes of svl/svarray.hxxCaolán McNamara
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-28Partially revert "hrc cleanup: Remove unused resource definitions"Thomas Arnhold
This partially reverts d341aca7f68bc082cdefe4b1176f56c2c14a0322 http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html Change-Id: Ia378ef028dbdf1500a9ca6fbbc141e460d289b31