<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'><br><br>Utilizando UNO <span id="DWT629" class="ZM-SPELLCHECK-MISSPELLED"><span id="DWT442" class="ZM-SPELLCHECK-MISSPELLED">API</span></span> para java y cargo una plantilla que contiene una tabla ....<br><br>Intento copiar dicha tabla  en la  siguiente hoja (propiedades <span id="DWT443" class="ZM-SPELLCHECK-FIXED">también</span>) para crear una nueva.... y no encuentro como, este es el código donde obtengo la tabla y sus propiedades.<br> <br>PD. He escrito muchas veces a  users@global.libreoffice.org pero nadie responde...<br> Saludos<br><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000"><div><br></div></div></div>   // first query the XTextTablesSupplier interface from our document<br>            XTextTablesSupplier xTablesSupplier = (XTextTablesSupplier) UnoRuntime.queryInterface(<br>                    XTextTablesSupplier.class, xWriterComponent);<br>            // get the tables collection<br>            XNameAccess xNamedTables = xTablesSupplier.getTextTables();<br><br>            // now query the XIndexAccess from the tables collection<br>            XIndexAccess xIndexedTables = (XIndexAccess) UnoRuntime.queryInterface(<br>                    XIndexAccess.class, xNamedTables);<br> // we need properties<br>            xTableProps = null;<br><br>            // get the tables<br>            for (int i = 0; i < xIndexedTables.getCount(); i++) {<br>                table = xIndexedTables.getByIndex(i);<br>                // the properties, please!<br><br><br>                xTableProps = (XPropertySet) UnoRuntime.queryInterface(<br>                        XPropertySet.class, table);<br>                this.xTable = (XTextTable) UnoRuntime.queryInterface(<br>                        XTextTable.class, table);<br>      }<br></div></div></div></body></html>