344974 Commits

Author SHA1 Message Date
Jan Holesovsky
8ad55179ea Use string literal directly.
Change-Id: Ie5841f23c0056f9b9b306e65278f43f415d079b5
2014-02-13 20:43:40 +01:00
Tomaž Vajngerl
1b2333d1be fdo#74218 add SVG header when exporting via mtf
Change-Id: Ia200fbf73c1464160ceddc705f72d77b5f1eff51
2014-02-13 20:24:19 +01:00
Zolnai Tamás
5e5ec33eb4 Revert "DOCX import: fix relative width of floating tables"
This reverts commit 7ff8414a411ae35e1fe56e9724646d0e94fa17f6,
which was the result of a misunderstending.
2014-02-13 20:19:49 +01:00
Xisco Fauli
146d182a3e pywizards: Let's do it always the same way
Change-Id: I8302bffea68a7e2a167e159cf14ad16a0267e8a4
2014-02-13 19:18:19 +01:00
Xisco Fauli
9e119c93d2 pywizards: Don't need to instantiate Resource twice
Change-Id: I3b0c0218b6b019788316d09a1e1fef9b6a47c6e7
2014-02-13 19:18:19 +01:00
Xisco Fauli
facfee75fa pywizards: use getResArray instead
Change-Id: I5afd7ad90c23e99be9b3cf81487da6bd7715b416
2014-02-13 19:18:18 +01:00
Xisco Fauli
6beb51ac12 pywizards: remove unused code
Change-Id: I174ec6a1d307486d38ba4b98a5a158259c57151d
2014-02-13 19:18:18 +01:00
Tushar Bende
d9809c68f6 fdo#74141 :In <w:ind> Right margin gets added even if not present in orig doc.
There was a problem that in style.xml and document.xml in <w:ind> tag "right" & "left" margin
attributes gets added(w:right=0 & w:left=0),if these attributes are not set in original document.
(In this case LO should not write these attributes in <w:ind>)

eg. if original doc has implicit right and left indentation values set(In style.xml) and there is no
explicit values provided for some para (In document.xml) still it used to write w:right=0 and w:left=0
in <w:ind> tag of document.xml which overrides an entry from style.xml.

XML difference :
- Original file:
<w:ind w:left="567" />
- Roundtrip file Before Fix:
<w:ind w:left="567" w:right="0" w:hanging="0"/>
- Roundtrip file After Fix:
<w:ind w:left="567" w:hanging="0"/>

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7816

