API Reference
OdtSpan
An XML-backed ODT inline span.
Inheritance
- Object
- OdtSpan
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
- Method OdtHyperlink.AddSpan
- Property OdtInlineNode.Span
- Method OdtParagraph.AddSpan
- Property OdtParagraph.Spans
- Method OdtSpan.AddSpan
- Method OdtSpan.AddText
- Method OdtSpan.TransformTextCase
Methods
public OdtHyperlink AddHyperlink(String text, String href) #OdtHyperlinkAppends a hyperlink inside this span without fetching its target.
Parameters
- text System.String
- href System.String
public OdtSpan AddSpan(String? text = null) #OdtSpanAppends a nested styled span.
Parameters
- text System.String? = null
public OdtSpan AddText(String text) #OdtSpanAppends decoded plain text.
Parameters
- text System.String
public OdtSpan TransformTextCase(OfficeTextCase textCase, CultureInfo? culture = null) #OdtSpanChanges the stored span text casing while preserving its text style.
Parameters
- textCase OfficeIMO.Drawing.OfficeTextCase
- culture System.Globalization.CultureInfo? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public IReadOnlyList<OdtInlineNode> InlineNodes { get; } #Ordered text, spans, and hyperlinks inside this span.
public OdfTextDecorationStyle? UnderlineStyle { get; set; } #Explicit or inherited native underline style.
public OdfTextDecorationType? UnderlineType { get; set; } #Explicit or inherited native underline line count.
public Boolean UsesNonSolidUnderlineStyle { get; } #Whether the effective underline uses a non-solid ODF decoration style.
public Boolean? StrikeThrough { get; set; } #Explicit or inherited strike-through state.
public OdfTextDecorationStyle? LineThroughStyle { get; set; } #Explicit or inherited native line-through style.
public OdfTextDecorationType? LineThroughType { get; set; } #Explicit or inherited native line-through count.
public Boolean UsesNonSolidLineThroughStyle { get; } #Whether the effective line-through uses a non-solid ODF decoration style.
public OdfTextPosition? TextPosition { get; set; } #Explicit or inherited baseline placement.
public OdfTextTransform? TextTransform { get; set; } #Explicit or inherited display-time case transformation.
public Boolean? SmallCaps { get; set; } #Explicit or inherited small-cap display formatting.
public OdfColor? BackgroundColor { get; set; } #Explicit or inherited text background color.
public Boolean HasTextBackgroundOverride { get; } #Whether an inline style sets a text background, including transparent.