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 2015/04/15 23:21:50 UTC

[Issue 126245] New: XCell vertical alignment without effect

https://bz.apache.org/ooo/show_bug.cgi?id=126245

          Issue ID: 126245
        Issue Type: DEFECT
           Summary: XCell vertical alignment without effect
           Product: App Dev
           Version: 4.1.0
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: major
          Priority: P5
         Component: api
          Assignee: issues@openoffice.apache.org
          Reporter: schorschlan@gmx.de

Created attachment 84658
  --> https://bz.apache.org/ooo/attachment.cgi?id=84658&action=edit
Screenshot

The cell property "VertJustify" for XCell has no effect.

Example:
xCell = xSheet.getCellByPosition(col.colIndex, col.rowIndex);
xPropertySet = UnoRuntime.queryInterface(XPropertySet.class, xCell);
xPropertySet.setPropertyValue("VertJustify", CellVertJustify.CENTER);

The cell property of the generated sheet always has the vertical alignment
value "Standard".(see attachment)

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

[Issue 126245] XCell vertical alignment without effect

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

oooforum <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |IRREPRODUCIBLE
           Severity|major                       |normal
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from oooforum <oo...@free.fr> ---
You mentionned an older version.
Upgrade with latest build.

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

[Issue 126245] XCell vertical alignment without effect

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

oooforum <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oooforum@free.fr

--- Comment #1 from oooforum <oo...@free.fr> ---
Created attachment 84659
  --> https://bz.apache.org/ooo/attachment.cgi?id=84659&action=edit
Not reproduce with AOO 4.1.1 and Win7 x64

Vertical alignment works as expected

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

[Issue 126245] XCell vertical alignment without effect

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

--- Comment #3 from mroe <mr...@gmx.net> ---
(In reply to schorschlan from comment #0)

> The cell property "VertJustify" for XCell has no effect.
> 
> xPropertySet.setPropertyValue("VertJustify", CellVertJustify.CENTER);

Try
xPropertySet.setPropertyValue( "VertJustify",
com.sun.star.table.CellVertJustify.CENTER )

and use Option Explicit to find errors.

Please ask at user forums first.

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