package com.tom_roush.pdfbox.contentstream.operator.text; import java.util.List; import com.tom_roush.pdfbox.contentstream.operator.Operator; import com.tom_roush.pdfbox.contentstream.operator.OperatorProcessor; import com.tom_roush.pdfbox.cos.COSBase; import java.io.IOException; /** * ": Set word and character spacing, move to next line, and show text. * * @author Laurent Huault */ public class ShowTextLineAndSpace extends OperatorProcessor { @Override public void process(Operator operator, List<COSBase> arguments) throws IOException { context.processOperator("Tw", arguments.subList(0,1)); context.processOperator("Tc", arguments.subList(1,2)); context.processOperator("'", arguments.subList(2,3)); } @Override public String getName() { return "\""; } }