DTHTMLWriter Class Reference
| Inherits from | NSObject |
| Declared in | DTHTMLWriter.h |
Tasks
Creating an HTML Writer
Generating HTML
Properties
-
textScaleproperty -
useAppleConvertedSpaceproperty -
attributedStringproperty -
paragraphTagNameproperty
Properties
attributedString
The attributed string that the writer is processing.
@property (nonatomic, readonly) NSAttributedString *attributedStringDeclared In
DTHTMLWriter.hparagraphTagName
The HTML element tag name to use for paragraphs. Defaults to @“p”.
@property (nonatomic, strong) NSString *paragraphTagNameDeclared 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.h