Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_IBClassToCPXML.h File Reference


Defines

#define CP_RegisterIBClassConverter(inClassName, inConverterFunction)   CPLAT::CP_IBClassToCPXML::Instance()->RegisterIBClassToXMLConverter( inClassName, inConverterFunction )
#define CP_RegisterCustomControlID(inCustomID, inClassName)   CPLAT::CP_IBClassToCPXML::Instance()->RegisterCustomControlToCPLATClassName( inCustomID, inClassName )

Typedefs

typedef std::map< CP_String,
IBClassToXMLConverterCallback,
std::less< CP_String > > 
CP_IBClassToXMLWriter_Map
typedef std::map< CP_String,
IBClassToXMLConverterCallback,
std::less< CP_String
> >::iterator 
CP_IBClassToXMLWriter_Iterator
typedef std::pair< const CP_String,
IBClassToXMLConverterCallback
CP_IBClassToXMLWriter_Entry

Functions

void RegisterKnownIBClasses ()
void WriteStandardControlFields (CP_XMLDocNode *inParentNode, CP_XMLWriter_Element *inWidgetElement, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassWindowToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassBevelButtonToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassChasingArrowsToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassCheckBoxToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassClockDateToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassComboBoxToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassDisclosureTriangleToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassEditFieldToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassGroupBoxToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassIconControlToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassImageWellToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassLittleArrowsToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassPictureControlToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassProgressToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassPopupArrowToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassPopupMenuToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassPushButtonToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassRadioButtonToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassRadioGroupToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassRelevanceBarToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassRoundButtonToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassSeparatorToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassScrollBarToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassSliderToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassStaticTextToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassTabViewToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void WriteTabItems (CP_XMLDocNode *inParentNode, CP_XMLWriter_Element *inWidgetElement, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement)
void WriteTabItem (CP_XMLDocNode *inParentNode, CP_XMLWriter_Element *inWidgetElement, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement)
void HandleTabSubViewSection (CP_XMLDocNode *inSubviewsParentNode, CP_Rect &inTabViewBounds)
CP_String AskUserForViewFileName (const CP_String &inDefaultName, SInt16 inTabNumber)
void HandleDismiss (CP_DataValueHolder &inValue, OSStatus &inOutStatus)
void IBClassTextViewToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassUserPaneViewToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void IBClassCustomControlToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_LittleArrowsBuddyToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_OpenGLToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_PlacardToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_QuickTimeMovieViewToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_SelectColorButtonToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_ScrollableViewToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_ScrollerToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_SplitterToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_TableViewToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_TVDataBrowserToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_ToolbarToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_ViewToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_WindowHeaderToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
void CPCustomControl_WindowListHeaderToXML (CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
CP_XMLDocNodeFindOptionalMenuItems (CP_XMLDocNode *inParentNode)
void WriteMenu (CP_XMLDocNode *inParentNode, CP_XMLWriter_Element *inWidgetElement, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement)
void WriteMenuItems (CP_XMLDocNode *inParentNode, CP_XMLWriter_Element *inWidgetElement, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement)
void WriteMenuItem (CP_XMLDocNode *inParentNode, CP_XMLWriter_Element *inWidgetElement, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement)
bool IBHasDictionaryNode (CP_XMLDocNode *inParentNode)
bool IBHasCPWNFrameParameter (CP_XMLDocNode *inDictionaryNode)

Variables

CPLAT_Begin_Namespace_CPLAT
typedef void(* 
IBClassToXMLConverterCallback )(CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)

Define Documentation

#define CP_RegisterIBClassConverter inClassName,
inConverterFunction   )     CPLAT::CP_IBClassToCPXML::Instance()->RegisterIBClassToXMLConverter( inClassName, inConverterFunction )
 

#define CP_RegisterCustomControlID inCustomID,
inClassName   )     CPLAT::CP_IBClassToCPXML::Instance()->RegisterCustomControlToCPLATClassName( inCustomID, inClassName )
 


Typedef Documentation

typedef std::map<CP_String, IBClassToXMLConverterCallback, std::less<CP_String> > CP_IBClassToXMLWriter_Map
 

typedef std::map<CP_String, IBClassToXMLConverterCallback, std::less<CP_String> >::iterator CP_IBClassToXMLWriter_Iterator
 

typedef std::pair<const CP_String, IBClassToXMLConverterCallback> CP_IBClassToXMLWriter_Entry
 


Function Documentation

void RegisterKnownIBClasses  ) 
 

Registers the known classes that Interfacce Builder supports and their CPLAT equivalent, and our custom controls.

Exceptions:
none 
Returns:
void

void WriteStandardControlFields CP_XMLDocNode inParentNode,
CP_XMLWriter_Element inWidgetElement,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element ,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Outputs the common fields for all CPLAT classes, these include the location and size of the controls. Also the values, text, and visible or enabled status. This is called from all of the classes to write the common fields for all controls.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inWidgetElement The parent element of the output xml, in this case it represents the element that contains the CPLAT class name.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassWindowToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect ,
bool & 
 

Called when a window node is encountered.

Note: If you are using a document window class, then a CP_DocumentWindow will be created. For all other window classes, a CP_Window object is created. If you need to have the document window class create a CP_Window, then add a custom window attribute in Interface Builder. The name needs to be "CPWN", the value and type don't matter, we only check if that property is there.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds No used.
inOutInPortBounds Not used.
Exceptions:
none 
Returns:
void

void IBClassBevelButtonToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a bevel button.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassChasingArrowsToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a chasing arrows control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassCheckBoxToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a check box control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassClockDateToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a clock / date control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassComboBoxToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a combo box control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassDisclosureTriangleToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a disclosure triangle control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassEditFieldToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a edit field control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassGroupBoxToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a group box control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassIconControlToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a icon control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassImageWellToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a image well control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassLittleArrowsToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a little arrows control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassPictureControlToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a picture control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassProgressToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a progress control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassPopupArrowToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a popup arrows control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassPopupMenuToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a popup menu control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassPushButtonToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a push button control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassRadioButtonToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a radio button control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassRadioGroupToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a radio group control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassRelevanceBarToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a relevance control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassRoundButtonToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a round button control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassSeparatorToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a separator control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassScrollBarToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a scroll bar control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassSliderToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a slider control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassStaticTextToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a static text control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassTabViewToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a tab view control. This will also create a separate view for each tab panels content area view.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void WriteTabItems CP_XMLDocNode inParentNode,
CP_XMLWriter_Element inWidgetElement,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement
 

Writes the tab items.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inWidgetElement Element of the tab view that acts as the parent for this element.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
Exceptions:
none 
Returns:
void

void WriteTabItem CP_XMLDocNode inParentNode,
CP_XMLWriter_Element inWidgetElement,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element
 

Writes a single tab item out. This is called from the WriteTabItems once for each tab.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inWidgetElement The tab element.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
Exceptions:
none 
Returns:
void

void HandleTabSubViewSection CP_XMLDocNode inSubviewsParentNode,
CP_Rect inTabViewBounds
 

Called to write out the views that are contained on one of the tabs. This will write all of the items in this tab out to a separate file that contains a parent view, and all of the subviews in the tabs content area.

Parameters:
inSubviewsParentNode The parent node of the subview that will contain all of the subviews.
inTabViewBounds The bounds of the containing tab view.
Exceptions:
none 
Returns:
void
Bug:
HandleBlock will leak in here

CP_String AskUserForViewFileName const CP_String inDefaultName,
SInt16  inTabNumber
 

Ask the user to select a file name.

Exceptions:
none 
Returns:
void

void HandleDismiss CP_DataValueHolder inValue,
OSStatus inOutStatus
 

void IBClassTextViewToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a text view control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassUserPaneViewToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when we need to convert a user pane control.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void IBClassCustomControlToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect ,
bool & 
 

