# Feature OP-19887 - Global default settings for PDF exports by type

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-19887

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 17.9.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List | PM² PMflex |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Export / PDF Export |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan | Community (COM) |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Andrej Sandorf |
| Designer |  |
| Ordered by | Niels Lindenthal |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** an OpenProject admin  
**I want to** customize the PDF exports (Work package export)  
**so that** my project teams do not need to do those settings with every export.

**Acceptance criteria**

  - In Administration -\> Work packages -\> Types -\> Type A -\> PDF export there is a setting for each PDF

  - Clicking on the edit mode opens a fullscreen configuration screen in a new page (one route for each template).

  - Each PDF export can have different settings
    
      - Template Attributes
        
          - Footer text
        
          - Page orientation
        
          - Hyphenation (yes/no)
        
          - Hyphenation language
    
      - Template Contract
        
          - Footer text
        
          - Hyphenation (yes/no)
        
          - Hyphenation language
    
      - Template PMflex artefact
        
          - Table of content (yes/no)
        
          - Hyphenation (yes/no)
        
          - Hyphenation language

  - These settings are loaded into the Export dialog when exporting a work package

  - The artefact-on-state-change export uses these settings as well

  - Settings must work with type variants

**Out of scope**

  - Creating PDF templates from the user frontend

  - Centrally managed placeholder text like imprint

  - Settings for the file naming schema

  - Order of attributes (for now hard-coded in the PDF export template)

  - Additional PMflex artefact content (will be implemented with <mention class="mention" data-id="78561" data-type="work_package" data-text="#PIR-118" data-display-id="PIR-118">\#PIR-118</mention>)

  - Template Business letter (will be implemented with <mention class="mention" data-id="60437" data-type="work_package" data-text="#OP-16397" data-display-id="OP-16397">\#OP-16397</mention>)
