1. Set a variable with content "2008-xx/xx" and set it's type to TEXT
2. Show the variable - it works
3. Create page footer
4. Show variable in the footer
5. save and exit
6. open document again
7. you will notice that the variable in footer is showed as "2008" instead 
"2008-xx/xx". 
If you right click on this field and select "Field..." you see that it is set 
to be displayed as TEXT, yet it is displayed as FLOAT.

when analyzing OFD's xml, then we see that normal fields are in
content.xml  but the footer one is in styles.xml and it is:

<style:footer><text:p text:style-name="Standard">Display3: 
<text:variable-get text:name="nr" office:value-type="float" 
style:data-style-name="N0">2008</text:variable-get>
</text:p></style:footer>

is this   office:value-type="float"    correct?

Attached testcase ODT


** Attachment added: "open office show variable in footer bug testcase odt"
   http://launchpadlibrarian.net/15362260/bug_variable_2.odt

-- 
problems with set and show variable. after change, the variables is showed 
displayed incorrectly (blank field)
https://bugs.launchpad.net/bugs/179230
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to