Package org.jpedal.io

Examples of org.jpedal.io.ArrayDecoder


                               
                                byte[] raw=StringUtils.toBytes(ref);
                                //replace char so subroutine works -ignored but used as flag in routine
                                raw[0]= 0;
                               
                                ArrayDecoder objDecoder=new ArrayDecoder(decode_pdf.getIO().getObjectReader(), 0, raw.length, PdfDictionary.VALUE_IS_MIXED_ARRAY,null, PdfDictionary.Names);
                                objDecoder.readArray(false, raw, aData, PdfDictionary.Dest);
                               
                                Dest=aData.getMixedArray(PdfDictionary.Dest);
                               
                            }else{
                                if(debugDest)
View Full Code Here


                            //allow for direct value
                            if(ref!=null && ref.startsWith("[")){

                                byte[] raw=StringUtils.toBytes(ref);
                                ArrayDecoder objDecoder=new ArrayDecoder(currentPdfFile.getObjectReader(),0, raw.length, PdfDictionary.VALUE_IS_MIXED_ARRAY,null, PdfDictionary.Names);
                                objDecoder.readArray(false, raw, Aobj, PdfDictionary.Dest);
                                DestObj=Aobj.getMixedArray(PdfDictionary.Dest);
                            }else if(ref!=null){
                              Aobj=new OutlineObject(ref);
                                currentPdfFile.readObject(Aobj);
                                DestObj=Aobj.getMixedArray(PdfDictionary.Dest);
View Full Code Here

TOP

Related Classes of org.jpedal.io.ArrayDecoder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.