344887 Commits

Author SHA1 Message Date
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
Zolnai Tamás
f16368777b drawingML export: hatching of shapes
Change-Id: I7111d4064d033e27659c7b45650d596df22c593f
2014-02-13 15:25:58 +01:00
Zolnai Tamás
4a25c65fcd Update a hatching import test according to the new values
Change-Id: I2f3504e12be63a326da189e7f69ce87ad2bdb674
2014-02-13 15:25:58 +01:00
Zolnai Tamás
31b186239c drawingML import: improve mapping of some filling pattern to hatching
For a better visual match.

Change-Id: I6f8a2f4b500c4ea04ef92572984a2bac597d85be
2014-02-13 15:25:58 +01:00
Jan Holesovsky
c05140897e Update documentation of createSystemChild().
Change-Id: I96e9b5c65dd9c3506dd804773652023e2cd995ab
2014-02-13 15:24:58 +01:00
Pallavi Jadhav
78c5cbc720 fdo#74153 : Preservation of Column Break with column_count = 0
Issue :
	1] DOCX containing column break with column_count = 0
	   was not getting preserved after RT.
	2] LO was writing column break only when column_count > 1

	Implementation :
	1] Removed check column_count > 1. So that if LO
	   encounters a column break with column_count >=0,
	   it should preserve it.
	2] Added export Unit Test case.

	Behavior after Fix :
	LO is able to preserve Column Break with
	column_count = 0.

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

Change-Id: I29c77f27184ec5afed354be01fc68e0d3471bfee
2014-02-13 15:18:43 +01:00
David Tardon
1b2da3df54 enable spin-size for NumericField too
Change-Id: I77660572947f7a863982be7742cbcb1c784379ed
2014-02-13 14:19:47 +01:00
David Tardon
78ff9d90f2 fdo#74468 fix timing of slide transitions
Regression since commit 16428c9600964a4945cf6fd0d938dea047d1248b.

Change-Id: Id274c21e08d10d2e727f3b5a3fd852cd297e4637
2014-02-13 14:19:46 +01:00
umeshkadam
515b5c7688 fdo#74110 : Issue with <a:prstGeom prst="rect"> tag in document.xml
Issue:
 - While exporting the system used to write adjustment values for preset shape type "rect" in document.xml
   with the shape guide name(adjustment name) being empty.
 - This is not accepted by MS Office. Hence the file was resulting as corrupt.

Implementation:
 - The preset shapes are being picked up from GetOOXMLPresetGeometry(), which refers pCustomShapeTypeTranslationTable[] array
   for the mapping.
 - Most of the shape types have been commented in the pCustomShapeTypeTranslationTable[] array therefore the GetOOXMLPresetGeometry()
   defaults the shapetype as rect, whereas the adjustment values are being picked up for the actual shape type(s).
 - Uncommenting the commented shape type translations( for instance textInflateTop) in pCustomShapeTypeTranslationTable will
   eventually write prst="textInflateTop" under the tag prstGeom which is invalid.
 - It should probably go under prstTxWrap.
 - In order to avoid the corruption, thought of adding a check before writing the adjustment values. If the shape type is "rect"( which is defaulted
   and does not have adjustment values defined in presetShapeDefinitions.xml) then avoid writing the adjustment values under this tag.

Conflicts:
	oox/source/export/drawingml.cxx
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7765

Change-Id: I6511e9a3ee0c01962d6e82997705a484161086ef
2014-02-13 14:19:08 +01:00
Stephan Bergmann
f87e78a777 Simplification
Change-Id: I949bf3cb9c3b26a8c2de6bde20cef63d7630fc54
2014-02-13 14:18:12 +01:00
Jan Holesovsky
8558559574 Fix build - sorry!
Change-Id: Ib1664485b5eeed894b4722a097865ab072d0a36c
2014-02-13 13:19:19 +01:00
Michael Stahl
5852b137e0 gbuild: AutoInstall: RepositoryExternal.mk may contain these too
Change-Id: Ieb76643e2f53d19b1796f118bae2a7e954e6f015
2014-02-13 12:57:48 +01:00
Michael Stahl
c489fe73ac gbuild: improve error messages about missing registrations
Change-Id: Ib3c5d8f3921801f143447d8e01463905d80ac319
2014-02-13 12:57:48 +01:00
Jan Holesovsky
f48d1df73b writerfilter: Get rid of a whole load of static OUStrings.
Change-Id: Ic5b254d1e6579baf2c9acdd24ddbaa95d554cf68
2014-02-13 12:58:53 +01:00
Jan Holesovsky
08aa1c83c7 writerfilter: No need to namespace these constants, they have prefix already.
Change-Id: I5590adbf0f60b10d309ddf2a6b9e50231245a659
2014-02-13 12:58:53 +01:00
Ravindra Vidhate
cc1c838942 fdo#74215:Fix for empty imagedata in Number Pic bullet
1. While exporting through LO, it writes numPicBullet with imagedata of size 0,0.
2. Because of this image file of 0KB is added in media folder
3. While opening the document in MS-Office, it shows the image missing at the top
which is of 0 KB size.

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

