API Reference

Class

OdtSection

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Modifiers sealed

An XML-backed named ODT section.

Inheritance

  • Object
  • OdtSection

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

Methods

public OdtParagraph AddHeading(String text, Int32 level = 1) #
Returns: OdtParagraph

Adds a heading to the section.

Parameters

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

Adds a paragraph to the section.

Parameters

text System.String = null optionalposition: 0

Properties

public String Name { get; set; } #

Section name.

public IReadOnlyList<OdtParagraph> Paragraphs { get; } #

Paragraphs directly contained by the section.