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