Пример #1
0
 public virtual void GenerateBody()
 {
     BodyElement = new Body(Compatibility);
     BodyElement.GlobalAttributes.Class.Value = "epub";
     if (_content != null)
     {
         BodyElement.Add(_content);
     }
 }
Пример #2
0
 public virtual void GenerateBody()
 {
     BodyElement = new Body(Compatibility);
     BodyElement.GlobalAttributes.Class.Value = ElementStylesV3.EPUB;
     if (_epubAttributeTypes.IsPresent())
     {
         BodyElement.CustomAttributes.Add(_epubAttributeTypes.GetAsCustomAttribute());
     }
     if (_content != null)
     {
         BodyElement.Add(_content);
     }
 }