Reaper created ODFTOOLKIT-368:
---------------------------------

             Summary: Column.setWidth wrong size 
                 Key: ODFTOOLKIT-368
                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-368
             Project: ODF Toolkit
          Issue Type: Bug
          Components: java
    Affects Versions: 0.5-incubating, 0.6-incubating
         Environment: Debian GNU/Linux 7.0 
Java 1.7u25 
LibreOffice 3.5.4.2 350m1(build:2)
            Reporter: Reaper


TextDocument out;
        try
        {
        out=TextDocument.newTextDocument();
        Table tab=Table.newTable(out, 1, 2);
                        
        tab.setWidth(160); //Table width sets to 160mm - OK.
        
            tab.getColumnByIndex(0).setWidth(40); //Col width #0 sets to 37.6mm 
- it's not good!
                
        out.save("out.odt");
        java.awt.Desktop.getDesktop().open((new File("out.odt")));
                
        }
        catch (Exception e)
        {
        e.printStackTrace();
        }
        System.exit(0);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to