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=4.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, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException
public int DeleteTextInRun(int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotSupportedException,
SecurityException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
ArgumentOutOfRangeException,
InvalidOperationException,
MissingManifestResourceException,
NotImplementedException,
InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionSecurityExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidEnumArgumentExceptionpublic DependencyObject GetAdjacentElement(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionpublic Rect GetCharacterRect(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionpublic TextPointer getDocumentEnd() throws java.lang.Throwable, ArgumentException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, InvalidOperationException, MissingManifestResourceException
public TextPointer getDocumentStart() throws java.lang.Throwable, ArgumentException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, InvalidOperationException, MissingManifestResourceException
public 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,
ArgumentNullException,
NotSupportedException,
SecurityException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
ArgumentOutOfRangeException,
InvalidOperationException,
MissingManifestResourceException
public boolean getIsAtLineStartPosition()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotSupportedException,
SecurityException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
ArgumentOutOfRangeException,
InvalidOperationException,
MissingManifestResourceException,
NotImplementedException,
InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionSecurityExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidEnumArgumentExceptionpublic 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, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
public TextPointer GetLineStartPosition(int count, JCORefOut<java.util.concurrent.atomic.AtomicInteger> actualCount) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, IOException, InvalidOperationException, MissingManifestResourceException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionSecurityExceptionIOExceptionInvalidOperationExceptionMissingManifestResourceExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic 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, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException
public Paragraph getParagraph() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException
public DependencyObject getParent() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException
public TextPointerContext GetPointerContext(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionpublic TextPointer GetPositionAtOffset(int offset) throws java.lang.Throwable, ArgumentException, InvalidOperationException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionpublic TextPointer GetPositionAtOffset(int offset, LogicalDirection direction) throws java.lang.Throwable, ArgumentException, SecurityException, IOException, InvalidOperationException, ArgumentNullException, MissingManifestResourceException
java.lang.ThrowableArgumentExceptionSecurityExceptionIOExceptionInvalidOperationExceptionArgumentNullExceptionMissingManifestResourceExceptionpublic java.lang.String GetTextInRun(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionpublic int GetTextInRun(LogicalDirection direction, char[] textBuffer, int startIndex, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionpublic int GetTextInRun(LogicalDirection dupParam0, JCORefOut dupParam1, int dupParam2, int dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionpublic int GetTextRunLength(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionpublic TextPointer InsertLineBreak() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionSecurityExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingManifestResourceExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionpublic TextPointer InsertParagraphBreak() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, FormatException, AmbiguousMatchException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionSecurityExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingManifestResourceExceptionFormatExceptionAmbiguousMatchExceptionInvalidEnumArgumentExceptionpublic void InsertTextInRun(java.lang.String textData)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotSupportedException,
SecurityException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
ArgumentOutOfRangeException,
InvalidOperationException,
MissingManifestResourceException,
InvalidEnumArgumentException
public boolean IsInSameDocument(TextPointer textPosition) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ContentPosition