示例#1
0
 /// <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);
 }
示例#2
0
        /// <summary>
        /// Styles constructor.
        /// </summary>
        /// <param name="ownerPart">The owner part of the Styles.</param>
        internal Styles(StylesPart ownerPart)
            : base(ownerPart)
        {

        }
示例#3
0
 /// <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);
 }
示例#4
0
 internal static void AddParagraphPropertiesDefault(StylesPart sp)
 {
     sp.Styles = new Styles(new DocDefaults(new ParagraphPropertiesDefault()));
 }