ODF 9.1.12 purpose of element <table:table-columns>

Luke Deller luke at deller.id.au
Fri Jul 21 13:45:22 UTC 2017

Hi Regina

On 21/07/17 21:52, Regina Henschel wrote:
> it seems to me, that the element <table:table-columns> is useless. 
> Exists any situation where LibreOffice writes such element?

I can see only two places in the code which will emit this element:

1. A chart object (e.g. in a spreadsheet) contains a <table:table> 
representing the data for the chart.  LibreOffice always emits 
<table:table-columns> for this table.

2. A database (odb) file can contain reports containing tables, which 
will be emitted with <table:table-columns>.

> What is the purpose of this element?

In both of these cases the <table:table-columns> simply wraps all the 
<table:table-column> elements, which looks redundant to me.

More information about the LibreOffice mailing list