Change-Id: Ifa01bae24d48bb38d5e255356247c46a43beefcc
2014-02-13 17:43:47 +01:00
Caolán McNamara
f8ebc65a51 coverity#735922 Dereference after null check
Change-Id: Iff9f084d85af4b319c7f175c9b7834fd7ba4603a
2014-02-13 14:56:26 +00:00
Caolán McNamara
70bf486672 coverity#705539 Unintentional integer overflow
Change-Id: I3d170feeabcdd5f1ac3e64e1018edfb30b2b3c4c
2014-02-13 14:56:25 +00:00
Caolán McNamara
1c71cef7f8 coverity#707769 Uninitialized pointer field
Change-Id: I449173ea1c4418cc2cc978862fe465e33e7b4338
2014-02-13 14:56:25 +00:00
Caolán McNamara
dbaffd8811 coverity#708230 Uninitialized pointer field
Change-Id: Ie7507bb869006bc44ba4bec8ca85b1695164521a
2014-02-13 14:56:25 +00:00
Caolán McNamara
60cb17c28a coverity#708342 Uninitialized pointer field
Change-Id: I76803ae267c18350d5da6c9e425339cefd0817d7
2014-02-13 14:56:25 +00:00
Caolán McNamara
67e1559fbe coverity#708498 Uninitialized pointer field
Change-Id: I9da49c0dba434ea59eb30162fdd5ce4a649dd4d9
2014-02-13 14:56:24 +00:00
Caolán McNamara
4c51f320ba coverity#738262 Uncaught exception
Change-Id: I366f41afdad4f1ef38506d5d20f4293c3dde2d68
2014-02-13 14:56:24 +00:00
Caolán McNamara
bb9a8524d6 coverity#738260 Uncaught exception
Change-Id: Iffe842fad73eadf69c67f03cfd1d99aadf70a167
2014-02-13 14:56:24 +00:00
Caolán McNamara
b1ed6e54de coverity#738258 Uncaught exception
Change-Id: I3a38f7db881469a5a08fa48f77609355ff6dae4c
2014-02-13 14:56:24 +00:00
Caolán McNamara
5804750380 coverity#738256 Uncaught exception
Change-Id: I41cedc756bbaa6f1382aaf40395f18176170402a
2014-02-13 14:56:23 +00:00
Caolán McNamara
c767557046 coverity#738254 Uncaught exception
Change-Id: Ib31e77d3dfe4cf2397ae41b45997c109d5b6125b
2014-02-13 14:56:23 +00:00
Caolán McNamara
5a1218aa91 coverity#738252 Uncaught exception
Change-Id: I9529a1d48c9c708ded67f83eb4d7777086618cb6
2014-02-13 14:56:23 +00:00
Caolán McNamara
b1c7099116 coverity#738250 Uncaught exception
Change-Id: I1fd936e71dfd392f53d77924b3044ff763620595
2014-02-13 14:56:23 +00:00
Caolán McNamara
7501c432d9 coverity#738268 Uncaught exception
Change-Id: Ia4ee1370c1b68d93e5e74b452c6fd332df22e545
2014-02-13 14:56:22 +00:00
Caolán McNamara
81a2478b8e coverity#738270 Uncaught exception
Change-Id: Iec6f0cbd3b2368959327f807a5dd91451ed6abb2
2014-02-13 14:56:22 +00:00
Caolán McNamara
b5b3dcc2d7 coverity#737241 Uncaught exception
Change-Id: If7c4bdc095c0c235f6f24107c05e7fcde0d5a023
2014-02-13 14:56:22 +00:00
Caolán McNamara
31ed7bc8c2 coverity#737240 Uncaught exception
Change-Id: I9cff764c2ca451752f2343cedd26530bd9a0e9a7
2014-02-13 14:56:22 +00:00
Caolán McNamara
9a34c55529 coverity#737239 Uncaught exception
Change-Id: Ic9635e77e5fd4e356b30aac314c7438060b82a58
2014-02-13 14:56:21 +00:00
Caolán McNamara
24949f84ae coverity#737202 Uncaught exception
Change-Id: I2ac23ed9f308b92ff9457938b265677f008aaca7
2014-02-13 14:56:21 +00:00
Caolán McNamara
8bda341061 coverity#737162 Uncaught exception
Change-Id: I4ddc477a76f8807586b2dd700ac5559f052ccaa5
2014-02-13 14:56:21 +00:00
Caolán McNamara
7426c9d869 coverity#737157 Uncaught exception
Change-Id: I062dbdf7c29489111f7ba6dc37a191d835fa7824
2014-02-13 14:56:21 +00:00
Caolán McNamara
2d72cfb502 coverity#737151 Uncaught exception
Change-Id: I133012cf88020e38eb0fc0932979347b996943fe
2014-02-13 14:56:20 +00:00
Caolán McNamara
beb0a165ec coverity#737149 Uncaught exception
Change-Id: I34b31a3574e5a21a506c49b4f69f3b8c8fbdcdbd
2014-02-13 14:56:20 +00:00
Caolán McNamara
3d96b1e0ff coverity#737139 Uncaught exception
Change-Id: I75fc43e365afa44b54c27aeb8887f9e37954f03b
2014-02-13 14:56:20 +00:00
Caolán McNamara
5adc8214e5 coverity#737107 Uncaught exception
Change-Id: Ia0906af52b217506e63138565cc0eb08842aaef1
2014-02-13 14:56:20 +00:00
Caolán McNamara
65e5ce2c31 coverity#737105 Uncaught exception
Change-Id: I44acb57da7539a63562d9723ee5d6f83f1dcbbb6
2014-02-13 14:56:20 +00:00
Caolán McNamara
7842d207b5 coverity#737095 Uncaught exception
Change-Id: I65ca622983ced4645d97c3d7e0bcde94a46618c3
2014-02-13 14:56:19 +00:00
Caolán McNamara
e87cd3edfc coverity#737093 Uncaught exception
Change-Id: I48bbdc7fe2c6ac60ba9630565c1844a2a24b7ad0
2014-02-13 14:56:19 +00:00
Caolán McNamara
f1e4bd297e coverity#737091 Uncaught exception
Change-Id: I2d3df586f9579abcf42bd5a915d1e2e12017345d
2014-02-13 14:56:19 +00:00
Caolán McNamara
2eae2188a2 coverity#737088 Uncaught exception
Change-Id: I88faa8bb4401e026ce28f8bf08fcc0514c04bdcf
2014-02-13 14:56:19 +00:00
Caolán McNamara
0309070fb2 coverity#737027 Uncaught exception
Change-Id: I96b07d58233cf19708bbda68bcb19f5d7f6404df
2014-02-13 14:56:18 +00:00
Caolán McNamara
5d061edbd7 coverity#737024 Uncaught exception
Change-Id: Ifdb5fb60c436e847ba85d690f8ca0087bd516ab7
2014-02-13 14:56:18 +00:00
Caolán McNamara
b44ba1ace8 coverity#707460 Uncaught exception
Change-Id: I8157893addbf805a18deac5034098dfda125a631
2014-02-13 14:56:18 +00:00
Caolán McNamara
964c4183df coverity#707426 Uncaught exception
Change-Id: Iff174a7398c5e3d506418b4587fe604a1d46972c
2014-02-13 14:56:18 +00:00
Caolán McNamara
c7051732c0 coverity#707424 Uncaught exception
Change-Id: I4111feef91c4de993c490c3a702973c8fae69441
2014-02-13 14:56:17 +00:00
Caolán McNamara
cf2a6c290d coverity#707416 Uncaught exception
Change-Id: Ib2f8dee2214bc3f53edae5c7c20c4924f1fec568
2014-02-13 14:56:17 +00:00
Caolán McNamara
abc6d50af7 coverity#736486 try and make coverity see through this better
Change-Id: I6becf305d88618fb53dff3519b31b010e371ab44
2014-02-13 14:56:17 +00:00
Caolán McNamara
d29f6eb1dc extend signatures to make some coverity rework easier
Change-Id: I670eaa51aa95bf29f51bc6542eae2f562987d5a4
2014-02-13 14:56:17 +00:00
Regina Henschel
17bb5abb6e Resolves: #i123879 dr3d rotation angle is degree in ODF1.2...
but radiant in AOO core

