Giter Club home page Giter Club logo

rpdfgenerator's Introduction

RPdfGenerator

A sample project to generate PDF file from data using itextpdf/itext7 library

Important Notes

  • Add WRITE_EXTERNAL_STORAGE permission in AndroidManifest.xml

  • Add File Provider in AndroidManifest.xml

    <provider
        android:name="androidx.core.content.FileProvider"
        android:authorities="com.rheyansh.rpdfgenerator.fileprovider"
        android:exported="false"
        android:grantUriPermissions="true">
        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/provider_paths" />
    </provider>
  • Add XML resource folder (see provider_paths.xml in example folder)

Alt text Alt text

Author

Communication

  • If you found a bug, open an issue.
  • If you want to contribute, submit a pull request.

Other Libraries

  • RBiometric:- Elegant and Easy-to-Use library for iOS Biometric (TouchId and FaceId) authentication.
  • RBeacon:- Sample project for turning android device into a Beacon device. App can work as both broadcaster and receiver.
  • RPicker:- Elegant and Easy-to-Use Date and Options Picker.
  • RFirebaseMessaging:- Project provides basic idea and approach for building small social media application using firebase and implementing chat using Firebase.

rpdfgenerator's People

Contributors

rheyansh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rpdfgenerator's Issues

Itext Library nto working

I implement the library the same as you did , implementation 'com.itextpdf:itext7-core:7.1.12' ,
but when i import it it shows no resolved !

then i changed the method of implementation i used to libraries :
implementation 'com.itextpdf.android:kernel-android:7.2.2'
implementation 'com.itextpdf.android:layout-android:7.2.2'

it work normmaly but when i used the TextAlignment or UnitValue it shows not acceptable from
com.itextpdf.layout.properties.TextAlignment , but com.itextpdf.layout.property.TextAlignment excepted

i didn't find were the problem is

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.