Bug 313882 [Regression]pageoverflow plus pagebreakinternal shows different pdf pages in web viewer and preview
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/ContainerArea.java
logger.log( Level.WARNING, e.getMessage( ), e );
				}
			}
			if ( img != null )
			{
				int resolutionX = img.getDpiX( );
				int resolutionY = img.getDpiY( );
				if ( 0 == resolutionX || 0 == resolutionY )
				{
					resolutionX = 96;
					resolutionY = 96;
				}
				float imageWidth = img.getPlainWidth( ) / resolutionX * 72;
				float imageHeight = img.getPlainHeight( ) / resolutionY * 72;
				if ( content != null )
				{
					IStyle style = content.getComputedStyle( );
					int ox = getDimensionValue(
							style
									.getProperty( IStyle.STYLE_BACKGROUND_POSITION_X ),
							( width - (int) ( imageWidth * PDFConstants.LAYOUT_TO_PDF_RATIO ) ) );
					int oy = getDimensionValue(
							style
									.getProperty( IStyle.STYLE_BACKGROUND_POSITION_Y ),
							( height - (int) ( imageHeight * PDFConstants.LAYOUT_TO_PDF_RATIO ) ) );
					bgi.setXOffset( ox );
					bgi.setYOffset( oy );
				}
			}
		}