Package ag.ion.noa.text

Examples of ag.ion.noa.text.XInterfaceObjectSelection


   * @author Markus Kr�ger
   * @date 31.07.2007
   */
  public ITextRange getTextRange() throws Exception {
    XTextContent textContent = getXTextContent();
    textDocument.setSelection(new XInterfaceObjectSelection(textContent));
    XTextViewCursorSupplier xTextViewCursorSupplier = (XTextViewCursorSupplier) UnoRuntime
        .queryInterface(XTextViewCursorSupplier.class, textDocument
            .getXTextDocument().getCurrentController());
    xTextViewCursorSupplier.getViewCursor().goLeft((short) 1, false);
    return textDocument.getViewCursorService().getViewCursor()
View Full Code Here


                select = visible.booleanValue();
              }
            }
            if (select)
              textDocument
                  .setSelection(new XInterfaceObjectSelection(
                      cellRange.getXCellRange()));
          }
        }
      }
    } catch (Throwable throwable) {
View Full Code Here

   * @author Markus Kr�ger
   * @date 31.07.2007
   */
  public ITextRange getTextRange() throws Exception {
    XTextContent textContent = getXTextContent();  
    textDocument.setSelection(new XInterfaceObjectSelection(textContent));
    XTextViewCursorSupplier xTextViewCursorSupplier =
      (XTextViewCursorSupplier)UnoRuntime.queryInterface(XTextViewCursorSupplier.class,
          textDocument.getXTextDocument().getCurrentController());
    xTextViewCursorSupplier.getViewCursor().goLeft((short)1,false);
    return textDocument.getViewCursorService().getViewCursor().getTextCursorFromEnd().getEnd();
View Full Code Here

                Boolean visible = (Boolean)xTextSectionPropertySet.getPropertyValue("IsVisible");
                select = visible.booleanValue();
              }
            }
            if(select)
              textDocument.setSelection(new XInterfaceObjectSelection(cellRange.getXCellRange()));
          }
        }
      }
    }
    catch(Throwable throwable) {
View Full Code Here

TOP

Related Classes of ag.ion.noa.text.XInterfaceObjectSelection

Copyright © 2018 www.massapicom. 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.