Worked Examples

Apply docx and pdf export — Reporting Studio

Export approved Reporting Studio documents to DOCX and PDF while checking text, figures, tables, citations, reading order, and revision fidelity.

ProductSustainable Catalyst Platform CoreUpdatedNovember 15, 2026Reading time28 minutes

Application: Reporting Studio
Cross-application area: Workspace / Research / Library / Citation Studio / Workbench / Platform Core
Classification: Practical Guides / DOCX and PDF Export
Audience: Researchers, report authors, editors, scientific reviewers, publication administrators, accessibility reviewers, and research software engineers
Technical level: Intermediate to advanced
Reference environment: Python 3.10 or later; standard library for the synthetic preflight exercise
Relevant standards: ISO/IEC 29500 (OOXML), ISO 32000 (PDF), ISO 14289 (PDF/UA), WCAG 2.2, W3C PROV-O, and NISO JATS where applicable
Primary outputs: Version-bound DOCX and PDF artifacts, export validation results, accessibility review, source and citation traceability, integrity digests, and publication-readiness evidence
Estimated reading time: 18–24 minutes; 40–50 minutes including exercises

1. Purpose and expected outcome

Reporting Studio should support the creation of research documents that preserve the scientific and editorial meaning of an approved source.

Exporting a manuscript to DOCX or PDF involves more than converting text into another file format.

The process must preserve, as applicable:

  • Document title and section hierarchy.
  • Paragraphs, lists, quotations, and footnotes.
  • Tables, table headings, and units.
  • Scientific figures, captions, and explanatory text.
  • Mathematical expressions and scientific notation.
  • Citations and bibliography references.
  • Hyperlinks and cross-references.
  • Language and document metadata.
  • Logical reading order and accessibility information.
  • Authoritative source version and provenance.
  • Applicable rights and publication restrictions.

Primary acceptance condition: Exported DOCX and PDF files must correspond to the exact approved source revision and preserve all required scientific, structural, citation, and accessibility information within the capabilities and limitations of the selected format.

Technical export success is not proof of publication authorization or scientific validity.

2. Distinguish the three document states

A reliable export workflow should maintain separate identities for the editable research source, the approved review artifact, and each generated distribution.

Editable research source
          |
          v
Versioned review candidate
          |
          v
Required review and approval
          |
          v
Approved source revision
          |
          +-- DOCX export
          |
          +-- PDF export
          |
          v
Independent export validation
          |
          v
Authorized distribution or publication

Export files are representations of a source artifact. They should not silently become independent authoritative versions of the scientific content.

A reviewer may approve a source version while the resulting DOCX or PDF still requires export-specific checks.

3. Confirm the authorized research context

Before exporting, establish:

  • Organization and project identity.
  • Publication or report identifier.
  • Authenticated user or service role.
  • Required export permissions.
  • Exact source revision.
  • Source artifact integrity reference.
  • Applicable scientific and editorial review state.
  • Rights and confidentiality restrictions.
  • Intended export format and audience.
  • Requested file destination and distribution status.

Do not assume that permission to view or edit a draft includes permission to export confidential material or publicly distribute it.

The specific user, project, document, and operation must be authorized by the real platform identity and access-control services.

4. Bind exports to an exact source revision

Each generated file should be traceable to the source state used to render it.

An illustrative export record is:

Publication: report-017
Source revision: v3
Source artifact digest: SHA-256 reference
Requested format: PDF
Export profile: accessible-report-v1
Template revision: template-v4
Renderer revision: renderer-build-017
Export decision: Pending validation

The source digest should be computed from a defined canonical artifact, not from an arbitrary temporary file whose serialization may change.

When source content changes during rendering, the operation should reconcile the expected revision rather than silently exporting a mixed or outdated state.

Approval records should identify the exact version and review scope. They must not be treated as blanket authorization for all subsequent revisions.

5. Define the export scope and rendering profile

An export profile should explicitly describe how source objects are represented in the selected format.

Table 1. Proposed export profile requirements
Property Purpose
Output format DOCX or specified PDF profile
Template revision Controls styles, page layout, and publication branding
Renderer revision Identifies the transformation implementation
Source revision Binds the output to approved content
Figure policy Controls resolution, captions, and alternative descriptions
Citation policy Preserves required reference style and identifiers
Accessibility target Defines applicable structure and conformance requirements
Rights policy Constrains included content and distribution
Output status Separates generated, validated, approved, and published states

