Age | Commit message (Collapse) | Author |
|
Avoid a (presumably bogus) warning produced by gcc 4.7 and 4.8, at least those
in the Android NDK, in an optimising compilation. As such the code probably
was OK, even if a bit ugly and suboptimal, as it doesn't seem to be sure
whether various buffer lengths should be hardcoded or can be variable, etc.
Change-Id: I29790cb7a9cb65735e4ebb9a1a198f8575282ecf
|
|
Change-Id: I5c98b96b77b1366884bdc593cf29d32d4e60de7b
|
|
Change-Id: Ibae83ef39dec7270c287ee04e38efa0bc5af48ac
|
|
Change-Id: I44407a15ca338bc7a24b5de8f8a60ad4e4f2b03d
|
|
This enables saving of MS 2007 spreadsheet documents with a password.
The encryption used is the same as used in Office 2007 (however
different than in Office 2010 and 2013 which use "agile" encryption).
Change-Id: I3539e811d95b6f9178246ab269d13bb385a48bd2
|
|
Change-Id: I7892224a118b6566e26b3ffc472c88f3c7f58620
|
|
Change-Id: I37f0081ae0a8af838c9f5bf158b340d726d7d1a3
|
|
1) The timezone correction was inverted.
Imagine we are parsing "2004-03-02T14:18:20+02".
Before correction, aOslDTime contains "2004-03-02 14:18:20".
According to the comment, we want to convert that to UTC
time, so we have to *subtract* 2 hours, not *add* two hours.
From http://www.w3.org/TR/NOTE-datetime:
A time zone offset of "+hh:mm" indicates (...) a local time zone
which is "hh" hours and "mm" minutes *ahead* of UTC.
So if it is 14:18:20 in the timezone two hours ahead of UTC,
it is two hours *earlier* in UTC, namely 12:18:20,
and we need to *subtract* two hours, not *add* two hours.
2) Handling of fractions of a second was buggy:
It reads only one digit after the dot. This could be a valid
implementation decision to handle only deciseconds. However:
1) It then multiplies that by 10^9 (10e8 == 10*10^8, not 10^8!),
and sticks that in the NanoSeconds field... That is 10 times too big:
0.3s == 3*10^8 ns
2) If there were additional digits, it then looks for the timezone
offset specificator (beginning with '+' or '-') at these additional
digits; it does not skip them: nOptTime is set to 0+3+2, i.e. to 5.
Change-Id: I4738dc069e37f29c8bbd9e689689a933027af840
Reviewed-on: https://gerrit.libreoffice.org/4743
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
|
|
Change-Id: Ib75f2e5e0d77b5a65c6d3d75e7dd477251948bcc
|
|
Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
|
|
Change-Id: I8230a80b6a530b172e02a08a1a4dd201f533670a
|
|
|
|
Also, contains implementation for a simple duotone filter.
|
|
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Change-Id: I0e9fa5e73e802f85f02c3fcc5c276ed0c1cb2a58
|
|
The shapes have detectmouseclick="t" for some reason, leading to the v:fill
tag being written, but the default is solid fill, so if there's otherwise
actually no fill, explicitly say so.
Change-Id: I2a8d24ce4d0da1082b4eefbad0db51e2e6fe1bc9
|
|
Add IsUTC member to:
com.sun.star.util.DateTime
com.sun.star.util.DateTimeRange
com.sun.star.util.Time
Add new stucts with explicit time zones:
com.sun.star.util.DateTimeWithTimezone
com.sun.star.util.DateWithTimezone
com.sun.star.util.TimeWithTimezone
Adapt the sax::Converter to read/write timezones, and fix the unit test.
Everything else just uses default (no time zone), this commit is just
to fix the API.
STRUCT: /UCR/com/sun/star/util/DateTime
nFields1 = 7 != nFields2 = 8
Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/DateTimeRange
nFields1 = 14 != nFields2 = 15
Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/Time
nFields1 = 4 != nFields2 = 5
Registry2 contains 1 more fields
Conflicts:
sc/source/filter/oox/unitconverter.cxx
Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18
Reviewed-on: https://gerrit.libreoffice.org/4833
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
If no LanguageTag instance is at hand use the static methods to convert
between BCP 47 string, Locale and MS-LangID instead of creating
temporary instances.
Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
|
|
Change-Id: I859eaaba3c852127422bd0d0e0db0f9bd62e0d55
|
|
Change-Id: I06d48669804d2ae99c47a0df1ed3c6f45c87a57e
|
|
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Change-Id: I32db54e2c49b40bf41005baeba380a4f631d615a
Reviewed-on: https://gerrit.libreoffice.org/4780
|
|
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb
Reviewed-on: https://gerrit.libreoffice.org/4753
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
|
|
|
|
When the import with xlsx ranges fail - try with
internal data table.
|
|
Change-Id: I904142622ac37b394ddedf62bb7d9c099fc9cab4
|
|
Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
|
|
...in files generated by gperf; an alternative could be to use -isystem instead
of -I in gb_Library_use_custom_headers.
Change-Id: I316684ab5342977655a5642903b13e127adaf95c
|
|
Change-Id: Ic4f1e424b130fd2ccca379adbe0a66836b6cac41
|
|
Change-Id: Ia33b811d56fe5ad5e7e844b3e1c1c25ece0b5396
|
|
This reverts commit 40aceaae06a354958d6ecf88292bb0fd483f158b.
It's dc:language ...
|
|
Change-Id: Idd84ce9740de179c399702f896b7d39ab321f6f7
|
|
Change-Id: I6e8ad53f769939fd7f7539514ca20374e5fd9248
|
|
Change-Id: I16c1f5ba5a74858f01f5e62af2614beba608ef8c
|
|
Change-Id: I682b35f0793f5fc61daa255bb68a60e164133d97
|
|
Change-Id: Ief663d886b08fc141dfb7563674504fe70f444b3
|
|
In theory, this is a problem because Word formats only support AT_CHAR
and AS_CHAR, so importing something as AT_PAGE is buggy.
In practice, this also leads to unvisible shapes, since
f0d001a378c64ea457e722266e60c96522c72e9b.
Change-Id: Ie730d67a789ef12734cede1f9b6c27764a66f237
|
|
Change-Id: I5ec993a6aba0c0bb3b9f77ef6fb9e00680dfa574
|
|
Change-Id: I065742bbe22f24169a99e33558399fe16c601238
|
|
|
|
Trendline support at exporting in OOXML was missing. Add support
for exporting regression type and properties and additionally
line properties. The only missing are working dashed / dotted lines
which are currently kind of "broken" for all lines.
Change-Id: Ib7574e58febeb70f2a488db3546b74807c14df14
|
|
Change-Id: Ie6501ed3b3431e187f8f0b83654e84438566ccd5
|
|
Change-Id: Ifcbf622a04a4b3f06d95c079d5e13ec3f505268f
|
|
Change-Id: I21391d9a9f5b5173b599006287b33fdaab3c0c75
|
|
Change-Id: Ib73d17fd8c9325f7f062d4a15b655e36b84bd351
|
|
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
|
|
Change-Id: Ib78891614256b197cefbe766a4a4a9c76219f1cf
|
|
For some functions and all kinds of Exceptions.
CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException
createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService
bash command:
for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
| cut -d ':' -f1 | sort -u
| xargs sed -i
-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
-e "s/\($i.*\)\"+ /\1\" + /g";
done
Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I882bd9082ef3ed230b34c029b069057793f87197
|
|
there are a lot more of them:
git grep 'createFromAscii[^)]*"'
Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
|
|
follow-up of a7674482254ee996b1c4fee60f3064778be369aa
Change-Id: I25f40c601454c092078307d931333af1bc1447ac
|
|
Change-Id: I189fe3635f94fdd6b91bd7930c7abf02e70368aa
Reviewed-on: https://gerrit.libreoffice.org/4581
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
|