Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfLegacyNumbering

Namespace OfficeIMO.Rtf
Assembly OfficeIMO.Rtf
Implements
IRtfCloneable
Modifiers sealed

Word 6/95 legacy paragraph numbering metadata represented by the {\*\pn ...} destination and related \pn* controls.

Inheritance

  • Object
  • RtfLegacyNumbering

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

Accepted by parameters

Constructors

public RtfLegacyNumbering() #

Methods

public Void Clear() #
Returns: Void

Clears all legacy numbering metadata.

public Void CopyFrom(RtfLegacyNumbering source) #
Returns: Void

Copies all legacy numbering metadata from another instance.

Parameters

source OfficeIMO.Rtf.RtfLegacyNumbering requiredposition: 0

Properties

public Boolean Enabled { get; set; } #

Whether legacy paragraph numbering is explicitly enabled by \pn.

public RtfLegacyNumberingLevelKind LevelKind { get; set; } #

Legacy numbering level kind.

public Nullable<Int32> Level { get; set; } #

Explicit one-based paragraph level from \pnlvl, when present.

public RtfLegacyNumberingStyle NumberStyle { get; set; } #

Legacy numbering text style.

public Nullable<Boolean> NumberEachCellOnce { get; set; } #

Number each table cell only once, represented by \pnnumonce.

public Nullable<Boolean> NumberAcrossRows { get; set; } #

Number across rows instead of down columns, represented by \pnacross.

public Nullable<Boolean> HangingIndent { get; set; } #

Paragraph uses a hanging indent, represented by \pnhang.

public Nullable<Boolean> RestartAfterSection { get; set; } #

Restart numbering after section breaks, represented by \pnrestart.

public Nullable<Boolean> IncludePreviousLevels { get; set; } #

Include previous level numbers, represented by \pnprev.

public Nullable<Int32> IndentTwips { get; set; } #

Minimum distance from margin to body text in twips, represented by \pnindent.

public Nullable<Int32> SpaceTwips { get; set; } #

Distance from number text to body text in twips, represented by \pnsp.

public Nullable<Int32> StartAt { get; set; } #

Starting number represented by \pnstart.

public Nullable<RtfLegacyNumberingAlignment> Alignment { get; set; } #

Numbering alignment represented by \pnql, \pnqc, or \pnqr.

public Nullable<Int32> FontId { get; set; } #

Font id for the generated number text, represented by \pnf.

public Nullable<Int32> FontSizeHalfPoints { get; set; } #

Font size for generated number text in half-points, represented by \pnfs.

public Nullable<Int32> ForegroundColorIndex { get; set; } #

Foreground color table index for generated number text, represented by \pncf.

public Nullable<Boolean> Bold { get; set; } #

Whether generated number text is bold, represented by \pnb.

public Nullable<Boolean> Italic { get; set; } #

Whether generated number text is italic, represented by \pni.

public Nullable<Boolean> AllCaps { get; set; } #

Whether generated number text uses all caps, represented by \pncaps.

public Nullable<Boolean> SmallCaps { get; set; } #

Whether generated number text uses small caps, represented by \pnscaps.

public Nullable<RtfUnderlineStyle> UnderlineStyle { get; set; } #

Underline style for generated number text.

public Nullable<Boolean> Strike { get; set; } #

Whether generated number text is struck through, represented by \pnstrike.

public String TextBefore { get; set; } #

Text preceding the generated number, represented by the \pntxtb destination.

public String TextAfter { get; set; } #

Text following the generated number, represented by the \pntxta destination.

public Boolean HasAnyValue { get; } #

Whether any legacy numbering metadata is present.