Pdf Extractor - Covert array list of object to pdf table

Overview

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

You might also like...
Text-array-process - A home assignment used during the recruitment process at Lumera

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

A Kotlin Symbol Processor to list sealed object instances.

Sealed Object Instances A Kotlin Symbol Processor to list sealed object instances. Usage Let's say you have a similar structure of sealed classes (or

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

Create a simple one screen application with scrollable table view

Create a simple one screen application with scrollable table view

Android-Study-Jams - Timely is basically an application which displays Live Time-Table for different semesters in Bhilai Institute Of Technology Yet another advanced Craftfting Table mod. My entry for ModFest: Singularity
Yet another advanced Craftfting Table mod. My entry for ModFest: Singularity

Crafting Bench A utility mod that adds a custom crafting table with semi-automatic crafting. Features For a complete list of features please check the

Compose-table is a funny compose project to display multiple rows and columns.

Readme Compose-table is a funny compose project to display multiple rows and columns. You can scroll in any direction ( vertically and horizontally) S

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

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

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.

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

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

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

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

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

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

Kotlin Android object for global applicationContext

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

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

Releases(1.1.1)
Owner
Mostafa Gad
Android Developer
Mostafa Gad
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

gokul 332 Dec 7, 2022
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

KOReader Community 12k Jan 4, 2023
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

Michael Troger 32 Dec 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

MD Danish Ansari 48 Jan 2, 2023
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

null 7 Dec 19, 2022
Hornox is a fast BSON serializer, deserializer and node extractor for the JVM.

Hornox is a fast, simple-stupid BSON serializer, deserializer and node extractor for the JVM. Features Full implementation of the BSON Specification w

Txture 1 May 12, 2022
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

Rajat 362 Dec 29, 2022
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

Rushikesh Suryawanshi 0 Jan 21, 2022
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

Etienne Lawlor 645 Dec 18, 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

Kotlin 489 Jan 3, 2023