![]() | InDesign SDK 20.5 |
#include <PDFVTUtils.h>
Public Types | |
| enum | Encoding { kUTF16LE, kUTF16BE, kUTF8BOM, kUTF8NOBOM, kUnsupportedEncoding } |
Static Public Member Functions | |
| template<class T > | |
| static std::string | ToString (const T &t) |
| static void | GetDataSourceKeyList (std::vector< std::string > &keyList, const WideString &filePath) |
| static bool16 | ReadDataSource (const WideString &filePath, std::vector< std::string > &keyList, std::queue< std::vector< std::string > > &recordList) |
| static Encoding | DetectEncoding (IPMStream *stream) |
From SDK sample; Utility class for PDFVT.
| static |
Detects the encoding of the given stream for the file.
| stream | IN IPMStream for the file. |
| static |
Reads the datasource file and retrieves the key list.
| keyList | OUT The key list in the datasource file. |
| filePath | IN Path to the datasource file. |
| static |
Reads and parses data from extenal datasource file.
| filePath | IN Path to the datasource file. |
| keyList | OUT The key list in the datasource file. |
| recordList | OUT The record list in the data source file. |
| inlinestatic |
Converts an object of type T into a string.
| t | IN Object of type T. |