Commit Graph

27 Commits

Author SHA1 Message Date
cc6ae36728 bnc#821916: Better algorithm to find placeholder shape.
Placeholder type seems to be more relevant than index.

Change-Id: I9d6c6cad8e0a51b2385801f65d7d1c697ad7998e
2014-08-07 21:05:07 +02:00
24b6add377 coverity#1202900 Uncaught exception
Change-Id: I9e49abc490935710b471c79d19385bda37f038b0
2014-07-18 15:36:16 +01:00
e3bd5018dc coverity#1224995 Uncaught exception
and

coverity#1224994 Uncaught exception

Change-Id: I7f25e3829dbd1e5d68561ca9853ab8fc10c79484
2014-07-10 17:12:17 +01:00
3beb45c9a1 coverity#1224997 Uncaught exception
and

coverity#1224996 Uncaught exception

Change-Id: I36ea602a93471d826859bef739c4165117cc4cd9
2014-07-10 15:37:40 +01:00
08818d8a45 bnc#882383: Do not ignore themeOverride for charts in .pptx
Otherwise wrong colors are displayed.

Change-Id: I5d7444100355fdbc5fcd2aaa1c01202ace54312d
2014-07-07 17:49:09 +02:00
c2034f3993 fixincludeguards: fix include guards
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b
Reviewed-on: https://gerrit.libreoffice.org/9629
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-06 19:16:40 +00:00
46d682eec9 bnc#880763: PPTX import: wrong z-order becuause of wrong import order
importExtDrawings() must be called as soon as possible,
before parser starts to parse the next shape.
Call it when graphicFrame tag is closed. This tag include
the reference to the SmartArt.

Plus fix up import tests.

Change-Id: I9e8d54c2b1afeb78a1122390dc4982d580c152ae
2014-06-06 16:50:04 +02:00
639571d52b 2nd part of bnc#870233: import font color from color fragment for SmartArts
SmartArt import ignores some fragments during import if
drawing fragment exists, which seems to be not complete.
In this case font style is blank (white) in data (and drawing)
fragment and the real value is defined in the ignored color fragment.

So first make color fragment parsing work, then apply font
color of "node0" style on nodes of the SmartArt.

Actually, it's a workaround, because "node0" style label
is hardcoded, for a proper solution layout fragment should
be parsed too to get the right style label, but
it interferes with the drawing fragment by now.

Change-Id: I7db89176a07eee928563d42d3896fbd02190dfa8
2014-06-06 10:28:18 +02:00
6b44b03c13 coverity#737244 Uncaught exception
Change-Id: I9e34e14d1266310458bb491259e4bf9880e8a19f
2014-06-04 09:38:12 +01:00
ae6b606f57 coverity#737243 Uncaught exception
Change-Id: I4bef14453d076f11066a695bc4a948cea5cfd40b
2014-06-04 09:38:12 +01:00
56de7aafcb fixincludeguards.sh: include/oox
Change-Id: Ie0aca6c4fdfa4b7e4a902983c751a6d13d85f230
2014-04-19 11:10:12 +02:00
f3802139ac oox: sal_Bool->bool
Change-Id: Ia05b3210314c39db5110eded731f2be4b7405e87
2014-04-03 09:17:51 +02:00
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +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
ae97d0c4f3 covertity#707954 Uninitialized scalar field
Change-Id: I837a2065e0f604ca53b5ebb7464bff9db0cbaf6b
2014-03-22 20:40:50 +00:00
c66229bfa4 oox: prefer passing OUString by reference
Change-Id: Iace276878e7ae668bba5bb6e36af1e5d5d72d6cb
2014-03-17 09:00:08 +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
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +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
717aafb9ca robustify some headers
Change-Id: Id1998b240025973f43691e83cebce17449b060ba
2013-06-30 14:52:30 +02:00
ecbd3104c1 MSVC build fixes
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-28 09:03:04 +00:00
8810d26c92 Convert all ContextHandler-derived clases over to ContextHandler2
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-28 09:02:50 +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
32ce3c6b0a More OOXML Markup Compatibility and Extensibility (MCE) support
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-28 09:01:52 +00:00
d56ba7ee6f Fix bnc#705982 - make animations inside SmartArt work.
With the fallback loading of extDrawing for SmartArt graphics,
slideshow animations into that drawingml fragment didn't work -
for it being modelId diagram references instead of plain shape IDs.

So use the modelId if present, and only then fallback to shape id.

Change-Id: Iac2b8bc16255611d7ab165b72fb251cd2a65073a
2013-04-26 13:35:25 +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