mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 01:39:18 +02:00
page numbering in 2-column mode; end-of-section rpocessing in 2-column mode (in progress)
This commit is contained in:
parent
e190bfc3e8
commit
669bb2f64e
2 changed files with 7 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
* FIRST RELEASE
|
||||
** fix end-of-section processing
|
||||
** backward scrolling
|
||||
|
||||
* OPTIONAL
|
||||
** 3d animation
|
||||
** "half page turning"
|
||||
** footer/header
|
||||
** page delimiter
|
||||
** page numbering
|
||||
|
|
|
@ -557,7 +557,7 @@ public abstract class ZLTextView extends ZLTextViewBase {
|
|||
private synchronized float computeCharsPerPage() {
|
||||
setTextStyle(ZLTextStyleCollection.Instance().getBaseStyle());
|
||||
|
||||
final int textWidth = getTextAreaWidth();
|
||||
final int textWidth = getTextColumnWidth();
|
||||
final int textHeight = getTextAreaHeight();
|
||||
|
||||
final int num = myModel.getParagraphsNumber();
|
||||
|
@ -880,7 +880,11 @@ public abstract class ZLTextView extends ZLTextViewBase {
|
|||
}
|
||||
}
|
||||
}
|
||||
} while (result.isEndOfParagraph() && result.nextParagraph() && !result.getParagraphCursor().isEndOfSection() && textAreaHeight >= 0);
|
||||
} while (result.isEndOfParagraph() && result.nextParagraph() && textAreaHeight >= 0 &&
|
||||
(!result.getParagraphCursor().isEndOfSection() ||
|
||||
(page.twoColumnView() && page.LineInfos.size() == page.Column0Height)
|
||||
)
|
||||
);
|
||||
resetTextStyle();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue