Skip to content

Releases: tejpratap46/PDFCreatorAndroid

3.0.2

04 Aug 09:31
Compare
Choose a tag to compare
  • Added Option to add PDFPageBreak.
  • Renamed Example Activities with "Example" prefix.
  • Moved to jdk11 (for AS Arctic Fox)

Fixed issue sharing PDF from PdfViewer

16 Jul 15:00
8d7ae0e
Compare
Choose a tag to compare

Added option to set custom column width of PDFTableView

07 May 17:38
Compare
Choose a tag to compare
  • 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

30 Mar 12:26
Compare
Choose a tag to compare
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

27 Mar 13:30
Compare
Choose a tag to compare
  • Updated Gradle version to latest

2.1.1

20 Mar 17:55
Compare
Choose a tag to compare
  • Fixed Bug #17

Added option to add Watermark Image

09 Mar 15:24
Compare
Choose a tag to compare

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

21 Feb 00:40
Compare
Choose a tag to compare

Added a feature as requested in #10

1.3

26 Oct 07:01
Compare
Choose a tag to compare
1.3
  • Added Pdf Viewer
  • Added Html To Pdf
  • Added WebView To Pdf

1.2

01 Oct 16:35
Compare
Choose a tag to compare
1.2
  • Fixed Bugs
  • Added Zoom View for Pdf Preview
  • Added PdfViewer