Age | Commit message (Collapse) | Author |
|
Change-Id: I09f517a49507a2eb31118f88f31dc2ff8b03de6a
|
|
Change-Id: I2f857f564e100cc4cf6b885c5a8f96e506b4046f
|
|
The text contained in the <sdtContent> tag acts both as a help message
to the user and as the actual data; for example, Word 2010 is able to
set the date of the control from the text in the content if the
w:fullDate attribute in <date> tag is not set. For that reason we
should not use the sdtContent as the "HelpText" property of the
control in any case, only when it is empty.
The name of the parameter rDefaultText was modified to reflect that
string does not represent any default text, only the content of the
<sdtContent> tag.
Change-Id: Ic10334a949969ec8c7c3e25f73fb937a50ee0f7f
TODO: is it worth to internationalize the help text?
|
|
Export date controls as ooxml Standard Document Tags (SDT) instead
of replacing them with plain text.
SDT date controls contain the date in ISO format as an attribute of
<date> tag, a custom date format that can be specified by the user
in the <dateFormat> tag and the date formatted in that custom format
in the <w:sdtContent> tag.
The unit test testFormControl from ooxmlexport suite was removed,
it only checked if the date control was exported as text and it
obviously fails now. A new test that checks the values of the
exported control was written instead.
A pair of date format functions were added to datetimeutils.hxx.
TODO: to avoid supporting all the posible custom formats that can be
specified in the <dateFormat> tag, it is forced to dd/mm/yyyy on
export.
Change-Id: I9d1b6f840ee9e133831fdb04ad399fe31bcb2063
|
|
Date controls specified by <sdt> tags in docx documents were being
imported but the date was being discarded.
To import the date, we added an attribute to the CT_SdtDate resource
in the ooxml model file to be able to read the date ISO definition
contained by the fullDate attribute. We store it in the SdtHelper
class and we transform it in a Date when the control is created.
Change-Id: Iac2d4f99c31188848c109fafb54121bfcdde060d
|
|
Added a pair of functions to split a UNO DateTime object into the
corresponding Date and Time objects.
Change-Id: I6bf31d83b3843a9482d6bf538a5dd7130c2c7046
|
|
ISO8601 defines timezones with formats like 'Z', '+01', '-08:30' or
'+0830' at the end of the datetime string, but our parser was failing
when the string contained any timezone information.
I have modified the parser so it doesn't fail in case of the string
contains a timezone. Moreover, I check that the timezone definition is
correct according to the standard [1] and I extract it to the string
tokTz.
Unfortunately UNO Time class doesn't contain any field to store the
timezone, only the boolean field IsUTC, which I fill accordingly.
TODO: add a timezone field to UNO and fill it from the parser.
[1] https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators
Change-Id: I9d33b19efbc6d41a74b02ece2dfa12fa12fac5eb
|
|
Change-Id: Ib936712a8dd49a7130057aebf0ba529e65eb2c66
|
|
Change-Id: I21810eac9579b536017b8187497d04dbbc0109c6
|
|
Change-Id: I618fa64876dc27a3d3ced9281f1b02b97a983166
|
|
Change-Id: I80289d98a5ce58a539516d08d1fc37258ca97e52
|
|
Change-Id: I9454da6940f4d63f916e655b237d78fc701025e9
|
|
Change-Id: I9496ce4f5b5233e700aac0a46794e391929d7fbc
|
|
Change-Id: I1c171cf237927b7a118a947ea914407c06d4a863
|
|
Change-Id: Ia7c44a27679ee4f4deb6a99ac0f44d31c1f642a7
|
|
Change-Id: Id0e463abec7434ee1609071651dce16c9357f205
|
|
Change-Id: Id931c038f3715ea69a798de4b14b46dfa9d2afda
|
|
Change-Id: I1fa3a668d47190af3197801a4d99e135d50e2088
|
|
Change-Id: If6223276d2d45431a674047b9540d4ac3eb71395
|
|
Change-Id: Ib87eadad99285e19d73f4de58690de501084293c
|
|
Change-Id: I26e063cd1971d980583e884ca2f4e0ba9d9391ad
|
|
Change-Id: Ib4b94d2a7e429721299fd07db4bd7a97c7773c0d
|
|
Missing elements for gradient fill background export.
Change-Id: Ib3ed3b5e353d3b02dffa5c118e14fd2187bd924a
|
|
Missing percentage sign in type. The values of XML_d and XML_sp seem
insane.
Change-Id: If6762ed70d3536c0eeea3ee687991dad60f5e71e
|
|
Change-Id: I7937b154d0417876634711224ed5678eefa2654d
|
|
Change-Id: I3d700c439fa7112f391f464f744d6e0dcb8e43cf
|
|
Change-Id: I4f956cc9aeab0ad761076f25e920c79cdb75c115
|
|
Change-Id: Ieda9780452af21aef40b925eff6693b8098e91f7
|
|
Change-Id: I378df2ddfc0912610b5f0d674c2a76601f4440c8
|
|
Change-Id: I4dcb2a6e73b95054204e31a3a54eedad2689db2c
|
|
Change-Id: Ia846d279ea5a4d375f8eb3736a0aabd419a07382
|
|
Change-Id: Ib70c75e43ecf020fcb39696bddea414b0de9bbf7
|
|
Change-Id: I9c7ae289492e3ec8ada111a8dddfb5426ef22d30
|
|
Change-Id: I8e8406dab1bca2a3349043eecaca168ff9ac00fb
|
|
Change-Id: Ib6102579f8b7c8899322992919cc922393fe70d8
|
|
Change-Id: I099501a596ebeb2820192d08de80eae342191bb7
|
|
Change-Id: Ifa33978d9cb0bc26d33088973a898d606f14805d
|
|
Change-Id: Iaf6cd34a2ecbbce191aa81f18049f6ffe681fa45
|
|
Change-Id: Iccb78b59c3de9f29975d10fa4e34232cd3bf2cc3
|
|
Change-Id: I48e618355f97ac366db2337cdd0787b1b39ae46e
|
|
Change-Id: I94e03ce14fdcd7fde99992e57d9f30c75c6e8fa1
|
|
Change-Id: I50570ba37733ae700dca96e1175fcd2ac0c97333
|
|
Change-Id: I524fe7b4ac1cc9a78b2295ec27730dded415bd02
|
|
Change-Id: Iae5db52f8240d96528258cec944b08ea29ff6084
|
|
Change-Id: I235a5323ee0fd60aee03c691c0c7fdf6e6e4c08b
|
|
Change-Id: I5363aeccf469b70a76ee66f8f70dff1eb18cac52
|
|
Change-Id: Ida91761479f1f3685da56b6dc5adcdfd5eb70cdb
|
|
Change-Id: I1a85857299ceadf2d91ec74bd12cefb856311ccb
|
|
Change-Id: Id392c07f27f8f7d8b05b0604ccf7b9180a6eb6a8
|
|
Change-Id: I3c321b6008bccb4f67a023b34a5cf02d465b2909
|