summaryrefslogtreecommitdiff
path: root/xmloff
AgeCommit message (Collapse)AuthorFilesLines
2013-02-13update pch headers, broken by 1aaf9a9Luboš Luňák1-1/+9
2013-02-12fdo#46808, convert xmloff module code to use XComponentContextNoel Grandin19-73/+53
with lots of repurcussions in other modules Change-Id: I6982671eecc701b06cf85d93533e1fe618044fea
2013-02-12fdo#46808, Adapt document::XMLOasisBasicImporter UNO service to new styleNoel Grandin2-18/+9
Change-Id: Ic494847cf56c7661474d2a096dccc675780c9ce1
2013-02-12fdo#46808, Adapt animations::SequenceTimeContainer UNO service to new styleNoel Grandin1-17/+7
The service already existed, it just did not have an IDL file Change-Id: I9698830f9c01936a12669ee950e2b231f303c2f8
2013-02-11fdo#46808, convert xml::xpath::XPathAPI to new-style serviceNoel Grandin1-6/+3
Change-Id: I54bb0eb08d687e7d54c42601c826c580a7a17ebb
2013-02-11fdo#46808, Adapt document::XML*BasicExporter UNO services to new styleNoel Grandin18-267/+198
The services are document::XMLBasicExporter document::XMLOasisBasicExporter Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-08Resolves: fdo#60132 Error reading file after inserting commentCaolán McNamara1-0/+5
Change-Id: Ib2b388c78c8f44a626267c2f8d3975b46ead3bd5
2013-02-07Mark these members mutable to avoid casting them in const method.Kohei Yoshida1-5/+4
Change-Id: Ib5d8ea83e37ab1e3c5a1ad4dc9870d3d5a2d8779
2013-02-07Move these typedef's inside the class scope & bool cleanups.Kohei Yoshida1-15/+10
Change-Id: I806453efbc5f7bb18f34593c350b05d74a0bc23b
2013-02-07Those auto_ptr can be replaced with boost::scoped_ptr.Kohei Yoshida2-21/+18
Change-Id: I2aa68c7bf265943e3d015a069fab461882c81554
2013-02-06sw: let drawinglayer manage gradient styles of our textframesMiklos Vajna1-38/+26
With this, the hacks from commits 81a46fc86a530f028a5bd2f5e52fe0372d50ee38 and d7efffebd9651dd866349915360ade64b97d7301 are no longer necessary.
2013-02-01Revert "temporarily disable the xmloff/vcl dependency"Luboš Luňák3-5/+6
This reverts commit 7bce8c2e491562873705e3e451ba66d005b22646.
2013-02-01temporarily disable the xmloff/vcl dependencyLuboš Luňák3-6/+5
As far as I can tell, there is not circular dependency, but make complains, and only when invoked from toplevel, not from tail_build. Looks like gbuild problem, but do a hackish change to make unbreak clean compilation, for now. Change-Id: I445ba343f9eaa988c60c288bf5fc1c5d1c7b67a5
2013-02-01move implementation class to a non-public headerLuboš Luňák3-82/+110
Change-Id: I61731f472405e46828204ffb1cacf1c9e6a9b5bf
2013-02-01rename a class to something that gives at least some idea of what it doesLuboš Luňák2-18/+18
Change-Id: I574c523d37d54a05aa79d2ccf52e0727e1a1d744
2013-02-01basic support for embedded fonts in odt (fdo#42195)Luboš Luňák8-3/+283
There are still places that should be improved a bit, but this works. Change-Id: Ieb7947a294ec95b6fd8cec2e8c4bc731e2594c42
2013-02-01move class definition to a header fileLuboš Luňák2-40/+44
Change-Id: Id41200667089d4f42f7999060fd97545bb069788
2013-02-01export darken/darkeless/lighten/lightenless commandsRadek Doulik2-0/+52
Change-Id: I4531ab82a52e3da41f12409185f7c0730381aa23
2013-01-31export subpath sizes (these are for example in pptx custom shape presets)Radek Doulik6-0/+64
Change-Id: Iab21d0845d0cb6e4dadeffb5f7b9ebab1e4b955a
2013-01-29xmloff: export Wrtier's RES_FILL_STYLE and RES_FILL_GRADIENTMiklos Vajna3-0/+22
Change-Id: Id0adf3733ac4c2c08ded659c2d621ddbbbb434c5
2013-01-29SvXMLExport::_ExportStyles: also try to export text gradientsMiklos Vajna1-26/+38
They are not exported automatically, as SvxUnoNameItemTable needs a Which ID, and it's different for drawinglayer and Writer gradients. Change-Id: I5dd7d828b1f0e577e26510e3c5ca74386d000f16
2013-01-29xmloff: no longer necessary OUTSTRING() macroMiklos Vajna6-44/+41
Change-Id: I60f588efb35d5968c21b7b0e0fc29bcbbd2dd50d
2013-01-28fdo#46808, Adapt document::*PropertyValues UNO service to new styleNoel Grandin5-162/+113
The services are: document::NamedPropertyValues document::IndexedPropertyValues The services already existed, they just did not have IDL files Change-Id: Ibafe9b5afb9b30785df4f66aa923f4b96ceabeed
2013-01-28fdo#46808, don't cache the result of comphelper::getProcessComponentContextNoel Grandin3-20/+4
Change-Id: I7eb3ce6794b5896ebc56d6f28f7e37b6929a6217
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin5-33/+22
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-27implement conditional date format import/export for ODFMarkus Mohrhard2-0/+2
Change-Id: I11d5583c994d84fe1163c6158c0794ea1d879f2e
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl2-0/+4
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-24WaE: 'bVal' may be used uninitialized in this functionTor Lillqvist1-1/+1
Seen in the MacOSX-Intel_1-built_no-moz_on_10.6.8 tinderbox build log, not in an own build. Change-Id: I1b5c87d3c1876821981d8f8a7b089b81659e5c7b
2013-01-23fdo#58562: Ensure internal data is always used when pasting to another doc.Kohei Yoshida1-5/+25
Without this, pasting a chart object from one Calc doc to another may occasionally incorrectly switch to range references *if* the destination document contains the "right" set of sheet names. With this fix, pasted chart objects always switch to internal cached data source when pasting to another document, while retaining range references when pasting within the same document. Change-Id: If1dbc854c5faae62f06ece155fad470b229ca0c7
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac1-1/+1
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-18xmloff: refactor Generator version handling:Michael Stahl4-30/+97
Since there are now 2 forks of OpenOffice.org, we cannot rely on a simple total ordering of versions any more; add a new function SvXMLImport::isGeneratorVersionOlderThan(), taking 2 reference versions. Also extract the LibreOffice version number from the generator string, and extend the BuildId property to store this as a third number. This also allows removal of the "fake LibreOffice3 as OpenOffice.org 3.3 release" hack, which is not future-proof. Change-Id: I44d8105eb537ac43fb9529a8b1b661ae0f2bba30
2013-01-18fdo#59517: fix detection of ancient OOo ODF generator strings:Michael Stahl1-4/+5
SvXMLMetaDocumentContext::setBuildId: check only the prefix of the generator string, not all of it. (regression from 17ff7b41d15ab9928e2e2706faa26234a09802cd) Change-Id: I0cdd958d67cd13fd2368cc6958893ce3528a9e94
2013-01-18Resolves: fdo#58730 workaround [UL|LR]Space 100% problemCaolán McNamara2-1/+30
If all paragraph margins are 100% on import, ignore that as being the implicit default. That avoids explicit 100% being set onto the awesome [UL|LR]Space which takes a relative propsize of 100% as a flag that its value field is absolute and so rejected by SwTxtFmtColl::Modify as a candidate for getting its true value initialized relative to its parent, so it ends up as an absolute 0 Always elide the property on export because writing individual margin-foos provides better backward compatibility with older versions anyway. Trigged by 3c5facfce42a0dbe362d6b9fa5ac374fd76f51a1 Change-Id: I55f6ceeae287b7d8e99befa4bd3cc06738a21299
2013-01-15fdo#46808, Adapt chart2::data::LabeledDataSequence UNO service to new styleNoel Grandin4-20/+18
Change-Id: I98bfbc8e143b9ad9d486f97380186fde9b4423ec
2013-01-11support saving/loading hyperlink cell attribute in extended odfNoel Power3-1/+3
style:table-cell-properties has new child element style:hyperlink which will store the hyperlink info in attributes xlink:href & xlink:type Change-Id: I184310d124c4242cd62fdabb45f9773094cfc229
2013-01-09move some OSL_* macros to SAL_WARNMarkus Mohrhard1-7/+8
Change-Id: I8a5e158eabdbb92eec27a5753004e4f5e826c412
2013-01-07Revert "dummy commit (WIP)"Luboš Luňák7-233/+9
This reverts commit 6eb0522395c236ae6930a300992ad092449f9592. It does not compile and the message and contents suggest it probably wasn't meant to be pushed.
2013-01-07dummy commit (WIP)Chr. Rossmanith7-9/+233
Change-Id: Ibeee6553312323b75b2403ad6832595f228e0e3c
2013-01-07added token for handling of svg:linearGradient and svg:radialGradientChr. Rossmanith2-2/+16
Change-Id: I38014a8d9e21359cb943f813484478293360a2e6
2013-01-03limit the number of imported digits, fdo#58539Markus Mohrhard1-1/+3
This should fix the crash with gnome#627420. Change-Id: Ibfff498282dc1c6fe9124ced645392107ef8829f
2012-12-28xmloff: mostly kill CONSTASCII_STRINGPARAM usageMiklos Vajna15-49/+47
2012-12-26text:p is not allowed for chart objects, fdo#58571Markus Mohrhard1-2/+6
Change-Id: I24c485d31ea3f0540164ff65074b392be1e557e6
2012-12-26ignore #include inside #ifLubos Lunak1-3/+0
2012-12-19regenerate pchPeter Foley1-103/+103
Change-Id: I4e18ce06db42e13479809ba8eec70033943271cf
2012-12-18Replace chained O(U)StringBuffer::append() with operator+Christos Strubulis1-6/+1
Change-Id: I0fcd70cff092c7d90b57b9af9dcec99f23750f1c Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-17add script to regenerate pch filesPeter Foley3-2/+2
based on a script by Lubos Lunak (http://article.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/40210) Change-Id: Ib32de8be8a57b3b430f4b5b298b7f417e5a02ccb Reviewed-on: https://gerrit.libreoffice.org/1350 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-14Do not defer ~XMLRedlineImportHelper activity to ~SwXMLImportStephan Bergmann1-0/+1
At least with one Clang build, executing sw_unoapi test aborts at shutdown of soffice.bin with 20 __cxxabiv1::__cxa_call_unexpected 21 XMLRedlineImportHelper::~XMLRedlineImportHelper 22 XMLRedlineImportHelper::~XMLRedlineImportHelper 23 SwXMLTextImportHelper::~SwXMLTextImportHelper 24 SwXMLTextImportHelper::~SwXMLTextImportHelper 25 UniRefBase::release 26 UniReference<XMLTextImportHelper>::~UniReference 27 UniReference<XMLTextImportHelper>::~UniReference 28 SvXMLImport::~SvXMLImport 29 SwXMLImport::~SwXMLImport 30 SwXMLImport::~SwXMLImport 31 cppu::OWeakObject::release [...] 79 binaryurp::Bridge::dispose [...] 98 desktop::Desktop::DeregisterServices 99 desktop::Desktop::doShutdown 100 desktop::Desktop::Main due to ~XMLRedlineImportHelper calling setPropertyValue on an SwXTextDocument that is !IsValid() and thus throws a RuntimeException. SwXMLImport::endOocument already contains ClearShapeImport with a comment that indicates it is necessary for a similar reason, so add a ClearTextImport that ensures any ~XMLRedlineImportHelper activity is done before the SwXTextDocument becomes invalid, and not only at shutdown of the remote bridge that still holds a (Java) reference to SwXMLImport. Change-Id: I9891879c91bfea79fa9e22691be1826f61fdd70a
2012-12-13added some FIXME-BCP47 markersEike Rathke1-0/+6
Change-Id: I085ca72b6c2dc1e73f4af7233017895bf92b2ef8
2012-12-13update PCH headersLuboš Luňák1-1/+0
2012-12-12Remove xml2cmp leftoversStephan Bergmann1-490/+0
Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893