API Reference
OdpParagraph
An XML-backed presentation paragraph.
Inheritance
- Object
- OdpParagraph
Usage
Explore 18 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 18
- Property OdpEllipse.TextParagraphs
- Property OdpGroup.TextParagraphs
- Property OdpImage.TextParagraphs
- Property OdpLine.TextParagraphs
- Method OdpList.AddItem
- Property OdpList.Items
- Method OdpNotes.AddParagraph
- Property OdpNotes.Paragraphs
- Method OdpParagraph.AddText
- Method OdpParagraph.TransformTextCase
- Property OdpRectangle.TextParagraphs
- Property OdpShape.TextParagraphs
- Property OdpTable.TextParagraphs
- Method OdpTableCell.AddParagraph
- Property OdpTableCell.Paragraphs
- Method OdpTextBox.AddParagraph
- Property OdpTextBox.Paragraphs
- Property OdpTextBox.TextParagraphs
Methods
public OdpHyperlink AddHyperlink(String text, String href) #OdpHyperlinkAdds a hyperlink without resolving or fetching its target.
Parameters
- text System.String
- href System.String
public OdpRun AddRun(String? text = null) #OdpRunAdds an inline text run.
Parameters
- text System.String? = null
public OdpParagraph AddText(String text) #OdpParagraphAppends plain text while encoding ODF whitespace semantics.
Parameters
- text System.String
public OdpParagraph TransformTextCase(OfficeTextCase textCase, CultureInfo? culture = null) #OdpParagraphChanges the stored paragraph text casing while preserving the paragraph 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<OdpInlineNode> InlineNodes { get; } #Direct inline nodes in document order.
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 line 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 String? WritingMode { get; set; } #Effective ODF writing-mode token, such as lr-tb or rl-tb.
public Boolean IsRightToLeft { get; } #Whether the effective horizontal paragraph writing mode is right-to-left.
public OdfLength? LineHeight { get; set; } #Effective paragraph line height, including absolute and percentage values.
public OdpParagraphAlignment? Alignment { get; set; } #Explicit or inherited horizontal paragraph alignment.
public OdfColor? BackgroundColor { get; set; } #Explicit or inherited text background color.