Examples of goToRange()


Examples of ag.ion.bion.officelayer.text.ITextCursor.gotoRange()

  public String extractTag() {
    OODocument document = (OODocument) getTutorialDocument();
    ITextDocument textDocument = (ITextDocument) document.getDocument();
    ITextCursor textCursor = textDocument.getTextService()
        .getCursorService().getTextCursor();
    textCursor.gotoRange(textRange, false);
    return textCursor.getString();
  }

  @Override
  public String getType() {
View Full Code Here

Examples of ag.ion.bion.officelayer.text.IViewCursor.goToRange()

   * @date 13.07.2006
   */
  public void jumpTo() {
    IViewCursor viewCursor = getTextDocument().getViewCursorService()
        .getViewCursor();
    viewCursor.goToRange(getTextRange(), false);
  }

  // ----------------------------------------------------------------------------
  /**
   * Returns OpenOffice.org XTextContent interface.
View Full Code Here

Examples of ag.ion.bion.officelayer.text.IViewCursor.goToRange()

   * @author Markus Kr�ger
   */
  public void jumpTo() {
    IViewCursor viewCursor = textDocument.getViewCursorService()
        .getViewCursor();
    viewCursor.goToRange(this, false);
  }
  // ----------------------------------------------------------------------------

}
View Full Code Here

Examples of ag.ion.bion.officelayer.text.IViewCursor.goToRange()

   * @author Markus Kr�ger
   * @date 13.07.2006
   */
  public void jumpTo() {
    IViewCursor viewCursor = getTextDocument().getViewCursorService().getViewCursor();
    viewCursor.goToRange(getTextRange(),false);
  }
  //----------------------------------------------------------------------------
  /**
   * Returns OpenOffice.org XTextContent interface.
   *
 
View Full Code Here

Examples of ag.ion.bion.officelayer.text.IViewCursor.goToRange()

   * @date 13.07.2006
   */
  public void jumpTo() {
    IViewCursor viewCursor = getTextDocument().getViewCursorService()
        .getViewCursor();
    viewCursor.goToRange(getTextRange(), false);
  }

  // ----------------------------------------------------------------------------
  /**
   * Returns OpenOffice.org XTextContent interface.
View Full Code Here

Examples of ag.ion.bion.officelayer.text.IViewCursor.goToRange()

  public short getStartPageNumber() {
    IViewCursor viewCursor = textDocument.getViewCursorService()
        .getViewCursor();
    IPageCursor pageCursor = viewCursor.getPageCursor();
    if (pageCursor != null) {
      viewCursor.goToRange(getStart(), false);
      return pageCursor.getPage();
    }
    return -1;
  }
View Full Code Here

Examples of ag.ion.bion.officelayer.text.IViewCursor.goToRange()

  public short getEndPageNumber() {
    IViewCursor viewCursor = textDocument.getViewCursorService()
        .getViewCursor();
    IPageCursor pageCursor = viewCursor.getPageCursor();
    if (pageCursor != null) {
      viewCursor.goToRange(getEnd(), false);
      return pageCursor.getPage();
    }
    return -1;
  }
View Full Code Here

Examples of ag.ion.bion.officelayer.text.IViewCursor.goToRange()

   * @author Markus Kr�ger
   * @date 13.07.2006
   */
  public void jumpTo() {
    IViewCursor viewCursor = getTextDocument().getViewCursorService().getViewCursor();
    viewCursor.goToRange(getTextRange(),false);
  }
  //----------------------------------------------------------------------------
  /**
   * Returns OpenOffice.org XTextContent interface.
   *
 
View Full Code Here

Examples of ag.ion.bion.officelayer.text.IViewCursor.goToRange()

   */
  public short getStartPageNumber() {
    IViewCursor viewCursor = textDocument.getViewCursorService().getViewCursor();
    IPageCursor pageCursor = viewCursor.getPageCursor();
    if(pageCursor != null) {
      viewCursor.goToRange(getStart(),false);
      return pageCursor.getPage();
    }
    return -1;
 
  //----------------------------------------------------------------------------
View Full Code Here

Examples of ag.ion.bion.officelayer.text.IViewCursor.goToRange()

   */
  public short getEndPageNumber() {
    IViewCursor viewCursor = textDocument.getViewCursorService().getViewCursor();
    IPageCursor pageCursor = viewCursor.getPageCursor();
    if(pageCursor != null) {
      viewCursor.goToRange(getEnd(),false);
      return pageCursor.getPage();
    }
    return -1;
 
  //----------------------------------------------------------------------------
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.