Age | Commit message (Collapse) | Author |
|
The value written for an Impress time field is something like
text:time-value="0000-00-00T23:28:07" (in LO 3.5+) or
text:time-value="0-00-00T23:28:07" (in OOo 3.3) which contains an
invalid all-zero date. Such values are actually rejected by the
ODF import since commit ae3e2f170045a1525f67e9f3e9b7e03d94f2b56b.
Actually there was no real support to read the RelaxNG type
timeOrDateTime before.
So fix that by:
- adding convertTimeOrDateTime/parseTimeOrDateTime functions to
sax::Converter
- recognizing and ignoring the 2 invalid all-zero values written by
LO 3.5 and historic OOo respectively
- writing a bare "time" in text:time-value if the DateTime struct
contains zero Date members
(Older OOo versions and AOO cannot actually read that, but everything
they _can_ read is invalid ODF...)
Change-Id: I754076caee74a5163ed3f972af0f23796aa14f9f
|
|
Change-Id: I243ec20015beec6b98ee0af55eb7c387008f32f1
|
|
Change-Id: Ibfd9bf626a40c3ec4eb18d09944e8943163595c8
|
|
Useful when we just need to check if the stream has a certain namespace
defined. Calling getNamespaceURL() may throw SAXException in such case.
Change-Id: Ib2b7b202492390158270d87bab95d1793c9d8a70
|
|
Change-Id: I356b26947d1018276d8a9ff6012fdad3ca2c0fd8
|
|
Change-Id: I8368698e80e5ebe339b822a9e0e767e8ba867e07
|
|
|
|
No need to fetch string size with this change.
Change-Id: Iae5f6c60430fc57985a0fec5bfec59727e5a8f0f
|
|
In SheetDataContext::importCell().
Change-Id: I52db64219f672ea5fbbda17686bf1173ceac5926
|
|
Change-Id: I596bbc723558f04588d9e767d64732164524e57a
|
|
Change-Id: I99a39e91c684adb1fc92cdb466477cfa90104961
|
|
Change-Id: I54bf5ba4bb2e9ded32290da2db262a688856ff47
|
|
Change-Id: I57fcfd442d2b5815e7c07a9cbd660f3698168dee
|
|
Change-Id: I4879563fae3b85c68bbd1c4b260f9833848f4bda
|
|
This is also preparation to avoid OString internal usage.
Change-Id: If0ea36155d8ab3f5c91c2aafd6932fabeadadd41
|
|
Change-Id: I177584f6988cf3cb31c5508262d3907ef6be23d7
|
|
Change-Id: I9b50e53b131fc835e792c52de6560d77ac454be9
|
|
- fix interface of sax::Converter to allow passing time zones
(rename the parsing methods while at it to reduce pointless overloading)
- SfxDocumentMetaData supports DateWithTimezone and DateTimeWithTimezone
in user-defined properties
- add some ugly hacks to SfxCustomPropertiesPage to preserve existing
time zones (which are not displayed in UI currently)
Change-Id: Ice94112b9d79c285f80b5beda15f0ace91db97f3
|
|
|
|
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details
Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
|