Exemplo n.º 1
0
 public virtual void GenerateBody()
 {
     BodyElement = new Body(Compatibility);
     BodyElement.GlobalAttributes.Class.Value = "epub";
     if (_content != null)
     {
         BodyElement.Add(_content);
     }
 }
Exemplo n.º 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);
     }
 }