Commit Graph

346414 Commits

Author SHA1 Message Date
Vinaya Mandke
a45bdb8aa8 fdo#73596 [DOCX] Auto Columns in Index
When number of columns in the Index is not specified
by the "\c" switch, then avoid adding the section breaks
explicitly before and after the Index Section and "\c '0'"
in the field identifier string.
Also added UT for the same.

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

Change-Id: I56826f72beea580d0ac5aef44d4a71fd29b77316
2014-02-26 12:18:50 +01:00
Caolán McNamara
9a8200e229 Restore jpg
This reverts the jpg part of d9f0af83b7.

Change-Id: Idcba2e16cc3f2fce9c04a225a5754841b4f39380
Reviewed-on: https://gerrit.libreoffice.org/8358
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 05:18:07 -06:00
Julien Nabet
09a1c9d31f cppcheck: duplicateIf
- replace duplicate TIB_DROPDOWN test with TIB_DROPDOWN + TIB_DROPDOWNONLY
- consider also TIB_RADIOCHECK as AccessibleRole::TOGGLE_BUTTON

Change-Id: Id159349ae1515681f47c373ba3d839ed406284ab
Reviewed-on: https://gerrit.libreoffice.org/8164
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 05:06:44 -06:00
Alexander Wilms
d9f0af83b7 Remove visual noise from vcl
Conflicts:
	vcl/source/app/settings.cxx
	vcl/source/window/dockmgr.cxx
	vcl/source/window/dockwin.cxx
	vcl/source/window/floatwin.cxx
	vcl/source/window/toolbox2.cxx

Change-Id: Ie67681549a76e77064b09d4b5bf80fe4c6010341
Reviewed-on: https://gerrit.libreoffice.org/8339
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:56:16 -06:00
Tushar Bende
0fb3bdc5d3 fdo#72563 : PAGEREF field tag not preserved during Roundtrip
There was a problem that in case of TOC,PAGEREF field tag was not preserved
inside <hyperlink> during Roundtrip.
Reason found, there was no code support to handle PAGEREF in export.
- Added code support in export code to handle PAGEREF.
- Also added <w:webHidden /> tag for PAGEREF
- Earlier pushed code changes was corrupting some documents.
- Verified this patch on large set of Docx containing different combination of hyperlinks.

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

Change-Id: I2331a33100ed77e15a39ecc6db01b0e696ea62de
2014-02-26 11:43:53 +01:00
Stefan Ring
a4f0d09605 Translate german strings, potentially user-visible - sw/source/filter/ww1
These are mostly assertion-like messages.

Change-Id: Iabf8e2ea3411c51756765e160a9e654b06ca005d
Reviewed-on: https://gerrit.libreoffice.org/8356
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:41:55 -06:00
Alexander Wilms
2a09751d51 Remove visual noise from fpicker
Change-Id: I58ae70cc71853e17e638ef64aaded87615e37986
Reviewed-on: https://gerrit.libreoffice.org/8264
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:35:19 -06:00
Alexander Wilms
e23ea87cb3 Remove visual noise from xmloff
Change-Id: I205d4e555f5b88654a90007eb7ac05bc7b00a904
Reviewed-on: https://gerrit.libreoffice.org/8346
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:32:34 -06:00
Alexander Wilms
a22ae26668 Remove visual noise from xmlscript
Change-Id: Id984fe846f28eba50f0fd480dca235482d150dd9
Reviewed-on: https://gerrit.libreoffice.org/8347
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:28:36 -06:00
Vinaya Mandke
263938c4a8 fdo#73596 [DOCX] Multiple Columns in Index
The number of columns in an Index is given by the "\c" switch.
During export, added section breaks before and after the Index;
this is to preserve the layout of the round tripped file in MS Office.

Modified MSWordExportBase::NoPageBreakSection so that
an incorrect "nextPage" section break is not exported.

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

Change-Id: I364e19d6739c4c6a60e3c605044fc1fafd9147d3
2014-02-26 11:27:58 +01:00
Christian M. Heller
45261b88c4 fdo#39468 Translate German Comments - vcl/source/window/toolbox2.cxx
Conflicts:
	vcl/source/window/toolbox2.cxx

