Package org.docx4j.convert.out.fo
Class FOPictWriterFloatUsed
java.lang.Object
- All Implemented Interfaces:
Writer
public class FOPictWriterFloatUsed extends FOPictWriterNoWrapImpl
FOPictWriter intended to be used in conjunction with a
renderer which supports fo:float.
For FOP's float support, see https://xmlgraphics.apache.org/fop/fo.html#floats
Note that despite its name, this currently only handles v:textbox.
This class handles wrap=square|tight|through, by using fo:float
- Author:
- jharrop
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.docx4j.convert.out.common.Writer
Writer.TransformState -
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerlogFields inherited from class org.docx4j.convert.out.fo.FOPictWriterAbstract
XSL_FOFields inherited from class org.docx4j.convert.out.common.writer.AbstractPictWriter
WRITER_IDFields inherited from class org.docx4j.convert.out.common.writer.AbstractSimpleWriter
writerId -
Constructor Summary
Constructors Constructor Description FOPictWriterFloatUsed() -
Method Summary
Modifier and Type Method Description org.w3c.dom.NodehandleVTextBoxWrapped(AbstractWmlConversionContext context, org.w3c.dom.Node modelContent, org.w3c.dom.Document doc, org.docx4j.vml.VmlShapeElements shape, java.util.Map<java.lang.String,java.lang.String> props)Methods inherited from class org.docx4j.convert.out.fo.FOPictWriterNoWrapImpl
handleVTextBoxNoWrapMethods inherited from class org.docx4j.convert.out.fo.FOPictWriterAbstract
parsePtsVal, setBorders, toNodeMethods inherited from class org.docx4j.convert.out.common.writer.AbstractSimpleWriter
createTransformState, getIDMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
log
protected static org.slf4j.Logger log
-
-
Constructor Details
-
FOPictWriterFloatUsed
public FOPictWriterFloatUsed()
-
-
Method Details
-
handleVTextBoxWrapped
public org.w3c.dom.Node handleVTextBoxWrapped(AbstractWmlConversionContext context, org.w3c.dom.Node modelContent, org.w3c.dom.Document doc, org.docx4j.vml.VmlShapeElements shape, java.util.Map<java.lang.String,java.lang.String> props)- Specified by:
handleVTextBoxWrappedin classFOPictWriterAbstract
-