revert
This commit is contained in:
parent
7ffa447cbc
commit
9795c68220
1 changed files with 6 additions and 2 deletions
|
@ -118,7 +118,11 @@ public class SplitPdfBySectionsController {
|
||||||
new PDPageContentStream(subDoc, subPage)) {
|
new PDPageContentStream(subDoc, subPage)) {
|
||||||
// Set clipping area and position
|
// Set clipping area and position
|
||||||
float translateX = -subPageWidth * i;
|
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.saveGraphicsState();
|
||||||
contentStream.addRect(0, 0, subPageWidth, subPageHeight);
|
contentStream.addRect(0, 0, subPageWidth, subPageHeight);
|
||||||
|
|
Loading…
Reference in a new issue