Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-116

Javadoc for OdfColumn.setWidth is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • odfdom-0.8.5
    • odfdom-0.8.7
    • java
    • None
    • Operating System: All
      Platform: All
    • 185

    Description

      The JavaDoc for the setWidth method in OdfColumn says the width parameter is a value that is treated as units in 1/100 of a MM

      I do not believe that this is correct. I believe that the units are in fact being used as MM

      If I set a column width of 50mm I see that become a column with width 1.97" when I open it in OpenOffice

      So the Javadoc or the code needs to be fixed. I would vote for fixing the doc!

      Attachments

        Activity

          People

            weihuawang@odftoolkit.org Wei Hua Wang
            kelvin@odftoolkit.org kelvin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: