mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +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
|
* FIRST RELEASE
|
||||||
** fix end-of-section processing
|
** fix end-of-section processing
|
||||||
|
** backward scrolling
|
||||||
|
|
||||||
* OPTIONAL
|
* OPTIONAL
|
||||||
** 3d animation
|
** 3d animation
|
||||||
** "half page turning"
|
** "half page turning"
|
||||||
** footer/header
|
** footer/header
|
||||||
** page delimiter
|
** page delimiter
|
||||||
** page numbering
|
|
||||||
|
|
|
@ -557,7 +557,7 @@ public abstract class ZLTextView extends ZLTextViewBase {
|
||||||
private synchronized float computeCharsPerPage() {
|
private synchronized float computeCharsPerPage() {
|
||||||
setTextStyle(ZLTextStyleCollection.Instance().getBaseStyle());
|
setTextStyle(ZLTextStyleCollection.Instance().getBaseStyle());
|
||||||
|
|
||||||
final int textWidth = getTextAreaWidth();
|
final int textWidth = getTextColumnWidth();
|
||||||
final int textHeight = getTextAreaHeight();
|
final int textHeight = getTextAreaHeight();
|
||||||
|
|
||||||
final int num = myModel.getParagraphsNumber();
|
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();
|
resetTextStyle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue