Template Module

Template functions. More...

Functions

A3DStatus A3DPDFDocumentUpdateData (A3DPDFDocument *pDoc, const A3DUTF8Char *pcAnnot3DUID, const A3DInt32 idxPage, const A3DInt32 idx3dAnnot, A3DAsmModelFile *pModelFile, const A3DRWParamsExportPrcData *pParamsExportData, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper, const A3DPDF3DArtworkData2 *p3DArtworkData, const A3DPDF3DAnnotData *p3DAnnotData, const A3DUTF8Char *pcIn3dAttribsFile, const A3DUTF8Char *pcInTextFieldDataFile)
 Function to automatically update Publish data into a document. Updated data is caroussel, slide tables, attributes, and text fields. More...
 

Detailed Description

Template functions.

This module describes the functions and structures that allow you to define a PDF Document from a layout template.

Function Documentation

A3DStatus A3DPDFDocumentUpdateData ( A3DPDFDocument pDoc,
const A3DUTF8Char pcAnnot3DUID,
const A3DInt32  idxPage,
const A3DInt32  idx3dAnnot,
A3DAsmModelFile pModelFile,
const A3DRWParamsExportPrcData pParamsExportData,
A3DRWParamsPrcWriteHelper **  ppPrcWriteHelper,
const A3DPDF3DArtworkData2 p3DArtworkData,
const A3DPDF3DAnnotData p3DAnnotData,
const A3DUTF8Char pcIn3dAttribsFile,
const A3DUTF8Char pcInTextFieldDataFile 
)

Function to automatically update Publish data into a document. Updated data is caroussel, slide tables, attributes, and text fields.

Parameters
[in]pDocThe Document object to work with.
[in]pcAnnot3DUIDIdentifier of the 3D annot to update. If not provided, use idxPage and idx3dAnnot to identiofy the annotation to update.
[in]idxPageIdentifier of the 3D annot to update: index of the page in the document (starting from 0). If -1, looks in all the document for the first annot 3D found
[in]idx3dAnnotIdentifier of the 3D annot to update: index of the annotation in the page (starting from 0). If -1, looks in all page the first annot 3D found
[in]pModelFileThe Document object to work with.
[in]pParamsExportDataThe PRC export parameters.
[in,out]ppPrcWriteHelperUsed to get PRC data such as unique identifiers of PRC nodes.
[in]p3DArtworkDataThe 3D Artwork parameters.
[in]p3DAnnotDataThe 3D Annot parameters.
[in]pcIn3dAttribsFileXml file with attributes to apply to the 3D data.
[in]pcInTextFieldDataFileXml files with texts to store into text fields in the document.
Returns
A3D_SUCCESS
Version
9.1