API Reference
Class
OdfTextParagraph
A native paragraph or heading in Draw text content.
Inheritance
- OdfTextContent
- OdfTextParagraph
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method OdfTextListItem.AddParagraph
- Property OdfTextListItem.Paragraphs
- Method OdgShape.AddParagraph
- Property OdgShape.Paragraphs
Methods
public Void SetTabStops(IReadOnlyList<OdfTabStop> stops) #Returns:
VoidReplaces the paragraph's explicit tab set. An empty set overrides all inherited explicit stops.
Parameters
- stops System.Collections.Generic.IReadOnlyList{OfficeIMO.OpenDocument.OdfTabStop}
Inherited Methods
public OdfTextField AddField(OdfTextFieldKind kind, String displayText = null) #Returns:
OdfTextFieldInherited from OdfTextContent
Parameters
- kind OdfTextFieldKind
- displayText String = null
public OdfTextHyperlink AddHyperlink(String text, String href) #Returns:
OdfTextHyperlinkInherited from OdfTextContent
Parameters
- text String
- href String
public OdfTextRun AddRun(String text = null) #Returns:
OdfTextRunInherited from OdfTextContent
Parameters
- text String = null
public virtual Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public Void TransformTextCase(OfficeTextCase textCase, CultureInfo culture = null) #Returns:
VoidInherited from OdfTextContent
Parameters
- textCase OfficeTextCase
- culture CultureInfo = null
Properties
public Boolean IsHeading { get; } #Whether this element is a heading.
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 Nullable<OdfLength> LineHeight { get; set; } #Effective paragraph line height, absolute or percentage.
public Nullable<OdfLength> MarginLeft { get; set; } #Effective left paragraph margin.
public Nullable<OdfLength> MarginRight { get; set; } #Effective right paragraph margin.
public Nullable<OdfLength> MarginTop { get; set; } #Effective top paragraph margin.
public Nullable<OdfLength> MarginBottom { get; set; } #Effective bottom paragraph margin.
Inherited Properties
public String Text { get; set; } #Inherited from OdfTextContent
public String StyleName { get; set; } #Inherited from OdfTextContent
public IReadOnlyList<OdfTextNode> InlineNodes { get; } #Inherited from OdfTextContent
public IReadOnlyList<OdfTextRun> Runs { get; } #Inherited from OdfTextContent
public IReadOnlyList<OdfTextHyperlink> Hyperlinks { get; } #Inherited from OdfTextContent
public IReadOnlyList<OdfTextField> Fields { get; } #Inherited from OdfTextContent
public Nullable<Boolean> Bold { get; set; } #Inherited from OdfTextContent
public Nullable<Boolean> Italic { get; set; } #Inherited from OdfTextContent
public Nullable<Boolean> Underline { get; set; } #Inherited from OdfTextContent
public Nullable<OdfTextDecorationStyle> UnderlineStyle { get; set; } #Inherited from OdfTextContent
public Nullable<OdfTextDecorationType> UnderlineType { get; set; } #Inherited from OdfTextContent
public Nullable<Boolean> StrikeThrough { get; set; } #Inherited from OdfTextContent
public Nullable<OdfLength> FontSize { get; set; } #Inherited from OdfTextContent
public String FontFamily { get; set; } #Inherited from OdfTextContent
public Nullable<OdfColor> Color { get; set; } #Inherited from OdfTextContent
public Nullable<Double> TextOpacity { get; set; } #Inherited from OdfTextContent
public Nullable<OdfColor> BackgroundColor { get; set; } #Inherited from OdfTextContent
public Nullable<OdfTextPosition> TextPosition { get; set; } #Inherited from OdfTextContent
public Nullable<OdfTextTransform> TextTransform { get; set; } #Inherited from OdfTextContent
public Nullable<Boolean> SmallCaps { get; set; } #Inherited from OdfTextContent