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