Package system.windows.documents
Class TextPointer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.documents.ContentPosition
-
- system.windows.documents.TextPointer
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class TextPointer extends ContentPosition
The base .NET class managing System.Windows.Documents.TextPointer, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Documents.TextPointerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TextPointer()TextPointer(java.lang.Object instance)Internal constructor.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Documents.TextPointer- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classContentPosition- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classContentPosition- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classContentPosition- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classContentPosition- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classContentPosition
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classContentPosition- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TextPointer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTextPointer, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TextPointerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
IsInSameDocument
public boolean IsInSameDocument(TextPointer textPosition) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
CompareTo
public int CompareTo(TextPointer position) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException
-
DeleteTextInRun
public int DeleteTextInRun(int count) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, NotImplementedException, InvalidEnumArgumentException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionSecurityExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidEnumArgumentException
-
GetOffsetToPosition
public int GetOffsetToPosition(TextPointer position) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException
-
GetTextInRun
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOException
-
GetTextInRun
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOException
-
GetTextRunLength
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOException
-
GetTextInRun
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOException
-
GetAdjacentElement
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOException
-
GetInsertionPosition
public TextPointer GetInsertionPosition(LogicalDirection direction) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetLineStartPosition
public TextPointer GetLineStartPosition(int count) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
-
GetLineStartPosition
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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionSecurityExceptionIOExceptionInvalidOperationExceptionMissingManifestResourceExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentException
-
GetNextContextPosition
public TextPointer GetNextContextPosition(LogicalDirection direction) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetNextInsertionPosition
public TextPointer GetNextInsertionPosition(LogicalDirection direction) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetPositionAtOffset
public TextPointer GetPositionAtOffset(int offset) throws java.lang.Throwable, ArgumentException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationException
-
GetPositionAtOffset
public TextPointer GetPositionAtOffset(int offset, LogicalDirection direction) throws java.lang.Throwable, ArgumentException, SecurityException, IOException, InvalidOperationException, ArgumentNullException, MissingManifestResourceException
- Throws:
java.lang.ThrowableArgumentExceptionSecurityExceptionIOExceptionInvalidOperationExceptionArgumentNullExceptionMissingManifestResourceException
-
InsertLineBreak
public TextPointer InsertLineBreak() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionSecurityExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingManifestResourceExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationException
-
InsertParagraphBreak
public TextPointer InsertParagraphBreak() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, FormatException, AmbiguousMatchException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionSecurityExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingManifestResourceExceptionFormatExceptionAmbiguousMatchExceptionInvalidEnumArgumentException
-
GetPointerContext
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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOException
-
GetCharacterRect
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOException
-
InsertTextInRun
public void InsertTextInRun(java.lang.String textData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, InvalidEnumArgumentException
-
getHasValidLayout
public boolean getHasValidLayout() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsAtInsertionPosition
public boolean getIsAtInsertionPosition() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException
-
getIsAtLineStartPosition
public boolean getIsAtLineStartPosition() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, NotImplementedException, InvalidEnumArgumentException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionSecurityExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidEnumArgumentException
-
getParent
public DependencyObject getParent() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException
-
getLogicalDirection
public LogicalDirection getLogicalDirection() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getParagraph
public Paragraph getParagraph() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, SecurityException, ObjectDisposedException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException
-
getDocumentEnd
public TextPointer getDocumentEnd() throws java.lang.Throwable, ArgumentException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, InvalidOperationException, MissingManifestResourceException
-
getDocumentStart
public TextPointer getDocumentStart() throws java.lang.Throwable, ArgumentException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, InvalidOperationException, MissingManifestResourceException
-
-