OdpHyperlink
OfficeIMO.OpenDocument
An XML-backed ODP hyperlink. Targets are preserved and never fetched.
Inheritance
- object
- OdpHyperlink
Usage
Explore 5 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 5
- Method OdpHyperlink.AddText
- Method OdpHyperlink.TransformTextCase
- Property OdpInlineNode.Hyperlink
- Method OdpParagraph.AddHyperlink
- Method OdpRun.AddHyperlink
Methods
public OdpRun AddRun(string? text = null) #Appends a styled run inside this hyperlink.
Parameters
- text string? = null
Returns
OdpRunpublic OdpHyperlink AddText(string text) #Appends display text after existing child nodes.
Parameters
- text string
Returns
OdpHyperlinkpublic OdpHyperlink TransformTextCase(OfficeTextCase textCase, CultureInfo? culture = null) #Changes the hyperlink display text casing while preserving its target and text style.
Parameters
- textCase OfficeIMO.Drawing.OfficeTextCase
- culture System.Globalization.CultureInfo? = null
Returns
OdpHyperlinkInherited Methods
Properties
public IReadOnlyList<OdpInlineNode> InlineNodes { get; } #Ordered text and runs inside this hyperlink.
public string? TargetFrameName { get; set; } #ODF target frame behavior, if authored.
public string? ShowBehavior { get; set; } #Raw XLink show behavior, if authored.
public OdfTextDecorationStyle? UnderlineStyle { get; set; } #Explicit or inherited native underline style.
public OdfTextDecorationType? UnderlineType { get; set; } #Explicit or inherited native underline line count.
public bool UsesNonSolidUnderlineStyle { get; } #Whether the effective underline uses a non-solid ODF decoration style.
public bool? 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 line count.
public bool 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 bool? SmallCaps { get; set; } #Explicit or inherited small-cap display formatting.
public OdfColor? BackgroundColor { get; set; } #Explicit or inherited text background color.
public bool HasTextBackgroundOverride { get; } #Whether an inline style sets a text background, including transparent.