Package org.apache.fop.afp.modca.triplets

Examples of org.apache.fop.afp.modca.triplets.ObjectAreaSizeTriplet


        byte[] data = new byte[9];
        copySF(data, Type.DESCRIPTOR, Category.OBJECT_AREA);

        addTriplet(new DescriptorPositionTriplet(OBJECT_AREA_POSITION_ID));
        addTriplet(new MeasurementUnitsTriplet(widthRes, heightRes));
        addTriplet(new ObjectAreaSizeTriplet(width, height));
        /* not allowed in Presentation Interchange Set 1
        addTriplet(new PresentationSpaceResetMixingTriplet(
                PresentationSpaceResetMixingTriplet.NOT_RESET));
        */

 
View Full Code Here


     *
     * @param x the x direction extent
     * @param y the y direction extent
     */
    public void setObjectAreaSize(int x, int y) {
        addTriplet(new ObjectAreaSizeTriplet(x, y));
    }
View Full Code Here

     *
     * @param x the x direction extent
     * @param y the y direction extent
     */
    public void setObjectAreaSize(int x, int y) {
        addTriplet(new ObjectAreaSizeTriplet(x, y));
    }
View Full Code Here

TOP

Related Classes of org.apache.fop.afp.modca.triplets.ObjectAreaSizeTriplet

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.