forked from barteksc/PdfiumAndroid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add libmodpdfium recompiled with metadata and bookmarks support
Add methods for retrieving metadata and bookmarks Comment out native debug messages Add CHANGELOG Update README Update version
- Loading branch information
Showing
12 changed files
with
347 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## 1.2.0 (2016-07-06) | ||
* `libmodpdfium` compiled with methods for retrieving bookmarks and metadata | ||
* added `PdfiumCore#getDocumentMeta()` for retrieving document metadata | ||
* added `PdfiumCore#getTableOfContents()` for reading whole tree of bookmarks | ||
* comment out native rendering debug | ||
|
||
## 1.1.0 (2016-06-27) | ||
* fixed rendering multiple PDFs at the same time thanks to synchronization between instances | ||
* compile Pdfium with SONAME `libmodpdfium` to prevent loading `libpdfium` from Lollipop and higher | ||
* `newDocument()` requires `ParcelFileDescriptor` instead of `FileDescriptor` to keep file descriptor open | ||
* changed method of loading PDFs, which should be more stable | ||
|
||
## 1.0.3 (2016-06-17) | ||
* probably fixed bug when pdf should open as normal but was throwing exception | ||
* added much more descriptive exception messages | ||
|
||
## 1.0.2 (2016-06-04) | ||
* `newDocument()` throws IOException | ||
|
||
## 1.0.1 (2016-06-04) | ||
* fix loading `libpdfium` on devices with < Lollipop | ||
|
||
## Initial changes | ||
* Added method for rendering PDF page on bitmap | ||
|
||
``` java | ||
void renderPageBitmap(PdfDocument doc, Bitmap bitmap, int pageIndex, | ||
int startX, int startY, int drawSizeX, int drawSizeY); | ||
``` | ||
* Added methods to get width and height of page in points (1/72") (like in `PdfRenderer.Page` class): | ||
* `int getPageWidthPoint(PdfDocument doc, int index);` | ||
* `int getPageHeightPoint(PdfDocument doc, int index);` |
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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.