![]() | InDesign SDK 20.5 |
#include <IXMLScriptUtils.h>

Public Types | |
| enum | { kDefaultIID = IID_IXMLSCRIPTUTILS } |
Public Member Functions | |
| virtual IScript * | CreateXMLItemProxyScriptObject (const ScriptInfo::RequestContext &context, const XMLReference &xmlItemRef, IPMUnknown *parent=nil)=0 |
| virtual IScript * | CreateXMLAttributeProxyScriptObject (const ScriptInfo::RequestContext &context, const XMLReference &xmlItemRef, const PMString &name, IPMUnknown *parent=nil)=0 |
| virtual IIDXMLElement * | QueryXMLElement (IScript *script)=0 |
| virtual void | GetXMLItemTypeAndContent (const XMLReference &xmlItemRef, ScriptID *scriptID=nil, XMLContentReference::ContentType *contentType=nil)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Utilities for simplifying scripting XML items.
| pure virtual |
Create a proxy script object to represent this XML attribute to the scripting world.
| xmlItemRef | specifies XML item of interest |
| name | identifies the attribute of interest the parent script. Use the default value nil if the parent is unknown. |
| pure virtual |
Create a proxy script object to represent this XML item to the scripting world. It may be an element, comment, or a PI.
| xmlItemRef | specifies XML item of interest the parent script. Use the default value nil if the parent is unknown. |
| pure virtual |
Get the scripting object id of the specified XML item. Also get the content that it points to.
| xmlItemRef | specifies XML item of interest |
| scriptID | If not nil will be filled with the object's ScriptID |
| contentType | If not nil will be filled with the object's content type |
| pure virtual |
Obtain the IIDXMLElement interface from a IScript interface; they are on different bosses
| script | specifies interface on script boss object |