Age | Commit message (Collapse) | Author | Files | Lines |
|
Workaround for the encrypted OpenOffice.org 1.0 documents generated by
Libreoffice <= 3.6 with the new encryption format and using SHA256, but missing
a specified startkey of SHA256
Change-Id: Ib1acc4441b5adc6721cb3cde7a1191aa978e9a1b
(cherry picked from commit 11ad93f4ba84f190c908e92a2c960f7a9fa800c0)
Reviewed-on: https://gerrit.libreoffice.org/6105
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
ScEditUtil::GetString() iterated over the paragraphs of an
EditTextObject where GetText() does not resolve field content but
returns the embedded field markers. To resolve field content an
ScFieldEditEngine is needed.
This makes it necessary to pass an ScDocument* to obtain the
ScFieldEditEngine from, or for cases where there is no ScDocument in the
context use a static ScFieldEditEngine which unfortunately is not
capable of resolving document specific fields of course, such as
DOCINFO_TITLE and TABLE.
Also added unit test.
(cherry picked from commit 1ecdc7aaf661e97a33cf521f553481d79cd26de2)
Conflicts:
sc/qa/unit/subsequent_filters-test.cxx
sc/qa/unit/ucalc.cxx
sc/source/core/data/column.cxx
sc/source/core/data/column2.cxx
sc/source/core/data/column3.cxx
sc/source/core/data/dociter.cxx
sc/source/core/data/table3.cxx
sc/source/core/data/table4.cxx
Change-Id: Ife3c23b2fec2514b32303239d276c49869786eb5
Reviewed-on: https://gerrit.libreoffice.org/5106
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
|
|
Change-Id: I033668dcdcdcc1a5710f2ddacadf9a1a5344638e
(cherry picked from commit 038d162b175b62d67a94d4418b3a15a1a382419d)
Reviewed-on: https://gerrit.libreoffice.org/5096
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
|
|
Change-Id: I95c3c1af64b7d8b499c085c345b26d2df7e31965
Reviewed-on: https://gerrit.libreoffice.org/4700
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
expand the existing borders import check to cater for xlsx ( and
testing for fine/hair border styles )
Change-Id: Ic5c3cd46e0049dbce9997f0881c4d98e0d64e00c
(cherry picked from commit 69dcacedaccd1d698a54eed615ee8739747bc975)
Reviewed-on: https://gerrit.libreoffice.org/4503
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
|
|
1) align excel binary and oox import filter border thickness values
2) use new fine-dash border style
3) detect & determine hair vrs fine borderline on export
also squashed relevant part of commit ee51444ed1f7003dafc93c8181b5f8c1b0fd165b
( fix borders unit test ( test values have changed ) )
Change-Id: Ieb024bc6f4bfc87c525082c7b9a1f3c444f5c5ca
(cherry picked from commit 1680a8cd4f4393ec15c4f85cb63b6654117d56d1)
Reviewed-on: https://gerrit.libreoffice.org/4493
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
|
|
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used
also in RTF import Calc and Writer, so that could benefit as well.
* changed all EditEngine,Outliner,... related paragraph index/count
variables from sal_uInt16 to sal_Int32
* sal_Int32 instead of sal_uInt32 to match accessibility API
* matched some Outliner methods' paragraph parameters from sal_uLong
to sal_Int32
* containers capable to hold size_t nevertheless are limited to a
maximum of sal_Int32
* changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to
SAL_MAX_INT32
+ added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize
ESelection with what previously were hard coded 0xFFFF all over the
place
+ for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL
to initialize an ESelection spanning all available text like
aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL)
Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00
Reviewed-on: https://gerrit.libreoffice.org/3838
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
|
|
Just to preserve the old (and correct) behavior.
Change-Id: I229e0b80097f6d70ff3023072b52576815010b15
|
|
For now, we'll only check whether or not those field items with formats
get imported at all. We should add additional checks for their formats
later.
Change-Id: I5a8f01a6e2594b8c97183a43fc4f3417df6fb561
|
|
Change-Id: I65f2cb12c06784b5bcf6c6a2fad773825b6c409c
|
|
Change-Id: I46b00d62d604ecc80f079cf91671de3c07a1b589
|
|
Change-Id: I6ce6292a490ef39c111aa7f4c0a5ada0d45c16bc
|
|
Change-Id: I0770d20911307ddd9426417314bebbe569660b14
|
|
Change-Id: I68ff1309c2769866c0821f7857f13103b8752cb5
|
|
Change-Id: Ie85f8efd520aaf4e10b560c637a74fbd9e25530b
|
|
Change-Id: Ida98e51a7f9970c7d4c845f5a6ac1566cbed9e3a
|
|
Change-Id: Ia5d29da921e53b8443541e5f69e2bbc7fd99edfa
|
|
Change-Id: I5fd08be86c68b788510d04ff6df6c3938c43e625
|
|
Change-Id: I56490efc131cb25baa279b6f8204cf8f5d3af8c4
|
|
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms
Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Done with a perl regex:
s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms
Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
FDO:60724
Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b
Reviewed-on: https://gerrit.libreoffice.org/2479
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Change-Id: I9fff386181a2be0bc83787c8b5aec9c1cb4db9c3
|
|
Change-Id: I639c2970b2a88ca3d5aa1dcd2ad4ec047b4a369c
|
|
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
|
|
If import of raw cell values doesn't work, all bets are off. Let's make
sure it does.
We'll add more test cases to this file as the need arises.
Change-Id: I1469c285e6e87056406415bd8c767890c153b2b5
|
|
Change-Id: Ic287228f578c9ecb0f69a47380c890e337203b31
Reviewed-on: https://gerrit.libreoffice.org/2078
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
|
|
from 84ae3c9853b7b90d7b859fd562dabc7b31e8deb8
Change-Id: I1768bfb7a68affe423485eff77b6005abde2e2a7
Reviewed-on: https://gerrit.libreoffice.org/2079
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I2086b724a6787838b9dd61c78d6943a1efa27a19
|
|
A cell when modified ( e.g. content deleted ) should have its row height
recalculated when the optimalheight attribute for that row is set.
Also tweaked the test framework to allow read/write files to be loaded, this
allows functions that modify the document content to actually work as intended
Change-Id: Ia929a194a96f5c8b870f9a49d1e27d0c34ba9c91
|
|
Moved old row test from export to qahelper in order that it can be shared with
the import only tests, also added some new test documents and test data for some
additional row height checking
Change-Id: I023844b8dba8935d4bcdaac7fd16496e99251d78
|
|
additionally rtl::OUString(Buffer) => OUString(Buffer) changes
Change-Id: Ibf93e8a3ed435fda42836c214b7faac6b3dda71e
|
|
Instead of having 3 of them.
Change-Id: I2de9b63c33b7362162a56ea391f8b68a468163fa
|
|
The old way was just plain wrong. Just test if the string is empty.
Change-Id: I4eba5e6941da5904c8ff99ab48ae5bef0d02e14e
|
|
The test now also tests for Err:* import and checks that these have been
imported as error values and not only as text values.
Future clean-up:
Merge the cached matrix test file into the cached value one.
Change-Id: I9c0a06f058ff6620bd7ca169b3bee07a5430997e
|
|
Change-Id: I8e5f8cb351792b53c89658074e41dff3a3c4d9db
|
|
Change-Id: I2167d1a2c7ea70415581caf29acf620e4b116e69
|
|
Change-Id: I6a507825252f316c8106ea4b856bf166a010c15b
|
|
Change-Id: I579694780b64e532b0e61017783bc4e72f8d2936
|
|
Change-Id: I5972a2805d8bc03b84a42fbba4b67923b3b77249
|
|
We need a new test case for this with a matrix that does not contain
cells with error values.
Change-Id: I7fb9efb5077cf6e43cbfd32c64274777d371b956
|
|
|
|
This reverts commit 92045e69dab8be60a1c84774f04c437066c3c2bf. Broke a
unit test and made all tinderboxes red.
Requested-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Thanks to Jean-Baptiste Faure for digging for these.
|
|
Change-Id: I23eb8d53b8a2c48514900a5ab07ed7ec71d3ef99
|
|
There was already a method that did the same thing (loadDoc). Let's
stick with loadDoc instead.
Also took advantage of automatic literal to OUString conversion while
I was at it.
Change-Id: I184f6278dd4bf8e3f2f7e5eda1e5e293303df68c
|
|
Change-Id: I332a39fe86fee385bcd2cce33fe2096043111472
TODO: Do this in the other tests as well.
|
|
Change-Id: I024d142b59ccceed944d641b6306f47dcf03ef9d
|