pageHeight = page.getPageHeight( ).toString( ); pageWidth = page.getPageWidth( ).toString( );
pageHeight = page.getPageHeight( ); pageWidth = page.getPageWidth( ); marginTop = page.getTopMargin(); marginLeft = page.getLeftMargin(); marginRight = page.getRightMargin(); marginBottom = page.getBottomMargin();
	public void setGenerateBy( Object design )	{		super.setGenerateBy( design );		if ( design instanceof MasterPageDesign )		{			MasterPageDesign page = (MasterPageDesign) design;			orientation = page.getOrientation( );			pageType = page.getPageType( );			pageHeight = page.getPageHeight( ).toString( );			pageWidth = page.getPageWidth( ).toString( );		}	}