com.acesoft.aceoffix.wordwriter
Class Column

java.lang.Object
  extended by com.acesoft.aceoffix.wordwriter.Column

public class Column
extends java.lang.Object

Column class represents the table's column object defined in Microsoft Word.

You can only call the Table.openColumn method to get the Column object.

Version:
5.0
Author:
Acesoft Corporation

Method Summary
 int getIndex()
          Gets the index of the column.
 void setWidth(float columnWidth)
          Sets the width of the column.
 void setWidth(float columnWidth, WdRulerStyle rulerStyle)
          Sets the width of the column.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIndex

public int getIndex()
Gets the index of the column.

This index is the table's column defined in Microsoft Word.

The index is a 1-based index.


setWidth

public void setWidth(float columnWidth,
                     WdRulerStyle rulerStyle)
Sets the width of the column.

Parameters:
columnWidth - Specify the width of the column, in points.
rulerStyle - Width rule is used to adjust the width of the cells in Microsoft Word.

setWidth

public void setWidth(float columnWidth)
Sets the width of the column.

Parameters:
columnWidth - Specify the width of the column, in points.