mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-02-21 00:17:05 +01:00
revert
This commit is contained in:
parent
7ffa447cbc
commit
9795c68220
@ -118,8 +118,12 @@ public class SplitPdfBySectionsController {
|
||||
new PDPageContentStream(subDoc, subPage)) {
|
||||
// Set clipping area and position
|
||||
float translateX = -subPageWidth * i;
|
||||
float translateY = -subPageHeight * (verticalDivisions - 1 - j);
|
||||
|
||||
float translateY = height - subPageHeight * (verticalDivisions - j);
|
||||
|
||||
|
||||
//Code for google Docs pdfs..
|
||||
//float translateY = -subPageHeight * (verticalDivisions - 1 - j);
|
||||
|
||||
contentStream.saveGraphicsState();
|
||||
contentStream.addRect(0, 0, subPageWidth, subPageHeight);
|
||||
contentStream.clip();
|
||||
|
Loading…
Reference in New Issue
Block a user