Merge pull request #649 from Stirling-Tools/eol

Eol
This commit is contained in:
Anthony Stirling 2024-01-03 18:11:30 +00:00 committed by GitHub
commit ad7150d616
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 3008 additions and 3007 deletions

2
.gitattributes vendored
View file

@ -1,3 +1,5 @@
* text=auto eol=lf
# Ignore all JavaScript files in a directory # Ignore all JavaScript files in a directory
src/main/resources/static/pdfjs/* linguist-vendored src/main/resources/static/pdfjs/* linguist-vendored
src/main/resources/static/pdfjs/** linguist-vendored src/main/resources/static/pdfjs/** linguist-vendored

View file

@ -120,9 +120,8 @@ public class SplitPdfBySectionsController {
float translateX = -subPageWidth * i; float translateX = -subPageWidth * i;
float translateY = height - subPageHeight * (verticalDivisions - j); float translateY = height - subPageHeight * (verticalDivisions - j);
// Code for google Docs pdfs..
//Code for google Docs pdfs.. // float translateY = -subPageHeight * (verticalDivisions - 1 - j);
//float translateY = -subPageHeight * (verticalDivisions - 1 - j);
contentStream.saveGraphicsState(); contentStream.saveGraphicsState();
contentStream.addRect(0, 0, subPageWidth, subPageHeight); contentStream.addRect(0, 0, subPageWidth, subPageHeight);