Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I556904861e93a145cfe65f61218926851e4e8eb0
|
|
Change-Id: I971602ce562ae0e11be5ac7b4d1eefbd342b625c
|
|
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: Idc5974e5a2ec68e8f1b2312a88fab15092c82788
|
|
Change-Id: Iad5c4e05832128b5f41860cc4ae96f0472c37491
|
|
Change-Id: I5a5c52215b0177d663f0694515240c3f95a3ab40
|
|
Change-Id: Ie87c80383991dca84b4f6e2074c5c53567ded0b6
|
|
Adapt FastSaxParser so that it does not require XFastDocumentHandler.
Change-Id: I7af49752dfbb4b55b8dde094fe6b762bd179be78
|
|
Change-Id: I26bf8376d27f7fcbf8a83b7356d252dce9061fcb
|
|
Change-Id: I3b6080df1cf8c13b5c0781c34c7806ac3c2cfbc7
|
|
- 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
|
|
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>
|
|
Change-Id: Ie2726c7ec941a5690e053d39212d7f516e2c27ba
|
|
- nanosecond precision
- signed (allowed negative) year
Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.
Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
|
|
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
|
|
- replaced osl_trace with sal_info
- added new log areas to log-area.dox
Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591
Reviewed-on: https://gerrit.libreoffice.org/2010
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
|
|
Change-Id: I3ebaec3953f86e8f42937e29fad54bafe87900fa
|
|
Change-Id: Ic2bbde637fd0a074f89b5ffa7af6e87d7cb408c5
|
|
Change-Id: I49161e270eda68d693181c3fff578ba5511bc6d4
|
|
Change-Id: I4fa1168a06118066c72a66801d911a49653f425f
|
|
Change-Id: I4dfc20e0e577f986c626d4c4bab5b4e3214e4567
|
|
Change-Id: I598ea47ff02b15fdb1d7ff3992d2c660f5a41c95
|
|
Change-Id: I8fd9029f42159444e7bb56f89eeb83fdb3745732
|
|
Change-Id: Ib8a81edce168be5babd1bcd62746199de77c2ade
|
|
Change-Id: Ic6bdc9448509e6f8251709c22576cc10cf9b8eb2
|
|
Change-Id: I024296d1f71bd06837547cd8af3adc2cf2830b95
|
|
Change-Id: Ia65d1bef19ec02efbb5d7dd784d4cc48c3dd51f2
|
|
Change-Id: I6966191a3adde0af318021ce8eec910763c42585
|
|
Change-Id: Ib18e28cba03c7032e8a446449b2839e7b7534133
|
|
Change-Id: I8ee1142b2a68799a650f501e2fe491a5ed8d7a5e
|
|
Change-Id: I6613167703974d802d17d7fd8cdf0f552721c33c
|
|
Change-Id: If764eb4d87db93dc2907bc21fb1b9f10687a7ee4
|
|
Change-Id: I36de98025ec72230cd960191ab47ab39ce965cc5
|
|
Change-Id: I6c447bb3948566ad10d9935397089ed1fceac1da
|
|
Change-Id: I96296b75d7c1f131a96add9dd17dfbffa079e343
|
|
Change-Id: I459f7fd097a81ef5977974f52b0cc2c2f155a810
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Read dates with years consisting of less than 4 digits.
ISO 8601 specifies that years are to be written with a minimum of 4 digits.
However, be lenient in what we accept.
* Write years < 1000 with leading zeros to comply with ISO 8601 YYYY.
|
|
|
|
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;
- removed trailing whitespaces and (multiple) newlines
|
|
|
|
out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
|
|
|
|
|
|
Conflicts:
basebmp/prj/d.lst
basebmp/test/basictest.cxx
basebmp/test/makefile.mk
basegfx/inc/basegfx/basegfxdllapi.h
basegfx/inc/basegfx/tools/debugplotter.hxx
basegfx/inc/basegfx/tuple/b2ituple.hxx
basegfx/prj/d.lst
basegfx/source/numeric/makefile.mk
basegfx/source/polygon/makefile.mk
basegfx/source/range/makefile.mk
basegfx/source/raster/makefile.mk
basegfx/source/tuple/makefile.mk
basegfx/source/vector/makefile.mk
basegfx/test/basegfx1d.cxx
basegfx/test/makefile.mk
basegfx/util/makefile.mk
canvas/Library_canvasfactory.mk
canvas/Module_canvas.mk
canvas/prj/build.lst
canvas/prj/d.lst
canvas/source/cairo/cairo_canvashelper_texturefill.cxx
canvas/source/cairo/makefile.mk
canvas/source/tools/makefile.mk
comphelper/qa/string/makefile.mk
cppcanvas/Module_cppcanvas.mk
cppcanvas/inc/cppcanvas/cppcanvasdllapi.h
cppcanvas/prj/build.lst
cppcanvas/prj/d.lst
cppcanvas/source/mtfrenderer/makefile.mk
cppcanvas/util/makefile.mk
i18npool/source/search/makefile.mk
regexp/Library_regexp.mk
regexp/prj/d.lst
sax/CppunitTest_sax.mk
sax/Library_sax.mk
sax/prj/d.lst
sax/qa/cppunit/test_converter.cxx
sax/source/expatwrap/attrlistimpl.hxx
sax/util/makefile.mk
svtools/Library_svt.mk
tools/Executable_sspretty.mk
ucbhelper/prj/d.lst
ucbhelper/source/provider/configureucb.cxx
ucbhelper/source/provider/provconf.cxx
ucbhelper/util/makefile.mk
unotools/Library_utl.mk
unotools/Module_unotools.mk
unotools/Package_inc.mk
unotools/prj/build.lst
vcl/Library_desktop_detector.mk
vcl/Library_vcl.mk
vcl/Library_vclplug_gtk.mk
vcl/aqua/source/gdi/salprn.cxx
vcl/inc/aqua/saldata.hxx
vcl/unx/generic/gdi/salgdi3.cxx
|