GBParagraphItem Class Reference
| Inherits from | NSObject |
| Declared in | GBParagraphItem.h GBParagraphItem.m |
Tasks
Initialization & disposal
-
+ paragraphItemReturns new autoreleased instance. -
+ paragraphItemWithStringValue:Returns new autoreleased instance withstringValueset to the given text.
Values
-
stringValueItem's string value. property
Debugging aids
-
descriptionStringValueString value as used in debug description. property
Output generator helpers
-
isTextItemReturnsYESif this item is text. This is only used to simplify output generation! property -
isOrderedListItemReturnsYESif this is ordered list item. This is only used to simplify output generation! property -
isUnorderedListItemReturnsYESif this is unordered list item. This is only used to simplify output generation! property -
isWarningSpecialItemReturnsYESif this is warning special item. This is only used to simplify output generation! property -
isBugSpecialItemReturnsYESif this is bug special item. This is only used to simplify output generation! property -
isExampleSpecialItemReturnsYESif this is example special item. This is only used to simplify output generation! property -
isBoldDecoratorItemReturnsYESif this is bold decorator item. This is only used to simplify output generation! property -
isItalicsDecoratorItemReturnsYESif this is italics decorator item. This is only used to simplify output generation! property -
isCodeDecoratorItemReturnsYESif this is code decorator item. This is only used to simplify output generation! property -
isLinkItemReturnsYESif this is link item. This is only used to simplify output generation! property
Properties
descriptionStringValue
String value as used in debug description.
@property (readonly) NSString *descriptionStringValueDiscussion
By default this returns string value trimmed to a predefined maximum length, but subclasses can override to provide their specific implementation. This is only used for debugging purposes and should not be used for any output generation! See description method implementation for details.
Sending this message is equivalent to sending descriptionForStringValue: to receiver and passing it stringValue as the parameter.
Declared In
GBParagraphItem.hisBoldDecoratorItem
Returns YES if this is bold decorator item. This is only used to simplify output generation!
@property (readonly) BOOL isBoldDecoratorItemDeclared In
GBParagraphItem.hisBugSpecialItem
Returns YES if this is bug special item. This is only used to simplify output generation!
@property (readonly) BOOL isBugSpecialItemDeclared In
GBParagraphItem.hisCodeDecoratorItem
Returns YES if this is code decorator item. This is only used to simplify output generation!
@property (readonly) BOOL isCodeDecoratorItemDeclared In
GBParagraphItem.hisExampleSpecialItem
Returns YES if this is example special item. This is only used to simplify output generation!
@property (readonly) BOOL isExampleSpecialItemDeclared In
GBParagraphItem.hisItalicsDecoratorItem
Returns YES if this is italics decorator item. This is only used to simplify output generation!
@property (readonly) BOOL isItalicsDecoratorItemDeclared In
GBParagraphItem.hisLinkItem
Returns YES if this is link item. This is only used to simplify output generation!
@property (readonly) BOOL isLinkItemDeclared In
GBParagraphItem.hisOrderedListItem
Returns YES if this is ordered list item. This is only used to simplify output generation!
@property (readonly) BOOL isOrderedListItemDeclared In
GBParagraphItem.hisTextItem
Returns YES if this item is text. This is only used to simplify output generation!
@property (readonly) BOOL isTextItemDeclared In
GBParagraphItem.hisUnorderedListItem
Returns YES if this is unordered list item. This is only used to simplify output generation!
@property (readonly) BOOL isUnorderedListItemDeclared In
GBParagraphItem.hClass Methods
paragraphItemWithStringValue:
Returns new autoreleased instance with stringValue set to the given text.
+ (id)paragraphItemWithStringValue:(NSString *)valueParameters
- value
- The string value of the item.
Return Value
Returns initialized value.
Discussion
This is equivalent to the following code:
GBParagraphItem *item = [GBParagraphItem paragraphItem]; item.stringValue = value;
Declared In
GBParagraphItem.h