InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ChartCSVFile Class Reference

#include <ChartCSVFile.h>

Static Public Member Functions

static bool16 LoadFile (IDFile &inFile, PMString &outName, CdlStockChartData &outChartData)
 
static bool16 ReadFile (IDFile &inFile, CdlStockChartData &outChartData)
 

Detailed Description

Loads a CSV file for stock chart data.

Member Function Documentation

bool16 ChartCSVFile::LoadFile (IDFileinFile,
PMStringoutName,
CdlStockChartDataoutChartData 
)
static

Load the given CSV file to prepare for create candle chart page item.

Parameters
inFileIN the CSV file to be streamed in.
outNameOUT is the candle chart name we are going to create (from file name).
outChartDataOUT is the stock data to be saved.
Returns
kTrue if the CSV data is loaded successfully, otherwise kFalse.
bool16 ChartCSVFile::ReadFile (IDFileinFile,
CdlStockChartDataoutChartData 
)
static

Read the given CSV file into the stock data.

Parameters
inFileIN the CSV file to be streamed in.
outChartDataOUT is the stock data to be saved.
Returns
kTrue if the CSV data is loaded successfully, otherwise kFalse.