API Reference
Class
OdfStyle
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.
Returned or exposed by
- Method OdfStyleRepository.CreateAutomatic
- Method OdfStyleRepository.CreateNamed
- Method OdfStyleRepository.Find
- Method OdfStyleRepository.Resolve
- Property OdfStyleRepository.Automatic
- Property OdfStyleRepository.Named
Accepted by parameters
- Method OdfStyleRepository.Resolve
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
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.