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