Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OdtHeaderFooter

OfficeIMO.OpenDocument

Namespace
OfficeIMO.OpenDocument
Assembly
OfficeIMO.OpenDocument
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

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.

Methods

public OdtParagraph AddHeading(string text, int level = 1) #

Adds a heading with an outline level from 1 through 10.

Parameters

text string required
level int = 1 optional
public OdtParagraph AddParagraph(string? text = null) #

Adds a paragraph.

Parameters

text string? = null optional

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 bool 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 int NonParagraphBlockCount { get; } #

Direct content blocks outside the paragraph and heading surface.