16

Abstracted PDF generation is hell.

Comments
  • 0
    Depends on the abstraction method... It's not hard if you're abstracting it as domain-oriented calls :)

    addHeader()
    addTitle()
    addIntro()

    etc
  • 2
    @netikras Imagine this:
    A library to generate tables for a PDF.
    Where everything is abstracted in weird ways.
  • 4
    Yes, yes it is. Welcome to the club.
  • 1
    Tables and text is easy.
    Wait until variables inside text and tables and formatting them with customizable formatters. 😂
  • 0
    @smb26 Not your coworker.
  • 1
    @vane Yup, would be easy.
    Except if you have to wrap every cell of a table inside a 1x1 table because otherwise you are somehow unable to properly set paddings for individual cells.
Add Comment