Comments (3)
Hi,
java.awt classes have to be reimplemented to offer all fonctionnalities of apache poi to Android. By now only colors are available. On my fork I added the column autosize for my personal use. The work around will consist on some lines of java ;)
from poi-on-android.
That Means CellStyle Is Not Fully Supported. Right?
I Included The Gradle Dependency From mvnrepositories And That Doesn't Have Colors Implemented Via CellStyle For Android. (It Works Perfectly Well On Other Platforms. I Checked On Windows)
CellStyle cs = wb.createCellStyle();
The Above Line Generates An Exception Pointing To The Usage Of java.awt.Color.
Did You Create A Custom Build Of The POI Library?
from poi-on-android.
There is a workaround in place for some time already for java.awt.Color which should make it work. However there are still many other java.awt classes that might be missing when using some parts of Apache POI, unfortunately I could not find a good AWT-reimplementation for Android.
Please try the latest version and report any remaining issues.
from poi-on-android.
Related Issues (20)
- Сompile JAR for a particular architecture? HOT 1
- fr.opensagres.poi.xwpf.converter.pdf.PdfConverter HOT 8
- Cannot insert picture in a XWPFDocument HOT 1
- XMLSlideShow解析失败 HOT 3
- Crash due to not able to locate index.xsb HOT 3
- ClassCastException writing Excel file HOT 4
- org.apache.poi.ooxml.POIXMLException HOT 2
- Office to pdf HOT 1
- Unexpected reference to missing service class HOT 6
- Crash when run in app HOT 3
- the width value of cell in the excel looks strange
- java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/geom/Rectangle2D$Doubl HOT 2
- Do you have a plan for the next version? HOT 2
- Some questions about this project HOT 1
- Failing to build shadowJar HOT 2
- A quick question regarding performance (fastness of reading writing) HOT 1
- is it CSV Writer includes this library ? HOT 1
- java.lang.NoSuchMethodError: No static method forArray HOT 3
- POITextExtractor bug! docs, xlsx, pptx are OK, but doc file throws Exception! HOT 3
- NoSuchMethodError createExtractor(Ljava/io/InputStream;)Lorg/apache/poi/POITextExtractor HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poi-on-android.