Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4068

Create ContentStream for XObject forms and tiling patterns

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PDModel
    • Labels:
      None

      Description

      We have a PDAppearanceContentStream for appearances but nothing for XObject forms and tiling patterns.

      What we need should extend PDAbstractContentStream and should have a constructor like

      public PDFormContentStream(PDFormXObject form) throws IOException
      

      Alternatively, why not replace PDAppearanceContentStream ? Its parameter PDAppearanceStream is extended from PDFormXObject so we could just use the base class.

      We need this both for 2.0 and 3.* - we have users who have a really hard time fiddling with low level operators instead of using the methods.

      In 2.0 we could replace the parameter of PDPageContentStream that is currently PDAppearanceStream. This would be a non breaking change.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: