DTHTMLWriter Class Reference
Inherits from | NSObject |
Declared in | DTHTMLWriter.h |
Overview
Class to generate HTML from NSAttributedString
instances.
Creating web archive from a DTHTMLWriter.
Tasks
Creating an HTML Writer
Generating HTML
Properties
-
textScale
property -
useAppleConvertedSpace
property -
attributedString
property
DTWebArchive Methods
Properties
attributedString
The attributed string that the writer is processing.
@property (nonatomic, readonly) NSAttributedString *attributedString
Declared In
DTHTMLWriter.h
Instance Methods
HTMLFragment
Generates a HTML fragment representation of the attributed string including inlined styles and no html or head elements
- (NSString *)HTMLFragment
Return Value
The generated string
Declared In
DTHTMLWriter.h
HTMLString
Generates a HTML representation of the attributed string
- (NSString *)HTMLString
Return Value
The generated string
Declared In
DTHTMLWriter.h