Andras Timar [Thu, 12 Jun 2014 10:31:07 +0000 (12 03:31 -0700)]
openssl-0.9.8za -- fixes multiple CVEs
Change-Id: I99595b4de670b42497cb2bf7a19f6a53237c8168
Andras Timar [Wed, 11 Jun 2014 08:14:15 +0000 (11 01:14 -0700)]
Bump for 4.0-24
Change-Id: I439af02c4bbbd886260ec70234de38d4c3c8324c
Andras Timar [Tue, 10 Jun 2014 20:30:07 +0000 (10 22:30 +0200)]
openssl-0.9.8za -- fixes multiple CVEs
Change-Id: Id4a2d2af49518317511da194a582d3bb18c346f7
Andras Timar [Tue, 27 May 2014 08:11:19 +0000 (27 10:11 +0200)]
build fix
Change-Id: If249946cb33d984dbe9eeec3889ea80246df3a52
Andras Timar [Wed, 28 May 2014 10:53:53 +0000 (28 03:53 -0700)]
Bump for 4.0-23
Change-Id: I94c69da37ac10e77aa28f503f7ae88c02783c5f9
Luboš Luňák [Fri, 23 May 2014 09:35:10 +0000 (23 11:35 +0200)]
MSWord uses \xb for linebreaks in DB fields (bnc#878854)
Change-Id: I9b1e4f8dc44d3f6f41e395f6e5f3c1fdeff52441
Muthu Subramanian [Wed, 23 Apr 2014 17:11:11 +0000 (23 22:41 +0530)]
fdo#64047: n#863021: Add set-all language menu.
Problems:
* Doesn't reset the spell error markers
* Modifies only at object level
* Currently has only setting for 'all text'
* Maybe provide a current slide only option?
Change-Id: Idcf8555bab9a5618362dfd2aa8773dd736cbdbb0
Herbert Dürr [Thu, 27 Mar 2014 16:07:37 +0000 (27 16:07 +0000)]
Related: #i124516# handle bad surrogate pairs gracefully on Windows
When running into invalid Unicode surrogate pairs the text layout code on
Windows ran into massive problems like crashes. This change detects the
situation of an invalid surrogate pair and falls back to treat it as
a simple character instead of requesting a complex glyph fallback.
(cherry picked from commit
913f1fc4b1362f6e91595af5ae10c4cba79fd355)
Change-Id: I2988f4b64061d0a5df211f6f0f04b1f235fcd6a5
(cherry picked from commit
67688d3118b1a361d5dbdaa78e918815c163d75c)
Jürgen Schmidt [Fri, 28 Mar 2014 10:52:29 +0000 (28 10:52 +0000)]
Resolves: #i124453# check if the resulting polygon...
has already exceeded the number of points (2^16) that can be handled by a tools
polygon
(cherry picked from commit
804e547d70552fd64e1344d538427f8898824b43)
Change-Id: I437a84493e264f7b650561599170e831da20c9aa
(cherry picked from commit
a9582c05f854cad02710178ab7fa79498573269e)
(cherry picked from commit
ab71a4512557b7290cd7b1b4923463052acf164e)
Caolán McNamara [Wed, 2 Apr 2014 08:33:03 +0000 (2 09:33 +0100)]
init a few more stream-read svm elements
(cherry picked from commit
67c6ea0c426c2796fc1b80cbe2cb0347686db90d)
Conflicts:
vcl/source/gdi/metaact.cxx
Change-Id: I3dfa2485afbe66131b86764374d53181b55c2346
(cherry picked from commit
21212a65c5653bdc38cea426710e68ed40c66eb8)
Caolán McNamara [Wed, 2 Apr 2014 08:13:37 +0000 (2 09:13 +0100)]
valgrind: Conditional jump or move depends on uninitialised value
Change-Id: I1939d376afe5dd5c67f378ffb2520a066dc99077
(cherry picked from commit
6efbc4598aea1e87c1569c7beef13d44b1a4202c)
(cherry picked from commit
1742008dd0d83f3e69b6e09d9e3223d0c5d28096)
Caolán McNamara [Wed, 2 Apr 2014 08:02:19 +0000 (2 09:02 +0100)]
detect add to table beyond MAX_TABLE_SIZE
Change-Id: I9b1357e583620c59898cd7a649a5b39a6d7e3739
(cherry picked from commit
e326b5e06d74685b1853d61c465e5be0b5bf1595)
(cherry picked from commit
4e2c5ffa89b77e4d6b0a1dc964d330d2ae3636d6)
Caolán McNamara [Tue, 1 Apr 2014 15:52:21 +0000 (1 16:52 +0100)]
valgrind: Conditional jump or move depends on uninitialised value
(cherry picked from commit
e3dad060929de9beeeed2978f1b1427a91152073)
Conflicts:
vcl/source/gdi/metaact.cxx
Change-Id: Ia0b22f7c394d1c2387d1cad7e3d99c79eaeca81a
(cherry picked from commit
a37f474a2272c505778774cd1d92897d8a744863)
Muthu Subramanian [Mon, 31 Mar 2014 09:43:51 +0000 (31 15:13 +0530)]
n#870234: Import gradfill for text colors.
Uses the first color from the gradfill list.
(Which is better than plain black!)
Ported from:
cfc76de83e3c0a56abd30a8f3bd7c69d3500d223
Change-Id: I57a3a54a8053a8ce320acbd02940f10941165d1c
Muthu Subramanian [Mon, 31 Mar 2014 09:34:31 +0000 (31 15:04 +0530)]
n#862510: anchorCtr controls the anchoring as well.
Ported from:
c17eb67460293fbe72ffa8e80cd10743df493afa
Change-Id: I7b5885c3ac9ec30970bdb8b2c9318dc181dda5bd
Muthu Subramanian [Mon, 31 Mar 2014 09:30:13 +0000 (31 15:00 +0530)]
n#862510: Fix text rotation.
Fix breaks document in n#783433 - the one there is
damaged - resaving it using mso 2010 should fix the problem there.
Ported from:
e3e12b1d1e36e1a0d4fc4c6423b584d677693897
Change-Id: I56fbefa9de6b0714592cc64dffc011b27d1907f4
Muthu Subramanian [Fri, 14 Mar 2014 14:33:45 +0000 (14 20:03 +0530)]
n#862510: Ignore baseline attributes with zero.
Ported from
19abfaffe74b925e4428943d14187a7008797982
Change-Id: I5447c16193f7c3e619ce10658c9696014d3d5a22
Andras Timar [Fri, 7 Mar 2014 10:58:07 +0000 (7 11:58 +0100)]
fdo#60833 user's wordbook should be selected by default
Change-Id: Ib0614af5201bfcc17058761e5a38333902924b31
Muthu Subramanian [Fri, 7 Mar 2014 08:06:50 +0000 (7 13:36 +0530)]
n#821567: Use BitmapURL only if its valid.
Ported from
bf2ff0468e06770f9320c652a2332f7ec137d061
Muthu Subramanian [Fri, 7 Mar 2014 08:00:43 +0000 (7 13:30 +0530)]
n#821567: Import PPTX background images with table-name.
Ported from
2ec4d410de5bd98527336a9dc49abb76656373df
Markus Mohrhard [Sat, 22 Feb 2014 04:49:39 +0000 (22 05:49 +0100)]
we only support simple labels in the InternalDataProvider, bnc#864396
Change-Id: Ie31c5c73bb5185125fd4493c4e476997e2e9bc63
Andras Timar [Mon, 24 Feb 2014 13:55:05 +0000 (24 14:55 +0100)]
OOXML chart import: ignore rot values outside the valid range
Change-Id: I506a78a024d761d1d263a7bb1dcbf09a4bbcf4ef
Stephan Bergmann [Thu, 20 Feb 2014 03:53:20 +0000 (20 09:23 +0530)]
Stick to a single O[U]String hash function
Ported from:
042725a5dadc9f2c6368ca451b6d20046129b8af
Change-Id: I87f11d9101e21bdadaaffb719a762d0030639cb1
Muthu Subramanian [Tue, 18 Feb 2014 07:19:05 +0000 (18 12:49 +0530)]
String cleanups.
Change-Id: Ia4a9630822678a7b9ea6e5af87e58cfd0ebacff3
Muthu Subramanian [Thu, 13 Feb 2014 16:24:19 +0000 (13 21:54 +0530)]
n#757432: Styles (rename &) copy to different decks.
Ported from:
a4cd841541a729d7b8126d27d91fa28e30b01403
Change-Id: I73ebaec651a195afbf60f5338c487c7750298fef
Muthu Subramanian [Thu, 13 Feb 2014 16:19:18 +0000 (13 21:49 +0530)]
Move string hash function into String class.
Change-Id: If229f3a8c4b4fd1e5f0c28618e29eded7b7853da
Andras Timar [Sun, 12 Jan 2014 21:17:54 +0000 (12 13:17 -0800)]
Bump for 4.0-22
Change-Id: Ie1e528f6a203237818432b182da8e929ccf2e45e
Andras Timar [Sun, 12 Jan 2014 21:01:18 +0000 (12 13:01 -0800)]
change PYTHON_VERSION back to old value
because MSP patch cannot rename directories, and MSP installed over
the older base would result in immediate crash if Python cannot find
its libs. Version number is hard coded in PYTHONPATH.
Change-Id: Ib90ba3ab6f19a89f1ab2ae6fbc0aad9365d3645d
Andras Timar [Sat, 11 Jan 2014 23:12:58 +0000 (11 15:12 -0800)]
Bump for 4.0-21
Change-Id: Icd221a103f4a6716b73b0d7aadfb63ad1b211912
Michael Stahl [Mon, 6 Jan 2014 15:05:56 +0000 (6 16:05 +0100)]
fdo#73087: python3: upgrade to version 3.3.3
- drop obsolete/upstreamed patches:
python-3.3.0-ffi-clang.patch.1
python-3.3.0-15833.patch.1
one hunk of python-3.3.0-aix.patch.1 in fficonfig.py.in
Reviewed-on: https://gerrit.libreoffice.org/7278
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit
45c537a1185dfca7e51229dde9e9220e5174bd57)
Conflicts:
external/python3/python-3.3.0-aix.patch.1
external/python3/python-3.3.0-elf-rpath.patch.1
external/python3/python-3.3.3-aix.patch.1
external/python3/python-3.3.3-elf-rpath.patch.1
python3/ExternalPackage_python3.mk
python3/UnpackedTarball_python3.mk
python3/python-3.3.0-15833.patch.1
python3/python-3.3.0-aix.patch.1
python3/python-3.3.0-elf-rpath.patch.1
python3/python-3.3.0-ffi-clang.patch.1
Reviewed-on: https://gerrit.libreoffice.org/7290
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Conflicts:
download.lst
python3/ExternalPackage_python3.mk
python3/UnpackedTarball_python3.mk
python3/python-3.3.3-aix.patch.1
python3/python-3.3.3-elf-rpath.patch.1
Conflicts:
python3/UnpackedTarball_python3.mk
Change-Id: I12f0f78a172067986b63455847015ea2430a084c
Muthu Subramanian [Thu, 2 Jan 2014 08:33:22 +0000 (2 14:03 +0530)]
Fix compilation problems.
Muthu Subramanian [Thu, 19 Dec 2013 11:18:20 +0000 (19 16:48 +0530)]
n#828390: Bullet sizes set wrong.
Muthu Subramanian [Thu, 12 Dec 2013 12:54:42 +0000 (12 18:24 +0530)]
n#828390: Reset charescapement.
Unless the value is reset - the escapement
seems to continue to the next set of textruns.
Muthu Subramanian [Wed, 18 Dec 2013 14:49:48 +0000 (18 20:19 +0530)]
Fix fdo#70220 Superscript not imported from pptx.
Ported from:
840a8573c8cebe67ddd3c9fe106c7dbd789bb334
(Original Author: Thorsten)
Muthu Subramanian [Wed, 18 Dec 2013 14:38:41 +0000 (18 20:08 +0530)]
n#828390: Explictly export font properties.
Seems like the status is returned as default,
but the font properties needs to be still exported.
Muthu Subramanian [Thu, 12 Dec 2013 07:27:02 +0000 (12 12:57 +0530)]
Force int16 as int32
Muthu Subramanian [Thu, 12 Dec 2013 07:25:39 +0000 (12 12:55 +0530)]
Force enums as ints - to avoid warning/errors.
Muthu Subramanian [Thu, 12 Dec 2013 07:23:55 +0000 (12 12:53 +0530)]
Add append(bool) to OStringBuffer.
Muthu Subramanian [Thu, 12 Dec 2013 07:20:13 +0000 (12 12:50 +0530)]
n#753460: Copying slides having same master page name.
Muthu Subramanian [Tue, 10 Dec 2013 11:37:23 +0000 (10 17:07 +0530)]
n#828390: Import new line in text.
Jan Holesovsky [Wed, 20 Nov 2013 12:39:18 +0000 (20 13:39 +0100)]
Related bnc#837302: Don't introduce a redlined delete and the end of doc.
Change-Id: I5c3903a40b69867684707d33acbc92b1f80a93ec
Jan Holesovsky [Wed, 20 Nov 2013 10:45:39 +0000 (20 11:45 +0100)]
bnc#837302: Allow insertion of redlines with an empty author.
No idea why that was not allowed (since the initial import in 2000), we need
it for interoperability.
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
sw/source/core/doc/docredln.cxx
Change-Id: I475fa63f9a4a3219a2b898b6f7d81e0603d32c18
Caolán McNamara [Tue, 12 Nov 2013 14:56:43 +0000 (12 14:56 +0000)]
Resolves: fdo#71307 out polygons are limited to 16bit point count
Change-Id: I4dbe9145466d6d93ebd3dea7f4fe434c9ee3de19
(cherry picked from commit
cdd351b1487a8a97f481a9165d9cd361aaee2ca4)
Reviewed-on: https://gerrit.libreoffice.org/6655
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Muthu Subramanian [Wed, 13 Nov 2013 15:24:46 +0000 (13 20:54 +0530)]
n#828390: Export subscript text.
Jan Holesovsky [Tue, 12 Nov 2013 12:35:56 +0000 (12 13:35 +0100)]
bnc#830205: Stop-gap solution to avoid crash.
This improves the situation, because previously, the document would just crash
due to infinite recursion.
Deeper checking why do we end up with an invalid range would be good; but it
was impossible to check with the bugdoc, as it was too complex, and trying to
cut it down was crashing MSO :-) Hopefully we'll get a better document at
some stage.
Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Change-Id: I4cd639e02aebe9027f06e8468c14969c506327b2
Michael Stahl [Mon, 2 Sep 2013 22:32:08 +0000 (3 00:32 +0200)]
fdo#68839: ODF import: fix name of multi-image frame
When multiple image child elements are inside a frame, each one is
imported and gets unique name via SwDoc::SetFlyName(). But the
retained one is not necessarily the first one, which is the only one
that may have the original name.
Also the solveMultipleImages needs to return a smart pointer, as nothing
else keeps the image contexts alive.
(regression from
44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70)
(cherry picked from commit
b69d152cfa1da868ba960345d72ba78f9f8e1b35)
Reviewed-on: https://gerrit.libreoffice.org/5777
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Conflicts:
xmloff/source/text/XMLTextFrameContext.cxx
Change-Id: I28a8a752f3eed176cc2ebb4c9af11a0dd4d18ea6
Andras Timar [Mon, 28 Oct 2013 13:34:44 +0000 (28 06:34 -0700)]
Bump for 4.0-20
Change-Id: I2ced784f302ab7011f496470cfa19e67e6f8ed3e
Miklos Vajna [Mon, 28 Oct 2013 10:15:43 +0000 (28 11:15 +0100)]
bnc#825891 fdo#69893 fix SwWrtShell::SelAll() to work with empty table at doc start
In theory, it was a problem to have the table cursor around when having
the selection outside the table; but it didn't cause a problem so far.
However, when the table has one or more empty cells, we really need to
leave table mode, otherwise only the table gets selected.
Change-Id: I766903ed624b9338f0612697b4c03f44de1d2e41
(cherry picked from commit
d1eb536c7e410d40fd94c76b157bbd4ed7944d4c)
Conflicts:
sw/qa/extras/uiwriter/uiwriter.cxx
Miklos Vajna [Wed, 2 Oct 2013 09:19:18 +0000 (2 11:19 +0200)]
bnc#825891 fdo#69979 SwCrsrShell::ExtendedSelectAll: exclude headers, too
It turns out, normal Ctrl-A doesn't select headers, footers and fly
content, either (just like not selecting footnotes). So do the same when
in the "doc starts with table" special mode.
Change-Id: Ib9bc397944a4d07ea03bc326f1536733c57f42e6
(cherry picked from commit
232df42b8dc0b4f7a335d2931fc0f29e73b8bca0)
Conflicts:
sw/qa/extras/odfimport/odfimport.cxx
sw/source/core/crsr/crsrsh.cxx
Miklos Vajna [Mon, 30 Sep 2013 09:45:35 +0000 (30 11:45 +0200)]
bnc#825891 fdo#69862 SwCrsrShell::ExtendedSelectAll: don't always select footnotes
ExtendedSelectAll() was originally invented to e.g. select the whole
document, change the language of the selection and then inmediately
(before the layout is updated) undo the selection.
When using it for "select all and doc starts with a table" purposes,
then footnotes shouldn't be selected, just like those are not selected
either, when the doc starts with a normal paragraph. Their anchor is
still selected, and that's enough to have correct delete and copy&paste.
Change-Id: I4fc49db628054a4b8a46effc2d0328eaabcaa9f8
(cherry picked from commit
959711f1276106b0aaee69ab660f1b0d3ece5bbc)
Conflicts:
sw/source/core/crsr/crsrsh.cxx
sw/source/core/edit/eddel.cxx
Miklos Vajna [Mon, 28 Oct 2013 11:29:48 +0000 (28 12:29 +0100)]
oox: fix build
OUString::number() -> OUString::valueOf()
Muthu Subramanian [Tue, 22 Oct 2013 09:43:41 +0000 (22 15:13 +0530)]
n#839727: Crash fix.
Muthu Subramanian [Tue, 22 Oct 2013 09:17:56 +0000 (22 14:47 +0530)]
n#839727: Chart missing dataset.
This was because there is no explicit category
in the chart - while libreoffice expects it.
Andras Timar [Wed, 16 Oct 2013 13:01:17 +0000 (16 06:01 -0700)]
Bump for 4.0-19
Change-Id: I4bd0056aee58a51ef3560c14b4012c14febb112b
Tor Lillqvist [Fri, 4 Oct 2013 17:36:57 +0000 (4 19:36 +0200)]
fdo#67534: try to avoid file locking in Explorer shell extensions
Change-Id: I287395f6c25b1bfb9b9482166ae6f34d9af8f455
Mathieu Parent [Mon, 14 Oct 2013 21:23:05 +0000 (14 22:23 +0100)]
fdo#56007 - Read more bytes on Zip read (for thumbnails)
Change-Id: Ia8c6caa44ed8019a8139beb5a855f0f28805544d
Michael Meeks [Fri, 11 Oct 2013 16:43:19 +0000 (11 17:43 +0100)]
fdo#56007 - fast zip directory find to accelerate Windows Explorer thumbnail.
Change-Id: Id9436def56f40d2bb54dea35bea916bd99964653
Andras Timar [Wed, 9 Oct 2013 19:57:33 +0000 (9 12:57 -0700)]
Bump for 4.0-18
Change-Id: If2af95548d57a95995988228752503f770ada4d5
Andras Timar [Tue, 8 Oct 2013 12:40:18 +0000 (8 05:40 -0700)]
Bump for 4.0-18
Change-Id: I9d76a7031a28b8dd82f26877dfef2c30e07941ca
Muthu Subramanian [Mon, 7 Oct 2013 13:49:10 +0000 (7 19:19 +0530)]
n#819614: Fix for lines running off screens.
Andras Timar [Fri, 4 Oct 2013 06:28:51 +0000 (3 23:28 -0700)]
Bump for 4.0-17
Change-Id: I725c090eee8094e85a64c18816af2ace8aaa010b
Miklos Vajna [Tue, 1 Oct 2013 14:57:56 +0000 (1 16:57 +0200)]
bnc#779620 DOCX import: try harder to convert floating tables to text frames
Since
78d1f1c2835b9fae0f91ed771fc1d594c7817502, we convert floating
tables to text frames only in case it's possible that there will be
wrapping, to give better results for multi-page tables, which are
multi-page, and technically floating ones, but that has no effect on the
layout.
The problem was that we try to do this decision too early, effectively
the page width and margins were counted from the default letter size,
instead of the actual values, which did not arrive at the time of the
decision. Fix this by moving this logic at the section end.
Change-Id: Ic1fbceb54c8ec223ed01836fafe6220bb3b2410a
(cherry picked from commit
bbef85c157169efa958ea1014d91d467cb243e6f)
Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
writerfilter/source/dmapper/DomainMapper_Impl.hxx
Muthu Subramanian [Wed, 11 Sep 2013 16:11:43 +0000 (11 21:41 +0530)]
n#834720: Labels wrongly interpreted as dates.
If the numFormat is available we should probably use that.
Andras Timar [Sun, 22 Sep 2013 14:32:08 +0000 (22 07:32 -0700)]
Bump for 4.0-16
Change-Id: Ia7d8e427295b813268b74a8cfb4b8a1e686aa3d8
Miklos Vajna [Mon, 16 Sep 2013 10:12:42 +0000 (16 12:12 +0200)]
bnc#825891 fdo#37606 SwWrtShell::SelAll(): fix for doc starting with table
SwWrtShell::SelAll() can now detect if the body text starts with a
table, and if so, it explicitly selects the whole document, not just the
first cell of the starting table.
Also, SwCrsrShell::EndAction() now checks for this "select all and doc
starts with table" situation, and if that's the case, it activates a
special select all mode, so layout can act accordingly.
(cherry picked from commit
3b11e66ab89c201591d8be8f1ab1af1aba11a821)
Conflicts:
sw/source/core/crsr/crsrsh.cxx
sw/source/core/layout/trvlfrm.cxx
fdo#37606 SwWrtShell: fix select all when doc starts with table and cursor ...
... is outside that table
(cherry picked from commit
4b6445dba6bb5b2aed3edb4878ecb327446286e9)
fdo#37606 SwEditShell::DeleteSel(): handle document starting with a table
If the whole document is selected and the document starts with a table,
then we used to delete the contents of the document, except the starting
table, which was just cleared. Change this and do what is expected:
remove the table as well, so the document will have a single empty
paragraph only.
(cherry picked from commit
0fb4adcff534e3841cf6df0e2363fb0797af7022)
Conflicts:
sw/source/core/edit/eddel.cxx
fdo#37606 SwEditShell: fix copying when doc starts with a table ...
... and the whole document was selected
The problem is that the cursor starts at the first cell of the starting
table, but when copying, we want to copy the preceding startnode and
tablenode as well.
(cherry picked from commit
49505336a629a75f4fb48bbe0c532b402e857ed4)
fdo#37606 testcase
(cherry picked from commit
f5fa78d75abac3dbe0f9edf9e9106f63ca5dca53)
Conflicts:
sw/qa/extras/odfimport/odfimport.cxx
Change-Id: I60d34906a90a5143163e516f618648cf7178430e
Conflicts:
sw/CppunitTest_sw_odfimport.mk
sw/inc/viewsh.hxx
sw/qa/extras/odfimport/odfimport.cxx
sw/source/core/crsr/crsrsh.cxx
sw/source/core/view/vnew.cxx
Andras Timar [Wed, 11 Sep 2013 12:06:11 +0000 (11 05:06 -0700)]
Bump for 4.0-15
Change-Id: Ibfb122a2034ab5362f0439c51280576912f48c2e
Muthu Subramanian [Mon, 9 Sep 2013 15:35:42 +0000 (9 21:05 +0530)]
n#834722: Chart shown flipped.
Auto and manual axis positioning seems to cause a problem.
Needs to be tested with more charts.
Andras Timar [Mon, 9 Sep 2013 09:01:08 +0000 (9 02:01 -0700)]
Bump for 4.0-14
Change-Id: I358cb24d01ce33bc95f5b49611b34148195ca52e
Miklos Vajna [Fri, 6 Sep 2013 13:57:03 +0000 (6 15:57 +0200)]
bnc#779642 VML import: handle drawinglayer rectangle char spacing
Change-Id: I79fa72c9235682030d23a03fdb0c7c40370c4a8a
(cherry picked from commit
4cbc41bc4eaa822829e68c1ee11eafe834bb7da7)
Miklos Vajna [Fri, 6 Sep 2013 10:29:46 +0000 (6 12:29 +0200)]
bnc#779642 VML import: handle drawinglayer rectangle inset
Change-Id: If8b064ca9a52bb02ff41f07e00142702a29df818
(cherry picked from commit
870a2394a87c77740daf41e1aa81b130113f8e00)
Miklos Vajna [Fri, 6 Sep 2013 10:09:45 +0000 (6 12:09 +0200)]
bnc#779642 VML import: import result of sdt fields
We can't have e.g. placeholder fields on drawinglayer rectangles, but at
least the result of the field is now imported.
Change-Id: I135f205c4231645f11f824495993c4dbea4135ed
(cherry picked from commit
3847de4b724f4f435bb68bceef9a5e187c3f363c)
Miklos Vajna [Mon, 1 Jul 2013 11:59:47 +0000 (1 13:59 +0200)]
bnc#779642 fdo#46361 oox: handle w:color for groupshape textboxes
Change-Id: Ifcbf622a04a4b3f06d95c079d5e13ec3f505268f
(cherry picked from commit
ef53d4aec2a3d690de2c7cdaf73ca95bbe29a433)
Miklos Vajna [Mon, 1 Jul 2013 14:47:56 +0000 (1 16:47 +0200)]
bnc#779642 fdo#46361 oox: handle w:jc for groupshape textboxes
Change-Id: I21391d9a9f5b5173b599006287b33fdaab3c0c75
(cherry picked from commit
5a737fca37cd5a5f90aa03a30688d447677d3b8a)
Conflicts:
oox/inc/oox/vml/vmltextbox.hxx
Miklos Vajna [Mon, 1 Jul 2013 10:05:23 +0000 (1 12:05 +0200)]
bnc#779642 fdo#46361 oox: handle w:br for groupshape textboxes
Change-Id: Ib78891614256b197cefbe766a4a4a9c76219f1cf
(cherry picked from commit
b1f78c44c1acc246f06a963383232c9bf649a06b)
Miklos Vajna [Mon, 1 Jul 2013 10:20:09 +0000 (1 12:20 +0200)]
bnc#779642 fdo#46361 oox: handle multiple w:p for groupshape textboxes
One testcase had to be adjusted, as it seems previously we stripped all
newlines at the end (I consider that as a bug), and now we only strip
the last one (so the resulting number of paragraphs on the shape and in
the source document equal).
Change-Id: Ic22b96c2992b53c72e2609e2286622173b86065c
(cherry picked from commit
f24e4c74d7d6a7d95090c6fa6a584fed7787706c)
Miklos Vajna [Thu, 5 Sep 2013 12:24:02 +0000 (5 14:24 +0200)]
bnc#779642 VML import: fix TextHorizontalAdjust when layout-flow is vertical
The shape had no special properties about hori/vert text adjustment, so
it should be hori left / vert top. Then it has vertical layout-flow, so
vert should be top and hori should be right (vert was center).
Change-Id: Ia89d8587b6a822ead45198dc5d1ba23907cc3567
(cherry picked from commit
b10afb26296e33c77e94a6eda3f2c36c4d34c2aa)
Andras Timar [Tue, 3 Sep 2013 17:59:08 +0000 (3 10:59 -0700)]
Bump for 4.0-13
Change-Id: I9dfce7d5ece26409172d6e2e8cdd8aaa966e637a
Miklos Vajna [Tue, 3 Sep 2013 09:52:51 +0000 (3 11:52 +0200)]
fdo#68607 bnc#816593 DomainMapperTableHandler: don't always start a frame
This is a port of commit
8fe8bd6c3b5b1a539b7370f8c457fa69c061d2de
"Related: fdo#61594 SwWW8ImplReader::StartApo: don't always start a
frame" from the WW8 filter to the DOCX one.
(regression from
edc4861a68e0269b83b17e0ec57912a1ce4220ad)
(cherry picked from commit
78d1f1c2835b9fae0f91ed771fc1d594c7817502)
Change-Id: If1bb4a8a3786aacd618585cf859b57ce9be85c51
Miklos Vajna [Mon, 2 Sep 2013 08:27:49 +0000 (2 10:27 +0200)]
bnc#816593 DOCX import: ignore page breaks in tables
(cherry picked from commit
7d3778e0ef9f54f3c8988f1b84d58e7002d6c625)
Conflicts:
writerfilter/source/dmapper/DomainMapper.cxx
Change-Id: Ibb250148d41d1929fa17dd993bb71c93c0e09dcf
Conflicts:
writerfilter/source/dmapper/DomainMapper_Impl.cxx
Miklos Vajna [Thu, 29 Aug 2013 12:17:09 +0000 (29 14:17 +0200)]
bnc#816593 DOCX filter: import paragraph spacing from table style
(cherry picked from commit
17e904ed66c3caf87e658b9d3a18d7b13f4a0b52)
Change-Id: I9dce59ecd8a2d2bfadb8c7273cd46c6c0cf17774
Miklos Vajna [Tue, 3 Sep 2013 13:23:46 +0000 (3 15:23 +0200)]
bnc#816593 DOCX import: fix auto table width wrt nested tables
This is a backport of the fix + 3 other commits from master, which were
needed to make the testcase pass on -4-1 as well.
(cherry picked from commits
74c5ed19f430327988194cdcd6bdff09591a93fa,
824cc4bf4ae9035d4108e8da8e81eb57284f0b54,
53d27a30ce5f2c9f7d37a4089286116854c16215 and
76d1ca523ddcf89cc269fe51c70e66066943ef5a)
Change-Id: I62a1f526cf1d4e4056daa1495d61f1b9f5c0b1b2
Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
writerfilter/source/dmapper/DomainMapperTableManager.cxx
Pierre-Eric Pelloux-Prayer [Fri, 11 Jan 2013 16:40:39 +0000 (11 17:40 +0100)]
bnc#816593 docx import: fix incorrect nested table margins
Change-Id: I07f0f47fcbd3d463d7831820cde338d8d59d9b68
(cherry picked from commit
194ba3a2cacbb5438dfcb8fb35167055e01ca251)
Miklos Vajna [Wed, 28 Aug 2013 09:43:36 +0000 (28 11:43 +0200)]
bnc#816593 DOCX import: let w:before not overwrite w:beforeAutospacing
And do the same for w:after / w:afterAutospacing. The spec says that if
w:beforeAutospacing is read, w:before should be ignored, this implies
that if we already had w:beforeAutospacing, w:before should not
overwrite the already existing top margin.
(cherry picked from commit
de516780bf2d5f74afe643033bfc528c53013902)
Conflicts:
writerfilter/source/dmapper/DomainMapper.cxx
Change-Id: I9437cb5c6fc352a360e27aa279d0a789706c5578
Miklos Vajna [Wed, 28 Aug 2013 09:24:07 +0000 (28 11:24 +0200)]
bnc#816593 DOCX import: fix auto para spacing without compat option
Paragraph auto spacing (before and after) without the
w:doNotUseHTMLParagraphAutoSpacing compat option was incorrect.
(cherry picked from commit
279ff2e03371542d014bf281e73282ba8080cf6b)
Conflicts:
writerfilter/source/dmapper/DomainMapper.cxx
Change-Id: I56d6153f7c489de7fceaf6fab7325c42ee8f9cae
Petr Mladek [Thu, 29 Aug 2013 13:41:59 +0000 (29 15:41 +0200)]
make the tinderbox information more reliable in the about dialog (fdo#58034)
Pass the information via config/config_buildid.h. Then
cui/source/dialogs/about.cxx will get rebuilt also in the incremental build.
Also allow to set EXTRA_BUILDID also via environment variable. This is much
easier with tinderboxed that work with static autogen.input.
Change-Id: Ic0b0d13f031c988c096bfd4533e650e245a0ad74
Reviewed-on: https://gerrit.libreoffice.org/5680
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Miklos Vajna [Mon, 26 Aug 2013 09:35:48 +0000 (26 11:35 +0200)]
bnc#834035 DOCX export: fix hyperlinks of illustration index
We used to export raw Writer bookmarks, but that's not valid in OOXML.
Instead, it has normal bookmarks around the sequence fields, so use them
if they are available.
Change-Id: I0ef2ff7967c2802b53752c9505ef6db4cc2b8265
(cherry picked from commit
e9275c08acc2f4f1c925f78b56a1089515cd9a37)
Conflicts:
sw/source/filter/ww8/docxattributeoutput.cxx
Miklos Vajna [Mon, 26 Aug 2013 09:05:04 +0000 (26 11:05 +0200)]
bnc#834035 Introduce msfilter::util::findQuotedText()
This was in writerfilter, but we'll need it soon in sw as well, so move
it down to msfilter.
Change-Id: I8efe02b6bbe8f391d9e14857ed58dbae184d5632
(cherry picked from commit
750f0ebf97d19d1cf305dabe72d52ad6e90adf70)
Conflicts:
include/filter/msfilter/util.hxx
writerfilter/source/dmapper/DomainMapper_Impl.cxx
Jan Holesovsky [Thu, 22 Aug 2013 07:40:22 +0000 (22 09:40 +0200)]
bnc#835985: When printing handouts using the default, 'Order' did not count.
"Left to right, then down" was the same as "Top to bottom, then right"
when printing handout; set the 6 pages explicitly as the default.
Change-Id: I4a5f58c8fcf2efdc85ad7bb23bde791c5fb87584
Andras Timar [Thu, 22 Aug 2013 08:16:54 +0000 (22 01:16 -0700)]
Bump for 4.0-12
Change-Id: I2289f47a27d50c0f6949d8f8b2a5ea38b943d4fe
Muthu Subramanian [Thu, 15 Aug 2013 12:11:26 +0000 (15 17:41 +0530)]
n#831457: Placeholders text size is not correct.
Placeholders (or shapes without text imported from
the files) have wrong font size. This is because the
size (and probably other text attributes) aren't applied from
the mastertextlist to the shape itself.
Andras Timar [Fri, 9 Aug 2013 12:47:44 +0000 (9 05:47 -0700)]
Bump for 4.0-11
Change-Id: I4c2d47065d945050a20a01d1d03cd1d0092aa2d3
Noel Power [Thu, 15 Aug 2013 15:23:46 +0000 (15 16:23 +0100)]
fix for bnc#834705 missing drop downs for autofilter
After commit
fc861c7088e9b639a1c2c80f8ba4535c798aeb34 there is now an order
dependency, between any ScPatternAttr flags indirectly set and
SheetDataBuffer::finalizeImport which sets the attributes directly for a column
So the ATTR_MERGE_FLAG that has ScMergeFlagAttr ( and associated
SC_MF_AUTO flag ) is scrubbed when by the direct writting of the attribute
from SheetDataBuffer::finalizeImport -> Document::SetAttrEntries
I've reordered that Table import here and split the finalize ( which happens
before heetDataBuffer::finalizeImport ) so that the databaseranges which were
created before sheet import still happens, the autofilter part of the import
is now deferred ( until after SheetDataBuffer::finalizeImport )
Change-Id: I11bb45ee7b330760fd93ecca30b23399414ac3a7
Luboš Luňák [Wed, 14 Aug 2013 13:10:34 +0000 (14 15:10 +0200)]
w:spacing in a paragraph should also apply to as-char objects (bnc#780044)
Otherwise global w:spacing will be used even if overriden locally.
Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
writerfilter/source/dmapper/DomainMapper_Impl.cxx
Change-Id: I01f0a3a323566f6e29faf73bf9d2ba874565eb42
Cédric Bosdonnat [Fri, 31 May 2013 08:51:47 +0000 (31 10:51 +0200)]
n#816593: docx consecutive tables with different tblpPr needs to be split
When importing docx with 2 <w:tbl> following each other, we have 2
possible behaviors: either merge them as one table as we did before or
split them into two tables. The tables need to be split if they have
different floating position properties.
This required the ooxml tokenizer to repeat the table properties for
each row of the table: or how would we know we don't need to split the
table?
The basic idea behind this hack is to temporarily store the table
position and table properties before saving them. Thus we can compare
them at the end of the row and decide to split the table or not.
Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Change-Id: I2e3e70dfe7386090fe356575ee9d0e81aa031dc4
Miklos Vajna [Thu, 8 Aug 2013 10:04:36 +0000 (8 12:04 +0200)]
bnc#823651 WW8 import: fix paragraph style in empty first page header
The problem was that the first page SwFmtHeader / SwFmtFooter wasn't
created in case the header/footer text was empty, even if fTitlePage was
set.
(cherry picked from commit
4bc063090c06f0c34980a3852f684b42ab25c501)
Conflicts:
sw/qa/extras/ww8import/ww8import.cxx
Change-Id: I5e58419161bcc663e2beb0338b95877469e0fd3c
Luboš Luňák [Mon, 22 Apr 2013 16:06:26 +0000 (22 18:06 +0200)]
avoid crash when no table grid is given
The document may contain just <w:tblGrid/> and <w:tblW w:w="0" w:type="auto"/> .
It appears we do not handle the auto width properly at all, but at least don't crash.
Change-Id: Ibdc9d1ad69c13456acd347a151ec8739bcb98855
Miklos Vajna [Mon, 5 Aug 2013 15:08:20 +0000 (5 17:08 +0200)]
fdo#67498 RTF import: fix missing margins vs continuous section breaks
The document had 3 sections, separated by continuous section breaks.
Previously only margins from the last section were imported, this way
the first page had default margins.
Now margins are also applied when we hit continuous section breaks. This
way margin values from the last section break affecting the page wins. A
later commit could improve this further by setting the minimum of these
and setting a section margin for each non-minimal sections.
Change-Id: I4d9a4585e795220533909bd1d467d933caaa0d71
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
Andras Timar [Wed, 7 Aug 2013 12:35:39 +0000 (7 05:35 -0700)]
Bump for 4.0-10
Change-Id: I2122ef126835822b29f6eff2c36c9380b9676a79
Luboš Luňák [Tue, 6 Aug 2013 15:02:42 +0000 (6 17:02 +0200)]
compatibility setting for MS Word wrapping text in less space (bnc#822908)
The document itself is stupid and uses a SURROUND_THROUGH object with a number
of empty lines that make it act is if it in fact was SURROUND_NONE, rather
than actually disabling wrapping for the object and be done with it.
But the difference was that Word still managed to fit those empty lines
next to the object into the little space that was there, while LO already
considered the space too small. So keep a compatibility setting for Word
documents in order to avoid problems with such lame documents and hopefully
that's enough.
Change-Id: I7d17b90de381fd86914ce5efd9c5a29fe4850edc
Miklos Vajna [Fri, 26 Jul 2013 14:50:07 +0000 (26 16:50 +0200)]
fdo#66474 DOCX import: fix handling of mixed fixed/auto cell widths
Instead of checking if any cells have fixed width, check if all calls
have fixed with. Regression from
74c5ed19f430327988194cdcd6bdff09591a93fa.
Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Change-Id: I58d3d16cbaa2c54a8a1ac309910336c72dcb39b7