summaryrefslogtreecommitdiff
path: root/oox/source/core/xmlfilterbase.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin1-4/+2
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-31Removed duplicated includesAndrea Gelmini1-1/+0
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-10-23Remove few pointless OUString::number() and one methodMatúš Kukan1-4/+3
Change-Id: I3e9a302a7513eebfeff07402f71fc3dde22e4cc2
2014-10-15I think this is what was meant, see cf7832d6Adolfo Jayme Barrientos1-2/+2
Change-Id: I626e3a36426958d7ba1fd320cf8e1a3bf2f3595f Reviewed-on: https://gerrit.libreoffice.org/11980 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-25Fix validation problems pointed out by CppunitTest_sd_export_testsMiklos Vajna1-0/+4
Regression from e8bdd38882522591723097c028ca7a6927ee70c4 (fdo#83751-FILESAVE:Custom Properties dropped while exporting to .pptx, 2014-09-11), there were two problems here: 1) Using the wrong filter when the output is expected to be suitable for validation. 2) Writing empty custom property values, which is not valid. Change-Id: Ic18c789c53bd40cc8aa07385cb5fd0d5c7ada6ab
2014-09-21Fix some typosDavid Ostrovsky1-1/+1
Change-Id: I0f2821c87c03f8d3df2e60bab9e09ce6545e2b2c
2014-09-08Presumably, all numeric values shall be written as i4Stephan Bergmann1-8/+6
...in 47c5454ea67632278d69a1ddfe97d74f5cc4449f "fdo#83428: Custom Properties dropped while exporting to docx," not just ones of UNO type double. At least, that fixes CppunitTest_sc_subsequent_export_test's testPivotTableTwoDataFieldsXLSX to not write a "DocSecurity" <property> without content (and thus fail validation). Change-Id: I2d764e65ec2af61139c6564f644d27aa9a00bd7d
2014-09-08loplugin:implicitboolconversionStephan Bergmann1-1/+1
Change-Id: I6caec8c11fab5fc8f1318be676e4bdf5f9cdbac5
2014-09-07-Werror=unused-variableJulien Nabet1-2/+0
Change-Id: I73274d0226999f0f6d8bd681a522ba81d14ebe3e
2014-09-07fdo#83428: Custom Properties dropped while exporting to docxHeena Gupta1-0/+91
Change-Id: Ic289fc446e49fb096cbfad789299736318019e91 Reviewed-on: https://gerrit.libreoffice.org/11265 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2014-08-07cppcheck: Same iterator used with different containersJulien Nabet1-1/+1
Change-Id: Idc7f16dc4c81857d7a3f508ed830904d90a762b0
2014-07-18Use comphelper::SequenceAsHashMapMiklos Vajna1-20/+10
Change-Id: I5e4dc99c86b696d2c00392fdb47c4d9ebb7f14ff
2014-07-18oox: write Company in docProps/app.xmlMiklos Vajna1-1/+16
Change-Id: I8474b8ec7415b4d8e067343295ea985319c34834
2014-06-30Use a new fast parser instance for each XML fragment.Kohei Yoshida1-1/+5
Otherwise a crash ensues when the threaded XML parsing kicks in. Change-Id: Ic41e5a29bbb860d7b63b70f2f0d8896264d9d53e
2014-06-25remove whitespacesMarkus Mohrhard1-4/+0
Change-Id: Ie14ba3dcb97f20479a04538748ef2c1c9e6c5dac
2014-06-07oox: replace redundant STATIC_ARRAY_SIZE macro with SAL_N_ELEMENTSMiklos Vajna1-1/+1
Change-Id: I8cf274902bb5fda9fa70ab2af9e399db82d85d1d
2014-05-22oox: fix export of OOXML generator infoMiklos Vajna1-1/+2
This time we did preserve this info, and we should not. Change-Id: If2ddd7a266cd7da5642dc234411ce34e94bd3384
2014-05-14Find places where uno::Sequence is passed by value.Noel Grandin1-1/+1
Implement a clang plugin to find them, and clean up existing code to pass them by reference. Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8 Reviewed-on: https://gerrit.libreoffice.org/9351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-03-31oox, writerfilter: add missing headers for C++ containersDouglas Mencken1-0/+1
Change-Id: Ied05627a0b5fdb8e5fd4a1b071ce32d901f07961 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-03-22oox: no need to dump these hereMiklos Vajna1-14/+0
writeAppProperties() already uses this data as necessary. Change-Id: I5eea399ae2cfa37dc3a7c80114f5265fb4a0c648
2014-03-21First check if this is the one we search for, then extract.Jan Holesovsky1-5/+4
Change-Id: Ie98dc14b743983e68f126ed4b7a7f00b637957d3
2014-03-21DOCX export of paragraph count in app.xmlMiklos Vajna1-1/+16
Change-Id: Ie2fd4af3340c48c915eada74760cb414848f8a8b
2014-03-18oox: fix DOCX strict import of SmartArtMiklos Vajna1-1/+14
Change-Id: Ied8283e17ec4379f218dc60912e1c41ca28a8ac9
2014-03-05remove unused code oox::core::XmlFilterBase::getFragmentPathFromFirstTypeNoel Grandin1-6/+0
Change-Id: I75094f95001dab18436100375a8ec6564e8d0f8f
2014-03-01support OOXML strict documents in CalcMarkus Mohrhard1-0/+30
Change-Id: I277d76aeec28e173d913ccc1506464afe4d09c6d
2014-03-01make sure the two namespace lists are sorted the same wayMarkus Mohrhard1-3/+3
Change-Id: I90b3182e10dbbfc8993010dd885509537d2fe537
2014-02-26Remove visual noise from ooxAlexander Wilms1-1/+1
Change-Id: Ie25838f20f00dc32d9d22959308c118cef688e94 Reviewed-on: https://gerrit.libreoffice.org/8288 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25Resolves: #i118640# force early destruction of last FragmentHandler...Armin Le Grand1-0/+13
to not let it use an already destroyed RelationsMap instance (cherry picked from commit 190444f7fd3fa9cfcd1955b3f5dcd916184d02f4) Conflicts: oox/source/core/xmlfilterbase.cxx Change-Id: Ibd09ff9fcba8f919df0704c8e3a64423518b932f
2014-02-23Remove unneccessary commentsAlexander Wilms1-1/+1
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-02Add a means to check if a namespace exists.Kohei Yoshida1-0/+5
Useful when we just need to check if the stream has a certain namespace defined. Calling getNamespaceURL() may throw SAXException in such case. Change-Id: Ib2b7b202492390158270d87bab95d1793c9d8a70
2013-11-25Allow worker threads to use their own FastParser instances.Kohei Yoshida1-7/+23
To prevent deadlock during threaded sheet stream parsing. It now deadlocks at a different place. Change-Id: I0ba0f2c9a257e71b0a340ab14e369b06d5fd8829
2013-11-25A bit of cleanup.Kohei Yoshida1-31/+13
Change-Id: I576a184ebc8422d760800c670f8d9070f66e9e78
2013-11-25No indent on namespaces.Kohei Yoshida1-62/+63
Change-Id: I2639a51c2faa19373a335c28b160862435cd6dbe
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann1-2/+2
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-09-15Save should encrypt OOXML document if it was loaded encrypted.Tomaž Vajngerl1-2/+2
Currently Agile encryption is not supported, so all documents loaded with "agile" encryption will be encrypted with "standard" encryption when they are saved afterwards. Change-Id: Id0477f43c00ed70032ca6b3390eebb1105d5ffa7
2013-08-24fdo#35422 Support to open encrypted Office 2010 and 2013 formatsTomaž Vajngerl1-3/+3
Additionally encryption and decryption has been refactored. 2 engines have been added: AgileEngine and Standard2007Engine, which contain core functions for encryption and decryption. Standard2007Engine refers to encryption and decryption as used in Office 2007 and AgileEngine refers to encryption and decryption as used in Office 2010 and 2013. AgileEngine does not yet support encryption. Change-Id: Ica1d4d5a109fb204012b92a0c39325fe0b99b793
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-1/+1
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-15warning C4702: unreachable codeMichael Stahl1-1/+0
Change-Id: I1fcd578955a1f65921c8891916e239bc6f0b9748
2013-08-14fdo#59524 Encryption for MS Office 2007 Spreadsheet documentsTomaž Vajngerl1-0/+69
This enables saving of MS 2007 spreadsheet documents with a password. The encryption used is the same as used in Office 2007 (however different than in Office 2010 and 2013 which use "agile" encryption). Change-Id: I3539e811d95b6f9178246ab269d13bb385a48bd2
2013-07-11write bcp47 for dc:languageEike Rathke1-2/+5
Change-Id: I859eaaba3c852127422bd0d0e0db0f9bd62e0d55
2013-07-04Revert "write bcp47"Eike Rathke1-3/+2
This reverts commit 40aceaae06a354958d6ecf88292bb0fd483f158b. It's dc:language ...
2013-07-04write bcp47Eike Rathke1-2/+3
Change-Id: I682b35f0793f5fc61daa255bb68a60e164133d97
2013-07-04don't use Locale.LanguageEike Rathke1-3/+4
Change-Id: Ief663d886b08fc141dfb7563674504fe70f444b3
2013-06-15fix fdo#63053 ampersand in document title causes corrupt docxabdulmajeed ahmed1-1/+1
FILESAVE, FILEOPEN: ampersand in document title causes corrupt docx when saving; truncates title when loading
2013-05-21fdo#46808, Remove unnecessary XMultiServiceFactory memberNoel Grandin1-10/+4
.. and associated methods Change-Id: Iec01b4615decc1616e405166088d7d1d844ac0ae
2013-04-30now ooxml files are accepted by Excel againMarkus Mohrhard1-5/+2
Yes, a simple test would have answered the question in the comment and made clear that nanoseconds are not accepted by MSO. Let's go with normal seconds as MSO does. It seems it also accepts 1/100s but who really needs that for a file timestamp. Change-Id: Iaec6f9c08dc94d5086b83cb4bf520d0053b71b28
2013-04-19WaE: format specifies type 'int' but the argument has type 'sal_uInt32'Tor Lillqvist1-1/+1
Change-Id: I70f6a46b2195aa28c1a6dcd8c8d7e52fccb22cc3
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane1-2/+4
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-4/+1
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-18avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák1-6/+6
Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642