public class RepeatedNumberUtils extends Object
| Constructor and Description |
|---|
RepeatedNumberUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
removeDummyCellsFromTable(Table table)
Remove unused columns and rows from the end of a table.
|
public static void removeDummyCellsFromTable(Table table)
This is a workaround for bug ODFTOOLKIT-388. LibreOffice adds two dummy rows with "number-rows-repeated" attribute to "blow up" the sheet to rows as needed by MS Excel 2010.
Files converted from MS Excel binary format (*.xls) contain a similar dummy row to "blow up" the sheet up to rows.
Same is done for columns - one dummy column is added to get a whole column count of .
table - Table to clean.Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.