Coder Social home page Coder Social logo

ahmadullahpk / all-documents-reader Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 2.0 10.08 MB

This library reads any type of documents like (doc, docx, xls, xlsx, ppt, pptx,pdf, rtf, csv, json, html, xml,txt,and kotlin)F files.

Home Page: https://www.brainwaveappstudio.com/

Kotlin 0.90% Java 99.10%
all android doc document docx java kotlin ppt pptx reader

all-documents-reader's Introduction

All-Document-Reader

This library reads any type of documents like (doc, docx, xls, xlsx, ppt, pptx,pdf, rtf, csv, json, html, xml,txt,and kotlin)F files.

Just use this 4 line code

    Intent intent = new Intent(context, All_Document_Reader_Activity.class);
    intent.putExtra("path", path);
    intent.putExtra("fromAppActivity", true);
    context.startActivity(intent);

val intent = Intent(this, All_Document_Reader_Activity::class.java) intent.putExtra("path", path) intent.putExtra("fromAppActivity", true) startActivity(intent)

Gradle

Step 1

add jitpack repository

allprojects {

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

}

OR

pluginManagement {

repositories {
    google()
    mavenCentral()
    jcenter()
    gradlePluginPortal()
    maven { url 'https://jitpack.io' }

}

}

dependencyResolutionManagement {

repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
    google()
    mavenCentral()
    jcenter()
    maven { url 'https://jitpack.io' }
}

}

Step 2

add this dependency

implementation 'com.github.ahmadullahpk:all-documents-reader:1.0.7'

Step 3

Add build.gradle (App)

android {

........

packagingOptions {

    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/INDEX.LIST'

}

...........

}

Step 4

add this line in gradle.properties

android.enableJetifier=true

Contact me if you have problem

Fiverr:

https://www.fiverr.com/s/rRb0Yr

WhatsApp:

+923115799224

all-documents-reader's People

Contributors

ahmadullahpk avatar ahmadullahsbk avatar

Stargazers

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

Watchers

 avatar

Forkers

candytek lynyko

all-documents-reader's Issues

Some ANR occur in Module and these are repeated::

isue
isue
here is Logs of ANR 1:
main (blocked):tid=1 systid=14444 | waiting to lock <0x061f6905> (com.filereader.alldocumentreader.xs.ss.model.baseModel.Workbook) held by thread 37 at com.filereader.alldocumentreader.xs.simpletext.font.FontKit.getCellPaint(FontKit.java:130) at com.filereader.alldocumentreader.xs.ss.view.CellView.drawCellContents(CellView.java:577) at com.filereader.alldocumentreader.xs.ss.view.CellView.draw(CellView.java:216) at com.filereader.alldocumentreader.xs.ss.view.SheetView.drawCells(SheetView.java:706) at com.filereader.alldocumentreader.xs.ss.view.SheetView.drawRows(SheetView.java:776) at com.filereader.alldocumentreader.xs.ss.view.SheetView.drawSheet(SheetView.java:316) at com.filereader.alldocumentreader.xs.ss.control.Spreadsheet.onDraw(Spreadsheet.java:334) at android.view.View.draw(View.java:22801)

here is Logs of ANR 2:
main (blocked):tid=1 systid=13845 | waiting to lock <0x088fc612> (com.filereader.alldocumentreader.xs.ss.model.baseModel.Workbook) held by thread 2
at com.filereader.alldocumentreader.xs.ss.model.baseModel.Workbook.getColor(Workbook.java)
at com.filereader.alldocumentreader.xs.ss.model.baseModel.Workbook.getColor(Workbook.java:239)
at com.filereader.alldocumentreader.xs.ss.view.CellBorderView.draw(CellBorderView.java:105)
at com.filereader.alldocumentreader.xs.ss.view.CellView.drawCellBackgroundAndBorder(CellView.java:280)
at com.filereader.alldocumentreader.xs.ss.view.CellView.draw(CellView.java:214)
at com.filereader.alldocumentreader.xs.ss.view.SheetView.drawCells(SheetView.java:706)
at com.filereader.alldocumentreader.xs.ss.view.SheetView.drawRows(SheetView.java:776)
at com.filereader.alldocumentreader.xs.ss.view.SheetView.drawSheet(SheetView.java:316)
at com.filereader.alldocumentreader.xs.ss.control.Spreadsheet.onDraw(Spreadsheet.java:334)

Convert

It would be great if there was an additional function to convert office files to PDF, this is difficult to do. Please tell me, is there any way to turn the entire content of the pages of the docx file into images? Suppose I have a docx file with 3 pages, I want to export those 3 pages into images

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.