/// <summary> /// Saves the DOM into the OpenXML part. /// </summary> /// <param name="openXmlPart">The part to be saved to.</param> public void Save(StylesPart openXmlPart) { base.SaveToPart(openXmlPart); }
/// <summary> /// Styles constructor. /// </summary> /// <param name="ownerPart">The owner part of the Styles.</param> internal Styles(StylesPart ownerPart) : base(ownerPart) { }
/// <summary> /// Loads the DOM from an OpenXML part. /// </summary> /// <param name="openXmlPart">The part to be loaded.</param> public void Load(StylesPart openXmlPart) { LoadFromPart(openXmlPart); }
internal static void AddParagraphPropertiesDefault(StylesPart sp) { sp.Styles = new Styles(new DocDefaults(new ParagraphPropertiesDefault())); }