The actual available profiles must be confirmed from the deployed Reporting Studio implementation.

6. Understand DOCX and PDF differences

Table 2. Format-specific considerations
Characteristic DOCX PDF
Primary purpose Structured, editable document Portable fixed-layout presentation
Document structure OOXML elements and styles PDF structure elements and tags when supported
Editing Usually intended for continued editing Usually intended for distribution or stable presentation
Reading order Depends on document structure and object placement Depends on logical tagging and document structure
Accessibility Requires accessible authoring practices and validation Requires appropriate tagged structure and accessibility evaluation
Scientific figures May be represented as editable or embedded objects May be represented as vector or raster content
Long-term preservation Requires selected preservation strategy May use appropriate PDF/A profile when required

PDF/A and PDF/UA address different requirements. Archival preservation does not automatically establish accessibility, and accessible PDF does not automatically satisfy a particular archival policy.

7. Preserve document structure in DOCX

A well-structured DOCX should use actual semantic document elements rather than visual formatting alone.

For example:

  • Title and subtitle styles for appropriate document front matter.
  • Heading styles for hierarchical sections.
  • Real paragraphs and list definitions.
  • Structured tables with identifiable headings.
  • Footnotes and endnotes represented appropriately.
  • Captions and cross-references.
  • Language information where supported.
  • Meaningful hyperlinks.

A paragraph made bold and enlarged is not necessarily a document heading.

Microsoft’s accessibility guidance recommends built-in heading styles, simple tables with headers, meaningful link text, and alternative text for relevant visuals.

Do not treat visual similarity to the source as proof of semantic structure.

8. Preserve structure and reading order in PDF

For accessible PDF, visual page order and logical reading order must be distinguished.

PDF/UA standards address semantic structure needed by assistive technologies.

Relevant requirements include:

  • Appropriate document tagging.
  • Logical heading hierarchy.
  • Meaningful reading sequence.
  • Proper identification of paragraphs and lists.
  • Structured tables and associated header information.
  • Alternative descriptions for meaningful figures.
  • Correct treatment of artifacts and decorative elements.
  • Appropriate language and document metadata.
  • Accessible links and annotations.

PDF/UA-1 and PDF/UA-2 are different standards with different underlying PDF-version requirements.

Do not claim PDF/UA conformance merely because the PDF includes a structure tree or passes a single automated check.

Accessibility review should combine suitable automated validation with manual inspection and assistive-technology testing when required.

9. Preserve scientific figures and captions

Scientific figures must retain their evidentiary meaning during export.

Verify:

  • Correct figure identity and version.
  • Intended placement and numbering.
  • Caption text and source attribution.
  • Axis labels, legends, symbols, and units.
  • Legibility at the intended page size.
  • Color and contrast.
  • Alternative description appropriate to the information conveyed.
  • Any required methodological and uncertainty notes.

Where the figure is generated from Workbench or Research Lab outputs, preserve the relationship to the verified source dataset, code, or notebook revision.

A figure may be visually attractive yet scientifically misleading if an axis label, uncertainty interval, or transformation note disappears during conversion.

For complex charts, short alternative text may be supplemented by a longer description or accessible data table.

10. Preserve tables and scientific units

Tables should retain:

  • Table number and title.
  • Column headers and units.
  • Row labels.
  • Footnotes and source citations.
  • Missing-data indicators.
  • Significant figures and numerical formatting.
  • Relevant uncertainty and confidence intervals.

A table that is visually intact can still be inaccessible if its header relationships or reading order are incorrect.

A scientific value can also become invalid if decimal marks, negative signs, exponents, or units are lost or altered.

Compare both the values and the semantic interpretation against the approved source.

11. Validate equations and scientific notation

Mathematical expressions require additional attention because conversion engines may alter symbols, alignment, or representation.

Examples of risks include:

  • Missing superscripts or subscripts.
  • Incorrect Greek symbols.
  • Changed inequality signs.
  • Lost equation numbers.
  • Misplaced parentheses.
  • Broken multiline formulas.
  • Equations rendered only as inaccessible images.

Where possible, use structured mathematical representations supported by the selected format and renderer.

For accessibility, ensure complex formulas can be understood through appropriate accessible representations and review.

Scientific equivalence must be checked independently of visual appearance.

12. Preserve citations and bibliography integrity

Reporting Studio exports should preserve the reference relationships established by the authoritative research source.

Verify:

  • In-text citations.
  • Corresponding bibliography entries.
  • Author names and publication years.
  • Titles and publication metadata.
  • DOIs and other persistent identifiers.
  • Citation ordering and required style.
  • Hyperlinks where appropriate.
  • References to figures, tables, and supplementary material.

Harvard or another citation style should be applied according to the configured publication policy.

A correctly formatted bibliography does not prove that the sources exist, support the claims, or have been reviewed.

Citation Studio may support bibliography generation where implemented, but its actual integration with Reporting Studio must be independently verified.

13. Apply branding without damaging accessibility

Institutional branding should remain subordinate to scientific readability.

For Sustainable Catalyst, an export profile may define restrained typography, clear heading hierarchy, consistent margins, publication metadata, and controlled accent colors.

Branding must not rely on color alone to distinguish:

  • Positive and negative results.
  • Scientific uncertainty.
  • Publication status.
  • Table categories.
  • Warnings or limitations.

Check text contrast, font legibility, page breaks, and meaningful reading order.

Decorative page elements should not disrupt the accessible document structure.

14. Define the export and validation workflow

A proposed practical workflow is:

  1. Identify the exact source publication and revision.
  2. Confirm user and project authorization.
  3. Confirm required review and export permissions.
  4. Select DOCX or PDF and the intended export profile.
  5. Resolve citations, figures, tables, and supplementary references.
  6. Check applicable licensing and confidentiality restrictions.
  7. Render from a stable, versioned source snapshot.
  8. Preserve the renderer and template revision.
  9. Validate the generated file structure.
  10. Compare the output against the approved source.
  11. Perform format-specific accessibility checks.
  12. Inspect visual pagination, tables, equations, and figures.
  13. Record file integrity and provenance.
  14. Approve the distribution separately where required.
  15. Verify saved artifact persistence and permitted access.

No particular button, route, or implementation sequence in this procedure is asserted to exist in production.

15. Separate automated validation from human review

Table 3. Export validation responsibilities
Validation Automated checks may help Independent review still needed
File integrity Format signature, package structure, digest Artifact source and retention context
Document structure Headings, XML parts, PDF tags Logical organization and meaning
Citations Reference presence and cross-reference checks Bibliographic accuracy and claim support
Tables Element presence and possible structural rules Scientific values, labels, and usability
Figures Asset presence, dimensions, source references Scientific meaning and legibility
Accessibility Selected technical rules and metadata checks Reading order, meaningful descriptions, actual use
Approval status Version and authorization references Actual institutional approval decision

No single validator can determine whether a scientific document is accurate, accessible to all intended users, and authorized for public distribution.

16. Prepare a synthetic export preflight exercise

The following Python example performs limited structural checks against actual DOCX and PDF file bytes.

It does not create DOCX or PDF files. Use it with permitted local test artifacts.

The reference preflight checks:

  • Whether a DOCX is a readable ZIP package.
  • Whether required OOXML package members exist.
  • Whether the document body can be parsed as XML.
  • Whether a PDF begins with a recognizable PDF signature.
  • Whether a supplied source revision matches the expected approved revision.
  • Whether output files have a SHA-256 digest.

These checks intentionally do not claim to evaluate full OOXML conformance, PDF conformance, visual fidelity, or accessibility.

17. Prepare the Python environment

mkdir reporting-export-validation
cd reporting-export-validation

python3 -m venv .venv
source .venv/bin/activate

python --version

Create:

export_preflight.py
test_export_preflight.py

The exercise uses standard-library modules only.

18. Implement the export preflight validator

Save as export_preflight.py.

from pathlib import Path
from zipfile import ZipFile, BadZipFile
from xml.etree import ElementTree
import hashlib
import json
import sys


REQUIRED_DOCX_PARTS = {
    "[Content_Types].xml",
    "_rels/.rels",
    "word/document.xml"
}


def sha256_file(path):
    digest = hashlib.sha256()

    with open(path, "rb") as stream:
        for chunk in iter(
            lambda: stream.read(1024 * 1024),
            b""
        ):
            digest.update(chunk)

    return digest.hexdigest()


def check_docx(path):
    issues = []

    try:
        with ZipFile(path) as archive:
            names = set(archive.namelist())

            missing = REQUIRED_DOCX_PARTS - names

            if missing:
                issues.append(
                    "MISSING_DOCX_PARTS"
                )

            if "word/document.xml" in names:
                try:
                    ElementTree.fromstring(
                        archive.read("word/document.xml")
                    )
                except ElementTree.ParseError:
                    issues.append(
                        "INVALID_DOCUMENT_XML"
                    )

            if "[Content_Types].xml" in names:
                try:
                    ElementTree.fromstring(
                        archive.read("[Content_Types].xml")
                    )
                except ElementTree.ParseError:
                    issues.append(
                        "INVALID_CONTENT_TYPES_XML"
                    )

    except (BadZipFile, OSError, ValueError):
        issues.append("INVALID_DOCX_PACKAGE")

    return sorted(set(issues))


def check_pdf(path):
    try:
        with open(path, "rb") as stream:
            signature = stream.read(8)

        if not signature.startswith(b"%PDF-"):
            return ["INVALID_PDF_SIGNATURE"]

        if len(signature) < 8:
            return ["TRUNCATED_PDF_HEADER"]

        return []

    except OSError:
        return ["PDF_UNREADABLE"]


def inspect_export(
    path,
    *,
    format_name,
    source_revision,
    approved_revision
):
    path = Path(path)
    issues = []

    if source_revision != approved_revision:
        issues.append("SOURCE_REVISION_MISMATCH")

    if not path.is_file():
        issues.append("FILE_NOT_FOUND")
        return {
            "status": "FAIL",
            "issues": sorted(set(issues)),
            "sha256": None
        }

    if format_name == "docx":
        issues.extend(check_docx(path))
    elif format_name == "pdf":
        issues.extend(check_pdf(path))
    else:
        issues.append("UNSUPPORTED_FORMAT")

    return {
        "status": "PASS_PREFLIGHT"
        if not issues else "FAIL",
        "issues": sorted(set(issues)),
        "sha256": sha256_file(path),
        "accessibility": "NOT_TESTED",
        "scientific_equivalence": "NOT_TESTED",
        "publication_approval": "NOT_TESTED"
    }


if __name__ == "__main__":
    if len(sys.argv) != 5:
        raise SystemExit(
            "Usage: python export_preflight.py "
            "FILE FORMAT SOURCE_REVISION APPROVED_REVISION"
        )

    result = inspect_export(
        sys.argv[1],
        format_name=sys.argv[2],
        source_revision=sys.argv[3],
        approved_revision=sys.argv[4]
    )

    print(json.dumps(result, indent=2))

This code provides a narrowly defined structural preflight. It does not establish that a DOCX file contains valid references, accessible images, or semantic heading styles.

The PDF signature check is particularly limited: malformed, truncated, encrypted, or otherwise unusable files may still begin with a valid PDF signature.

A full PDF validation process requires an appropriate parser and applicable conformance and accessibility checks.

19. Run the preflight against local artifacts

For a DOCX file:

python export_preflight.py \
  candidate.docx docx v3 v3

For a PDF file:

python export_preflight.py \
  candidate.pdf pdf v3 v3

These commands require actual files at the indicated paths.

If the source revision differs from the expected approved revision, the result must include:

SOURCE_REVISION_MISMATCH

If the file is missing, the result must include:

FILE_NOT_FOUND

Passing these checks means only that the selected preflight conditions passed. It does not authorize distribution.

20. Implement synthetic regression tests

Save as test_export_preflight.py.

import tempfile
import unittest
from pathlib import Path
from zipfile import ZipFile, ZIP_DEFLATED

from export_preflight import inspect_export


CONTENT_TYPES = (
    b'<Types xmlns="http://schemas.openxmlformats.org/'
    b'package/2006/content-types"/>'
)

RELS = (
    b'<Relationships xmlns="http://schemas.openxmlformats.org/'
    b'package/2006/relationships"/>'
)

DOCUMENT = (
    b'<w:document xmlns:w="http://schemas.openxmlformats.org/'
    b'wordprocessingml/2006/main">'
    b'<w:body/></w:document>'
)


class ExportPreflightTests(unittest.TestCase):

    def setUp(self):
        self.temp = tempfile.TemporaryDirectory()
        self.folder = Path(self.temp.name)

    def tearDown(self):
        self.temp.cleanup()

    def make_docx(self, *, missing=None, invalid_xml=False):
        path = self.folder / "fixture.docx"

        parts = {
            "[Content_Types].xml": CONTENT_TYPES,
            "_rels/.rels": RELS,
            "word/document.xml": (
                b"<broken"
                if invalid_xml else DOCUMENT
            )
        }

        if missing:
            parts.pop(missing, None)

        with ZipFile(path, "w", ZIP_DEFLATED) as archive:
            for name, content in parts.items():
                archive.writestr(name, content)

        return path

    def make_pdf(self, content=b"%PDF-1.7\nfixture"):
        path = self.folder / "fixture.pdf"
        path.write_bytes(content)
        return path

    def inspect(self, path, format_name, source="v3"):
        return inspect_export(
            path,
            format_name=format_name,
            source_revision=source,
            approved_revision="v3"
        )

    def test_minimal_docx_preflight(self):
        result = self.inspect(
            self.make_docx(), "docx"
        )
        self.assertEqual(
            result["status"], "PASS_PREFLIGHT"
        )

    def test_missing_docx_part(self):
        result = self.inspect(
            self.make_docx(
                missing="word/document.xml"
            ),
            "docx"
        )
        self.assertIn(
            "MISSING_DOCX_PARTS",
            result["issues"]
        )

    def test_invalid_document_xml(self):
        result = self.inspect(
            self.make_docx(invalid_xml=True),
            "docx"
        )
        self.assertIn(
            "INVALID_DOCUMENT_XML",
            result["issues"]
        )

    def test_invalid_docx_zip(self):
        path = self.folder / "bad.docx"
        path.write_bytes(b"not-a-zip")
        result = self.inspect(path, "docx")
        self.assertIn(
            "INVALID_DOCX_PACKAGE",
            result["issues"]
        )

    def test_pdf_signature(self):
        result = self.inspect(
            self.make_pdf(), "pdf"
        )
        self.assertEqual(
            result["status"], "PASS_PREFLIGHT"
        )

    def test_invalid_pdf_signature(self):
        result = self.inspect(
            self.make_pdf(b"not-pdf"), "pdf"
        )
        self.assertIn(
            "INVALID_PDF_SIGNATURE",
            result["issues"]
        )

    def test_revision_mismatch(self):
        result = self.inspect(
            self.make_pdf(), "pdf", source="v2"
        )
        self.assertIn(
            "SOURCE_REVISION_MISMATCH",
            result["issues"]
        )

    def test_missing_file(self):
        result = self.inspect(
            self.folder / "missing.pdf", "pdf"
        )
        self.assertIn(
            "FILE_NOT_FOUND",
            result["issues"]
        )

    def test_unsupported_format(self):
        result = self.inspect(
            self.make_pdf(), "html"
        )
        self.assertIn(
            "UNSUPPORTED_FORMAT",
            result["issues"]
        )

    def test_digest_is_recorded(self):
        result = self.inspect(
            self.make_pdf(), "pdf"
        )
        self.assertEqual(
            len(result["sha256"]), 64
        )

    def test_accessibility_unverified(self):
        result = self.inspect(
            self.make_docx(), "docx"
        )
        self.assertEqual(
            result["accessibility"],
            "NOT_TESTED"
        )

    def test_publication_not_approved(self):
        result = self.inspect(
            self.make_pdf(), "pdf"
        )
        self.assertEqual(
            result["publication_approval"],
            "NOT_TESTED"
        )


if __name__ == "__main__":
    unittest.main()

21. Execute and interpret the regression suite

python -m unittest -v test_export_preflight.py

The reference suite defines twelve synthetic tests, including:

  • Minimal DOCX package preflight.
  • Missing required DOCX package members.
  • Malformed document XML.
  • Unreadable ZIP package content.
  • Recognizable PDF signature.
  • Invalid PDF signature.
  • Source-revision mismatch.
  • Missing output file.
  • Unsupported format.
  • SHA-256 digest recording.
  • Accessibility remaining explicitly unverified.
  • Publication approval remaining explicitly unverified.

