#include <txtattr.h>
Inheritance diagram for AttrTxtTracking:
Public Member Functions | |
AttrTxtTracking () | |
Default constructor for AttrTxtTracking class. | |
AttrTxtTracking (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=FALSE, BOOL Mangled=FALSE, BOOL Marked=FALSE, BOOL Selected=FALSE) | |
Creates a AttrTxtTracking Attribute. | |
void | Render (RenderRegion *pRender) |
'Renders' a Line Width attribute. | |
Node * | SimpleCopy () |
This method returns a shallow copy of the node with all Node pointers NULL. The function is virtual, and must be defined for all derived classes. | |
virtual INT32 | operator== (const NodeAttribute &NodeAttrib) |
A virtual comparison operator. See NodeAttribute::operator== for a description of why it's required. | |
virtual UINT32 | GetAttrNameID (void) |
Returns back a string resource ID describing the attribute. | |
virtual AttrIndex | GetAttributeIndex () |
void | GetDebugDetails (StringBase *Str) |
Used for debugging purposes during developement. Override in your own class and output suitable debugging details. | |
virtual UINT32 | GetNodeSize () const |
For finding the size of the node. | |
virtual AttributeValue * | GetAttributeValue () |
virtual void | PolyCopyNodeContents (NodeRenderable *pNodeCopy) |
Polymorphically copies the contents of this node to another. | |
virtual BOOL | WritePreChildrenWeb (BaseCamelotFilter *pFilter) |
Saves the text tracking attribute to the new file format filter. | |
virtual BOOL | WritePreChildrenNative (BaseCamelotFilter *pFilter) |
Public Attributes | |
TxtTrackingAttribute | Value |
Private Member Functions | |
void | CopyNodeContents (AttrTxtTracking *NodeCopy) |
This method copies the node's contents to the node pointed to by NodeCopy. |
Definition at line 1187 of file txtattr.h.
|
Default constructor for AttrTxtTracking class.
Definition at line 5888 of file txtattr.cpp.
|
|
Creates a AttrTxtTracking Attribute.
Definition at line 5863 of file txtattr.cpp. 05869 : AttrTxtBase(ContextNode, Direction, Locked, Mangled, Marked, Selected) 05870 { 05871 }
|
|
This method copies the node's contents to the node pointed to by NodeCopy.
Definition at line 6010 of file txtattr.cpp. 06011 { 06012 // Let the base class do its bit 06013 NodeAttribute::CopyNodeContents( NodeCopy ); 06014 06015 //Copy contents specific to derived class here 06016 NodeCopy->Value.Tracking = Value.Tracking; 06017 }
|
|
Reimplemented from NodeAttribute. Definition at line 1209 of file txtattr.h. 01209 { return ATTR_TXTTRACKING; }
|
|
Reimplemented from NodeAttribute. Definition at line 1217 of file txtattr.h. 01217 { return &Value; }
|
|
Returns back a string resource ID describing the attribute.
Reimplemented from NodeAttribute. Definition at line 5986 of file txtattr.cpp. 05987 { 05988 return (_R(IDS_TRACKING)); 05989 }
|
|
Used for debugging purposes during developement. Override in your own class and output suitable debugging details.
Reimplemented from NodeRenderable. Definition at line 6076 of file txtattr.cpp. 06077 { 06078 NodeAttribute::GetDebugDetails( Str ); 06079 06080 String_256 TempStr; 06081 TempStr._MakeMsg( TEXT("\r\nTracking=#1%ld\r\n"), Value.Tracking); 06082 (*Str) += TempStr; 06083 }
|
|
For finding the size of the node.
Reimplemented from Node. Definition at line 6058 of file txtattr.cpp. 06059 { 06060 return (sizeof(AttrTxtTracking)); 06061 }
|
|
A virtual comparison operator. See NodeAttribute::operator== for a description of why it's required.
Reimplemented from NodeAttribute. Definition at line 5961 of file txtattr.cpp. 05962 { 05963 ENSURE(Attrib.IsKindOf(CC_RUNTIME_CLASS(AttrTxtTracking)), 05964 "Trying to compare two objects with different types"); 05965 AttrTxtTracking* Attr = (AttrTxtTracking*) &Attrib; 05966 return (Attr->Value.Tracking == Value.Tracking); 05967 }
|
|
Polymorphically copies the contents of this node to another.
Reimplemented from NodeRenderable. Definition at line 6032 of file txtattr.cpp. 06033 { 06034 ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); 06035 ENSURE(IS_A(pNodeCopy, AttrTxtTracking), "PolyCopyNodeContents given wrong dest node type"); 06036 06037 if (IS_A(pNodeCopy, AttrTxtTracking)) 06038 CopyNodeContents((AttrTxtTracking*)pNodeCopy); 06039 }
|
|
'Renders' a Line Width attribute.
Reimplemented from NodeAttribute. Definition at line 5908 of file txtattr.cpp. 05909 { 05910 pRegion->SetTxtTracking(&Value, FALSE); 05911 }
|
|
This method returns a shallow copy of the node with all Node pointers NULL. The function is virtual, and must be defined for all derived classes.
Reimplemented from NodeAttribute. Definition at line 5934 of file txtattr.cpp. 05935 { 05936 AttrTxtTracking* NodeCopy = new AttrTxtTracking(); 05937 ERRORIF(NodeCopy == NULL, _R(IDE_NOMORE_MEMORY), NULL); 05938 CopyNodeContents(NodeCopy); 05939 return NodeCopy; 05940 }
|
|
Reimplemented from Node. Definition at line 6109 of file txtattr.cpp. 06110 { 06111 #ifdef DO_EXPORT 06112 ERROR2IF(pFilter==NULL, FALSE, "Parameter pFilter == NULL."); 06113 06114 return CXaraFileTxtTracking::WritePreChildrenNative(pFilter, this); 06115 #else 06116 return FALSE; 06117 #endif 06118 }
|
|
Saves the text tracking attribute to the new file format filter.
Reimplemented from Node. Definition at line 6098 of file txtattr.cpp. 06099 { 06100 #ifdef DO_EXPORT 06101 ERROR2IF(pFilter==NULL, FALSE, "Parameter pFilter == NULL."); 06102 06103 return CXaraFileTxtTracking::WritePreChildrenWeb(pFilter, this); 06104 #else 06105 return FALSE; 06106 #endif 06107 }
|
|
|