I want to create an image from a spreadsheet in order to insert it into a pptx file (as OLE Object). I know there is already a thread with this topic but I wish to know if there had been some changes since 2011 that makes it easier.
As part of my Html to docx conversion, I need to set the before and after spacing to a paragraph, even after adding the spacing word is not rendering any space before or after. It shows up in the wml but no impact when we open the docx.
following is my part of xml <w:p> <w:pPr> <w:pStyle w:val="Title"/> <w:spacing w:lineRule="atLeast" w:after="60" w:before="30"/> <w:ind w:left="0"/> <w:jc w:val="left"/> </w:pPr> <w:r> <w:rPr> <w:b/> <w:color w:val="5f5f5f"/> <w:sz w:val="36"/> ...
Been using docx4j for a long time now .. I'm currently using version 2.8.0 (yes -- I know .. why haven't I upgraded).
Perhaps upgrading would just solve my problem..
I'm seeing this node in my docx: <mc:AlternateContent>
When I look for the text content under the paragraph which is the container for that node, I get the text which is contained in the AlternateContent as well as the text that's not in ...
hi, i am trying to generate docx file from .html template with inline styling. when i'm creating new doc file i found each paragraphs has extra spacing before it started. i could change that spacing by adjusting default font size and line spaces in styles.xml file in docx4j. but as a result the default font size become too small that i coudn't see anything written in that space. so i need to apply font sizing ...
Hi all, first of all let me thank you for making this awesome library and keep improving it :) Ok, now let's talk about my question. I'm working on a program that will let user export some documents in PPTX format and everything seems to work fine, but I don't know how to color a text. I saw some Pptx documents to see how it Works and ...
Am started using docx4j for my html to docx conversion, Using docx4j 3.1.0 and docx4j ImportXHTML 3.0.1,
with the above jars am unabe to get my unordered list items as bulleted list, it allways generates decimal numbered format ( irrespective of <ol> or <ul> ), even after applying "ListParagraph" pStyle and tried multiple times with different NumId's for the numPr respective to the abstract Num definition which has "bullet" num_fmt.
I use docx4j to put macros in documents I create in my application. Following code works great with versions 2.8.1 and lower but doesn't work work with newer versions. What has changed ? I really need to use new version (3.2.1) because of PDF issues but I need my macros too.
What I do now is I take macros from default template and put them in my new documents:
We have used xlsx4j to produce a number of reports which all work fine when we compile our code using Java 6 but not when compiling with Java 7!
We use a number of unusual characters in our reports, and we use code like the following to add them where required (similar code is used for other characters): public static CTRElt getDoubleAngleWithSpaces() { if (doubleAngleWithSpaces == null) { doubleAngleWithSpaces = new CTRElt(); Character dbleAngle = ...
We use your enterprise extension for procesing special Word documents.
One task ist to merge another document in the main document. This worked so far very well. Now i got a new main document and this time a get an exception when I include the same other document. The main document has many content controls (SdtBlock elements) in it, and one of these content controls is the marker where to insert the other document. ...