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: I447218101e1791375273580a313dd54708303d7a
|
|
Change-Id: Ia6c481bbf5353db4c2801a53ae1455534c6978bd
|
|
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: Ie2cff194c1db5eaa992c4bcaaa06ec9a419d85a7
|
|
Change-Id: I4aec1d45edb47ea16adaa8d2ac23340b8f421bae
|
|
Change-Id: I6ffcb1561920eba2cbc3fa019431d84f07386570
|
|
Change-Id: I8368698e80e5ebe339b822a9e0e767e8ba867e07
|
|
|
|
Change-Id: I978a692fbf464b476811b445b16c7e1b0eec9e25
|
|
|
|
|
|
|
|
Change-Id: I3de69e2ae186ea1ae8f792588c04b4e799ce1331
|
|
Change-Id: I4c09aaa12b53181e50662de2721d170c195c7c86
|
|
No need to fetch string size with this change.
Change-Id: Iae5f6c60430fc57985a0fec5bfec59727e5a8f0f
|
|
In SheetDataContext::importCell().
Change-Id: I52db64219f672ea5fbbda17686bf1173ceac5926
|
|
Change-Id: I596bbc723558f04588d9e767d64732164524e57a
|
|
Change-Id: Icae96e2b64709b2a9aaf6a5576c29d9d5c8a9868
|
|
Change-Id: I2e7d482b29fc5859c32fa1731a5f1fd551509e88
|
|
Change-Id: I99a39e91c684adb1fc92cdb466477cfa90104961
|
|
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
|
|
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
|
|
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
|
|
Change-Id: Id6bed78d92eba52283a17ab3ca66e751c225e48d
Reviewed-on: https://gerrit.libreoffice.org/6423
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
|
|
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
|
|
Change-Id: Idc5974e5a2ec68e8f1b2312a88fab15092c82788
|
|
Change-Id: Iad5c4e05832128b5f41860cc4ae96f0472c37491
|
|
Change-Id: I9783f03e656049b4f3b7f0a26a7ae626db5a13f6
|
|
Change-Id: I6f4eac6103821227bc72de8c3bb0fb89a7a8bc9d
|
|
Change-Id: I5c9fca7f895b57fcfc5cdd8e5cbd879c74fbbf04
|
|
Change-Id: I2b0dd5a63d3a0d064c6431e01ad76fff111b67e6
|
|
Change-Id: I5a5c52215b0177d663f0694515240c3f95a3ab40
|
|
Determined by XInputStream::available().
Change-Id: I450f4796d9c072b395393582bfc3e1e7768e243b
|
|
Change-Id: I1e12fbeeb90d6020d0566d05fc0318082e1da5fc
|
|
Instead of allocating and freeing the memory all the time.
Change-Id: I53800abaca51d42d7d44a98fb271de7df7f90f58
|
|
Change-Id: I7fe1435addc6dce5a74a8411f7825cea331a5b3f
|
|
Instead of calling methods directly, generate EventList - vector of
Events, where arguments for the callee are stored.
Change-Id: I227a0ef3038566664ac8f294770152c8b445997b
|
|
Change-Id: Iee98ec92380d6d0404ab236e062ddbc2378cda43
|
|
Change-Id: I4879563fae3b85c68bbd1c4b260f9833848f4bda
|
|
This is also preparation to avoid OString internal usage.
Change-Id: If0ea36155d8ab3f5c91c2aafd6932fabeadadd41
|
|
Also remove AttributeData and make the two for-cycles faster.
Change-Id: If0343992173bb333eee39c33bcb86acaa5a3d288
|
|
Unfortunately, we have to store maNamespace in two stacks.
One for future parser thread to compute tokens and one for
main thread calling XFastContextHandler.
Now we are prepared to implement multithreading.
Change-Id: I421b55afa2e9ea80142e6068c7a515d31913ba69
|
|
This is preparation work for multithreading.
mnNamespaceCount will be handled in parser thread and the rest in main
thread.
Change-Id: I571026ea499f6876b8dafb4e1bdc56d1add649e5
|
|
Change-Id: Ie87c80383991dca84b4f6e2074c5c53567ded0b6
|
|
Adapt FastSaxParser so that it does not require XFastDocumentHandler.
Change-Id: I7af49752dfbb4b55b8dde094fe6b762bd179be78
|
|
Change-Id: I340ab40724cc864920cea05db63440803e60e275
|