()
| 1701 | } |
| 1702 | |
| 1703 | private void reflowPages() { |
| 1704 | /* |
| 1705 | * Free memory before claiming it! |
| 1706 | */ |
| 1707 | chapterBooklet = null; |
| 1708 | |
| 1709 | //#mdebug |
| 1710 | AlbiteMIDlet.LOGGER.log("canvases: " + |
| 1711 | currentPageCanvas.getWidth() + " / " + |
| 1712 | currentPageCanvas.getPageWidth() + ", " + |
| 1713 | currentPageCanvas.getHeight() + " / " + |
| 1714 | currentPageCanvas.getPageHeight() |
| 1715 | ); |
| 1716 | //#enddebug |
| 1717 | chapterBooklet = new Booklet( |
| 1718 | currentPageCanvas.getPageWidth(), |
| 1719 | currentPageCanvas.getPageHeight(), |
| 1720 | inverted, |
| 1721 | currentBook.getCurrentChapter(), |
| 1722 | currentBook.getArchive(), |
| 1723 | fontPlain, |
| 1724 | fontItalic, |
| 1725 | currentLineSpacing, |
| 1726 | renderImages, |
| 1727 | //#if !(TinyMode || TinyModeExport || LightMode || LightModeExport) |
| 1728 | hyphenator, |
| 1729 | //#endif |
| 1730 | currentBook.getParser()); |
| 1731 | |
| 1732 | pagesCount = chapterBooklet.getPagesCount() - 3; |
| 1733 | } |
| 1734 | |
| 1735 | public final void cycleColorSchemes() { |
| 1736 | currentScheme = currentScheme.getOther(); |
no test coverage detected