To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49209
                  Issue #:|49209
                  Summary:|Setting the rotation of a text in a cell change the
                          |rotation of all the column
                Component:|api
                  Version:|OOo 1.1.4
                 Platform:|Other
                      URL:|
               OS/Version:|Windows XP
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|sw
              Reported by:|thoriredd





------- Additional comments from [EMAIL PROTECTED] Fri May 13 00:54:48 -0700 
2005 -------
The problem can be summarize with this steps:
- i create with the OOo Api and Java a document Writer with a table;
- i enter a text in a cell in the first row;
- then i change the properties of the cell/text with this code:
  XText xCellText=(XText)UnoRuntime.queryInterface(
                         XText.class,xTable.getCellByName(xCellName));
  XTextCursor xtc=xCellText.createTextCursor();
  XPropertySet xCursorProps=(XPropertySet)UnoRuntime.queryInterface
                            (XPropertySet.class,xtc);
  xCursorProps.setPropertyValue("CharColor",new Integer(0x000000));
  xCursorProps.setPropertyValue("CharFontName","Arial");
  xCursorProps.setPropertyValue("CharHeight",new Float(8.0));
  xCursorProps.setPropertyValue("CharWeight",
                                 new Float(com.sun.star.awt.FontWeight.BOLD));
  xCursorProps.setPropertyValue("CharRotation",new Short(900));
  xcell=xTable.getCellByName(xCellName);
  xPropsCell=(XPropertySet)UnoRuntime.queryInterface
                                     (XPropertySet.class,xcell);        
  xPropsCell.setPropertyValue("VertOrient",new
                               Short(com.sun.star.text.VertOrientation.CENTER));
  xPropsCell.setPropertyValue("BorderDistance",new Integer(75));
- all the property is ok, and is apply only at the cell but the rotation is
  apply also to all the cell under that i choose to modify, so all the text in
  the column in which there is the cell, is rotate!!!

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to