public class TextPointer extends ContentPosition
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Documents.TextPointer
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Documents.TextPointer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TextPointer() |
TextPointer(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TextPointer()
throws java.lang.Throwable
java.lang.Throwablepublic TextPointer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static TextPointer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TextPointer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTextPointer instancejava.lang.Throwable - in case of error during cast operationpublic int CompareTo(TextPointer position) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, SecurityException, IOException, UnauthorizedAccessException, IndexOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionpublic int DeleteTextInRun(int count)
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
SecurityException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IOException,
UnauthorizedAccessException,
IndexOutOfRangeException,
InvalidOperationException,
FormatException,
InvalidEnumArgumentException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionInvalidOperationExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionpublic DependencyObject GetAdjacentElement(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionpublic Rect GetCharacterRect(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionpublic TextPointer getDocumentEnd() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionpublic TextPointer getDocumentStart() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionpublic boolean getHasValidLayout()
throws java.lang.Throwable
java.lang.Throwablepublic TextPointer GetInsertionPosition(LogicalDirection direction) throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsAtInsertionPosition()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
SecurityException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IOException,
UnauthorizedAccessException,
IndexOutOfRangeException,
InvalidOperationException
public boolean getIsAtLineStartPosition()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
SecurityException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IOException,
UnauthorizedAccessException,
IndexOutOfRangeException,
InvalidOperationException,
FormatException,
InvalidEnumArgumentException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionInvalidOperationExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ContentPositionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ContentPositionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ContentPositionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ContentPositionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ContentPositionJCType representing the CLR Type of the instantiated Classpublic TextPointer GetLineStartPosition(int count) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException
public TextPointer GetLineStartPosition(int count, JCORefOut<java.util.concurrent.atomic.AtomicInteger> actualCount) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, SecurityException, IOException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
public LogicalDirection getLogicalDirection() throws java.lang.Throwable
java.lang.Throwablepublic TextPointer GetNextContextPosition(LogicalDirection direction) throws java.lang.Throwable
java.lang.Throwablepublic TextPointer GetNextInsertionPosition(LogicalDirection direction) throws java.lang.Throwable
java.lang.Throwablepublic int GetOffsetToPosition(TextPointer position) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, SecurityException, IOException, UnauthorizedAccessException, IndexOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionpublic Paragraph getParagraph() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, ArgumentOutOfRangeException, PlatformNotSupportedException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, InvalidOperationException
public DependencyObject getParent() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, ArgumentOutOfRangeException, PlatformNotSupportedException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, InvalidOperationException
public TextPointerContext GetPointerContext(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionpublic TextPointer GetPositionAtOffset(int offset) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionpublic TextPointer GetPositionAtOffset(int offset, LogicalDirection direction) throws java.lang.Throwable, SecurityException, IOException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, RankException, ArrayTypeMismatchException, InvalidOperationException
public java.lang.String GetTextInRun(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionSecurityExceptionArrayTypeMismatchExceptionIOExceptionUnauthorizedAccessExceptionpublic int GetTextInRun(LogicalDirection direction, char[] textBuffer, int startIndex, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic int GetTextInRun(LogicalDirection dupParam0, JCORefOut dupParam1, int dupParam2, int dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic int GetTextRunLength(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionpublic TextPointer InsertLineBreak() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, ArgumentOutOfRangeException, PlatformNotSupportedException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, InvalidOperationException, ArgumentNullException, FormatException, InvalidEnumArgumentException, MissingMethodException, NotSupportedException, TargetInvocationException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionFormatExceptionInvalidEnumArgumentExceptionMissingMethodExceptionNotSupportedExceptionTargetInvocationExceptionpublic TextPointer InsertParagraphBreak() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, ArgumentOutOfRangeException, PlatformNotSupportedException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, InvalidOperationException, FormatException, AmbiguousMatchException, ArgumentNullException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionInvalidOperationExceptionFormatExceptionAmbiguousMatchExceptionArgumentNullExceptionInvalidEnumArgumentExceptionpublic void InsertTextInRun(java.lang.String textData)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
SecurityException,
IOException,
UnauthorizedAccessException,
IndexOutOfRangeException,
InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionpublic boolean IsInSameDocument(TextPointer textPosition) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ContentPosition