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
-
textScaleproperty -
useAppleConvertedSpaceproperty -
attributedStringproperty
DTWebArchive Methods
Properties
attributedString
The attributed string that the writer is processing.
@property (nonatomic, readonly) NSAttributedString *attributedStringDeclared In
DTHTMLWriter.hInstance Methods
HTMLFragment
Generates a HTML fragment representation of the attributed string including inlined styles and no html or head elements
- (NSString *)HTMLFragmentReturn Value
The generated string
Declared In
DTHTMLWriter.hHTMLString
Generates a HTML representation of the attributed string
- (NSString *)HTMLStringReturn Value
The generated string
Declared In
DTHTMLWriter.h