Change-Id: I5f8f187fc4fe678dceb3f2b594de74a6b52cbe74
2014-02-13 12:55:03 +01:00
Michael Stahl
3fc36ba147 gbuild: add some error checking for gb_Helper_*_for_install
Change-Id: Idb82c3d1d723f9214ca1424299cb1c93597fca40
2014-02-13 12:49:26 +01:00
Stephan Bergmann
e40f9e6f08 -Werror,-Wdeprecated-declarations
Change-Id: I6b10ab0b3f11559f515084b45dc3771627223418
2014-02-13 12:45:51 +01:00
Stephan Bergmann
b093ccd772 -Werror,-Wunused-private-field
Change-Id: Ie5e4742f0d71c240e0f82046682957537cac1b60
2014-02-13 12:39:17 +01:00
Stephan Bergmann
a19172cb0f -Werror,-Wunused-variable
Change-Id: I91ab5f87f859b855c858a41afd218f57b03ad3a2
2014-02-13 12:17:12 +01:00
Rohit Deshmukh
1f34909fd7 fdo#74106: Fix for Hebrew Text-Bulleted List converted to Numbered List
Problem:
   Hebrew Text-Bulleted List converted to Numbered List in round trip file

Implementaion:
   - Added Hebrew support for import and export for list.
   - Added Unit test case.

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

Change-Id: I739f4b74fb0451f6da80be06114c48074d1e4cdf
2014-02-13 12:14:04 +01:00
Stephan Bergmann
ee585cc86d cid#983607 unexpected std::exception
Change-Id: I0de931d79548505ca7d26ffdfb560cfd5c6105a9
2014-02-13 12:10:33 +01:00
Caolán McNamara
cc6725773b Various adjustments of the pivot table
especially relative positions were relative
to the dialog which was assumed to be then
a direct parent of the widgets so that
a simple calculation could make the positions
relative to the widgets

also now the pivot table fits into a 768 pixel high
screen

Change-Id: I86a4155439872e8273943b90f15320e560e237a4
2014-02-13 11:04:31 +00:00
Caolán McNamara
02ef234b77 fix homogeneous grid spanning row/col handling
Change-Id: I26ca29f2b02a1587cfe94d5342809f51a207a194
2014-02-13 11:04:31 +00:00
Katarina Behrens
cfa4f622ca Converted pivot table layout dlg to .ui
pimped up dialog a bit, added mnemonics

Change-Id: I4585d9a3a1c96b45c7eedea8a5be41ec717139dd
2014-02-13 11:04:31 +00:00
Caolán McNamara
89cc3438ed Updated core
Project: help  d5e02baa76eadb781a08d4cc9108288a055829d6
2014-02-13 05:04:02 -06:00
Stephan Bergmann
afb9d333eb cid#706247 wrong exception type
Change-Id: Idc83f827b90eedcc4345345a77efbda35e08bff0
2014-02-13 11:58:31 +01:00
Vinaya Mandke
8c6ee9360b fdo#73541 "Page Margins : Mirrored" was not preserved on export to DOCX
Mapped Property at import, so Page margins mirrored are imported correctly.
Also exported the mirrorMargins in settings.xml
Added export UT for the same.

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

Change-Id: I2d90643f55e1dc1d96c809e28ce37dee4653bf57
2014-02-13 11:51:50 +01:00
Muthu Subramanian
a4cd841541 n#757432: Styles (rename &) copy to different decks.
While copying slides to different slide decks,
styles were not being copied if there is already one
with the same name. This patch renames and copies those
to keep the formatting intact.

Change-Id: I66f71493f1fd658eed43e39aa7ae7ee7b5463b34
2014-02-13 16:13:01 +05:30
Matúš Kukan
c388071c4d remove now empty fwk_component_getFactory
Change-Id: I5f2f5fc9ccc75b145572aa0bb88b00b0d7a5872d
2014-02-13 11:27:21 +01:00
Matúš Kukan
2d46ef6da5 fwk: Constructor feature for single-instance framework::Desktop.
Change-Id: Id582e672c0b41a35d25361f7dfe970a767880b2a
2014-02-13 11:27:15 +01:00
Matúš Kukan
ce02519c5c Introduce com.sun.star.frame.theDesktop singleton.
Change-Id: I3d269609119149e289652f6bc106e6bd9061672d
2014-02-13 11:26:33 +01:00
Matúš Kukan
924a415e68 cosmetics
Change-Id: Ice4f20db3a590568a7ae4ae59fa0c4ff13e59051
2014-02-13 11:26:31 +01:00
Matúš Kukan
eb1799714c cleaning the code a bit
Change-Id: I4cc9c16fb79f669ae70d10a50ace3943075edd46
2014-02-13 11:26:29 +01:00
Matúš Kukan
5691ef0b4f Move this Singleton class to anonymous namespace.
If you add more Singleton classes into framework namespace,
it builds without any warning but I was not able to see menu text
labels.
Luckily UICommandDescription is involved in this and the problem was not
hidden somewhere else.

Change-Id: Iba0c06c2e31ae509579f31308d9f45f0cb9f654f
2014-02-13 11:26:27 +01:00
Matúš Kukan
9a4056c18f Do not use pattern::configuration::ConfigurationHelper.
Change-Id: I9cf913f085a2c6862e44803485ab63e2b4572eab
2014-02-13 11:26:26 +01:00
Matúš Kukan
dae2b047f9 Remove unused ContainerQuery constants.
Change-Id: Ib9f96f79d805c91e80fa5366c71e3e975ebabe90
2014-02-13 11:26:24 +01:00
Matúš Kukan
d8db7f0f44 ModuleManager should be static; and simplify.
This saves some cycles used to open configuration many times.

Change-Id: I12cc7ac87df897a518368094b12d8dcb5be4e3b5
2014-02-13 11:26:22 +01:00