## page was renamed from DevCenter/Documentation/ExtensionObjects/Project
= Project =
{{{#!rst
Purpose:
xx
Namespace:
urn:WebWorks-XSLT-Extension-Project
Prefix:
wwprojext
Methods:
GetDocumentsToGenerateChecksum():
xx
Returns:
String.
Example:
xx
GetProjectDataDirectoryPath():
This returns the project's top level data directory path. Traditionally this is the "Data" directory that is located next to the project file (.wep).
Returns:
String.
Example:
::
MyConfigurationFile.xml
GetProjectFilesDirectoryPath():
xx
Returns:
String.
Example:
xx
GetProjectFormatDirectoryPath():
xx
Returns:
String.
Example:
xx
GetProjectTargetName():
xx
Returns:
String.
Example:
xx
GetTargetDataDirectoryPath():
xx
Returns:
String.
Example:
xx
GetTargetOutputDirectoryPath():
This returns the full path to the current target's output
directory.
Returns:
String.
Example:
Create a path to "UserManual.pdf" in the output directory.
::
GetConfigurationChangeID():
xx
Returns:
String.
Example:
xx
GetRule(string ruleTypeAsString, string ruleName):
xx
Returns:
xx
Example:
xx
GetContextRule(string ruleTypeAsString, string ruleName, string documentID, string uniqueID):
xx
Returns:
xx
Example:
xx
GetOverrideRule(string ruleTypeAsString, string ruleName, string documentID, string uniqueID):
xx
Returns:
xx
Example:
xx
GetFormatName():
xx
Returns:
String.
Example:
xx
GetFormatID():
xx
Returns:
String.
Example:
xx
GetFormatSetting(string name, string defaultValue*):
This retrieves a value from the format settings. New format settings can be created using
the .fti files found in the format. For example, the company info settings are found in::
Formats/Shared/common/companyinfo/companyinfo.fti
[Comment from David Shaked] Please provide a list of the format identifiers (values of the "name" parameter) that can be used in this method. I found examples by searching the XSL. Some of them are not obvious.]
Returns:
String.
Example:
::
...
...
GetConditionIsPassThrough(string conditionName):
xx
Returns:
Boolean.
Example:
xx
GetGroupName(string groupID):
Gets the name of the group based on the groupID.
Returns:
String.
Example:
::
GetGroupDataDirectoryPath(string groupID):
xx
Returns:
String.
Example:
xx
GetDocumentPath(string documentID):
xx
Returns:
String.
Example:
xx
GetDocumentDataDirectoryPath(string documentID):
xx
Returns:
String.
Example:
xx
GetDocumentGroupPath(string documentID):
xx
Returns:
String.
Example:
xx
DocumentExtension(string extension):
xx
Returns:
Boolean.
Example:
xx
}}}