The examples are provided for local reproduction. No production, CI, or real-document accessibility test result is asserted.

These fixtures are not complete scientific documents and should not be used to infer that a generated DOCX or PDF satisfies accessibility or publishing standards.

22. Perform DOCX-specific acceptance

For an actual DOCX generated by Reporting Studio, verify:

  1. The document opens in a supported word processor.
  2. The title and heading hierarchy use appropriate semantic styles.
  3. Paragraphs and lists appear in the correct sequence.
  4. Tables retain their headers, values, and units.
  5. Figures retain captions, placement, and required descriptions.
  6. Equations and scientific notation are correct.
  7. Citations and bibliography entries are intact.
  8. Hyperlinks and cross-references resolve appropriately.
  9. Language and other document metadata are suitable.
  10. Accessibility checker findings are addressed.
  11. Editing and saving do not unexpectedly remove essential content.
  12. The export is bound to the intended source revision.

Use the word processor’s accessibility checker as one source of evidence, not as a complete guarantee.

Manual inspection remains necessary for scientific meaning and actual reading order.

23. Perform PDF-specific acceptance

For an actual PDF generated by Reporting Studio, verify:

  1. The file parses and renders using an appropriate PDF viewer.
  2. All expected pages are present.
  3. Page dimensions and pagination are acceptable.
  4. Text is readable and selectable where appropriate.
  5. Text and graphical content are not clipped.
  6. Figures, captions, and equations remain legible.
  7. Tables preserve correct values and labels.
  8. Links, citations, and cross-references function where required.
  9. The logical structure and reading order are evaluated.
  10. Meaningful images have appropriate accessible descriptions.
  11. Document language and metadata are correct.
  12. Any claimed PDF/UA conformance is independently validated against the applicable standard.
  13. Any required archival profile is independently checked.
  14. The PDF is linked to the intended approved source revision.

Automated PDF validators may identify many structural defects, but manual reading-order and content assessments remain necessary.

Do not mark a PDF accessible merely because text can be copied or a structure tree exists.

24. Compare DOCX and PDF against the approved source

Use a source-to-output comparison matrix for both formats.

Table 4. Scientific export equivalence review
Source element DOCX assessment PDF assessment
Title and authors Exact content and metadata Exact content and metadata
Headings Semantic styles and hierarchy Tagged structure and reading order
Body text Content completeness Content completeness
Citations Correct reference links Correct reference links
Tables Values, headers, units Values, layout, reading order
Figures Version, caption, and accessible meaning Version, caption, and accessible meaning
Equations Mathematical fidelity Mathematical fidelity
Limitations Complete scientific qualification Complete scientific qualification
Rights notices Required statements present Required statements present
Source identity Approved revision traceable Approved revision traceable

For quantitative reports, verify representative values and high-risk scientific statements explicitly.

An export can preserve every character yet still introduce misleading layout, broken figure associations, or inaccessible reading order.

25. Preserve export provenance and integrity

Each output should have a traceable generation record.

Recommended evidence includes:

  • Source publication identifier and revision.
  • Source content digest or immutable artifact reference.
  • Export format.
  • Template and renderer versions.
  • Requesting authorized identity.
  • Generation timestamp.
  • Output file digest.
  • Validation procedure and result.
  • Relevant rights and publication approvals.
  • Storage and retrieval reference.

A cryptographic digest can detect changes relative to the recorded file bytes. It does not prove that the exported document is accurate, accessible, or properly approved.

W3C PROV-O may support relationships among the approved source, export activity, generated artifacts, and responsible services.

26. Separate export completion from publication

A report may have several legitimate states:

Draft source
     |
     v
Review candidate
     |
     v
Approved source revision
     |
     v
Generated export
     |
     v
Validated export
     |
     v
Publication approval
     |
     v
Distributed or public artifact

The actual implemented state machine must be confirmed.

An export intended for private reviewer circulation may not require the same release authority as a public publication, but it must still respect applicable permissions and confidentiality restrictions.

Do not allow file generation to silently change publication status.

27. Preserve a machine-readable export acceptance receipt

An illustrative record is:

