ProjectReportWorkflow
OfficeIMO.Workflows
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
- cancellationToken System.Threading.CancellationToken = default
Returns
ExcelDocumentpublic static PowerPointDocument CreatePowerPoint(ProjectView view, CancellationToken cancellationToken = default) #Creates chart slides and editable PowerPoint table slides.
Parameters
- view OfficeIMO.Project.ProjectView
- cancellationToken System.Threading.CancellationToken = default
Returns
PowerPointDocumentpublic static PowerPointDocument CreatePowerPoint(ProjectView view, ProjectOfficeReportOptions options, CancellationToken cancellationToken = default) #Creates a presentation with explicit chart and table selection.
Parameters
- view OfficeIMO.Project.ProjectView
- options OfficeIMO.Workflows.ProjectOfficeReportOptions
- cancellationToken System.Threading.CancellationToken = default
Returns
PowerPointDocumentpublic 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
- cancellationToken System.Threading.CancellationToken = default
Returns
WordDocumentpublic 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
- options OfficeIMO.Workflows.ProjectOfficeReportOptions
- cancellationToken System.Threading.CancellationToken = default
Returns
WordDocumentpublic 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
- folderPath string
- options OfficeIMO.Workflows.ProjectImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
OfficeConversionReportpublic 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
- folderPath string
- options OfficeIMO.Workflows.ProjectImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
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
- typography OfficeIMO.Drawing.OfficeRenderingProfile? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
stringpublic 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
- options OfficeIMO.Workflows.ProjectImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
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
- format OfficeIMO.Drawing.OfficeImageExportFormat
- options OfficeIMO.Workflows.ProjectImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
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
- format OfficeIMO.Drawing.OfficeImageExportFormat
- consumer OfficeIMO.Drawing.OfficeImageExportConsumer
- options OfficeIMO.Workflows.ProjectImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
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
- options OfficeIMO.Workflows.ProjectImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
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
- format OfficeIMO.Drawing.OfficeImageExportFormat
- options OfficeIMO.Workflows.ProjectImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
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
- format OfficeIMO.Drawing.OfficeImageExportFormat
- consumer OfficeIMO.Drawing.OfficeImageExportAsyncConsumer
- options OfficeIMO.Workflows.ProjectImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
Taskpublic 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
- options OfficeIMO.Pdf.PdfCreateOptions? = null
- typography OfficeIMO.Drawing.OfficeRenderingProfile? = null
- cancellationToken System.Threading.CancellationToken = default
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
- options OfficeIMO.Drawing.OfficeDrawingRasterRenderOptions? = null
- typography OfficeIMO.Drawing.OfficeRenderingProfile? = null
- cancellationToken System.Threading.CancellationToken = default
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
- typography OfficeIMO.Drawing.OfficeRenderingProfile? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
IReadOnlyList<string>