Skip to content

Bates Numbering customization#898

Closed
BryceStevenWilley wants to merge 1 commit intojhpyle:masterfrom
SuffolkLITLab:bates_number_customize
Closed

Bates Numbering customization#898
BryceStevenWilley wants to merge 1 commit intojhpyle:masterfrom
SuffolkLITLab:bates_number_customize

Conversation

@BryceStevenWilley
Copy link
Copy Markdown
Contributor

Allows for some additional customization of the bates numbering functionality.

Adds three new params to the bates_number function: two offsets and font_size.

  • offset_horizontal is the distance from the left or right edge to the numbers, in PDF space units (default of 1/72th inch)
  • offset_vertical is the distance from the top or bottom edge to the numbers, in PDF space units (default of 1/72th inch)
  • font_size is the size of the numbers in points

Does make changes to the vendored Marisol library (https://github.com/wikkiewikkie/Marisol), but it's already been modified since being vendored (https://github.com/jhpyle/docassemble/commits/master/docassemble_base/docassemble/base/marisol/marisol.py).

Adds three new params to the `bates_number` function: two offsets and font_size.

* `offset_horizontal` is the distance from the left or right edge to the numbers, in PDF space units (default of 1/72th inch)
* `offset_vertical` is the distance from the top or bottom edge to the numbers, in PDF space units (default of 1/72th inch)
* `font_size` is the size of the numbers in points
@BryceStevenWilley
Copy link
Copy Markdown
Contributor Author

Missed that this got merged and released in 1.9.2: closing. 9a2c4a1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant