Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_DataToSpreadsheetPlugin Interface Reference
Inheritance diagram for SCR_DataToSpreadsheetPlugin:

Public Member Functions

void ProcessAttributesList (BaseContainerList containerList, array< ref ContainerIdPathEntry > containerPath, ResourceName prefabName, array< ref SCR_DataToSpreadsheetTemplatesBase > TemplateData)
 
void ProcessAttribute (IEntitySource entSrcAttribute, array< ref ContainerIdPathEntry > containerPath, ResourceName prefabName, SCR_DataToSpreadsheetTemplatesAttribute currentAttribute)
 Process single, selected attribute Depending on settings, data from selected attribute can be either exported or modified.
 

Public Attributes

bool m_bPrintToConsole
 

Protected Member Functions

void ImportButton ()
 
void ExportButton ()
 
bool CancelButton ()
 
override void Configure ()
 
void ProcessData (IEntitySource entSrc, ResourceName prefabName, SCR_DataToSpreadsheetTemplates prefabConfig)
 Initial processing of data provided by config All of the top attributes are then processed - including their children elements.
 
void ProcessAttributes (IEntitySource entSrc, array< ref ContainerIdPathEntry > containerPath, ResourceName prefabName, array< ref SCR_DataToSpreadsheetTemplatesBase > TemplateData)
 Handle all attributes listed in config and send them for further processing.
 
void ExportToExcel (bool useListFromConfig)
 
override void Run ()
 

Static Protected Member Functions

static BaseContainer GetChildFromList (notnull BaseContainerList containerList, string childName)
 

Protected Attributes

ResourceName m_sPrefabConfig
 
bool m_bCommaAsDelimiter
 
bool m_bUseSelectionFromConfig
 
string m_sExportString
 
string m_sHeaderString
 
bool m_bGenerateHeader
 
bool m_bRunExport
 
bool m_bReadData
 
bool m_bSaveRequired
 
ref map< string, ref SCR_DataToSpreadsheetElementm_mImportData = new map<string, ref SCR_DataToSpreadsheetElement>()
 

Static Protected Attributes

static const string DESCRIPTION = "This plugin allows to transfer data between Workbench and spreadsheets\nExport button grabs data from Workbench to clipboard\nImport button grabs data from clipboard to Workbench"
 

Member Function Documentation

◆ CancelButton()

bool SCR_DataToSpreadsheetPlugin.CancelButton ( )
protected

◆ Configure()

override void SCR_DataToSpreadsheetPlugin.Configure ( )
protected

◆ ExportButton()

void SCR_DataToSpreadsheetPlugin.ExportButton ( )
protected

◆ ExportToExcel()

void SCR_DataToSpreadsheetPlugin.ExportToExcel ( bool useListFromConfig)
protected

◆ GetChildFromList()

static BaseContainer SCR_DataToSpreadsheetPlugin.GetChildFromList ( notnull BaseContainerList containerList,
string childName )
staticprotected

◆ ImportButton()

void SCR_DataToSpreadsheetPlugin.ImportButton ( )
protected

◆ ProcessAttribute()

void SCR_DataToSpreadsheetPlugin.ProcessAttribute ( IEntitySource entSrcAttribute,
array< ref ContainerIdPathEntry > containerPath,
ResourceName prefabName,
SCR_DataToSpreadsheetTemplatesAttribute currentAttribute )

Process single, selected attribute Depending on settings, data from selected attribute can be either exported or modified.

◆ ProcessAttributes()

void SCR_DataToSpreadsheetPlugin.ProcessAttributes ( IEntitySource entSrc,
array< ref ContainerIdPathEntry > containerPath,
ResourceName prefabName,
array< ref SCR_DataToSpreadsheetTemplatesBase > TemplateData )
protected

Handle all attributes listed in config and send them for further processing.

◆ ProcessAttributesList()

void SCR_DataToSpreadsheetPlugin.ProcessAttributesList ( BaseContainerList containerList,
array< ref ContainerIdPathEntry > containerPath,
ResourceName prefabName,
array< ref SCR_DataToSpreadsheetTemplatesBase > TemplateData )

◆ ProcessData()

void SCR_DataToSpreadsheetPlugin.ProcessData ( IEntitySource entSrc,
ResourceName prefabName,
SCR_DataToSpreadsheetTemplates prefabConfig )
protected

Initial processing of data provided by config All of the top attributes are then processed - including their children elements.

◆ Run()

override void SCR_DataToSpreadsheetPlugin.Run ( )
protected

Member Data Documentation

◆ DESCRIPTION

const string SCR_DataToSpreadsheetPlugin.DESCRIPTION = "This plugin allows to transfer data between Workbench and spreadsheets\nExport button grabs data from Workbench to clipboard\nImport button grabs data from clipboard to Workbench"
staticprotected

◆ m_bCommaAsDelimiter

bool SCR_DataToSpreadsheetPlugin.m_bCommaAsDelimiter
protected

◆ m_bGenerateHeader

bool SCR_DataToSpreadsheetPlugin.m_bGenerateHeader
protected

◆ m_bPrintToConsole

bool SCR_DataToSpreadsheetPlugin.m_bPrintToConsole

◆ m_bReadData

bool SCR_DataToSpreadsheetPlugin.m_bReadData
protected

◆ m_bRunExport

bool SCR_DataToSpreadsheetPlugin.m_bRunExport
protected

◆ m_bSaveRequired

bool SCR_DataToSpreadsheetPlugin.m_bSaveRequired
protected

◆ m_bUseSelectionFromConfig

bool SCR_DataToSpreadsheetPlugin.m_bUseSelectionFromConfig
protected

◆ m_mImportData

ref map<string, ref SCR_DataToSpreadsheetElement> SCR_DataToSpreadsheetPlugin.m_mImportData = new map<string, ref SCR_DataToSpreadsheetElement>()
protected

◆ m_sExportString

string SCR_DataToSpreadsheetPlugin.m_sExportString
protected

◆ m_sHeaderString

string SCR_DataToSpreadsheetPlugin.m_sHeaderString
protected

◆ m_sPrefabConfig

ResourceName SCR_DataToSpreadsheetPlugin.m_sPrefabConfig
protected

The documentation for this interface was generated from the following file: