Jars:docx4j-community 3.3.6 and dependencies
I have included the docx file and fo code,where in the fo code you can notice that there will be no corresponding code being generated for textbox.
below is my fo file
- Code: Select all
<?xml version="1.0" encoding="utf-8"?><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:java="http://xml.apache.org/xalan/java" xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:WX="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"><layout-master-set xmlns="http://www.w3.org/1999/XSL/Format" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"><simple-page-master margin-bottom="1in" margin-left="1in" margin-right="1in" margin-top="0.5in" master-name="s1-default" page-height="11in" page-width="8.5in"><region-body column-count="1" column-gap="0.5in" margin-left="0mm" margin-right="0mm" margin-top="36.0pt"/><region-before extent="10.0pt" region-name="xsl-region-before-default"/></simple-page-master><page-sequence-master master-name="s1"><repeatable-page-master-alternatives><conditional-page-master-reference master-reference="s1-default"/></repeatable-page-master-alternatives></page-sequence-master></layout-master-set><fo:page-sequence force-page-count="no-force" id="section_s1" format="" master-reference="s1" white-space-collapse="false"><fo:static-content flow-name="xsl-region-before-default"><fo:block font-size="9.0pt" line-height="115%" space-after="4mm"><inline xmlns="http://www.w3.org/1999/XSL/Format" background-color="#FFFF00" font-size="9.0pt"><inline font-family="Calibri">Sample Header</inline></inline></fo:block></fo:static-content><fo:flow flow-name="xsl-region-body"><fo:block break-before="auto" font-size="11.0pt" line-height="115%" space-after="4mm" white-space-treatment="preserve"> </fo:block><fo:block font-size="11.0pt" line-height="146%" space-after="0in" white-space-treatment="preserve"> </fo:block><fo:block font-size="11.0pt" line-height="146%" space-after="0in"><inline xmlns="http://www.w3.org/1999/XSL/Format" font-size="11.0pt"><external-graphic content-height="57pt" content-width="77pt"/></inline></fo:block><fo:block font-size="11.0pt" line-height="146%" space-after="0in" white-space-treatment="preserve"> </fo:block><fo:block font-size="11.0pt" line-height="146%" space-after="0in"><inline xmlns="http://www.w3.org/1999/XSL/Format" background-color="#FFFF00" color="#000000" font-size="13.5pt"><inline font-family="Arial">hello</inline></inline></fo:block><fo:block font-size="11.0pt" line-height="115%" space-after="4mm" white-space-treatment="preserve"> </fo:block>
</fo:flow></fo:page-sequence></fo:root>
can anyone help me out pls?