summaryrefslogtreecommitdiff
path: root/xmloff
AgeCommit message (Collapse)AuthorFilesLines
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2-2/+4
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2-0/+2
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud3-8/+5
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 Lillqvist1-2/+2
Change-Id: I9c5203400904902238c1f9a8f01338fdcf2904d8
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann4-8/+8
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-1/+0
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 Stahl1-4/+4
Change-Id: I009f0519e34900a1b1447de02d99f32dd0e07410
2012-09-14fdo#49571: ODF import: ignore "text:enable-numbering" attributeMichael Stahl1-1/+0
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 Stahl1-0/+2
This is invalid, font size must be positive. Change-Id: I2425d7c596ca9c7c80c0d24c44cdd9ec1ac1dd80
2012-09-14fdo#49678: ODF export: add svg:viewBox to draw:connectorMichael Stahl1-0/+18
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 Stahl1-0/+1
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 Stahl2-16/+56
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 Bergmann7-57/+28
Change-Id: I51226f78ca60c32ebb908bcf4f74d38d0750eb00
2012-09-12fdo#46808, Adapt xml::dom::SAXDocumentBuilderr UNO service to new styleNoel Grandin3-9/+10
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 Grandin1-9/+6
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-08-17gbuild: register all jarsMichael Stahl1-5/+5
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-16-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann28-110/+42
Change-Id: I4b877ab97259f7e031e34daf7ce93e1b59417a08
2012-08-10Prefer prefix ++/-- operators for non-primitive typesJulien Nabet1-2/+2
Change-Id: Ic8d149a78b2bc2bf352b7893202d0d0b6730746c
2012-08-10fdo#39468: Translate German comments in toolkit,unotools, & xmloffOliver Günther2-2/+2
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 Arnhold9-45/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07drop bogus eof linesThomas Arnhold2-4/+0
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-08-04Replace usage of rtl/memory.h in xmloff with equivalent from string.hArnaud Versini8-13/+18
Change-Id: Ie4747a424bb688263dd578905b44c849e3cac08d
2012-08-03fdo#38056: fix XMLTextImportPropertyMapper regression:Michael Stahl1-51/+52
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 Power5-0/+29
Change-Id: I7d3ca1f121396dfc017bb1ee73651f9017e58ba3
2012-08-03additional const_iterator in const methodCaolán McNamara1-2/+2
Change-Id: I8cad958e1b6ba5eec000244a31e1ee98e0b5d123
2012-08-02SvXMLAutoStylePoolP_Impl: try to make MSVC happyMichael Stahl1-4/+6
Change-Id: Ifecfa196923b7fdde51839d74bef46e840bae501
2012-08-02cntnrsrt.hxx: remove dead codeMichael Stahl1-1/+0
Change-Id: I004101e814ac3eb1de7a518c2dd9b1f14683eca8
2012-08-02STL'ify DECLARE_CONTAINER_SORT_DEL(SvXMLAutoStylePoolParentsP_Impl)Noel Grandin4-40/+33
Change-Id: I54f1595198b65058d3dd7f3304e0acb75cd55291
2012-08-02STL'ify DECLARE_CONTAINER_SORT(XMLTextListAutoStylePool_Impl)Noel Grandin1-44/+37
Change-Id: Ib9aa0e619434acde5b4dd93b43b231ba23adb63e
2012-08-02STL'ify DECLARE_CONTAINER_SORT_DEL(XMLFontAutoStylePool_Impl)Noel Grandin1-34/+37
Change-Id: Ic02f143a0e0f01a6cbc88c47d20e0c27dca17a74
2012-08-02convert XMLFamilyDataList_Impl to boost::ptr_setCaolán McNamara5-239/+188
Change-Id: I2a23787091828415cf814eb7091f3fa926b5876c
2012-08-01const SvXMLStyleIndexCmp_Impl upCaolán McNamara1-1/+1
Change-Id: I5bd75e73f2584364bbb749767529efc75aff3d15
2012-08-01convert SvXMLAutoStylePoolNamesP_Impl to a std::setCaolán McNamara10-123/+47
Change-Id: I839edf8d0e941f78f6f6f9e6a9117f76587a5f39
2012-07-30remove unnecessary includes of svl/svarray.hxxCaolán McNamara6-6/+0
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-28Partially revert "hrc cleanup: Remove unused resource definitions"Thomas Arnhold1-3/+3
This partially reverts d341aca7f68bc082cdefe4b1176f56c2c14a0322 http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html Change-Id: Ia378ef028dbdf1500a9ca6fbbc141e460d289b31
2012-07-28WaE: unused variableTor Lillqvist1-1/+3
Change-Id: Iad6063f3f064e0d8fa0bf43125ec1d323519389c
2012-07-27sd, sfx2, writerfilter, xmloff: fix some warningsMichael Stahl1-1/+1
2012-07-25delete svl/svstdarr.hxxMichael Stahl6-6/+3
Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
2012-07-20office:annotation-end importMiklos Vajna4-5/+71
Change-Id: I8d1475b5bc9a36dade5ce28e74139834c69f8e14
2012-07-20office:annotation-end exportMiklos Vajna4-4/+36
Change-Id: Idd815f2d10e67ae9cf91f06b6b4c92a0ebe2e856
2012-07-19odf: export old path without unsupported commands in draw namespace as wellRadek Doulik1-6/+16
- to preserve at least some data for older versions of Libre Office Change-Id: I2a33706c2a2344e45b57a00469a7387072f8602b
2012-07-19fdo#38056: ODF import: fix page style attributes:Michael Stahl1-0/+51
PageMasterImportPropMapper: in the case of a single "fo:border" and "style:border-line-width" attribute, it is possible that the border is imported wrongly, like this: 1. pAllBorderProperty is set from the imported value, with name "TopBorder" 2. individual pNewBorder[i] are created as copies from pAllBorderProperty, one of which also with name "TopBorder" 3. pNewBorder[i] is updated with widths from pBorderWidths[i] 4. the individual pNewBorder[i] are added to the property vector 5. the property vector is sorted by property name 6. the properites are applied in order; if the pNewBorder[TOP] happens to precede the pAllBorderProperty (which is indeterminate as they both have name "TopBorder"), then the pAllBorderProperty will overwrite the border widths computed in step 3. Thus, nerf the various pAllFoo properties so they do not override the individual Foo properties later on. Change-Id: I87755f1184d59da2aa72ac053e6f77d7295d6958
2012-07-19odf: export arcangleto commands in enhanced path (use drawooo namespace)Radek Doulik4-7/+13
Change-Id: I43a2c08ee8dfc0abe4d05579b837b5be0944c0fe
2012-07-16the unknwon typo is surprisingly popularLuboš Luňák3-4/+4
Change-Id: Iffe25051c8357019521196f9a27065d6108ede47
2012-07-16There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET1-12/+12
a literal within a OUString. Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-16xmloff: implement import/export of SwPostItField::aInitialsMiklos Vajna4-0/+26
Change-Id: Ie28e8e4c2e80d9234cf1ec2ca43dd200cf1d56cb
2012-07-13fix a crash with empty stringLuboš Luňák1-4/+2
If it's named nLast, then it's supposed to point to the last character, which, with an empty string, logically means it should point before the start of the string. Change-Id: I248fbe80c1c4b1c2c8d39f0bcf772f9b85415e4a
2012-07-12xmloff: add new constant for commentrange field typeMiklos Vajna1-0/+1
Change-Id: I9bdf184f5a8f414144d9dea814d6179ec2134209
2012-07-11Decrease header files dependenciesMatteo Casalin3-3/+3
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-10xmloff: kill RTL_CONSTASCII_USTRINGPARAM in rebased codeMiklos Vajna12-54/+48
Change-Id: I3d5227c299d78d4492c47e29385c2c5ca25cfe49