Top "Xwpf" questions

XWPF is a Java API to handle Microsoft Word 2007 .docx format files.

Replacing a text in Apache POI XWPF

I just found Apache POI library very useful for editing Word files using Java. Specifically, I want to edit a …

java ms-word apache-poi xwpf
Insert a line break inside a paragraph in XWPFDocument

I am writing values into a word template using apache poi 3.8. I replace specific strings in a word file (keys) …

java apache apache-poi xwpf
Set columnwidth of a table in XWPFTableCell (docx)

I'm generating a docx file with apache-poi. In the wordfile, I add tables, whose columns have a width I would …

java ms-word apache-poi openoffice-writer xwpf
How can I use predefined formats in DOCX with POI?

I'm creating a docx generator with POI and would like to use predefined formats. Word includes several formats like Title, …

java apache-poi docx xwpf
How to auto fit table and aligning the table to center, according to Word Document Size Apache-POI?

How to make this table to auto-fit to document page width, when the column size increases, using apache-poi and aligning …

java apache-poi xwpf
How to set page orientation for Word document?

I use Apache POI XWPF to create and handle MS Word documents. But I didn't find in the documentation how …

java apache-poi landscape-portrait orientation-changes xwpf
How to merge cells (or apply colspan) using XWPFTable in POI in Java?

Creating a table in poi was quite easy but it has very limited tutorials and I cannot find one that …

java apache-poi xwpf
Insert table into a word document at a specific position using apache poi

I am working on a project where I am trying to create an automated report generator. I need to pinpoint …

java ms-word apache-poi xwpf
How to set a font family to an entire Word document in Apache POI XWPF

Is there a way to set a default font family to a word document generated by Apache POI instead of …

java apache-poi xwpf
How to replace placeholders in header of docx in java using poi 3.8

I'm tying to replace tokens in the header of docx file.I have handled the token replacement in paragraphs and …

header apache-poi xwpf