Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProjectReportWorkflow

OfficeIMO.Workflows

Namespace
OfficeIMO.Workflows
Assembly
OfficeIMO.Workflows
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Optional report adapters that compose Project snapshots with the existing document and rendering owners.

Inheritance

  • object
  • ProjectReportWorkflow

Methods

public static ExcelDocument CreateExcel(ProjectView view, CancellationToken cancellationToken = default) #

Creates native Excel cells for selected columns and numeric usage buckets, retaining editable values rather than images.

Parameters

view OfficeIMO.Project.ProjectView required
cancellationToken System.Threading.CancellationToken = default optional

Returns

ExcelDocument
CreatePowerPoint 2 overloads
public static PowerPointDocument CreatePowerPoint(ProjectView view, CancellationToken cancellationToken = default) #

Creates chart slides and editable PowerPoint table slides.

Parameters

view OfficeIMO.Project.ProjectView required
cancellationToken System.Threading.CancellationToken = default optional

Returns

PowerPointDocument
public static PowerPointDocument CreatePowerPoint(ProjectView view, ProjectOfficeReportOptions options, CancellationToken cancellationToken = default) #

Creates a presentation with explicit chart and table selection.

Parameters

view OfficeIMO.Project.ProjectView required
options OfficeIMO.Workflows.ProjectOfficeReportOptions required
cancellationToken System.Threading.CancellationToken = default optional

Returns

PowerPointDocument
CreateWord 2 overloads
public static WordDocument CreateWord(ProjectView view, CancellationToken cancellationToken = default) #

Creates chart pages and editable Word tables. The caller owns and disposes the returned document.

Parameters

view OfficeIMO.Project.ProjectView required
cancellationToken System.Threading.CancellationToken = default optional

Returns

WordDocument
public static WordDocument CreateWord(ProjectView view, ProjectOfficeReportOptions options, CancellationToken cancellationToken = default) #

Creates a Word report with explicit chart and table selection.

Parameters

view OfficeIMO.Project.ProjectView required
options OfficeIMO.Workflows.ProjectOfficeReportOptions required
cancellationToken System.Threading.CancellationToken = default optional

Returns

WordDocument
public static OfficeConversionReport SaveAsImages(ProjectView document, string folderPath, ProjectImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Saves selected images without retaining payloads and returns aggregate conversion evidence.

Parameters

document OfficeIMO.Project.ProjectView required
folderPath string required
options OfficeIMO.Workflows.ProjectImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeConversionReport
public static async Task<OfficeConversionReport> SaveAsImagesAsync(ProjectView document, string folderPath, ProjectImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Asynchronously saves selected images, retaining paths and evidence rather than encoded payloads.

Parameters

document OfficeIMO.Project.ProjectView required
folderPath string required
options OfficeIMO.Workflows.ProjectImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<OfficeConversionReport>
public static string ToHtml(ProjectView view, OfficeRenderingProfile? typography = null, CancellationToken cancellationToken = default) #

Creates a self-contained responsive HTML report with printable vector pages and an accessible data table.

Parameters

view OfficeIMO.Project.ProjectView required
typography OfficeIMO.Drawing.OfficeRenderingProfile? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

string
ToImages 3 overloads
public static IReadOnlyList<OfficeImageExportResult> ToImages(ProjectView view, ProjectImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Renders report pages using the encoding and selection in the shared options.

Parameters

view OfficeIMO.Project.ProjectView required
options OfficeIMO.Workflows.ProjectImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

IReadOnlyList<OfficeImageExportResult>
public static IReadOnlyList<OfficeImageExportResult> ToImages(ProjectView view, OfficeImageExportFormat format, ProjectImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Exports report pages with encoded density, format metadata, diagnostics and bounded aggregate output.

Parameters

view OfficeIMO.Project.ProjectView required
format OfficeIMO.Drawing.OfficeImageExportFormat required
options OfficeIMO.Workflows.ProjectImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

IReadOnlyList<OfficeImageExportResult>
public static void ToImages(ProjectView view, OfficeImageExportFormat format, OfficeImageExportConsumer consumer, ProjectImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Streams image results under one shared deadline and batch budget. Already delivered pages remain delivered if a later page fails.

Parameters

view OfficeIMO.Project.ProjectView required
format OfficeIMO.Drawing.OfficeImageExportFormat required
consumer OfficeIMO.Drawing.OfficeImageExportConsumer required
options OfficeIMO.Workflows.ProjectImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional
ToImagesAsync 3 overloads
public static Task<IReadOnlyList<OfficeImageExportResult>> ToImagesAsync(ProjectView document, ProjectImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Renders report pages asynchronously using the encoding in the shared options.

Parameters

document OfficeIMO.Project.ProjectView required
options OfficeIMO.Workflows.ProjectImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<IReadOnlyList<OfficeImageExportResult>>
public static Task<IReadOnlyList<OfficeImageExportResult>> ToImagesAsync(ProjectView document, OfficeImageExportFormat format, ProjectImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Asynchronously exports selected images through the shared bounded streaming bridge.

Parameters

document OfficeIMO.Project.ProjectView required
format OfficeIMO.Drawing.OfficeImageExportFormat required
options OfficeIMO.Workflows.ProjectImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<IReadOnlyList<OfficeImageExportResult>>
public static Task ToImagesAsync(ProjectView document, OfficeImageExportFormat format, OfficeImageExportAsyncConsumer consumer, ProjectImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Asynchronously delivers selected images with backpressure and cooperative cancellation.

Parameters

document OfficeIMO.Project.ProjectView required
format OfficeIMO.Drawing.OfficeImageExportFormat required
consumer OfficeIMO.Drawing.OfficeImageExportAsyncConsumer required
options OfficeIMO.Workflows.ProjectImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task
public static byte[] ToPdf(ProjectView view, PdfCreateOptions? options = null, OfficeRenderingProfile? typography = null, CancellationToken cancellationToken = default) #

Creates a paginated vector PDF through OfficeIMO.Pdf. Typography and compliance follow the supplied PDF options.

Parameters

view OfficeIMO.Project.ProjectView required
options OfficeIMO.Pdf.PdfCreateOptions? = null optional
typography OfficeIMO.Drawing.OfficeRenderingProfile? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

byte[]
public static IReadOnlyList<byte[]> ToPng(ProjectView view, OfficeDrawingRasterRenderOptions? options = null, OfficeRenderingProfile? typography = null, CancellationToken cancellationToken = default) #

Exports one PNG per page at 300 DPI by default. Explicit raster options retain their selected scale. Use ToImages for density presets, encoded DPI and batch budgets.

Parameters

view OfficeIMO.Project.ProjectView required
options OfficeIMO.Drawing.OfficeDrawingRasterRenderOptions? = null optional
typography OfficeIMO.Drawing.OfficeRenderingProfile? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

IReadOnlyList<byte[]>
public static IReadOnlyList<string> ToSvg(ProjectView view, OfficeRenderingProfile? typography = null, CancellationToken cancellationToken = default) #

Exports one SVG per report page using the Core vector renderer.

Parameters

view OfficeIMO.Project.ProjectView required
typography OfficeIMO.Drawing.OfficeRenderingProfile? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

IReadOnlyList<string>