-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding unit Tests: * xmp * ConvertFunctionsToVirtualList * PyPDF2.utils.hexStr * Page operations with encoded file * merging encrypted * images DOC: Comments to docstrings STY: Remove vim comments BUG: CCITTFaxDecode decodeParms can be an ArrayObject. I don't know how a good solution would look like. Now it doesn't throw an error, but the result might be wrong. BUG: struct was not imported for Python 2.X
- Loading branch information
1 parent
9d53ee8
commit 012709f
Showing
20 changed files
with
296 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# vim: sw=4:expandtab:foldmethod=marker | ||
# | ||
# Copyright (c) 2006, Mathieu Fenniak | ||
# All rights reserved. | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# vim: sw=4:expandtab:foldmethod=marker | ||
# | ||
# Copyright (c) 2006, Mathieu Fenniak | ||
# Copyright (c) 2007, Ashish Kulkarni <[email protected]> | ||
# | ||
|
@@ -1637,7 +1635,7 @@ def _getObjectFromStream(self, indirectReference): | |
streamData.seek(0, 0) | ||
lines = streamData.readlines() | ||
for i in range(0, len(lines)): | ||
print((lines[i])) | ||
print(lines[i]) | ||
streamData.seek(pos, 0) | ||
try: | ||
obj = readObject(streamData, self) | ||
|
@@ -2588,11 +2586,6 @@ def mergeRotatedScaledTranslatedPage(self, page2, rotation, scale, tx, ty, expan | |
ctm[1][0], ctm[1][1], | ||
ctm[2][0], ctm[2][1]], expand) | ||
|
||
## | ||
# Applys a transformation matrix the page. | ||
# | ||
# @param ctm A 6 elements tuple containing the operands of the | ||
# transformation matrix | ||
def addTransformation(self, ctm): | ||
""" | ||
Applies a transformation matrix to the page. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.