API Reference
Class
OdtHeaderFooter
XML-backed header or footer content on an ODT master page.
Inheritance
- Object
- OdtHeaderFooter
Usage
Explore 11 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 11
- Property OdtDocument.HeaderFooters
- Method OdtPageLayout.EnsureFirstFooter
- Method OdtPageLayout.EnsureFirstHeader
- Method OdtPageLayout.EnsureLeftFooter
- Method OdtPageLayout.EnsureLeftHeader
- Property OdtPageLayout.FirstFooter
- Property OdtPageLayout.FirstHeader
- Property OdtPageLayout.Footer
- Property OdtPageLayout.Header
- Property OdtPageLayout.LeftFooter
- Property OdtPageLayout.LeftHeader
Methods
public OdtParagraph AddHeading(String text, Int32 level = 1) #Returns:
OdtParagraphAdds a heading with an outline level from 1 through 10.
Parameters
- text System.String
- level System.Int32 = 1
public OdtParagraph AddParagraph(String? text = null) #Returns:
OdtParagraphAdds a paragraph.
Parameters
- text System.String? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Kind { get; } #Native story kind, including distinct first and left variants.
public String? MasterPageName { get; } #Owning authored master page name when present.
public IReadOnlyList<OdtContentBlock> ContentBlocks { get; } #Supported ordered paragraph and table blocks in the existing story.
public Boolean IsDisplayed { get; set; } #Whether this header or footer is displayed by the master page.
public IReadOnlyList<OdtParagraph> Paragraphs { get; } #Paragraphs in this header or footer.
public Int32 NonParagraphBlockCount { get; } #Direct content blocks outside the paragraph and heading surface.