# ProjectDataWorkflow

CSV and Excel transport for explicit Project field maps. Parsing and package handling remain in their owning libraries.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ProjectDataWorkflow.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Project/ProjectDataWorkflow.cs#L12)

**Modifiers**

static

CSV and Excel transport for explicit Project field maps. Parsing and package handling remain in their owning libraries.

## Inheritance

- object
- ProjectDataWorkflow

Filter members 

Show inherited

## Methods

`public static CsvDocument CreateCsv(ProjectDataTable table, CancellationToken cancellationToken = default)` [#](#method-createcsv-officeimo-project-projectdatatable-threading-cancellationtoken)

[ProjectDataWorkflow.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Project/ProjectDataWorkflow.cs#L12)

Creates a CSV document containing the exact table text. Save/load settings, quoting and delimiter handling belong to OfficeIMO.CSV.

Parameters

**table OfficeIMO.Project.ProjectDataTable required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`CsvDocument`

`public static ExcelDocument CreateExcel(ProjectDataExportResult export, CancellationToken cancellationToken = default)` [#](#method-createexcel-officeimo-project-projectdataexportresult-threading-cancellationtoken)

[ProjectDataWorkflow.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Project/ProjectDataWorkflow.cs#L36)

Creates a workbook with one worksheet per mapped table and a separate sheet describing projection losses. Values remain literal text to preserve precision and prevent formula execution.

Parameters

**export OfficeIMO.Project.ProjectDataExportResult required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`ExcelDocument`

`public static ProjectDataTable ReadCsv(CsvDocument csv, int maxRows = 100000, int maxCells = 2000000, CancellationToken cancellationToken = default)` [#](#method-readcsv-officeimo-csv-csvdocument-int32-int32-threading-cancellationtoken)

[ProjectDataWorkflow.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Project/ProjectDataWorkflow.cs#L21)

Copies a parsed CSV table without reflection or culture-dependent value conversion.

Parameters

**csv OfficeIMO.CSV.CsvDocument required**

**maxRows int = 100000 optional**

**maxCells int = 2000000 optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`ProjectDataTable`

`public static ProjectDataTable ReadExcel(ExcelSheet sheet, int dataRowCount, int columnCount, int headerRow = 1, int firstColumn = 1, int maxRows = 100000, int maxCells = 2000000, CancellationToken cancellationToken = default)` [#](#method-readexcel-officeimo-excel-excelsheet-int32-int32-int32-int32-int32-int32-threading-cancellationtoken)

[ProjectDataWorkflow.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Project/ProjectDataWorkflow.cs#L69)

Reads an explicitly bounded worksheet rectangle with headers in its first row. Formula and error cells are rejected; numeric/date cells use invariant underlying values.

Parameters

**sheet OfficeIMO.Excel.ExcelSheet required**

**dataRowCount int required**

**columnCount int required**

**headerRow int = 1 optional**

**firstColumn int = 1 optional**

**maxRows int = 100000 optional**

**maxCells int = 2000000 optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`ProjectDataTable`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:DEC9083839632AC78244EE4419FF29341FC76D3369916142247F1591BF486FE2 -->
