You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PageViewport.java 785B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * $Id$
  3. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  4. * For details on use and redistribution please refer to the
  5. * LICENSE file included with these sources.
  6. */
  7. package org.apache.fop.area;
  8. import java.awt.geom.Rectangle2D;
  9. import java.util.ArrayList;
  10. // this is the level that creates the page
  11. // the page (reference area) is then rendered inside the page object
  12. public class PageViewport {
  13. Page page;
  14. Rectangle2D viewArea;
  15. public PageViewport(Page p) {
  16. page = p;
  17. }
  18. // this list is only used when the page is discarded
  19. // the information is kept for future reference
  20. ArrayList idReferences = null;
  21. // a viewport area for page and reference areas
  22. public Page getPage() {
  23. return page;
  24. }
  25. }