diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-03-07 20:01:38 +0100 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-03-08 17:51:00 +0100 |
commit | ec1b9bfd9b444fcd3a3559ce1281b08afce19362 (patch) | |
tree | f81479e8a4ba4c6eb648fb5aa59fa957c3996e93 /store | |
parent | b2385830711ec700956869ace7670edd845a50df (diff) |
ooxml: fix export of empty date controls
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?
Diffstat (limited to 'store')
0 files changed, 0 insertions, 0 deletions