Change-Id: Ifcb3a31733d8122d228596e8ec1253990f979471
Reviewed-on: https://gerrit.libreoffice.org/8174
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:26:04 -06:00
Alexander Wilms
e8e4fc00e7 Remove visual noise from wizards
Change-Id: I27c730fa18b665bffe8c8d032fa51680cbbb2dd5
Reviewed-on: https://gerrit.libreoffice.org/8341
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:20:34 -06:00
Christian M. Heller
4e5fb3ae8a fdo#39468 Translate German Comments - vcl/source/window/floatwin.cxx
Conflicts:
	vcl/source/window/floatwin.cxx

Change-Id: I5cf91515e088f7f7bb766089c0812b023ecb3bdd
Reviewed-on: https://gerrit.libreoffice.org/8172
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:11:27 -06:00
Alexander Wilms
99f92d7f3b Use exact same license formatting in touch as elsewhere
Change-Id: I7e1a41784fc12828a2f530a3e3019b95ade19cdf
Reviewed-on: https://gerrit.libreoffice.org/8328
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:08:23 -06:00
Christian M. Heller
204642f307 fdo#39468 Translate German Comments - vcl/source/window/dockwin.cxx
(BTW: There seems to be some duplication between dockwin and dockmgr)

Conflicts:
	vcl/source/window/dockwin.cxx

Change-Id: Icaf421620f87de7512a461b778958f6e141946db
Reviewed-on: https://gerrit.libreoffice.org/8171
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:02:27 -06:00
Stefan Ring
eb75997457 Remove germanisms in variables: sw/source/filter/ww1
Change-Id: Ieb61128a6497fc8f980b315a949ce74b2dc4adce
Reviewed-on: https://gerrit.libreoffice.org/8324
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 03:52:06 -06:00
Alexander Wilms
d722353b4b Remove visual noise from unotools
Change-Id: I1285c4e47ad381934adc3aea6671e7c95d820c39
Reviewed-on: https://gerrit.libreoffice.org/8334
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 03:50:41 -06:00
Alexander Wilms
003342bfef Remove visual noise from xmlhelp
Change-Id: Idd4d9d556d6644350d1a14b9f81f5fd0df8ee2d1
Reviewed-on: https://gerrit.libreoffice.org/8344
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 03:50:15 -06:00
Pallavi Jadhav
a31fbb53db fdo#74566:DOCX: Preservation <w:br> tag for Break to Next Page
Issue :
	'Break to Next Page' gets converted to 'Page Break Before'
         in RT.

	XML diffrenece :
	- LO exports <w:br> as <w:pageBreakBefore /> in document.xml
	- The page break is written into wrong paragraph.

	Implementation :
	1] Removed implementation to export <w:pageBreakBefore />.
	2] Added a check to write <w:br> in correct paragraph.
	3] Modified code to handle SectionBreak() even if Text node
       	   has no string.
	   It is required when DOCX contains a PageBreak with footer.
	4] Written Export Unit Test case.

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

Change-Id: I237b9c5fdd3083b441f6e81cd8442f458eccf1a0
2014-02-26 10:50:08 +01:00
Alexander Wilms
c4399bcd13 Remove visual noise from uui
Change-Id: I64fa42929aad00fc63f2937527dd3539f9d6f7f3
Reviewed-on: https://gerrit.libreoffice.org/8337
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 03:45:29 -06:00
Alexander Wilms
f993a8930a Remove visual noise from unotest
Change-Id: I34d98f086d1a041516174a26cbf37fc3d75da155
Reviewed-on: https://gerrit.libreoffice.org/8333
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 03:34:13 -06:00
YogeshBharate
4654e9b113 fdo#74271: Added unit test & code changes for footer contains hyperlink.
Problem description:
- If the document contains a hyperlink in footer
  that starts with "www" (ex. www.google.com) then
  the footer1.xml.rels of the roundtrip file contains
  empty Target.
- Since the target is empty, the file get corrupted in MS Office 2007.

Implementation:
- If hyperlink starts with "www" then make bSmart as true.

Change-Id: Ifa2b587d3326152b2d9778bd818fbe68b1cf6410
Reviewed-on: https://gerrit.libreoffice.org/7766
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-02-26 03:24:57 -06:00
Tobias Lippert
a980928ef8 Remove implementation details from vcl/settings.hxx
This reduces the number of files which need to be recompiled
after a change to the internal details.

