Package org.apache.fop.afp.ptoca
Class LineDataInfoProducer
java.lang.Object
org.apache.fop.afp.ptoca.LineDataInfoProducer
- All Implemented Interfaces:
PtocaConstants
,PtocaProducer
PtocaProducer
implementation that interprets AFPLineDataInfo
objects.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AFPLineDataInfo
private static final org.apache.commons.logging.Log
Static logging instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
ensurePositive
(int value) void
produce
(PtocaBuilder builder) Produces the PTOCA control sequences by calling methods onPtocaBuilder
.
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOGStatic logging instance -
lineDataInfo
-
-
Constructor Details
-
LineDataInfoProducer
Main constructor.- Parameters:
lineDataInfo
- the info object
-
-
Method Details
-
produce
Produces the PTOCA control sequences by calling methods onPtocaBuilder
.- Specified by:
produce
in interfacePtocaProducer
- Parameters:
builder
- the builder object- Throws:
IOException
- if an I/O error occurs
-
ensurePositive
private static int ensurePositive(int value)
-