summaryrefslogtreecommitdiff
path: root/xmloff/inc
AgeCommit message (Collapse)AuthorFilesLines
2013-02-25fdo#38838,::rtl::OUString_to_OUStringelixir2-325/+325
Change-Id: I7c9ebd01c16ff066008e53de865560ad78215bab Reviewed-on: https://gerrit.libreoffice.org/2330 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-24remove RTL_CONSTASCII_(U)STRINGPARAM in xmloffChr. Rossmanith1-4/+2
Change-Id: I86163e68d0993dcaf6888060ace17f5dba812f1a
2013-02-24coverity#984351 Uninitialized scalar field => unused memberNorbert Thiebaud1-1/+0
Change-Id: I766bfc9db355205f97aaea774ee68c76bd5df0ae Reviewed-on: https://gerrit.libreoffice.org/2317 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-23Fix typo "teh" -> "the"Julien Nabet1-1/+1
Change-Id: Iacfeb4a0c2bff254e5bcc8d58582994cd0f3993a
2013-02-22s/the the/the/Tor Lillqvist2-2/+2
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-21Revert "embed also system fonts when embedding fonts in a document"David Ostrovsky1-1/+1
that's enouph breakage for now. This reverts commit 596bd0f61f8cfc957410148ae221c62331067bdd. Change-Id: I992f439a9a099e47115a30b3d745848f3af09e5e
2013-02-21embed also system fonts when embedding fonts in a documentLuboš Luňák1-1/+1
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ňák1-4/+5
Change-Id: Ic43283b9e1666c0f2162e277dc79fc6f992ef616
2013-02-20typo: allways -> alwaysAndras Timar1-1/+1
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-19fdo#52948 fix print-repeated-values=no with formatted valuesLionel Elie Mamane1-1/+1
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-13update pch headers, broken by 1aaf9a9Luboš Luňák1-1/+9
2013-02-12fdo#46808, convert xmloff module code to use XComponentContextNoel Grandin4-11/+5
with lots of repurcussions in other modules Change-Id: I6982671eecc701b06cf85d93533e1fe618044fea
2013-02-11fdo#46808, Adapt document::XML*BasicExporter UNO services to new styleNoel Grandin5-32/+11
The services are document::XMLBasicExporter document::XMLOasisBasicExporter Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-07Those auto_ptr can be replaced with boost::scoped_ptr.Kohei Yoshida1-2/+2
Change-Id: I2aa68c7bf265943e3d015a069fab461882c81554
2013-02-01move implementation class to a non-public headerLuboš Luňák1-82/+0
Change-Id: I61731f472405e46828204ffb1cacf1c9e6a9b5bf
2013-02-01rename a class to something that gives at least some idea of what it doesLuboš Luňák1-7/+7
Change-Id: I574c523d37d54a05aa79d2ccf52e0727e1a1d744
2013-02-01basic support for embedded fonts in odt (fdo#42195)Luboš Luňák4-1/+47
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ňák1-0/+43
Change-Id: Id41200667089d4f42f7999060fd97545bb069788
2013-01-31export subpath sizes (these are for example in pptx custom shape presets)Radek Doulik2-0/+3
Change-Id: Iab21d0845d0cb6e4dadeffb5f7b9ebab1e4b955a
2013-01-29xmloff: export Wrtier's RES_FILL_STYLE and RES_FILL_GRADIENTMiklos Vajna1-0/+1
Change-Id: Id0adf3733ac4c2c08ded659c2d621ddbbbb434c5
2013-01-28fdo#46808, Adapt document::*PropertyValues UNO service to new styleNoel Grandin1-3/+3
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 Grandin1-3/+0
Change-Id: I7eb3ce6794b5896ebc56d6f28f7e37b6929a6217
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin1-9/+2
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-27implement conditional date format import/export for ODFMarkus Mohrhard1-0/+1
Change-Id: I11d5583c994d84fe1163c6158c0794ea1d879f2e
2013-01-18xmloff: refactor Generator version handling:Michael Stahl1-0/+8
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-11support saving/loading hyperlink cell attribute in extended odfNoel Power2-1/+2
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-07Revert "dummy commit (WIP)"Luboš Luňák1-3/+2
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. Rossmanith1-2/+3
Change-Id: Ibeee6553312323b75b2403ad6832595f228e0e3c
2013-01-07added token for handling of svg:linearGradient and svg:radialGradientChr. Rossmanith1-0/+7
Change-Id: I38014a8d9e21359cb943f813484478293360a2e6
2012-12-26ignore #include inside #ifLubos Lunak1-3/+0
2012-12-19regenerate pchPeter Foley1-103/+103
Change-Id: I4e18ce06db42e13479809ba8eec70033943271cf
2012-12-17add script to regenerate pch filesPeter Foley2-1/+1
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-13update PCH headersLuboš Luňák1-1/+0
2012-12-11this class is apparently a dupe of one in editengLuboš Luňák1-57/+2
2012-12-10new autogenerated PCH header for xmloffLuboš Luňák1-25/+536
2012-12-10start precompiled_xmloff.hxx from scratchLuboš Luňák1-1226/+1
2012-12-10do not include removed include filesLuboš Luňák1-10/+0
2012-12-10remove unneeded PCH stuffLuboš Luňák1-9/+0
Since the PCH is now explicitly included using the command line, it is no longer necessary to have include guards or #ifdefs for enabling it. Change-Id: Ie64fdc75129af7097213d86f2daec461993fb6f4
2012-12-10use PCH for LO headers in xmloff tooLuboš Luňák1-11/+14
Interestingly this makes it slower with Clang than less headers. Change-Id: Ia28d27ca9c8154c907dae1629ca893fc4765f075
2012-12-10include guards for precompiled_xxx.hxx filesLuboš Luňák1-0/+4
It seems this makes clang somewhat faster. Change-Id: I5a22763acf7991c45d7e9fd25eb0b5bda1fae27f
2012-12-10PCH for xmloff, including LO headersLuboš Luňák1-1/+1234
Change-Id: I50e8eb58ef9b764cfb847b36b4e42f95bc437233
2012-12-10xmloff precompiled headersLuboš Luňák2-0/+57
Change-Id: Iae5ec6d6af8ebfa38f560dddc5a93a0386772f4d
2012-11-30Hidden styles: ODF import/exportCédric Bosdonnat2-1/+4
Change-Id: I1138314eba33dc8cf8d1f60e77ac419b4550bbcc
2012-11-28We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist1-4/+0
We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-27String and OUString cleaning in xmloffNorbert Thiebaud1-51/+50
Change-Id: I85d7fd7733814c60a048a7f87d43fbcbb83b0eb0
2012-11-18xmloff: simplify the use of AddToCodeNorbert Thiebaud1-0/+1
most use of that API is to add a single sal_Unicode, it is silly to manufacture a full OUString just to pass that via AddToCode to then append it to a OUStringBuffer adding AddToCode(sal_Unicode c) to simplify these case also remove a silly iteration over a OUString's character to re-add each character one by one via AddToCode() Change-Id: Ia8a58551a1c24312baaa250b8d36fe21c46127e7
2012-11-15re-base on ALv2 code. Includes:Michael Meeks49-1093/+761
Patches contributed by: Armin Le Grand. #118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task. http://svn.apache.org/viewvc?view=revision&revision=1195906 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles http://svn.apache.org/viewvc?view=revision&revision=1293316 #119337# Solves the wrong get/setPropertyValue calls in SvxShapeText (and thus in SvxOle2Shape) http://svn.apache.org/viewvc?view=revision&revision=1344156 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117717#: remove wrong assertion http://svn.apache.org/viewvc?view=revision&revision=1172349 Patch contributed by Herbert Duerr goodbye Registration and License dialogs, don't let the door hit you http://svn.apache.org/viewvc?view=revision&revision=1172613 help gcc 4.6.0 on 32bit ubuntu 11.10" http://svn.apache.org/viewvc?view=revision&revision=1245357 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 Revert "sb140: #i117082# avoid unncessary static class data members commit 21d97438e2944861e26e4984195f959a0cce1e41. remove obsolete FreeBSD visibility special case. retain consolidated BSD bridge code, remove OS/2 pieces.
2012-11-15Revert "sb140: #i117310# remove unnecessary dependencyMichael Meeks3-27/+24
on XTypeProvider::getImplementationId" This reverts commit 27b9f9f348b720e08f37db829533372dc4b73248. Conflicts: xmloff/inc/xmloff/txtparae.hxx xmloff/source/style/SinglePropertySetInfoCache.cxx
2012-11-15fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin1-0/+4
Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba