namespace ReadSharp.Ports.NReadability
{
public class DomSerializationParams
{
#region Factory methods
///
/// Creates an instance of DomSerializationParams with parameters set to their defaults.
///
public static DomSerializationParams CreateDefault()
{
return new DomSerializationParams();
}
#endregion
#region Properties
///
/// Determines whether the output will be formatted.
///
public bool PrettyPrint { get; set; }
///
/// Determines whether DOCTYPE will be included at the beginning of the output.
///
public bool DontIncludeContentTypeMetaElement { get; set; }
///
/// Determines whether mobile-specific elements (such as eg. meta HandheldFriendly) will be added/replaced in the output.
///
public bool DontIncludeMobileSpecificMetaElements { get; set; }
///
/// Determines whether a meta tag with a content-type specification will be added/replaced in the output.
///
public bool DontIncludeDocTypeMetaElement { get; set; }
///
/// Determines whether a meta tag with a generator specification will be added/replaced in the output.
///
public bool DontIncludeGeneratorMetaElement { get; set; }
///
/// If [true], replace all img-tags with placeholders.
///
public bool ReplaceImagesWithPlaceholders { get; set; }
///
/// Render complete Website or only the Body
///
public bool BodyOnly { get; set; }
///
/// Remove headline of website
///
public bool NoHeadline { get; set; }
#endregion
}
}