https://bugs.documentfoundation.org/show_bug.cgi?id=100525

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Justin L <[email protected]> ---
The idea is that the information comes from a variable - which excludes any
kind of formatting etc. (In fact, I have no idea how MS Word allowed this
"adres" variable to contain a carriage return because the UI doesn't seem to
allow it.)

However, in this case the data doesn't even exactly match the variable's
content, as can be seen (in MS Word) when pressing F9 with the field selected.
In this case, it becomes three lines long instead of four.

But yes, when pressing F9 on the field, MS Word still maintains several
paragraphs of content. So somehow the variable accepts carriage returns. In LO
those are stripped out and all the text becomes one long variable string. So
the first question is - can we import a \n into a variable string?

<property fmtid="{D5CDD505-2E9C-101B-9397-08002B2CF9AE}" pid="3" name="adres">
  <vt:lpwstr>
    Aan de Voorzitter van de Tweede Kamer der Staten-Generaal_x000d_Postbus
20018_x000d_2500 EA DEN HAAG_x000d_ _x000d_
  </vt:lpwstr>
</property>

And then secondly (and much less important), since the content doesn't match
the variable, how do we keep the displayed value and still maintain some kind
of connection to the variable behind it? (This happens in DOC's
read-only-field, but DOCX emulates as editable content field.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to