code: public boolean setPageSize(Rectangle pageSize) {
          this.pageSize = pageSize;
          DocListener listener;
  		for (Iterator iterator = listeners.iterator(); iterator.hasNext();) {
              listener = (DocListener) iterator.next();
              listener.setPageSize(pageSize);
          }
          return true;
      }
docs: Sets the pagesize.
  
  @param pageSize
  the new pagesize
  @return	a <CODE>boolean</CODE>