(cherry picked from commit 23b2b0b395537f4b5d0226f9ebb19dc38029ee55)

Conflicts:
	xmloff/source/draw/xexptran.cxx

Change-Id: I66cd482b2b237ca008c31b7738f9ea21502f3d45
2014-02-13 14:56:16 +00:00
Zolnai Tamás
b21910c9ca Fix win build
Use namespace to avoid ambiguity.

Change-Id: Iaef6869b12839edbb94695aa5e3d877863e9b669
2014-02-13 15:47:57 +01:00
Miklos Vajna
d747d0fc3b DOC/RTF export: fix handling of column breaks when there is only one column
The first real part of commit 4d5c193b2fd38c6cab049fcb97189462fff0fddb
(INTEGRATION: CWS limerickfilterteam08 (1.64.6); FILE MERGED,
2003-09-01) tweaked the DOC export, so that in case there is only one
column, the column break is not exported: this way the Writer and Word
layout matches, because Word handles that situation by handling the
break as a page one, but Writer layout ignores it.

On import, the DOC filter changes a column break to a page break in that
situation, so visually the roundtrip is OK. The RTF filter does the
same: the tokenizer turns a column break into a page one if necessary,
and on export then we can ignore such a column break.

However, the DOCX filter is different: there we don't tweak the column
break on import, so we want to keep it on export as well. (A perfect
solution for this would be one more layout compat option, then filters
can stop tweaking the break types.)

Recently commit 78c5cbc720993e9cc01fceadd73678ed1a45d37f (fdo#74153 :
Preservation of Column Break with column_count = 0, 2014-02-03) turned
on the export of such column breaks in the exporter unconditionally, and
this broke the above logic of DOC/RTF roundtrip.  Fix this by adding a
virtual method where each format can decide what it wants.

Change-Id: I807c2fdc02aefc20ffbb4a4dbbf3845ecad81bca
2014-02-13 15:33:08 +01:00
Zolnai Tamás
7ff8414a41 DOCX import: fix relative width of floating tables
Relative width of tables means relative to the page
and not to the paragraph area so we have to set
the RelativeWidthRelation property of the containing
text frame.

Change-Id: I054d22e1883eb0ed9b07b9141bb2bea956e8367e
2014-02-13 15:25:58 +01:00