summaryrefslogtreecommitdiff
path: root/xmloff/source
AgeCommit message (Collapse)Author
2013-02-22set document settings / embed fonts when importing odpRadek Doulik
Change-Id: Ib7160c3b00399e704cd02a41735b0ff4f13d8554
2013-02-22use document settings / embed fonts when exporting odpRadek Doulik
Change-Id: I9e8db1ae08b570f093b13d50bfde823c85cdba95
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-21Revert "embed also system fonts when embedding fonts in a document"David Ostrovsky
that's enouph breakage for now. This reverts commit 596bd0f61f8cfc957410148ae221c62331067bdd. Change-Id: I992f439a9a099e47115a30b3d745848f3af09e5e
2013-02-21Fix type unkown -> unknownJulien Nabet
Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
2013-02-21embed also system fonts when embedding fonts in a documentLuboš Luňák
Without this, only fonts that had come embedded with the document were embedded when saving, which meant that it was impossible to create new documents that would have any fonts embedded. Change-Id: I3b4e87b1b3ca5ae1ccfe29d9b571b0262c568dcf
2013-02-21generic integers to enumsLuboš Luňák
Change-Id: Ic43283b9e1666c0f2162e277dc79fc6f992ef616
2013-02-21adapt writer to use centralised font dialog and fix some minor bugsNoel Power
fixed incorrect return of EmbeddFonts property and also make sure that NotifyEmbeddedFontRead is called on reload Change-Id: I085f50ff88bbf73b5dcdb9630b6c5844430a47c2
2013-02-20typo: allways -> alwaysAndras Timar
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-19fdo#52948 fix print-repeated-values=no with formatted valuesLionel Elie Mamane
Factorise the "should this element be printed" decision into an utility function, which is used by 1) AbstractReportElementLayoutController (in charge of non-formatted values: string, image, OLE object, ...) which already obeyed PrintRepeatedValues. 2) TableCellLayoutController (in charge of formatted values: dates, numbers, ...) which blissfully ignored PrintRepeatedValues, but obeyed the display condition. Rename the inconsistently named PrintWhenGroupChange PrintWhenGroupChanges print-only-when-group-change print-when-group-change to PrintWhenGroupChange / print-when-group-change Change the meaning of "PrintWhenGroupChange" to "override PrintRepeatedValues in first occurrence in group". Since this feature never worked under the old semantics, no loss of feature. Since we change the XML attribute name, no ascending compatibility problem: it will be reset to its default value. Pursuant to the new meaning of PrintWhenGroupChange, change its default to *true*, which is the sane default. Change-Id: Idbe8e90565a354f70db222d047b3d51eeddbbb9f
2013-02-18remove stray makefile.mk in xmloffBjoern Michaelsen
Change-Id: Ic675c30449810fb979f97f53cab5f4eb8c77593b
2013-02-18coverity#705351 missing break in switchNorbert Thiebaud
Change-Id: I8fa9ddbf6966ee2520e6245f7e014ee6df914486 Reviewed-on: https://gerrit.libreoffice.org/2238 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-18coverity#705351 Missing break in switchNorbert Thiebaud
Change-Id: Id6d35b951ff78f21e3ea5a9beed22081f8c466fa Reviewed-on: https://gerrit.libreoffice.org/2237 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-12fdo#46808, convert xmloff module code to use XComponentContextNoel Grandin
with lots of repurcussions in other modules Change-Id: I6982671eecc701b06cf85d93533e1fe618044fea
2013-02-12fdo#46808, Adapt document::XMLOasisBasicImporter UNO service to new styleNoel Grandin
Change-Id: Ic494847cf56c7661474d2a096dccc675780c9ce1
2013-02-12fdo#46808, Adapt animations::SequenceTimeContainer UNO service to new styleNoel Grandin
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 Grandin
Change-Id: I54bb0eb08d687e7d54c42601c826c580a7a17ebb
2013-02-11fdo#46808, Adapt document::XML*BasicExporter UNO services to new styleNoel Grandin
The services are document::XMLBasicExporter document::XMLOasisBasicExporter Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-08Resolves: fdo#60132 Error reading file after inserting commentCaolán McNamara
Change-Id: Ib2b388c78c8f44a626267c2f8d3975b46ead3bd5
2013-02-07Mark these members mutable to avoid casting them in const method.Kohei Yoshida
Change-Id: Ib5d8ea83e37ab1e3c5a1ad4dc9870d3d5a2d8779
2013-02-07Move these typedef's inside the class scope & bool cleanups.Kohei Yoshida
Change-Id: I806453efbc5f7bb18f34593c350b05d74a0bc23b
2013-02-07Those auto_ptr can be replaced with boost::scoped_ptr.Kohei Yoshida
Change-Id: I2aa68c7bf265943e3d015a069fab461882c81554
2013-02-06sw: let drawinglayer manage gradient styles of our textframesMiklos Vajna
With this, the hacks from commits 81a46fc86a530f028a5bd2f5e52fe0372d50ee38 and d7efffebd9651dd866349915360ade64b97d7301 are no longer necessary.
2013-02-01Revert "temporarily disable the xmloff/vcl dependency"Luboš Luňák
This reverts commit 7bce8c2e491562873705e3e451ba66d005b22646.
2013-02-01temporarily disable the xmloff/vcl dependencyLuboš Luňák
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ňák
Change-Id: I61731f472405e46828204ffb1cacf1c9e6a9b5bf
2013-02-01rename a class to something that gives at least some idea of what it doesLuboš Luňák
Change-Id: I574c523d37d54a05aa79d2ccf52e0727e1a1d744
2013-02-01basic support for embedded fonts in odt (fdo#42195)Luboš Luňák
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ňák
Change-Id: Id41200667089d4f42f7999060fd97545bb069788
2013-02-01export darken/darkeless/lighten/lightenless commandsRadek Doulik
Change-Id: I4531ab82a52e3da41f12409185f7c0730381aa23
2013-01-31export subpath sizes (these are for example in pptx custom shape presets)Radek Doulik
Change-Id: Iab21d0845d0cb6e4dadeffb5f7b9ebab1e4b955a
2013-01-29xmloff: export Wrtier's RES_FILL_STYLE and RES_FILL_GRADIENTMiklos Vajna
Change-Id: Id0adf3733ac4c2c08ded659c2d621ddbbbb434c5
2013-01-29SvXMLExport::_ExportStyles: also try to export text gradientsMiklos Vajna
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 Vajna
Change-Id: I60f588efb35d5968c21b7b0e0fc29bcbbd2dd50d
2013-01-28fdo#46808, Adapt document::*PropertyValues UNO service to new styleNoel Grandin
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 Grandin
Change-Id: I7eb3ce6794b5896ebc56d6f28f7e37b6929a6217
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-27implement conditional date format import/export for ODFMarkus Mohrhard
Change-Id: I11d5583c994d84fe1163c6158c0794ea1d879f2e
2013-01-24WaE: 'bVal' may be used uninitialized in this functionTor Lillqvist
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 Yoshida
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 Rouvignac
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 Stahl
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 Stahl
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 McNamara
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 Grandin
Change-Id: I98bfbc8e143b9ad9d486f97380186fde9b4423ec
2013-01-11support saving/loading hyperlink cell attribute in extended odfNoel Power
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 Mohrhard
Change-Id: I8a5e158eabdbb92eec27a5753004e4f5e826c412
2013-01-07Revert "dummy commit (WIP)"Luboš Luňák
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. Rossmanith
Change-Id: Ibeee6553312323b75b2403ad6832595f228e0e3c
2013-01-07added token for handling of svg:linearGradient and svg:radialGradientChr. Rossmanith
Change-Id: I38014a8d9e21359cb943f813484478293360a2e6