Releases: tejpratap46/PDFCreatorAndroid
Releases · tejpratap46/PDFCreatorAndroid
3.0.2
Fixed issue sharing PDF from PdfViewer
Thanks to @enocklubowa for bug fix.
Added option to set custom column width of PDFTableView
- Set custom width to table view columns
PDFTableView tableView = new PDFTableView(getApplicationContext(), tableHeader, tableRowView1);
// as this table has 4 columns, each will get width as per their index in array.
// Sum should be equal to 100%
int[] widthPercent = {20, 20, 20, 40};
tableView.setColumnWidth(widthPercent);
2.2
- Removed extra dependency so you don't have to add license information.
- Now, this library does not have any external dependency.
2.1.2
- Updated Gradle version to latest
2.1.1
Added option to add Watermark Image
Now you can add watermark image
Example:
@Nullable
@Override
protected PDFImageView getWatermarkView(int forPage) {
PDFImageView pdfImageView = new PDFImageView(getApplicationContext());
FrameLayout.LayoutParams childLayoutParams = new FrameLayout.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT,
200, Gravity.CENTER);
pdfImageView.setLayout(childLayoutParams);
pdfImageView.setImageResource(R.drawable.ic_pdf);
pdfImageView.setImageScale(ImageView.ScaleType.FIT_CENTER);
pdfImageView.getView().setAlpha(0.3F);
return pdfImageView;
}
Added Option to add Footer on every page
Added a feature as requested in #10
1.3
- Added Pdf Viewer
- Added Html To Pdf
- Added WebView To Pdf
1.2
- Fixed Bugs
- Added Zoom View for Pdf Preview
- Added PdfViewer