Commit Graph

33 Commits

Author SHA1 Message Date
f5aeaa3845 bnc#822173: Initial work on exporting pivot cache and pivot table to xlsx.
Still not perfect, but it somewhat does work.

Change-Id: Ic248e20f7ab18a37f56b2034f57551dded956bab
2014-08-28 21:37:08 -04:00
63cb2c8653 writerfilter: switch to the oox FastTokenHandler
Possibly they did something different in the past, but currently they do
the same. This commit just switches the handler, the newly unused code
will be removed in a later commit.

Change-Id: Ic5bade876c264e025543728916d9bcd871e32b9b
2014-08-06 18:53:37 +02:00
8802f837dd Typos
Change-Id: I7c3f115520d8c6a1fba997aeedddf96c01780e7e
2014-07-01 21:41:56 +02:00
e787a84c69 Move oox/drawingml/table/ internal headers to oox/inc.
Change-Id: I9de33fdcd8b1ef73d57884033f502ac4a03f63d3
2014-06-23 10:47:35 +02:00
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
4c0fa3ea2d unused oox::core::Relations::getRelationsFromType
Change-Id: I42e0ebd92d804c34cda42a05b91f45970a22fbe2
2014-03-10 21:43:37 +01:00
d2c0856937 Revert "remove unused code oox::core::Relations::getRelationsFromType"
we need it again now

This reverts commit 77c45eb25eb462bacdf7d658d6cb485f755beaa5.

Change-Id: I3e171d95e4f50c8e26824da2f6e6817d3b597d4d
2014-03-05 09:42:46 +00:00
77c45eb25e remove unused code oox::core::Relations::getRelationsFromType
Change-Id: I242ddcc1e352fbf92206a21d93e16c42a0e5ef8e
2014-03-05 09:17:52 +02:00
26f145549e remove unused code oox::core::XmlFilterBase::getFragmentPathFromFirstType
Change-Id: I75094f95001dab18436100375a8ec6564e8d0f8f
2014-03-05 09:17:51 +02:00
8792ec7b21 Remove visual noise from include
Conflicts:
	include/framework/preventduplicateinteraction.hxx
	include/sfx2/sfxbasecontroller.hxx
	include/sfx2/sfxbasemodel.hxx
	include/toolkit/awt/vclxtabpagemodel.hxx
	include/vcl/field.hxx
	include/vcl/settings.hxx

Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2
Reviewed-on: https://gerrit.libreoffice.org/8272
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-01 09:51:32 -06:00
e34870c239 support OOXML strict documents in Calc
Change-Id: I277d76aeec28e173d913ccc1506464afe4d09c6d
2014-03-01 16:23:09 +01:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
54a6b3d7b2 bool improvements
Change-Id: I89c35503d22797c5d5117e298f04e953de03044a
2014-01-14 21:28:08 +01:00
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
840f4fc4d6 n#828390: New line is dropped while importing text. 2013-12-10 17:29:20 +05:30
532b2f4818 Add a means to check if a namespace exists.
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-12-02 19:32:28 -05:00
2130fd9d61 Move this header out into a public place.
Change-Id: I356b26947d1018276d8a9ff6012fdad3ca2c0fd8
2013-12-02 19:32:28 -05:00
d7280af974 fastparser: Avoid copying all tokens into a sequence. 2013-11-26 17:33:44 +00:00
e00562d983 Allow worker threads to use their own FastParser instances.
To prevent deadlock during threaded sheet stream parsing.  It now
deadlocks at a different place.

Change-Id: I0ba0f2c9a257e71b0a340ab14e369b06d5fd8829
2013-11-25 10:55:10 -05:00
24cad6a649 Move MediaDescriptor from comphelper to unotools
...so it will be able to use SvtSecurityOptions internally.

Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14 11:13:24 +01:00
940a2944b0 fdo#65108 inter-module includes <>
Change-Id: Ie672de68f6a87713a379e794fa3ad255ad52a71e
2013-11-09 18:48:38 -06:00
10d0526d72 fixincludeguards.sh: include/o*
Change-Id: Ibd5d8af00f6582d53231c76e2b04e737b5804497
2013-10-23 23:22:30 +02:00
3af7e5c320 Exorcise some cargo-cultness in oox.
- the inline keyword on class methods that have their body defined
   right there in the class definition is redundant
 - the explicit keyword on nullary ctors is pointless, there is no
   implicit conversion happening anyway with those

Change-Id: Ie9f44c7948f932ce3a8af871bf73743112d94d03
2013-09-11 18:20:37 +02:00
4323c66840 fdo#35422 Support to open encrypted Office 2010 and 2013 formats
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-24 22:53:04 +02:00
64b993e046 finish deprecation of O(U)String::valueOf()
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-21 15:10:35 +02:00
0566ddb184 Move OOXML decryption to DocumentCrypt.
OOXML decryption was implemented in filterdetect. With this the
decryption was moved to a common place where it shares functions
and constants with encryption.

Change-Id: Id334daf7c2eb1e18735d6a500132f6bb61bb3ba0
2013-08-15 17:18:20 +02:00
3423db6f81 fdo#59524 Encryption for MS Office 2007 Spreadsheet documents
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-08-14 00:01:51 +02:00
7da06efd74 n#819822: XLSX Chart import with internal data table.
When the import with xlsx ranges fail - try with
internal data table.
2013-07-09 13:43:15 +05:30
bc8f89931a Also LockedCanvasContext needs to be a ContextHandler2 now then
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-28 09:02:28 +00:00
c7e1845985 Further MCE work
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-28 09:02:12 +00:00
1fb61b8713 provide complete types of FragmentHandler and RecordInfo before they are used
(cherry picked from commit c73bc9587bdcf6a5d3add454fe3383fc9d2c1e65)

Conflicts:
	oox/inc/oox/core/recordparser.hxx

Change-Id: I6deecaabe32d4b071a83ce4687f83543354ddac2
2013-05-25 13:28:11 +01:00
d4d16d8a27 fdo#46808, Remove unnecessary XMultiServiceFactory member
.. and associated methods

Change-Id: Iec01b4615decc1616e405166088d7d1d844ac0ae
2013-05-21 13:53:20 +02:00
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00