Free Support Forum - aspose.com

How to get table format?

How can get all attributes while reading a word table?

Table : <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Bordure

Right : visible, largeur

Left : visible, largeur

Top : visible, largeur

Bottom: visible, Width

Cellulle :

Alignement = left, middle, right

Colspan

Rowspan

Valign = top, middle, bottom

Bordure

Header = Cell

Thanks

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. You should use RowFormat and CellFormat to get this information. Please see the following links for more information.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.tables.cellformat.html

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.tables.rowformat.html

Best regards.

Thanks Alexey,

How can I get Table format in this methode:

public override VisitorAction VisitTableStart(Aspose.Words.Tables.Table table)

{

//table.FirstRow.RowFormat.

//table.FirstRow.FirstCell.CellFormat

table.? (I need the table bordures, width, hight, top, and bottom) how can I do it?

return VisitorAction.Continue;

}

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Unfortunately you can’t get formatting of the whole table. You can get formatting of individual Row or Cell.

This is known issue #907 in our defect database.

Issue #907 - Add TableFormat property to Table object.

Best regards.

The issues you have found earlier (filed as WORDSNET-581) have been fixed in this .NET update and in this Java update.