/*
 * JasperReports - Free Java Reporting Library.
 * Copyright (C) 2001 - 2016 TIBCO Software Inc. All rights reserved.
 * http://www.jaspersoft.com
 *
 * Unless you have purchased a commercial license agreement from Jaspersoft,
 * the following license terms apply:
 *
 * This program is part of JasperReports.
 *
 * JasperReports is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * JasperReports is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with JasperReports. If not, see <http://www.gnu.org/licenses/>.
 */
package net.sf.jasperreports.engine;

import java.io.Serializable;

import net.sf.jasperreports.engine.type.OrientationEnum;


/**
 * @author Teodor Danciu (teodord@users.sourceforge.net)
 */
public class SimplePrintPageFormat implements PrintPageFormat, Serializable
{
	private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID;

	private Integer pageWidth;
	private Integer pageHeight;
	private Integer topMargin;
	private Integer leftMargin;
	private Integer bottomMargin;
	private Integer rightMargin;
	private OrientationEnum orientation;

	/**
	 * @return Returns the page width
	 */
	@Override
	public Integer getPageWidth()
	{
		return pageWidth;
	}
		
	/**
	 *
	 */
	public void setPageWidth(Integer pageWidth)
	{
		this.pageWidth = pageWidth;
	}
		
	/**
	 * @return Returns the page height.
	 */
	@Override
	public Integer getPageHeight()
	{
		return pageHeight;
	}
	
	/**
	 *
	 */
	public void setPageHeight(Integer pageHeight)
	{
		this.pageHeight = pageHeight;
	}
	
	/**
	 * @return Returns the top page margin
	 */
	@Override
	public Integer getTopMargin()
	{
		return topMargin;
	}
		
	/**
	 *
	 */
	public void setTopMargin(Integer topMargin)
	{
		this.topMargin = topMargin;
	}
	
	/**
	 * @return Returns the left page margin
	 */
	@Override
	public Integer getLeftMargin()
	{
		return leftMargin;
	}
		
	/**
	 *
	 */
	public void setLeftMargin(Integer leftMargin)
	{
		this.leftMargin = leftMargin;
	}
	
	/**
	 * @return Returns the bottom page margin
	 */
	@Override
	public Integer getBottomMargin()
	{
		return bottomMargin;
	}
		
	/**
	 *
	 */
	public void setBottomMargin(Integer bottomMargin)
	{
		this.bottomMargin = bottomMargin;
	}
	
	/**
	 * @return Returns the right page margin
	 */
	@Override
	public Integer getRightMargin()
	{
		return rightMargin;
	}
		
	/**
	 *
	 */
	public void setRightMargin(Integer rightMargin)
	{
		this.rightMargin = rightMargin;
	}
	
	/**
	 * Returns the page orientation.
	 */
	@Override
	public OrientationEnum getOrientation()
	{
		return orientation;
	}
		
	/**
	 *
	 */
	public void setOrientation(OrientationEnum orientation)
	{
		this.orientation = orientation;
	}
	
}