Also: Remove explicit assignment operators since they are no longer
needed.

Change-Id: Ieb18a8437fbcd39c6003b50c656ce010f5002d9a
Reviewed-on: https://gerrit.libreoffice.org/8161
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-02-26 03:16:46 -06:00
Julien Nabet
7feb9a9c71 Fix a crashtest + default value + fix a wrong copy paste
Change-Id: Ic7a4ff410b2e4450c5f5220c6201931ca3e15a02
Reviewed-on: https://gerrit.libreoffice.org/8307
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-02-26 03:09:44 -06:00
Takeshi Abe
d5c59404be Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I773524536c0ed7bc34eb08cd35cfc77e83f722ba
2014-02-26 17:21:20 +09:00
Matúš Kukan
d60301d03b webdav: fix remaining build issues
Change-Id: I9416551ba78a6a27071fdf92a6c36c271a1032b7
2014-02-26 16:46:57 +01:00
Matúš Kukan
f9f70d95a1 webdav: fix include paths
Change-Id: I323bef2e1c21e2a1981409d4295ccf555088e5ea
2014-02-26 16:46:56 +01:00
Matúš Kukan
ff3b92017d webdav: std::hash_set|map -> std::unordered_set|map
Change-Id: Id0c18cb51af742d073d532662558fdd84d476f88
2014-02-26 16:46:56 +01:00
Matúš Kukan
aa68e4c549 webdav: fix cherry-pick commit 7056e8ef89
Change-Id: I177daf0d4e22d96167ab094a5c9d5c9cab6cf409
2014-02-26 16:46:55 +01:00
Herbert Dürr
43fc67adcc #i123068# remove implicit conversions from rtl strings to their elements
(cherry picked from commit 1a15756db5173403fcdbc3ad522c3a76e88a7082)

Conflicts:
	ucb/source/ucp/webdav/DAVProperties.cxx
	ucb/source/ucp/webdav/SerfRequestProcessor.cxx
	ucb/source/ucp/webdav/SerfSession.cxx

Rest ignored.

Change-Id: I7d25170cc07538dbab70bc72af8764820da2b60b
2014-02-26 16:46:54 +01:00
Oliver-Rainer Wittmann
ff824e87a5 #122008# - use <serf_bucket_headers_setc(..)>
when header name's data need to be copied

(cherry picked from commit e50d4638e4fe64eb05b8f22006c7f04c05ec288b)

Change-Id: Ib4f171b05bafe380187a09cbfe143b0bef8b6f25
2014-02-26 16:46:54 +01:00
Herbert Dürr
6a8e29563c minor WaE cleanup for SerfRequestProcessorImpl.hxx
that solves another dozen warnings
(cherry picked from commit f42f6eb8aa2ab01befeba42871d9d5c7b381f49f)

Change-Id: Ia06cee06e04b09fe6ed45cf4159722be191a21d2
2014-02-26 16:46:45 +01:00
Andre Fischer
da41a44fb3 #i120041# Update of serf library from 1.0.0 to 1.1.0.
(cherry picked from commit eb0311f38de6c30fb15f87b4599e932897f281f5)

Conflicts:
	external_deps.lst
	scp2/source/ooo/file_library_ooo.scp
	solenv/bin/download_external_dependencies.pl
	ucb/source/ucp/webdav/SerfPostReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPutReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfSession.cxx

Change-Id: I6b9576226f86b87397bedc2b67a9289bc19317a7
2014-02-26 16:39:08 +01:00
Matúš Kukan
317b5bdade webdav: lang::XMultiServiceFactory -> uno::XComponentContext
Change-Id: I71984066a512a023c67d1690bd984d66f75f894b
2014-02-26 16:17:58 +01:00
Noel Grandin
dbe081749d remove unused code ScDocument::IsEmptyData(short, short)
and the consequently unused code
ScTable::IsEmptyData(short, short)

Change-Id: I622de7c1118d61c0e434f80d1b7c41ace24c5592
2014-02-26 08:55:07 +02:00
Noel Grandin
0a0290b252 remove unused code ScDocument::CountNotes()
Change-Id: Ic0f638f1e052b2d9117207f234d879638cbfc19a
2014-02-26 08:55:06 +02:00
Noel Grandin
10bf297024 remove unused code ScDocument::GetFormulaTokens
and consequently unused code
ScTable::GetFormulaTokens
ScColumn::GetFormulaTokens

