-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Proposal:
When using a database range in a spreadsheet, often the last row (table:orientation="row") or last column (table:orientation="column") does not contain a data record but an aggregate function (e.g. SUM, AVERAGE, SUBTOTAL) of the data record field.
Such row/column is usually excluded from sorting or filtering, same as a header/label row at the beginning is excluded.
Applications have currently no way to save such information to ODF, thus the information is lost in ODF and after reloading the file, the last row/column will be treated as normal data record.
Excel workarounds the problem by reducing the size, when a table with totals row is exported to ODF. LibreOffice does currently not use a workaround.
OOXML has e.g. attributes totalsRowCount, totalsRowFunction, totalsRowFormula to handle such last row.
HTML has the distinction between <thead>, <tbody> and <tfoot> to handle it.
ODF has already a similar distinct handling of the last row/column in its <table:table-template> element for styling a table.
Thus it is desirable to be able to save the information to ODF, that the last row/column of a database range does not contain a data record, but is a row/column with totals, for example.