Oxygen XML Editor 12.2 Author API

ro.sync.ecss.extensions.api
Interface AuthorViewToModelInfo


public interface AuthorViewToModelInfo

An implementation of this interface is returned by the WSAuthorEditorPageBase.viewToModel(int, int) method. Used to obtain the node whose graphic representation contains a certain point in the Author viewport.


Method Summary
 AuthorNode getAuthorNode()
          Return the AuthorNode located at a specified position.
 int getOffset()
          The offset of the specified position.
 

Method Detail

getOffset

int getOffset()
The offset of the specified position. It is located within the bounds of the determined AuthorNode which also contains the given position.

Returns:
The offset of the specified position.

getAuthorNode

AuthorNode getAuthorNode()
Return the AuthorNode located at a specified position.

Returns:
The author node.

Oxygen XML Editor 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.