Change-Id: Iad1fd45e67489bb8b0f9ed96a36b647e40e6f774
2014-02-26 08:55:04 +02:00
Noel Grandin
8a6c9bc82d remove unused code ScDocument::RebuildFormulaGroups()
and the consequently unused code
ScTable::RebuildFormulaGroups()

Change-Id: Ic7dfb7420c7cc4ca52c4ed4fe580fbb499ab53b6
2014-02-26 08:54:55 +02:00
Noel Grandin
9bfbaa5864 remove unused code ScFormulaCell::HasColRowName()
Change-Id: I907492e1385f76d27cc8559d599f518d3b91f75d
2014-02-26 08:54:54 +02:00
Noel Grandin
d7f3dced12 remove unused code in sfx2::sidebar
removes these methods:
sfx2::sidebar::Context::EvaluateMatch(std::vector<sfx2::sidebar::Context>)
sfx2::sidebar::EnumContext::EvaluateMatch(std::vector<sfx2::sidebar::EnumContext>)

Change-Id: I14314d526a5306530d0381ca8bf6ab150d3dd5a0
2014-02-26 08:54:53 +02:00
Tor Lillqvist
1f00b24c1a WaE: implicit conversion of literal of type 'const char *' to 'bool'
Fixed the fairly obvious (?) mistake. Thanks again to our Clang plugin and
sberg.

Change-Id: I7b7ab4b6fcb99b93305c7e8872810a6096c8b720
2014-02-26 08:43:58 +02:00
Markus Mohrhard
c816729beb fix OOXML validation error for text shapes, related fdo#31551
blipFill and other fill elements are not allowed to appear together. See
EG_FillProperties in the OOXML spec.

See fdo31551-2.ods

Change-Id: If5869ab9dc69815938c1f4c6fb180b0c1652ddcc
2014-02-26 07:37:28 +01:00
Markus Mohrhard
3ca2069f0d use const reference for OUString
Change-Id: I66b5f144da7951f36e32a840b8ed70f38539f105
2014-02-26 07:37:28 +01:00
Markus Mohrhard
66cbbe4f3a fix indentation
Change-Id: Iae492bf19edffe84f86bfa9bf247f120f8c9cb79
2014-02-26 07:37:28 +01:00
Markus Mohrhard
c26ebdb818 reduntant check
Change-Id: I7969af2e6c73175b020816156478021dcaf8afb0
2014-02-26 07:37:28 +01:00
Markus Mohrhard
75f5eb2646 first step in improving the OOXML validation result
Change-Id: Ie4b99e2791cd3575d6544bfca6c6b4e386ac04ea
2014-02-26 07:37:27 +01:00
Kohei Yoshida
79d03eb090 fdo#75386: Totally fix reference update during range move.
It was just not working at all due to multiple reasons.  The
reference update needed to be reworked for formula groups such that
the token array is adjusted only for the top cell but all formula cells
still needed to be processed afterwards.  The bound check also needed
to be done against the old range prior to the move, not the new range
after the move.

During undo, the paint had to be deferred until after the two calls to
DoUndo() else the formula cells would get re-calculated before the
values were placed back to their old positions, causing them to mis-
calculate wrong values.

Change-Id: Iba66f80a413e0539cac5ab619226cd6f7a04f317
2014-02-25 22:53:39 -05:00
Kohei Yoshida
3cb186f57d fdo#75386: Add unit test for this.
Change-Id: Iff2b5fd05eb098e83281c5ae9cedf309edde7250
2014-02-25 22:53:28 -05:00
Kohei Yoshida
5706ff70db fdo#72041: Intern strings as we populate the external cache.
This commit covers ods import and UNO API layer.

Change-Id: I3ad1b7cfefe49575694e2351bcba6e5733b009d2
2014-02-25 20:55:17 -05:00
Kohei Yoshida
5bba4c56d2 fdo#72041: Add import test to catch an issue with external ref cache.
Change-Id: I648d2d04c86d61b1cbe291e7aa79bf9219833328
2014-02-25 20:55:17 -05:00