Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OdtHeaderFooter

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Source revision a039964de4cc 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, Int32 level = 1) #
Returns: OdtParagraph

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

Parameters

text System.String requiredposition: 0
level System.Int32 = 1 optionalposition: 1
public OdtParagraph AddParagraph(String? text = null) #
Returns: OdtParagraph

Adds a paragraph.

Parameters

text System.String? = null optionalposition: 0

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.