|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acesoft.aceoffix.WordResponse
public class WordResponse
Fills data into Word document and controls behavior of Word application. WordResponse is a important class. WordResponse object is the data source of AceoffixCtrl and the parameter of the AceoffixCtrl.bind method. If you need to fill data into Word document you have to create WordResponse object.
Constructor Summary | |
---|---|
WordResponse()
Initializes a new instance of the WordResponse class. |
Method Summary | |
---|---|
WordResDataRegion |
openDataRegion(java.lang.String dataRegionName)
Opens the specified DataRegion and returns a WordResDataRegion object. |
WordResTable |
openTable(int index)
Opens the specified table and returns a WordResTable object. |
void |
setDisableWindowDoubleClick(boolean disableWindowDoubleClick)
Sets a value that indicates whether or not double-click is disabled in current document. |
void |
setDisableWindowRightClick(boolean disableWindowRightClick)
Sets a value that indicates whether or not right-click is disabled in current document. |
void |
setDisableWindowSelection(boolean disableWindowSelection)
Sets a value that indicates whether or not selection is disabled in current document. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WordResponse() throws java.lang.Exception, java.io.IOException
java.lang.Exception
java.io.IOException
Method Detail |
---|
public void setDisableWindowDoubleClick(boolean disableWindowDoubleClick)
disableWindowDoubleClick
- The default value is false.public void setDisableWindowRightClick(boolean disableWindowRightClick)
disableWindowRightClick
- The default value is false.public void setDisableWindowSelection(boolean disableWindowSelection)
disableWindowSelection
- The default value is false.public WordResDataRegion openDataRegion(java.lang.String dataRegionName) throws java.io.IOException
In Word document, developer can define any range of selection as a DataRegion object by inserting a bookmark with the prefix name "ACE_". In other words, the DataRegion is a bookmark object whose name begins with "ACE_" in Word document. The prefix name "ACE_" is used to differentiate DataRegions from bookmarks defined by users. The bookmark name of a DataRegion is "ACE_" + DataRegionName. For example, if you want to define a specified range as a DataRegion whose DataRegionName is "ProductName" in a Word document, you should manually insert a bookmark whose name is "ACE_ProductName" for the range before you openDocument this document.
dataRegionName
- The name of DataRegion.
java.io.IOException
public WordResTable openTable(int index)
index
- The index of the table is defined in Microsoft Word. The index number represents the position of the table in the Word document.
The index is a 1-based index.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |