company logo

SystemClass :: CreateDocument - Create document

The function may be called from within OSI or C++ functions in order to create documents from database content. Details for using Open Document templates are described in "Open Document templates".

The function is called with a variable (collection) name in calling_object, which refers to the data source to be printed. The template_path refers to the location, were the document template is stored. document_path is the target location for the document to be generated.

Return value:  Success ( logical  )

Implementation details

logical SystemClass  :: CreateDocument ( PropertyHandle &calling_object, NString &template_path, NString &document_path )
  • calling_object - Calling object

    The calling object is the property handle for the property (variable, collection) to be processed by a external function or service.

  • template_path - Template path

    Complete path to the template document. The path may contain option variables.

  • document_path - Document path

    This is the complete path to the document location. The path may contain option variables.