pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/markedcontent/BeginMarkedContentSequenceWithProperties.java [41:75]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(context);
    }

    @Override
    public void process(Operator operator, List<COSBase> operands) throws IOException
    {
        if (operands.size() < 2)
        {
            throw new MissingOperandException(operator, operands);
        }
        if (!(operands.get(0) instanceof COSName))
        {
            return;
        }
        PDFStreamEngine context = getContext();
        COSName tag = (COSName) operands.get(0);
        COSBase op1 = operands.get(1);
        COSDictionary propDict = null;
        if (op1 instanceof COSName)
        {
            // PDFBOX-5980 and SO79549651
            PDPropertyList prop = context.getResources().getProperties((COSName) op1);
            if (prop != null)
            {
                propDict = prop.getCOSObject();
            }
        }
        else if (op1 instanceof COSDictionary)
        {
            propDict = (COSDictionary) op1;
        }
        if (propDict == null)
        {
            // wrong type or property not found
            return;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/markedcontent/MarkedContentPointWithProperties.java [39:72]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(context);
    }

    @Override
    public void process(Operator operator, List<COSBase> operands) throws IOException
    {
        if (operands.size() < 2)
        {
            throw new MissingOperandException(operator, operands);
        }
        if (!(operands.get(0) instanceof COSName))
        {
            return;
        }
        PDFStreamEngine context = getContext();
        COSName tag = (COSName) operands.get(0);
        COSBase op1 = operands.get(1);
        COSDictionary propDict = null;
        if (op1 instanceof COSName)
        {
            PDPropertyList prop = context.getResources().getProperties((COSName) op1);
            if (prop != null)
            {
                propDict = prop.getCOSObject();
            }
        }
        else if (op1 instanceof COSDictionary)
        {
            propDict = (COSDictionary) op1;
        }
        if (propDict == null)
        {
            // wrong type or property not found
            return;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



