RtfLegacyNumbering
OfficeIMO.Rtf
Word 6/95 legacy paragraph numbering metadata represented by the {\*\pn ...} destination and related \pn* controls.
Inheritance
- object
- RtfLegacyNumbering
Usage
Explore 5 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 2
- Property RtfParagraph.LegacyNumbering
- Property RtfStyle.LegacyNumbering
Accepted by parameters 3
- Method RtfLegacyNumbering.CopyFrom
- Method RtfParagraph.SetLegacyNumbering
- Method RtfStyle.SetLegacyNumbering
Constructors
public RtfLegacyNumbering() #Methods
public void CopyFrom(RtfLegacyNumbering source) #Copies all legacy numbering metadata from another instance.
Parameters
- source OfficeIMO.Rtf.RtfLegacyNumbering
Inherited Methods
Properties
public bool Enabled { get; set; } #Whether legacy paragraph numbering is explicitly enabled by \pn.
public RtfLegacyNumberingLevelKind LevelKind { get; set; } #Legacy numbering level kind.
public int? Level { get; set; } #Explicit one-based paragraph level from \pnlvl, when present.
public RtfLegacyNumberingStyle NumberStyle { get; set; } #Legacy numbering text style.
public bool? NumberEachCellOnce { get; set; } #Number each table cell only once, represented by \pnnumonce.
public bool? NumberAcrossRows { get; set; } #Number across rows instead of down columns, represented by \pnacross.
public bool? HangingIndent { get; set; } #Paragraph uses a hanging indent, represented by \pnhang.
public bool? RestartAfterSection { get; set; } #Restart numbering after section breaks, represented by \pnrestart.
public bool? IncludePreviousLevels { get; set; } #Include previous level numbers, represented by \pnprev.
public int? IndentTwips { get; set; } #Minimum distance from margin to body text in twips, represented by \pnindent.
public int? SpaceTwips { get; set; } #Distance from number text to body text in twips, represented by \pnsp.
public RtfLegacyNumberingAlignment? Alignment { get; set; } #Numbering alignment represented by \pnql, \pnqc, or \pnqr.
public int? FontId { get; set; } #Font id for the generated number text, represented by \pnf.
public int? FontSizeHalfPoints { get; set; } #Font size for generated number text in half-points, represented by \pnfs.
public int? ForegroundColorIndex { get; set; } #Foreground color table index for generated number text, represented by \pncf.
public bool? Bold { get; set; } #Whether generated number text is bold, represented by \pnb.
public bool? Italic { get; set; } #Whether generated number text is italic, represented by \pni.
public bool? AllCaps { get; set; } #Whether generated number text uses all caps, represented by \pncaps.
public bool? SmallCaps { get; set; } #Whether generated number text uses small caps, represented by \pnscaps.
public RtfUnderlineStyle? UnderlineStyle { get; set; } #Underline style for generated number text.
public bool? Strikethrough { 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 bool HasAnyValue { get; } #Whether any legacy numbering metadata is present.