PtocaProducer (Apache FOP Core 2.11 API)
Date: 2025-04-24

org.apache.fop.afp.ptoca

## Interface PtocaProducer

- All Known Implementing Classes:
    LineDataInfoProducer, TextDataInfoProducer

      public interface PtocaProducer

  Producer interface that is passed to a `PresentationTextObject` to produce PTOCA control sequences using a `PtocaBuilder`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `produce(PtocaBuilder builder)` Produces the PTOCA control sequences by calling methods on `PtocaBuilder`.

- - ### Method Detail

    - #### produce

          void produce(PtocaBuilder builder)
                throws IOException

      Produces the PTOCA control sequences by calling methods on `PtocaBuilder`.
      Parameters:
        `builder` - the builder object
      Throws:
        `IOException` - if an I/O error occurs

Copyright © 2025 Apache Software Foundation. All rights reserved.