示例#1
0
 public IEnumerable <Run> AppendNumberOfDocumentPages(SpecialEastAsiaFieldGeneralFormatting formatting, bool charFormat, bool mergeFormat)
 {
     return(AppendComplexField(FieldType.NumPages, "", $"\\* {GeneralFormattingSwitchHelper.GetSwitch(formatting)}", charFormat, mergeFormat, Run.Create(" ", ParentContainer)));
 }
示例#2
0
 public IEnumerable <Run> AppendCurrentPageNumber(CommonFieldGeneralFormatting formatting, bool charFormat, bool mergeFormat)
 {
     return(AppendComplexField(FieldType.Page, "", $"\\* {GeneralFormattingSwitchHelper.GetSwitch(formatting)}", charFormat, mergeFormat, Run.Create(" ", ParentContainer)));
 }