Ejemplo n.º 1
0
 /* Inherit documentation */
 public void processString(
     PageStreamTransform pageStreamTransform,
     PDFOperator operator,
     List operands,
     COSString cosString)
     throws IOException {
   pageStreamTransform.signalChange(); // At least one string processed
   ExtractStringsToOutputStream extractText =
       (ExtractStringsToOutputStream) pageStreamTransform;
   extractText.outputStream.write(cosString.getBytes());
 }
Ejemplo n.º 2
0
 /* Inherit documentation */
 public void processString(
     PageStreamTransform pageStreamTransform,
     PDFOperator operator,
     List operands,
     COSString cosString)
     throws IOException {
   pageStreamTransform.signalChange(); // At least one string processed
   ExtractStringsToStringBuffer extractStrings =
       (ExtractStringsToStringBuffer) pageStreamTransform;
   extractStrings.buffer.append(PdfUtil.getPdfString(cosString));
 }