InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IStylesheetData Class Referenceabstract

#include <IStylesheetData.h>

Inheritance diagram for IStylesheetData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ISTYLESHEETDATA }
 

Public Member Functions

virtual void Copy (const IStylesheetData *other)=0
 
virtual void SetFile (const IDFile &theFile)=0
 
virtual const IDFileGetFile () const =0
 
virtual void SetParameters (const std::vector< std::pair< PMString, PMString > > &parameters)=0
 
virtual const std::vector
< std::pair< PMString,
PMString > > 
GetParameters () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

An interface that can be aggregated onto the import xml command boss to specify a style sheet and a set of style sheet parameters. The xml content is transformed using the style sheet and parameters before being handed to the xml import code.

Member Function Documentation

virtual void IStylesheetData::Copy (const IStylesheetDataother)
pure virtual

Copy the data from other to this interface.

Parameters
otherspecifies where the data should be copied from.
virtual const IDFile& IStylesheetData::GetFile () const
pure virtual

Return the file path of the style sheet.

Returns
Result is the file path of the style sheet.
virtual const std::vector< std::pair<PMString, PMString> > IStylesheetData::GetParameters () const
pure virtual

Return the list of style sheet parameters and their values.

Returns
a list of pairs where the first value in the pair in the pair is the name of the parameter and the second is the value.
virtual void IStylesheetData::SetFile (const IDFiletheFile)
pure virtual

Specify the file path of the style sheet.

Parameters
theFilespecifies an XSLT style sheet.
virtual void IStylesheetData::SetParameters (const std::vector< std::pair< PMString, PMString > > & parameters)
pure virtual

Specify the values for the style sheet parameters.

Parameters
parametersspecifies a list of pairs where the first value in the pair in the pair is the name of the parameter and the second is the value.