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

            Bug ID: 157124
           Summary: Frame Vertical Position Top/Bottom Reversed in
                    Properties
           Product: LibreOffice
           Version: 24.2.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
If a Frame's Position->Vertical property is set to "Top to Base line" then the
*bottom* of the frame is aligned with the bottom of adjacent characters outside
the frame; and if it is set to "Bottom of Base line" then the *top* of the
frame is aligned with the bottom of adjacent characters [which I assume is the
Base line].

So these settings might be reversed in the Properties dialog (or if correct in
the dialog then implemented backwards).

Please see attached screen shot.  The frame with green background has Vertial
Position set to "Top to Baseline".  The pink frame has it "Bottom to Baseline".
 As you can see, the bottom of the green frame and top of the pink frame are
perfectly aligned, and lined up with the bottom of adjacent characters (their
baseline).

Steps to Reproduce:
(Or just open the attached frame_align_demo.odt file)
1. In Writer, enter some text
2. Select a few characters, then Insert->Frame->Frame...
3. Set Anchor to "as Character"
4. Set Position-Vertical "Top to Base line"
   (optional) under Area, set a distinctive background color
5. Click OK
6. Repeat to create another frame but set Position-Vertical "Bottom to Base
line"

Actual Results:
The frame with "Top to Baseline" has it's *bottom* aligned with the baseline of
adjacent text outside the frame; and the frame with "Bottom to Baseline" has
it's *top* aligned that way.

Expected Results:
Seems refersed


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 78d9d0d8dccb6fd8952435b8a13d525c7606f467
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to