Hi,
I'm looking around for a Java library that can
* Write xls and xlsx files
* Write large (500,000 rows x 200 columns) files (xlsx)
* Write large files without consuming all memory (ie, it can stream)
Does xls4j fit the bill? If not, what does?
It is currently Wed Dec 03, 2025 8:24 am
News of Plutext // tag definition
HashMap<String, String> mappings = new HashMap<String, String>();
mappings.put("DATE", Calendar.getInstance().getTime().toString());
mappings.put("PAGE_BREAK", "<w:br w:type=\"page\" />");
// tag replacement
String doc = XmlUtils.marshaltoString(part.getJaxbElement(), true);
part.setJaxbElement((Document) XmlUtils.unmarshallFromTemplate(doc, mappings));
By the way,the method output of org.docx4j.convert.out.pdf.PdfConversion is added a parameter,How should I set this parameter?
String name = "/ppt/slides/slide"+slideIndex+".xml";
SlidePart slidePart = new SlidePart(new PartName(name));
slidePart.setJaxbElement( slideTemplate );
// do slide template modifications here.
List shapeTree = slideTemplate.getCSld().getSpTree().getSpOrGrpSpOrGraphicFrame();
CTGraphicFrame gf = new CTGraphicFrame();
shapeTree.add(gf);
Graphic g = new Graphic();
gf.setGraphic(g);
GraphicData gd = new GraphicData();
g.setGraphicData(gd);
CTRelId cri = new CTRelId();
gd.getAny().add(cri);
cri.setId("rId2");
Total posts 10213 • Total topics 2877 • Total members 2103