Package | Description |
---|---|
com.aspose.note |
The
com.aspose.note namespace contains classes which represent document structure. |
Modifier and Type | Method and Description |
---|---|
static TextStyle |
TextStyle.getDefault()
Gets default style for title text in MS OneNote.
|
static TextStyle |
TextStyle.getDefaultMsOneNoteTitleDateStyle()
Gets default style for title date in MS OneNote.
|
static TextStyle |
TextStyle.getDefaultMsOneNoteTitleTextStyle()
Gets default style for title text in MS OneNote.
|
static TextStyle |
TextStyle.getDefaultMsOneNoteTitleTimeStyle()
Gets default style for title time in MS OneNote.
|
TextStyle |
TextRun.getStyle()
Gets the style.
|
TextStyle |
TextStyle.setHidden(boolean value)
Sets a value indicating whether the text style is hidden.
|
TextStyle |
TextStyle.setHyperlink(boolean value)
Deprecated.
Obsolete since 22.5 release. Just use setHyperlinkAddress.
|
TextStyle |
TextStyle.setHyperlinkAddress(String value)
Sets the hyperlink address.
|
TextStyle |
TextStyle.setLanguage(Locale value)
Sets the language of the text.
|
Modifier and Type | Method and Description |
---|---|
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<TextStyle> |
RichText.getStyles()
Deprecated.
Obsolete since 22.5 release. Use getTextRuns.
|
Modifier and Type | Method and Description |
---|---|
RichText |
RichText.append(String value,
TextStyle style)
Adds a string to the end.
|
RichText |
RichText.appendFront(String value,
TextStyle style)
Adds a string to the front.
|
boolean |
TextStyle.equals(TextStyle other)
Determines whether the specified object is equal to the current object.
|
RichText |
RichText.insert(int startIndex,
String value,
TextStyle style)
Inserts a specified string with specified style at a specified index position in this instance.
|
RichText |
RichText.replace(String oldValue,
String newValue,
TextStyle style)
Replaces all occurrences of a specified string in the current instance with another specified string in specified style.
|
void |
TextRun.setStyle(TextStyle value)
Sets the style.
|
Constructor and Description |
---|
TextRun(String text,
TextStyle style)
Initializes a new instance of the
TextRun class. |
TextRun(TextStyle style)
Initializes a new instance of the
TextRun class with empty text. |
Copyright (c) 2002-2022 Aspose. All Rights Reserved.