public void setFontStyle(boolean italic, boolean bold){boolean modified = italic || bold;fontFormatting.setItalic(italic);fontFormatting.setBold(bold);fontFormatting.setFontStyleModified(modified);fontFormatting.setFontWieghtModified(modified);}
public void SetFontStyle(bool italic, bool bold){bool modified = italic || bold;fontFormatting.IsItalic=italic;fontFormatting.IsBold=bold;fontFormatting.IsFontStyleModified=modified;fontFormatting.IsFontWeightModified=modified;}