Polarion extension for customised PDF exports | Read-only mirror of https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.pdf-exporter — SBB. Issues & pull requests at the source.
  • Java 58.8%
  • TypeScript 20.6%
  • HTML 16.6%
  • CSS 3%
  • JavaScript 1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
github-actions[bot] 72150a91a0
chore(main): release 14.0.1-SNAPSHOT (#1310)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-12-04 17:33:31 +01:00
.github chore: sync workflows and the bug form from the template (#1304) 2026-12-02 20:22:07 +01:00
.idea/codeStyles feat!: add support for additional PDF/A and PDF/UA variants and update to WeasyPrint 67.0 (#652) 2025-12-10 09:06:48 +01:00
.mvn feat: publish to JFrog instead of Maven Central (#1303) 2026-12-02 19:26:04 +01:00
docs refactor!: drop the image density (#1275) 2026-12-04 11:32:38 +00:00
src refactor!: drop the image density (#1275) 2026-12-04 11:32:38 +00:00
ui refactor!: drop the image density (#1275) 2026-12-04 11:32:38 +00:00
.gitignore feat: documentation site over the shared RSP components (#1067) 2026-09-25 11:48:28 +02:00
.pre-commit-config.yaml chore(deps): update pre-commit hook commitizen-tools/commitizen to v4.20.1 2026-11-27 11:13:11 +00:00
.yamlfix.toml feat!: add support for additional PDF/A and PDF/UA variants and update to WeasyPrint 67.0 (#652) 2025-12-10 09:06:48 +01:00
CHANGELOG.md chore(main): release 14.0.0 (#1307) 2026-12-04 17:25:18 +01:00
CLAUDE.md feat!: configure the toolbar buttons on a new Appearance page instead of scriptInjection (#1299) 2026-12-04 11:52:15 +01:00
CODING_STANDARDS.md chore: update build configuration to use JFrog for private artefacts and improve documentation (#449) 2025-06-11 14:23:33 +02:00
CONFIGURATION.md feat!: configure the toolbar buttons on a new Appearance page instead of scriptInjection (#1299) 2026-12-04 11:52:15 +01:00
CONTRIBUTING.md refactor: restructure licensing for proper Apache 2.0 detection (#720) 2026-02-19 22:46:41 +01:00
DCO refactor: restructure licensing for proper Apache 2.0 detection (#720) 2026-02-19 22:46:41 +01:00
DEVELOPMENT.md feat!: build against Polarion 2612 (#1306) 2026-12-02 23:50:47 +01:00
DISCLAIMER.md feat: PDF/A-1b compliance (#608) 2025-11-07 19:19:35 +00:00
LICENSE refactor: restructure licensing for proper Apache 2.0 detection (#720) 2026-02-19 22:46:41 +01:00
LIMITATIONS.md fix: hyphenate long words of tables in a language (#1107) 2026-10-01 21:28:42 +02:00
lombok.config feat!: add support for additional PDF/A and PDF/UA variants and update to WeasyPrint 67.0 (#652) 2025-12-10 09:06:48 +01:00
NOTICE fix: use embedded font for consistent table column widths across plat… (#768) 2026-03-23 17:26:28 +01:00
pom.xml chore(main): release 14.0.1-SNAPSHOT (#1310) 2026-12-04 17:33:31 +01:00
QUICK_START.md feat!: configure the toolbar buttons on a new Appearance page instead of scriptInjection (#1299) 2026-12-04 11:52:15 +01:00
README.md feat!: configure the toolbar buttons on a new Appearance page instead of scriptInjection (#1299) 2026-12-04 11:52:15 +01:00
redocly.yaml refactor: restructure licensing for proper Apache 2.0 detection (#720) 2026-02-19 22:46:41 +01:00
RELEASE.md feat: publish to JFrog instead of Maven Central (#1303) 2026-12-02 19:26:04 +01:00
renovate.json chore: opt into the polarion compatibility check (#1036) 2026-09-04 17:09:42 +02:00
UPGRADE.md refactor!: drop the image density (#1275) 2026-12-04 11:32:38 +00:00
USER_GUIDE.md refactor!: drop the image density (#1275) 2026-12-04 11:32:38 +00:00
zizmor.yml chore: migrate workflows to reusable workflows from github-workflows-polarion (#764) 2026-03-20 14:45:55 +01:00

Quality Gate Status Bugs Code Smells Coverage Duplicated Lines (%) Lines of Code Reliability Rating Security Rating Maintainability Rating Vulnerabilities

Polarion ALM extension to convert Documents to PDF files

This Polarion extension provides possibility to convert Polarion Documents to PDF files. This is an alternative to native Polarion's solution. The extension uses WeasyPrint as a PDF engine and requires it to run in Docker as Service.

Important

Starting from version 8.0.0 only latest version of Polarion is supported. Right now it is Polarion 2612.

Important

Please, read our disclaimer before using this extension.

Documentation

Page Contents
Quick start The most important steps and configurations, briefly summarized
Configuration Full configuration reference: WeasyPrint, the toolbar buttons and the Appearance page, bulk export, external resources, logging, workflow function, style packages and more
User guide The export options in the PDF Exporter dialog
Limitations and workarounds By-design behaviour (rendering and PDF/A · PDF/UA compliance) and how to adjust it
Upgrade notes Version-specific upgrade instructions
Performance & resource planning Memory requirements and benchmarks
REST API OpenAPI specification

Build

This extension can be produced using maven:

mvn clean package

Installation to Polarion

To install the extension to Polarion ch.sbb.polarion.extension.pdf-exporter-<version>.jar should be copied to <polarion_home>/polarion/extensions/ch.sbb.polarion.extension.pdf-exporter/eclipse/plugins It can be done manually or automated using maven build:

mvn clean install -P local-install-into-polarion

For automated installation with maven env variable POLARION_HOME should be defined and point to folder where Polarion is installed.

Changes only take effect after restart of Polarion.

Usage

  1. Open a document in Polarion.
  2. In the toolbar choose Show Sidebar ➙ Document Properties.
  3. Choose desired options in the PDF Exporter block and click Export to PDF. For the options details please refer user guide.

REST API

This extension provides REST API. OpenAPI Specification can be obtained here.

For asynchronous export and job-timeout tuning, see Advanced configuration.