if(currentDocument != null) currentDocument.incPageCount();
    protected Page createNewPage() {        try {            Page page = getFreePage();            DOMFilePageHeader ph = (DOMFilePageHeader) page.getPageHeader();            ph.setStatus(RECORD);            ph.setDirty(true);            ph.setNextDataPage(-1);            ph.setPrevDataPage(-1);            ph.setNextTID((short) -1);            ph.setDataLength(0);            ph.setRecordCount((short) 0);            //page.write();            return page;        } catch (IOException ioe) {            LOG.warn(ioe);            return null;        }    }