Called when we need to convert a custom control. The custom control is used to create CPLAT views for any view that Interface Builder does not support.

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_LittleArrowsBuddyToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_LittleArrowsBuddy object. The custom control id is: LABD

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_OpenGLToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_OpenGL object. The custom control id is: OPGL

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_PlacardToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_Placard object. The custom control id is: PLAC

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_QuickTimeMovieViewToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a kCP_ClassName_QuickTimeMovieView object. The custom control id is: QTMV

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_SelectColorButtonToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_SelectColorButton object. The custom control id is: SELB

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_ScrollableViewToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_ScrollableView object. The custom control id is: SCVI

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_ScrollerToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_Scroller object. The custom control id is: SCRL

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_SplitterToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_Splitter object. The custom control id is: SPLT

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_TableViewToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_TableView object. The custom control id is: TBVI

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_TVDataBrowserToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_TableView object. The custom control id is: TVDB

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_ToolbarToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_Toolbar object. The custom control id is: TOLB

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_ViewToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_View object. The custom control id is: TVDB

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_WindowHeaderToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_WindowHeader object. The custom control id is: WINH

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

void CPCustomControl_WindowListHeaderToXML CP_XMLDocNode inParentNode,
const CP_String ,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement,
CP_Rect inOutBounds,
bool &  inOutInPortBounds
 

Called when a custom control is used to represent a CP_WindowListHeader object. The custom control id is: WILH

Parameters:
inParentNode The XMLDocument node that contains this controls fields as sub nodes of this document node.
inIBClassName Not used.
inXMLWriter The XMLWriter object that we are writing all of the xml data to.
inParentElement Not used.
inOutBounds Bounds of the parent or superview. This is used when we need to convert from view or control bounds that Interface Builder supplies as coordinates.
inOutInPortBounds Port bounds of the superview that contains this view.
Exceptions:
none 
Returns:
void

CP_XMLDocNode* FindOptionalMenuItems CP_XMLDocNode inParentNode  ) 
 

Seach the passed in node, and return a node if it finds one that represents a menu definition. If no menu definition is found, then NULL is returned.

Parameters:
inParentNode The node to search for a menu.
Exceptions:
none 
Returns:
void

void WriteMenu CP_XMLDocNode inParentNode,
CP_XMLWriter_Element inWidgetElement,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement
 

Writes out a menu.

Parameters:
inParentNode The node that contains the menu.
inWidgetElemennt The element we are writing to.
inXMLWriter The XMLWriter that we are writing the data to.
inParentElement Not used.
Exceptions:
none 
Returns:
void

void WriteMenuItems CP_XMLDocNode inParentNode,
CP_XMLWriter_Element inWidgetElement,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element inParentElement
 

Writes out the individual items in the menu.

Parameters:
inParentNode The node that contains the menu.
inWidgetElemennt The element we are writing to.
inXMLWriter The XMLWriter that we are writing the data to.
inParentElement Not used.
Exceptions:
none 
Returns:
void

void WriteMenuItem CP_XMLDocNode inParentNode,
CP_XMLWriter_Element inWidgetElement,
CP_XMLWriter inXMLWriter,
CP_XMLWriter_Element
 

Writes out a single menu item. This is called from the WriteMenuItems to write out a single menu item.

Parameters:
inParentNode The node that contains the menu.
inWidgetElemennt The element we are writing to.
inXMLWriter The XMLWriter that we are writing the data to.
inParentElement Not used.
Exceptions:
none 
Returns:
void

bool IBHasDictionaryNode CP_XMLDocNode inParentNode  ) 
 

bool IBHasCPWNFrameParameter CP_XMLDocNode inDictionaryNode  ) 
 

Check if the window properties has a dictionary frame properties node with the value kCP_IB_CPLAT_CP_WindowProperty indicating that we want to create a CP_Window instead of a CP_DocumentWindow when the window class is of type document from Interface Builder windows.

Parameters:
inDictionaryNode The XMLDocument node that contains the dictionary entries.
Exceptions:
none 
Returns:
void


Variable Documentation

CPLAT_Begin_Namespace_CPLAT typedef void(* IBClassToXMLConverterCallback)(CP_XMLDocNode *inParentNode, const CP_String &inIBClassName, CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, CP_Rect &inOutBounds, bool &inOutInPortBounds)
 


Generated on Sat Sep 17 20:01:16 2005 for CPLAT by  doxygen 1.4.0