#include <isetattr.h>
Inheritance diagram for OverprintFillAttrValue:
Public Member Functions | |
OverprintFillAttrValue () | |
Default Constuctor for OverprintFillAttrValue The Overprint state is set to FALSE. | |
OverprintFillAttrValue (BOOL OverprintIsOn) | |
OverprintFillAttrValue constructor. | |
virtual void | Render (RenderRegion *pRegion, BOOL Temp=FALSE) |
Sets the OverprintFillAttrValue attribute for the given render region. | |
virtual void | Restore (RenderRegion *pRegion, BOOL Temp) |
Restores the OverprintFillAttrValue attribute for the given render region. | |
virtual void | SimpleCopy (AttributeValue *pValue) |
See AttributeValue::SimpleCopy. | |
virtual NodeAttribute * | MakeNode () |
Make a new attribute node for this type of attr value - see base class. | |
virtual BOOL | IsDifferent (AttributeValue *pAttr) |
Determines if this AttrValue is different from the given one. | |
virtual OverprintFillAttrValue & | operator= (OverprintFillAttrValue &Attrib) |
Assignment operator. | |
virtual INT32 | operator== (const ImagesettingAttrValue &Attrib) |
Comparison operator. | |
BOOL | IsOverprintOn (void) const |
void | SetOverprint (BOOL NewValue) |
Static Public Member Functions | |
static BOOL | Init (void) |
Registers a default attribute of this type with the attribute manager. | |
Protected Attributes | |
BOOL | OverprintOn |
Definition at line 281 of file isetattr.h.
|
Default Constuctor for OverprintFillAttrValue The Overprint state is set to FALSE.
Definition at line 782 of file isetattr.cpp. 00783 { 00784 OverprintOn = FALSE; 00785 }
|
|
OverprintFillAttrValue constructor.
Definition at line 802 of file isetattr.cpp. 00803 { 00804 OverprintOn = OverprintIsOn; 00805 }
|
|
Registers a default attribute of this type with the attribute manager.
Reimplemented from SimpleCCObject. Definition at line 822 of file isetattr.cpp. 00823 { 00824 OverprintFillAttrValue *pAttr = new OverprintFillAttrValue; 00825 if (pAttr == NULL) 00826 return FALSE; 00827 00828 UINT32 ID = AttributeManager::RegisterDefaultAttribute(CC_RUNTIME_CLASS(OverprintFillAttrValue), 00829 pAttr); 00830 00831 ERROR2IF(ID == ATTR_BAD_ID, FALSE, "Bad ID when Initialising OverprintFillAttrValue"); 00832 00833 return(TRUE); 00834 }
|
|
Determines if this AttrValue is different from the given one.
Reimplemented from AttributeValue. Definition at line 958 of file isetattr.cpp. 00959 { 00960 ERROR3IF(!pAttr->IsKindOf(CC_RUNTIME_CLASS(OverprintFillAttrValue)), 00961 "Different attribute types in OverprintFillAttrValue::IsDifferent()"); 00962 00963 // Check they are NOT the same using the == operator 00964 return ( !(*((OverprintFillAttrValue *)pAttr) == *this) ); 00965 }
|
|
Definition at line 306 of file isetattr.h. 00306 { return(OverprintOn); };
|
|
Make a new attribute node for this type of attr value - see base class.
Reimplemented from AttributeValue. Definition at line 928 of file isetattr.cpp. 00929 { 00930 // Create new attribute node 00931 AttrOverprintFill *pAttr = new AttrOverprintFill(); 00932 if (pAttr == NULL) 00933 return NULL; 00934 00935 // Copy attribute value into the new node. 00936 pAttr->Value.SimpleCopy(this); 00937 00938 return(pAttr); 00939 }
|
|
Assignment operator.
Definition at line 982 of file isetattr.cpp. 00983 { 00984 OverprintOn = Attrib.OverprintOn; 00985 00986 return(*this); 00987 }
|
|
Comparison operator.
Implements ImagesettingAttrValue. Definition at line 1006 of file isetattr.cpp. 01007 { 01008 ERROR3IF(!Attrib.IsKindOf(CC_RUNTIME_CLASS(OverprintFillAttrValue)), 01009 "Other attribute value isn't an OverprintFillAttrValue"); 01010 01011 OverprintFillAttrValue *Other = (OverprintFillAttrValue *) &Attrib; 01012 return(Other->OverprintOn == OverprintOn); 01013 }
|
|
Sets the OverprintFillAttrValue attribute for the given render region.
Implements AttributeValue. Definition at line 855 of file isetattr.cpp. 00856 { 00857 // Stack the current overprint attribute and set ourselves up as the new one 00858 pRegion->SetFillOverprint(this, Temp); 00859 }
|
|
Restores the OverprintFillAttrValue attribute for the given render region.
Implements ImagesettingAttrValue. Definition at line 882 of file isetattr.cpp. 00883 { 00884 pRegion->RestoreFillOverprint(this, Temp); 00885 }
|
|
Definition at line 307 of file isetattr.h. 00307 { OverprintOn = NewValue; };
|
|
See AttributeValue::SimpleCopy.
Implements AttributeValue. Definition at line 902 of file isetattr.cpp. 00903 { 00904 ERROR3IF(!IS_A(pValue, OverprintFillAttrValue), 00905 "Invalid Attribute value passed to OverprintFillAttrValue::SimpleCopy"); 00906 00907 // Just uses the assignment operator 00908 *this = *((OverprintFillAttrValue *) pValue); 00909 }
|
|
Definition at line 307 of file isetattr.h. |