Pdf Extractor - Covert array list of object to pdf table

Last update: Apr 3, 2022

Pdf-Extractor

Pdf Extractor

Covert array list of object to pdf table

Examples :

= ArrayList() headers.add("الإســم") headers.add("العمر") headers.add("العـنوان") headers.add("الصورة") if (checkSelfPermission(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_DENIED) { val permission = arrayOf(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) requestPermissions(permission, 212) } else { PdfExtractor().Builder() .setDocsName("Gad") .setDocumentTitle("Gad Title") .setHeaders(headers) .setDocumentContent(usersList) .setCellColor(R.color.orange) .setHeaderColor(R.color.blue) .setCellTextColor(R.color.blue) .setHeaderTextColor(R.color.white) .setTableDirection(ExtractorLTR) .setLoadingColor(R.color.blue) .build(this) }">
     var user = User()
        user._1name = "Mostafa"
        user._2age = 28
        user._3country = "Egypt"
        user._4image = "https://png.pngtree.com/png-clipart/20210418/original/pngtree-lettering-ramadan-calligraphy-sticker-arabic-marhaban-ya-ramadhan-kareem-text-png-image_6237398.jpg"


        usersList.add(user)
        usersList.add(user)
        usersList.add(user)
        usersList.add(user)
        usersList.add(user)
        usersList.add(user)
        usersList.add(user)
        usersList.add(user)
        usersList.add(user)

        val headers: ArrayList<String> = ArrayList()
        headers.add("الإســم")
        headers.add("العمر")
        headers.add("العـنوان")
        headers.add("الصورة")


    if (checkSelfPermission(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_DENIED) {
            val permission = arrayOf(android.Manifest.permission.WRITE_EXTERNAL_STORAGE)
            requestPermissions(permission, 212)
        } else {
            PdfExtractor().Builder()
                .setDocsName("Gad")
                .setDocumentTitle("Gad Title")
                .setHeaders(headers)
                .setDocumentContent(usersList)
                .setCellColor(R.color.orange)
                .setHeaderColor(R.color.blue)
                .setCellTextColor(R.color.blue)
                .setHeaderTextColor(R.color.white)
                .setTableDirection(ExtractorLTR)
                .setLoadingColor(R.color.blue)
                .build(this)

        }

Getting Started

Step 1: Add it to build.gradle (project level) at the end of repositories:

            allprojects 
              {
                 repositories 
   	           {	
   		       maven { url 'https://jitpack.io' }
   	           }  
              }

Step 2 : Add the dependency

       implementation 'com.github.MostafaGad1911:Pdf-Extractor:1.1.0'
       

Notes

 Release 1.1.1 images displayed only through url 

Example

GitHub

https://github.com/MostafaGad1911/Pdf-Extractor
You might also like...

A gallery used to host an array of images

A gallery used to host an array of images

ImageGallery Overview A gallery used to host an array of images You can add one or more images to the gallery Support for using Palette to set the bac

May 5, 2022

Multidimensional array library for Kotlin.

Multik Multidimensional array library for Kotlin. Modules multik-api — contains ndarrays, methods called on them and [math], [stat] and [linalg] inter

May 23, 2022

Starterexpert - Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target

TwoSum Given an array of integers nums and an integer target, return indices of

Jan 17, 2022

Text-array-process - A home assignment used during the recruitment process at Lumera

Rules to implement class={isogram|palindrome|semordnilap} maxlength=INT minl

Jan 27, 2022

Object-relational mapping for Android

RushOrm Object-relational mapping for Android RushOrm replaces the need for SQL by mapping java classes to SQL tables. What is the aim? The aim is to

Jan 7, 2022

Helper object for injecting typeface into various text views of android.

TypefaceHelper Helper object for injecting typeface into various text views of android. Overview We can use various custom typefaces asset for any tex

Nov 8, 2021

An Android project containing image recognition and object detection models.

An Android project containing image recognition and object detection models.

An Android project containing image recognition and object detection models. Users can input images into the deep learning model by taking photos, opening photo albums, and real-time previews on the Android side. After the calculation on the Android side is completed, the model will output the prediction result and show it to the user.

Feb 26, 2022

This app using Mlkit along with the TensorFlow Lite model for object detection,

I built this app using Mlkit along with the TensorFlow Lite model for object detection, Arcore is used to place anchors to the detected objects. It's a good blend of Machine learning and Augmented reality to visualise ML information in a much better way than regular bounding boxes

Apr 30, 2022

This repo contains examples of all the functionalities of sceneform, Face filter , Object Placement etc

ARCore-Projects This repo uses sceneform 1.17.1 to demonstrate the usage of different features of arcore such as, Augmented Faces Augmented images AR

Mar 30, 2022

TensorFlow Lite Object Detection Android Demo

TensorFlow Lite Object Detection Android Demo

GSoC Project 2021 - TensorFlow Description This repository contains the project where I contributed to the TensorFlow Team during GSoC in the year 202

Jan 17, 2022

Animation samples with motion layout and object animator 🦹🏻‍♀️

Animation samples with motion layout and object animator 🦹🏻‍♀️

💕 Animations 💕 Animation samples with motion layout and object animator 🦹🏻‍♀️ Car Animation with Object Animator 👀 🎀 I've created this project b

Apr 24, 2022

Kotlin Object Notation - Lightweight DSL to build fluid JSON trees

Kotlin Object Notation Lightweight kotlin MPP DSL for building JSON trees Setup Just drop the dependency in your commonMain sourceSet kotlin { sourc

Mar 28, 2022

Its a small example with Custom Employee object is sent from one Fragment to another.

Its a small example with Custom Employee object is sent from one Fragment to another.

Kotlin-SafeArgs-Custom-Object Its a small example with Custom Employee object is sent from one Fragment to another. Dependencies used // Navigation

Oct 30, 2021

Kotlin Android object for global applicationContext

ContextProvider Kotlin Android object for global applicationContext Usage In your Aplication class class YourApp : Application() { override fun o

Nov 4, 2021

Object declarations Board game basics Game

Object-declarations-Board-game-basics-Game You want to create a game and you decided to store the playing field in a PlayingField singleton. Inside th

Nov 7, 2021

EVMapper: Simple object mapper for Kotlin

EVMapper - Simple object mapper for Kotlin Simple mapping data class AData(val p1: Int, val p2: Int) data class BData(val p1: Int, val p2: Int) val a

Jan 24, 2022

Object-streams - An experimental library for dealing with legacy code

Object Streams Super experimental! no guarantees to the public API surface. At t

Jan 18, 2022

Based on Android + NodeMCU platform to achieve object detection and tracking, AI capabilities come from Google MLKit.

Based on Android + NodeMCU platform to achieve object detection and tracking, AI capabilities come from Google MLKit.

Based on Android + NodeMCU platform to achieve object detection and tracking, AI capabilities come from Google MLKit.

Apr 4, 2022

Demonstration of Object Pool Design Pattern using Kotlin language and Coroutine

Demonstration of Object Pool Design Pattern using Kotlin language and Coroutine

Object Pool Design Pattern with Kotlin Demonstration of Thread Safe Object Pool Design Pattern using Kotlin language and Coroutine. Abstract The objec

Apr 12, 2022
A simple Pdf document viewer 💼
A simple Pdf document viewer 💼

Pdf Viewer Plus Screenshots Main Page Main Page Cyanea Permissions and privacy This app does not collect any data. The following permissions are requi

May 10, 2022
An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices
An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices

KOReader is a document viewer primarily aimed at e-ink readers. Download • Wiki • Developer docs Main features portable: runs on embedded devices (Cer

May 18, 2022
Green Pass: PDF Reader (unofficial) Android App
 Green Pass: PDF Reader (unofficial) Android App

Green Pass: PDF Reader (unofficial) Android App Offers a convenient access to a single one-sided PDF document and its QR code (if present in the docum

Mar 31, 2022
HTML to PDF convertor for Android

HTML to PDF Convertor A simple HTML to PDF convertor for Android Download Add mavenCentral() repository in project's build.gradle allprojects { re

Mar 28, 2022
Thaumcraft 4 research table tweaks - This mod brings a reworked research table GUI.
Thaumcraft 4 research table tweaks - This mod brings a reworked research table GUI.

Thaumcraft 4 research table tweaks This mod brings a reworked research table GUI. Features Tutorial and research pages where expanded to include expla

Jan 13, 2022
A Lightweight PDF Viewer Android library which only occupies around 125kb while most of the Pdf viewer occupies up to 16MB space.
A Lightweight PDF Viewer Android library which only occupies around 125kb while most of the Pdf viewer occupies up to 16MB space.

Pdf Viewer For Android A Simple PDF Viewer library which only occupies around 125kb while most of the Pdf viewer occupies upto 16MB space. How to inte

May 23, 2022
Pdf Reader: Read text in PDF with Text to Speech
Pdf Reader: Read text in PDF with Text to Speech

PDF Reader PDF Reader Read text in PDF with Text to Speech APK Link Here | App D

Jan 21, 2022
Android library that implements a table with fixed headers.
Android library that implements a table with fixed headers.

TableFixHeaders [DISCONTINUED] This project it's not deprecated, it do what it must, but we don't have time to improve it or, even, answer issues. Wha

May 11, 2022
Create a simple one screen application with scrollable table view

Create a simple one screen application with scrollable table view

Nov 19, 2021
Jan 10, 2022