You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/05/29 05:09:37 UTC

[Bug 119476] New: [From Symphony]]Words display incorrectly if the linespacing is set into little than font size in .doc file

https://issues.apache.org/ooo/show_bug.cgi?id=119476

          Priority: P3
            Bug ID: 119476
          Assignee: ooo-issues@incubator.apache.org
           Summary: [From Symphony]]Words display incorrectly if the
                    linespacing is set into little than font size in .doc
                    file
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: louqingle@gmail.com
          Hardware: PC
            Status: CONFIRMED
           Version: AOO341
         Component: formatting
           Product: word processor

Created attachment 77666
  --> https://issues.apache.org/ooo/attachment.cgi?id=77666&action=edit
sample file

build: Aoo 3.4

the sample file cannot display correct in Aoo 3.4

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

[Bug 119476] [From Symphony]]Words display incorrectly if the linespacing is set into little than font size in .doc file

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119476

zjchen <zj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78402|                            |review?
              Flags|                            |

--- Comment #4 from zjchen <zj...@gmail.com> ---
Created attachment 78402
  --> https://issues.apache.org/ooo/attachment.cgi?id=78402&action=edit
patch for i119476

adjust paragraph line spacing and above paragraph spacing steps:
1.select text
2.choose format->Paragraph
3.choose Indent&spacing tab
4.modify spacing (above and below) and line spacing

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

[Bug 119476] [From Symphony]]Words display incorrectly if the linespacing is set into little than font size in .doc file

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119476

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |orw@apache.org

--- Comment #5 from Oliver-Rainer Wittmann <or...@apache.org> ---
I have reviewed the patch and checked it.

It works fine, but I think we need some further improvements:
(1) To determine, if more space is available for the first text line, only
looking at the attribute is not enough. I will have a deeper look for an
improved solution.
(2) There are some painting errors when deleting or inserting characters. These
needs to be resolved from my point of view.

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

[Bug 119476] [From Symphony]]Words display incorrectly if the linespacing is set into little than font size in .doc file

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119476

zjchen <zj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zjchencdl@gmail.com

--- Comment #2 from zjchen <zj...@gmail.com> ---
Seems that the paragraph line spacing feature difference cause text display
incorrectly. If I manually adjust the line spacing to a larger value. The text
will not be clipped.

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

[Bug 119476] [From Symphony]]Words display incorrectly if the linespacing is set into little than font size in .doc file

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119476

Marcus <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|AOO341                      |AOO340

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

[Bug 119476] [From Symphony]]Words display incorrectly if the linespacing is set into little than font size in .doc file

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119476

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78402|review?                     |review-
              Flags|                            |

--- Comment #6 from Oliver-Rainer Wittmann <or...@apache.org> ---
Comment on attachment 78402
  --> https://issues.apache.org/ooo/attachment.cgi?id=78402
patch for i119476

just trying to use Bugzilla workflow:
marking review request with "-" according to the result of my review - see
comment 5
(1) improvement regarding space calculation needed from my point of view
(2) correction of paint error needed from my point of view

I will take care of (1)

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

[Bug 119476] [From Symphony]]Words display incorrectly if the linespacing is set into little than font size in .doc file

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119476

--- Comment #1 from louqle <lo...@gmail.com> ---
Created attachment 77667
  --> https://issues.apache.org/ooo/attachment.cgi?id=77667&action=edit
snapshot

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

[Bug 119476] [From Symphony]]Words display incorrectly if the linespacing is set into little than font size in .doc file

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119476

--- Comment #3 from zjchen <zj...@gmail.com> ---
I have found the problem is that there is different text clipped mechanism
between AOO & MS Word. In MS Word, if the line spacing add paragraph before
spacing is enough to display text, it does not clipped text in paragraph. While
in AOO, it just consider the line spacing as the condition to determine whether
clipped the text in paragraph.

see the method <SwTxtFormatter::CalcRealHeight(..)> in
main\sw\source\core\text\itrform2.cxx Line 1756 for more detail.

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