public class TextPointer extends ContentPosition
.NET documentation at https://learn.microsoft.com/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=8.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.
|
| Modifier and Type | Method and Description |
|---|---|
static TextPointer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TextPointer, a cast assert is made to check if types are compatible. |
int |
CompareTo(TextPointer position)
Invokes the .NET member CompareTo.
|
int |
DeleteTextInRun(int count)
Invokes the .NET member DeleteTextInRun.
|
DependencyObject |
GetAdjacentElement(LogicalDirection direction)
Invokes the .NET member GetAdjacentElement.
|
Rect |
GetCharacterRect(LogicalDirection direction)
Invokes the .NET member GetCharacterRect.
|
TextPointer |
getDocumentEnd()
Gets the value of the .NET property DocumentEnd.
|
TextPointer |
getDocumentStart()
Gets the value of the .NET property DocumentStart.
|
boolean |
getHasValidLayout()
Gets the value of the .NET property HasValidLayout.
|
TextPointer |
GetInsertionPosition(LogicalDirection direction)
Invokes the .NET member GetInsertionPosition.
|
boolean |
getIsAtInsertionPosition()
Gets the value of the .NET property IsAtInsertionPosition.
|
boolean |
getIsAtLineStartPosition()
Gets the value of the .NET property IsAtLineStartPosition.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
TextPointer |
GetLineStartPosition(int count)
Invokes the .NET member GetLineStartPosition.
|
TextPointer |
GetLineStartPosition(int count,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> actualCount)
Invokes the .NET member GetLineStartPosition.
|
LogicalDirection |
getLogicalDirection()
Gets the value of the .NET property LogicalDirection.
|
TextPointer |
GetNextContextPosition(LogicalDirection direction)
Invokes the .NET member GetNextContextPosition.
|
TextPointer |
GetNextInsertionPosition(LogicalDirection direction)
Invokes the .NET member GetNextInsertionPosition.
|
int |
GetOffsetToPosition(TextPointer position)
Invokes the .NET member GetOffsetToPosition.
|
Paragraph |
getParagraph()
Gets the value of the .NET property Paragraph.
|
DependencyObject |
getParent()
Gets the value of the .NET property Parent.
|
TextPointerContext |
GetPointerContext(LogicalDirection direction)
Invokes the .NET member GetPointerContext.
|
TextPointer |
GetPositionAtOffset(int offset)
Invokes the .NET member GetPositionAtOffset.
|
TextPointer |
GetPositionAtOffset(int offset,
LogicalDirection direction)
Invokes the .NET member GetPositionAtOffset.
|
java.lang.String |
GetTextInRun(LogicalDirection direction)
Invokes the .NET member GetTextInRun.
|
int |
GetTextInRun(LogicalDirection direction,
char[] textBuffer,
int startIndex,
int count)
Invokes the .NET member GetTextInRun.
|
int |
GetTextInRun(LogicalDirection dupParam0,
JCORefOut dupParam1,
int dupParam2,
int dupParam3)
Invokes the .NET member GetTextInRun.
|
int |
GetTextRunLength(LogicalDirection direction)
Invokes the .NET member GetTextRunLength.
|
TextPointer |
InsertLineBreak()
Invokes the .NET member InsertLineBreak.
|
TextPointer |
InsertParagraphBreak()
Invokes the .NET member InsertParagraphBreak.
|
void |
InsertTextInRun(java.lang.String textData)
Invokes the .NET member InsertTextInRun.
|
boolean |
IsInSameDocument(TextPointer textPosition)
Invokes the .NET member IsInSameDocument.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic 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, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SecurityException, IOException, UnauthorizedAccessException, IndexOutOfRangeException
position - the argument of type TextPointerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic int DeleteTextInRun(int count)
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
SecurityException,
InvalidOperationException,
ArgumentOutOfRangeException,
IOException,
UnauthorizedAccessException,
IndexOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException
count - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic DependencyObject GetAdjacentElement(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException
direction - the argument of type LogicalDirectionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic Rect GetCharacterRect(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException
direction - the argument of type LogicalDirectionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic TextPointer getDocumentEnd() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic TextPointer getDocumentStart() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic boolean getHasValidLayout()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TextPointer GetInsertionPosition(LogicalDirection direction) throws java.lang.Throwable
direction - the argument of type LogicalDirectionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsAtInsertionPosition()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
SecurityException,
InvalidOperationException,
ArgumentOutOfRangeException,
IOException,
UnauthorizedAccessException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean getIsAtLineStartPosition()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
SecurityException,
InvalidOperationException,
ArgumentOutOfRangeException,
IOException,
UnauthorizedAccessException,
IndexOutOfRangeException,
ArgumentNullException,
FormatException,
InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ContentPositionpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ContentPositionpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ContentPositionnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ContentPositionpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ContentPositionpublic TextPointer GetLineStartPosition(int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, InvalidEnumArgumentException
count - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic TextPointer GetLineStartPosition(int count, JCORefOut<java.util.concurrent.atomic.AtomicInteger> actualCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, SecurityException, IOException, FormatException, InvalidEnumArgumentException
count - the argument of type intactualCount - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic LogicalDirection getLogicalDirection() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TextPointer GetNextContextPosition(LogicalDirection direction) throws java.lang.Throwable
direction - the argument of type LogicalDirectionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic TextPointer GetNextInsertionPosition(LogicalDirection direction) throws java.lang.Throwable
direction - the argument of type LogicalDirectionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetOffsetToPosition(TextPointer position) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SecurityException, IOException, UnauthorizedAccessException, IndexOutOfRangeException
position - the argument of type TextPointerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic Paragraph getParagraph() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, InvalidOperationException, ArgumentOutOfRangeException, IOException, UnauthorizedAccessException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic DependencyObject getParent() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, InvalidOperationException, ArgumentOutOfRangeException, IOException, UnauthorizedAccessException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TextPointerContext GetPointerContext(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException
direction - the argument of type LogicalDirectionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic TextPointer GetPositionAtOffset(int offset) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException
offset - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic TextPointer GetPositionAtOffset(int offset, LogicalDirection direction) throws java.lang.Throwable, SecurityException, IOException, ArgumentException, InvalidOperationException
offset - the argument of type intdirection - the argument of type LogicalDirectionjava.lang.Throwable - if the call fails in the bridge or in the CLRSecurityException - if the .NET member raises itIOException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic java.lang.String GetTextInRun(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException
direction - the argument of type LogicalDirectionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic int GetTextInRun(LogicalDirection direction, char[] textBuffer, int startIndex, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException, RankException, ArrayTypeMismatchException
direction - the argument of type LogicalDirectiontextBuffer - the argument of type char[]startIndex - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTextInRun(LogicalDirection dupParam0, JCORefOut dupParam1, int dupParam2, int dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException, RankException, ArrayTypeMismatchException
dupParam0 - the argument of type LogicalDirectiondupParam1 - the argument of type JCORefOutdupParam2 - the argument of type intdupParam3 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTextRunLength(LogicalDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, IOException, UnauthorizedAccessException
direction - the argument of type LogicalDirectionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic TextPointer InsertLineBreak() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, InvalidOperationException, ArgumentOutOfRangeException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, ArgumentNullException, FormatException, InvalidEnumArgumentException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic TextPointer InsertParagraphBreak() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, InvalidOperationException, ArgumentOutOfRangeException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, FormatException, AmbiguousMatchException, ArgumentNullException, InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itAmbiguousMatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void InsertTextInRun(java.lang.String textData)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
IndexOutOfRangeException,
InvalidEnumArgumentException
textData - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic boolean IsInSameDocument(TextPointer textPosition) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
textPosition - the argument of type TextPointerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ContentPositioninstance - the new underlying object