{
  "schema_version": "example-1.0",
  "workflow": "reporting_studio_document_export",
  "classification": "proposed",
  "source": {
    "publication_id": "report-017",
    "revision": "v3",
    "digest": null
  },
  "export": {
    "format": "pdf",
    "profile": "accessible-report-v1",
    "template_revision": "template-v4",
    "renderer_revision": null,
    "output_digest": null
  },
  "acceptance": {
    "source_identity": "not_tested",
    "exact_revision": "not_tested",
    "renderer_integrity": "not_tested",
    "heading_structure": "not_tested",
    "reading_order": "not_tested",
    "table_integrity": "not_tested",
    "figure_integrity": "not_tested",
    "equation_fidelity": "not_tested",
    "citation_integrity": "not_tested",
    "accessibility": "not_tested",
    "rights": "not_tested",
    "document_provenance": "not_tested",
    "output_persistence": "not_tested",
    "authorized_access": "not_tested",
    "publication_approval": "not_tested",
    "production_runtime": "not_tested"
  },
  "release_decision": "NO_GO"
}

This is a proposed evidence format, not a verified Reporting Studio API response or database contract.

For actual exports, record the real implementation revision, executed test results, source and output identities, and appropriate reviewer decisions.

28. Technical and scientific acceptance matrix

Table 5. DOCX and PDF export acceptance requirements
Criterion Pass condition Evidence
Source identity Authoritative publication identified Source record
Exact version Output bound to approved revision Revision and content integrity checks
Authorization Requester permitted to export selected content Authenticated tests
DOCX structure Required OOXML and document semantics present Structural and application validation
PDF structure Valid PDF with required semantic structure PDF parsing and structure review
Accessibility Applicable requirements assessed and satisfied Automated and manual review
Reading order Content follows meaningful reading sequence Manual and assistive-technology inspection
Tables Values, units, headers, and meaning preserved Source-to-output comparison
Figures Correct figures, captions, and descriptions retained Visual and scientific review
Equations Mathematical content preserved Scientific comparison
Citations References and bibliography remain consistent Citation audit
Rights Export and distribution permitted Rights-review record
Output integrity Generated file identity recorded Digest and storage evidence
Provenance Source-to-output relationship traceable Export receipt
Persistence Output remains accessible to authorized users Reload and retrieval tests
Publication Separate final release conditions satisfied Approval record
Runtime acceptance Actual deployed generation and download verified API, CI, and browser evidence

Acceptance rule: Record each criterion as Pass, Fail, Not Tested, or Not Applicable. Mandatory failed or untested criteria prevent full acceptance of the affected export or distribution.

29. Sustainable Catalyst cross-application responsibilities

Table 6. Proposed platform responsibilities
Application Intended responsibility
Reporting Studio Generate DOCX and PDF outputs from controlled publication revisions
Workspace Manage project ownership, review status, and export authorization
Library Maintain authoritative source identities, citations, licenses, and related artifacts
Citation Studio Support citation and bibliography integrity where implemented
Workbench Supply reproducible scientific figures, analyses, and source references
Research Lab Support scientific assessment of exported methods and findings
Research Receive approved outputs and maintain publication provenance
Platform Core Enforce trusted identity, tenant isolation, export permissions, and governance

These responsibilities are proposed architectural boundaries and require confirmation against the implemented platform.

30. Common mistakes and safe recovery

Common failures include:

  • Exporting the latest draft instead of the approved revision.
  • Assuming visually formatted headings are semantic headings.
  • Flattening tables into images.
  • Losing citations or bibliography entries.
  • Rasterizing equations without appropriate accessible alternatives.
  • Omitting figure captions or source notices.
  • Breaking logical PDF reading order.
  • Claiming PDF/UA conformance without appropriate testing.
  • Using PDF/A as a substitute for accessibility validation.
  • Recording a file digest without confirming source equivalence.
  • Making a generated document publicly available before approval.
  • Overwriting accepted export artifacts without retaining revision history.

When an export defect is identified, preserve the source revision, defective output, relevant renderer details, and sanitized diagnostics.

Correct the narrowest affected transformation or source issue. Regenerate a new versioned export where appropriate, rerun required validation, and preserve the relationship to the earlier artifact.

Do not silently replace an already published document without following the applicable correction or versioning policy.

31. Required implementation and runtime audit

