summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)Author
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-11write bcp47 for dc:languageEike Rathke
Change-Id: I859eaaba3c852127422bd0d0e0db0f9bd62e0d55
2013-07-11Uknown -> UnknownCaolán McNamara
Change-Id: I06d48669804d2ae99c47a0df1ed3c6f45c87a57e
2013-07-10fdo#66688: fix for crash on exit and opacity issueAdam Co
Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: I32db54e2c49b40bf41005baeba380a4f631d615a Reviewed-on: https://gerrit.libreoffice.org/4780
2013-07-09Remove warning by using the right printf commandsArnaud Versini
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb Reviewed-on: https://gerrit.libreoffice.org/4753 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-09n#819822: Crash fix, check validity.Muthu Subramanian
2013-07-09n#819822: XLSX Chart import with internal data table.Muthu Subramanian
When the import with xlsx ranges fail - try with internal data table.
2013-07-08Turn Radek's notes into README files.Radek Doulik
Change-Id: I904142622ac37b394ddedf62bb7d9c099fc9cab4
2013-07-08-Werror,-Wheader-guard (Clang trunk towards 3.4)Stephan Bergmann
Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
2013-07-08-Werror,-Wdeprecated-register (Clang trunk towards 3.4)Stephan Bergmann
...in files generated by gperf; an alternative could be to use -isystem instead of -I in gb_Library_use_custom_headers. Change-Id: I316684ab5342977655a5642903b13e127adaf95c
2013-07-05API change: oslDateTime signed yearLionel Elie Mamane
Change-Id: Ic4f1e424b130fd2ccca379adbe0a66836b6cac41
2013-07-05fixup nanosecond precisionLionel Elie Mamane
Change-Id: Ia33b811d56fe5ad5e7e844b3e1c1c25ece0b5396
2013-07-04Revert "write bcp47"Eike Rathke
This reverts commit 40aceaae06a354958d6ecf88292bb0fd483f158b. It's dc:language ...
2013-07-04use LanguageTag instead of mouth-painted implementationEike Rathke
Change-Id: Idd84ce9740de179c399702f896b7d39ab321f6f7
2013-07-04use LanguageTag and write bcp47 for ST_LangEike Rathke
Change-Id: I6e8ad53f769939fd7f7539514ca20374e5fd9248
2013-07-04use LanguageTagEike Rathke
Change-Id: I16c1f5ba5a74858f01f5e62af2614beba608ef8c
2013-07-04write bcp47Eike Rathke
Change-Id: I682b35f0793f5fc61daa255bb68a60e164133d97
2013-07-04don't use Locale.LanguageEike Rathke
Change-Id: Ief663d886b08fc141dfb7563674504fe70f444b3
2013-07-04bnc#820504 VML import: don't anchor shapes TO_PAGEMiklos Vajna
In theory, this is a problem because Word formats only support AT_CHAR and AS_CHAR, so importing something as AT_PAGE is buggy. In practice, this also leads to unvisible shapes, since f0d001a378c64ea457e722266e60c96522c72e9b. Change-Id: Ie730d67a789ef12734cede1f9b6c27764a66f237
2013-07-03Force intercept export for OOXMLTomaž Vajngerl
Change-Id: I5ec993a6aba0c0bb3b9f77ef6fb9e00680dfa574
2013-07-03Force intercept support for ooxml.Tomaž Vajngerl
Change-Id: I065742bbe22f24169a99e33558399fe16c601238
2013-07-03fix element order in OOXML exportMarkus Mohrhard
2013-07-03Support for trendlines in charts when exporting in OOXML format.Tomaž Vajngerl
Trendline support at exporting in OOXML was missing. Add support for exporting regression type and properties and additionally line properties. The only missing are working dashed / dotted lines which are currently kind of "broken" for all lines. Change-Id: Ib7574e58febeb70f2a488db3546b74807c14df14
2013-07-03Import polynomial and moving average for OOXML.Tomaž Vajngerl
Change-Id: Ie6501ed3b3431e187f8f0b83654e84438566ccd5
2013-07-02fdo#46361 oox: handle w:color for groupshape textboxesMiklos Vajna
Change-Id: Ifcbf622a04a4b3f06d95c079d5e13ec3f505268f
2013-07-02fdo#46361 oox: handle w:jc for groupshape textboxesMiklos Vajna
Change-Id: I21391d9a9f5b5173b599006287b33fdaab3c0c75
2013-07-02fdo#46361 oox: VML import of v-text-anchor for drawinglayer shapesMiklos Vajna
Change-Id: Ib73d17fd8c9325f7f062d4a15b655e36b84bd351
2013-07-02fdo#46361 oox: handle multiple w:p for groupshape textboxesMiklos Vajna
One testcase had to be adjusted, as it seems previously we stripped all newlines at the end (I consider that as a bug), and now we only strip the last one (so the resulting number of paragraphs on the shape and in the source document equal). Change-Id: Ic22b96c2992b53c72e2609e2286622173b86065c
2013-07-02fdo#46361 oox: handle w:br for groupshape textboxesMiklos Vajna
Change-Id: Ib78891614256b197cefbe766a4a4a9c76219f1cf
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29use string literal directlyThomas Arnhold
Change-Id: I882bd9082ef3ed230b34c029b069057793f87197
2013-06-29remove some createFromAscii usageThomas Arnhold
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-29Search for char instead of 1 char long string, when possible.Thomas Arnhold
follow-up of a7674482254ee996b1c4fee60f3064778be369aa Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-06-28MSVC build fixesTor Lillqvist
Change-Id: I189fe3635f94fdd6b91bd7930c7abf02e70368aa Reviewed-on: https://gerrit.libreoffice.org/4581 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28Convert all ContextHandler-derived clases over to ContextHandler2Tor Lillqvist
Change-Id: I81f54e3b7d29a0807ec4c2f082ae00fd6e1d6138 Reviewed-on: https://gerrit.libreoffice.org/4580 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28Also LockedCanvasContext needs to be a ContextHandler2 now thenTor Lillqvist
Change-Id: Idcc55370efbcd85f9f7142803e4cb61f3742e7fc Reviewed-on: https://gerrit.libreoffice.org/4579 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28Further MCE workTor Lillqvist
As it is wrong (says Thorsten) to override the methods from XFastContextHandler in ContextHandler2 in its derived classes, mark them with SAL_FINAL to catch that (when compiling with a compiler thaty supports "final"). Do corresponding changes then; change createFastChildContext() methods to onCreateContext() ones instead. Now the unit tests work, and a sample PPTX that uses embedded OLE thingies loads without crash, but unfortunately it looks like crap... Change-Id: Ie30022f37418ba9caf8ce59fe4003b808fa900f3 Reviewed-on: https://gerrit.libreoffice.org/4578 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28More OOXML Markup Compatibility and Extensibility (MCE) supportTor Lillqvist
Change many classes in oox to be based on ContextHandler2 instead of ContextHandler. That supposedly adds MCE support. This is a minimal initial effort. It compiles and links but doesn't work (CppunitTest_chart2_export fails). Follow-up coming... Change-Id: If89117abd48cfead468633fd7fce1ea785f6f420 Reviewed-on: https://gerrit.libreoffice.org/4577 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27Resolves: #i121162# ImageScaleMode constants should be in UPPERCASEAriel Constenla-Haile
(cherry picked from commit 734b532fb77d2d5be7eb7becb6720dbd7b3d8978) Conflicts: offapi/com/sun/star/awt/ImageScaleMode.idl oox/source/ole/axcontrol.cxx reportdesign/source/filter/xml/xmlHelper.cxx wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java Change-Id: Ib5fa7b82edddb809129a4e5619a20ca7a7b2e38a
2013-06-27n#820504: start a new subpath with m and t in VML path decodingCédric Bosdonnat
Change-Id: I7bac4b111ede5e815d2ed121c18f4cfe1ad0950e (cherry picked from commit 8d6eb11d6965ee93e72513f5e01b67f598edf6c3)
2013-06-27Forgot to remove one case where nParamCount is set to twice the valueCédric Bosdonnat
Change-Id: I3649364a889b7ef6ce7ac4316a1621b6328170eb (cherry picked from commit 7f7a1294e2d0da30a58d897558a18a13dbc5e690)
2013-06-27n#820504: VML path import fixes: get back missing pointsCédric Bosdonnat
nParamsCount was set to the double of the expected value, but the code handling the command only took the first set of parameters. Removing this 2* in nParamsCount. (cherry picked from commit 442ad6eef9d6e1588e4985e97ec3eafd6289f9ae) Conflicts: oox/source/vml/vmlformatting.cxx Change-Id: I2a4bb07fc9167e056a52c7adfbee9e1ef8e2636c
2013-06-27n#820504: Some imported VML paths are closed, try to detect theCédric Bosdonnat
(cherry picked from commit 08db0b22bdce0f779e4af01a209aef1be29e9907) Conflicts: oox/source/vml/vmlshape.cxx Change-Id: Idefd0277a85bd7b2b727f59cc4e568869b4932a1
2013-06-26forgotten tweak for spinbuttonNoel Power
see origin f1ecd5ff46a217ee9f4323a08f03e59a53ef551e, f9d08dd5c9af8f8128371540e & follow up 0a686a9bb54b5c1b3a45810e2601a098c0272c33 Change-Id: I1a10de6984f7ed78efdf6f32bfca14b433b24405
2013-06-26handle v:shape having coordsize with 0 (part of bnc#780044)Luboš Luňák
There's a document which has coordsize="6094,0" path="m444,424r6094,e" , where the 0 is somewhat questionable (and the spec doesn't seem to say anything about it), but given it's a horizontal line, vertical coordinate space size shouldn't matter, so treat it as 1, making the space visible and avoiding division by 0 in our code. Change-Id: I53725cd73a699b8e6d3c96e8fc39c276d082bc0c
2013-06-26tweak ppt ole import for libreoffice codebaseNoel Power
a) make sure backcolor is skipped when libreoffice backcolor is default. Libreoffice default is 0 ( but if we write that out mso reads it as black ) b) don't take the label default backcolor in exchange for the libreoffice default. Libreoffice default backcolor for label is white, mso's default is rather different ( and never seems to be used ) c) re-enable compObj export ( seemed this was disabled unintentionally except for buttons ) Change-Id: Ie68267809cee2e92bd06e88e698f17a10eeeb6ad
2013-06-24Fix typo in Emacs mode lineTor Lillqvist
Change-Id: I882a24a665a721420c8ec99288f399abf4fdbca1
2013-06-21fdo#43641 oox: fix position/size of LineShapes inside lockedCanvasMiklos Vajna
Change-Id: Idf14d40f174ca87543a829ccfe22ed5cbb8e3cbc
2013-06-21bnc#593612: font size: override para prop with run propFelix Zhang
Change-Id: I4d0899c8f722150176cb3479bdb3b4a81c1b3eb8
2013-06-20fdo#43641 oox: initial import of lc:lockedCanvasMiklos Vajna
If that canvas contains a single shape, the result looks OK. If it contains a groupshape, we also import something, but then the position / size is still to be improved. Change-Id: Ic4e4c08016a05a5e3acb005c3a642981ba4fb16d