Package org.apache.fop.afp.ptoca.TransparentDataControlSequence

Examples of org.apache.fop.afp.ptoca.TransparentDataControlSequence.TransparentData


        int maxTrnLength = encChars.isDBCS() ? MAX_DBCS_TRN_SIZE : MAX_SBCS_TRN_SIZE;
        int numTransData = encChars.getLength() / maxTrnLength;
        int currIndex = 0;
        List<TransparentData> trns = new ArrayList<TransparentData>();
        for (int transDataCnt = 0; transDataCnt < numTransData; transDataCnt++) {
            trns.add(new TransparentData(currIndex, maxTrnLength, encChars));
            currIndex += maxTrnLength;
        }
        int left = encChars.getLength() - currIndex;
        trns.add(new TransparentData(currIndex, left, encChars));
        this.trns = Collections.unmodifiableList(trns);
    }
View Full Code Here

TOP

Related Classes of org.apache.fop.afp.ptoca.TransparentDataControlSequence.TransparentData

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.