OdfTextParagraph
OfficeIMO.OpenDocument
A native paragraph or heading in Draw text content.
Inheritance
- OdfTextContent
- OdfTextParagraph
Usage
Explore 6 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 6
- Method OdfTextListItem.AddParagraph
- Property OdfTextListItem.Paragraphs
- Method OdfTextParagraph.AddText
- Method OdfTextParagraph.TransformTextCase
- Method OdgShape.AddParagraph
- Property OdgShape.Paragraphs
Methods
public OdfTextParagraph AddText(string text) #Appends native text and returns this paragraph.
Parameters
- text string
Returns
OdfTextParagraphpublic void SetTabStops(IReadOnlyList<OdfTabStop> stops) #Replaces the paragraph's explicit tab set. An empty set overrides all inherited explicit stops.
Parameters
- stops System.Collections.Generic.IReadOnlyList<OfficeIMO.OpenDocument.OdfTabStop>
public OdfTextParagraph TransformTextCase(OfficeTextCase textCase, CultureInfo? culture = null) #Transforms stored text and returns the same native receiver.
Parameters
- textCase OfficeIMO.Drawing.OfficeTextCase
- culture System.Globalization.CultureInfo? = null
Returns
OdfTextParagraphInherited Methods
public OdfTextField AddField(OdfTextFieldKind kind, string? displayText = null) #Parameters
- kind OdfTextFieldKind
- displayText string? = null
Returns
OdfTextFieldpublic OdfTextHyperlink AddHyperlink(string text, string href) #Parameters
- text string
- href string
Returns
OdfTextHyperlinkpublic OdfTextRun AddRun(string? text = null) #Parameters
- text string? = null
Returns
OdfTextRunProperties
public string? TextAlign { get; set; } #Native horizontal alignment token, such as start, center, end, or justify.
public string? WritingMode { get; set; } #Native writing-mode token, such as lr-tb or rl-tb.
public OdfLength? LineHeight { get; set; } #Effective paragraph line height, absolute or percentage.
public OdfLength? MarginRight { get; set; } #Effective right paragraph margin.
public OdfLength? MarginBottom { get; set; } #Effective bottom paragraph margin.
Inherited Properties
public IReadOnlyList<OdfTextNode> InlineNodes { get; } #public IReadOnlyList<OdfTextHyperlink> Hyperlinks { get; } #public IReadOnlyList<OdfTextField> Fields { get; } #public OdfTextDecorationStyle? UnderlineStyle { get; set; } #public OdfTextDecorationType? UnderlineType { get; set; } #public OdfTextPosition? TextPosition { get; set; } #public OdfTextTransform? TextTransform { get; set; } #