Before describing this procedure as production verified, inspect:

  • Actual Reporting Studio repository and implementation commit.
  • Source publication and approval schemas.
  • DOCX and PDF rendering services.
  • Template and renderer version handling.
  • Scientific figure and equation export paths.
  • Table, heading, and reading-order generation.
  • Citation Studio and Library integration.
  • Rights and source-attribution controls.
  • DOCX structural and accessibility validation.
  • PDF parsing, tagging, and accessibility validation.
  • Actual source-to-output comparison tests.
  • File integrity, persistence, and storage rules.
  • Idempotency and concurrency handling.
  • Export download and tenant-isolation controls.
  • Publication and versioned distribution gates.
  • Executed positive, negative, and regression tests.
  • CI results tied to implementation commits.
  • Authenticated staging and browser acceptance.
  • Migration, backup, restore, and rollback or reconciliation evidence.
  • Known limitations, disabled profiles, and unresolved accessibility defects.

Attach actual source paths, export contracts, deployed build identifiers, generated-file evidence, and responsible reviewer decisions before certifying production capability.

32. Technical and accessibility references

  1. International Organization for Standardization. ISO/IEC 29500 — Office Open XML File Formats. Available at: ISO standard information.
  2. International Organization for Standardization. ISO 32000-2 — Document Management: Portable Document Format. Available at: PDF Association.
  3. PDF Association. PDF/UA-2 — ISO 14289-2:2024. Available at: PDF/UA-2 information.
  4. PDF Association. Accessible PDF. Available at: PDF accessibility standards.
  5. World Wide Web Consortium (W3C). Web Content Accessibility Guidelines (WCAG) 2.2. Available at: WCAG 2.2.
  6. Microsoft. Make Your Word Documents Accessible to People with Disabilities. Available at: Microsoft accessibility guidance.
  7. National Information Standards Organization (NISO). Journal Article Tag Suite (JATS). Available at: NISO JATS.
  8. World Wide Web Consortium (W3C). PROV-O: The PROV Ontology. Available at: W3C PROV-O.
  9. Python Software Foundation. zipfile — Work with ZIP Archives. Available at: Python documentation.
  10. Python Software Foundation. hashlib — Secure Hashes and Message Digests. Available at: Python documentation.

33. Completion and verification record

Table 7. DOCX and PDF export completion requirements
Field Required record
Publication identifier Authoritative report or manuscript identity
Source revision Exact approved version and integrity reference
Project authorization Actual organization, owner, and permitted export operation
Export format DOCX or defined PDF profile
Renderer and template Exact implementation and layout revisions
Document structure Heading, paragraph, list, and section assessment
Citations Bibliography and in-text reference validation
Tables Values, headers, units, and accessibility review
Figures Correct figure versions, captions, and descriptions
Equations Mathematical fidelity assessment
Reading order Logical and accessible sequence review
Accessibility Applicable automated and manual acceptance
Rights and confidentiality Approved use and disclosure scope
Output digest Actual cryptographic file identity
Provenance Source-to-export generation relationship
Publication approval Separate authorized release decision
Persistence Saved-file retrieval and access verification
Implementation identity Repository, commit, API contract, and deployed image
Runtime acceptance Executed API, CI, and browser evidence
Scientific reviewer Responsible assessor and decision date
Accessibility reviewer Responsible assessor and decision date
Outstanding limitations Unresolved format, scientific, legal, or accessibility issues

Completion criterion: DOCX and PDF export are accepted when each generated artifact is bound to the exact authorized and approved source revision; required structural elements, scientific figures, tables, equations, citations, and source relationships are preserved; applicable accessibility requirements have been evaluated; file integrity and provenance are recorded; and any subsequent publication or distribution is independently authorized.

Scientific limitation: An export that appears complete, passes structural checks, or satisfies a technical accessibility standard does not independently establish that its research findings are scientifically accurate. Methods, evidence, uncertainty, and interpretation require appropriate scientific review.

Current implementation status: DOCX and PDF export methodology, exact-version requirements, document structure and accessibility principles, scientific figure and citation validation, synthetic Python preflight checker, twelve reference regression tests, export provenance, and proposed release gates documented. No particular Sustainable Catalyst Reporting Studio DOCX renderer, PDF engine, accessibility validation service, citation handoff, or Research publication route is certified without implementation-specific source audit, actual generated-file testing, authenticated runtime acceptance, and independent scientific and editorial approval.

Scroll to Top