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

            Bug ID: 161657
           Summary: [DOCX] LibreOffice shouldn't try to import the comment
                    style from DOCX files
           Product: LibreOffice
           Version: 24.2.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rafael.palma.l...@gmail.com

Created attachment 194823
  --> https://bugs.documentfoundation.org/attachment.cgi?id=194823&action=edit
Sample DOCX file

LibreOffice has now support for comment styles, which is great.

However, when importing DOCX files, LO shouldn't try to "import" or "guess" the
comment style from the DOCX file.

The problem occurs when we have line spacing in the DOCX file, so the comment
will now have line spacing as well, which is bad because the comment box is
usually small and spacing between lines is not desired.

We should either:
1) Not import line spacing attributes for comment styles of DOCX files, or...
2) When the file is DOCX, assume a default style created by LO on the fly,
maybe only using the same font from the standard style in the DOCX file

Steps to reproduce:
1) Open the attached DOCX file (this was created in Word)
2) Insert a comment
3) Write a comment that has multiple lines
4) Notice the spacing between the lines

Expected results:
There should be no spacing between the lines in de default imported comment
style

This is especially problematic when reading scientific papers and
dissertations, in which the default style almost always uses 1.5 line spacing,
and then the comments start having these 1.5 line spacings as well, which is
annoying because now in every DOCX I receive, I have to fix the comment style.

System info:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6b2aaaa6be71b1289521bd2ffd2d4abacecabb87
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

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

Reply via email to