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

--- Comment #7 from [email protected] <[email protected]> ---
When (In reply to Buovjaga from comment #6)
> (In reply to [email protected] from comment #4)
> > Created attachment 195619 [details]
> > test case showing how merge fields are mutilated by libreoffice
> > 
> > Example file showing the issue. It contains 2 mergefields, one with a
> > "quotedstring", and another one with a long list of words.
> > 
> > Just opening it in Libreoffice, and saving it under a different name
> > mutilates both mergefields:
> > 
> > - "quotedstring" loses its quotes, and becomes quotedstring
> > - the other one is cut short after the first space, keeping only 0123, and
> > losing 456 789 abc def ghi
> > 
> > Mergedfields with quotes and/or spaces are useful for the xdocreport
> > template processor, and Microsoft Word preserves them just fine.
> 
> I opened the file in LibreOffice and office.com and it looks the same:
> 
> This is a test
> 0
> merge field 1
> 0
> 
> with the zeros being mail merge fields.
> 
> Saved under a different name in LibreOffice and opened in office.com, it
> still looks the same.
> 
> Help me out here, what exactly should I be observing in the document?

You can use Control-F9 to toggle between the display of the merge field and
what it expands to, both in Microsoft Word and Libreoffice. When viewing the
_definition_, you'll see that it is cut short from what is actually stored in
the docx file.

> 
> (In reply to [email protected] from comment #5)
> > problem still happens in 24.2.5.2 (btw, why can't I copy-paste this from the
> > About box?)
> 
> You mean you clicked the copy button to the right of "Version Information"
> and the info wasn't copied to your clipboard?

I couldn't select any text, the "About..." window wouldn't react at all to
dragging over it.

> 
> Arch Linux 64-bit
> Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: 77aa9c210ad79af443191860ee1a7233d2d007cf
> CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
> Locale: fi-FI (fi_FI.UTF-8); UI: en-US
> Calc: CL threaded
> Built on 2 September 2024

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

Reply via email to