Package org.locationtech.udig.printing.ui.internal.template

Source Code of org.locationtech.udig.printing.ui.internal.template.A4PortraitTemplate

/*
*    uDig - User Friendly Desktop Internet GIS client
*    http://udig.refractions.net
*    (C) 2004, Refractions Research Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.html), and the Refractions BSD
* License v1.0 (http://udig.refractions.net/files/bsd3-v10.html).
*
*/
package org.locationtech.udig.printing.ui.internal.template;

import com.lowagie.text.PageSize;
import com.lowagie.text.Rectangle;

/**
* Implementation of an A4 size Template in portrait mode.
*
* @author Andrea Antonello (www.hydrologis.com)
*/
public class A4PortraitTemplate extends AbstractPrinterPageTemplate {

    protected Rectangle getPaperSize() {
        Rectangle a4 = PageSize.A4;
        return a4;
    }

    public String getAbbreviation() {
        return "A4P";
    }

}
TOP

Related Classes of org.locationtech.udig.printing.ui.internal.template.A4PortraitTemplate

TOP
Copyright © 2018 www.massapi.com. 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.