API Reference

Class

OdfStyle

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Modifiers sealed

An XML-backed common or automatic ODF style.

Inheritance

  • Object
  • OdfStyle

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Properties

public String Name { get; } #

Style name.

public OdfStyleFamily Family { get; } #

Style family.

public String ParentStyleName { get; set; } #

Optional parent style name.

public Boolean IsAutomatic { get; } #

True for an automatic style.

public String DataStyleName { get; set; } #

Referenced number, currency, percentage, date, or time data style.

public Nullable<Boolean> Bold { get; set; } #

True when bold text is explicitly enabled by this style.

public Nullable<Boolean> Italic { get; set; } #

True when italic text is explicitly enabled by this style.

public Nullable<OdfLength> FontSize { get; set; } #

Explicit font size.

public String FontFamily { get; set; } #

Explicit font family.

public Nullable<OdfColor> Color { get; set; } #

Explicit text color.

public Nullable<OdfColor> BackgroundColor { get; set; } #

Explicit cell or paragraph background color.

public String BreakBefore { get; set; } #

Explicit paragraph break-before value.

public String TextAlign { get; set; } #

Explicit horizontal paragraph alignment.