Changeset 607:cb5a9c4f5e3a in documentViewer for zpt/viewer/viewer_thumbs.zpt
- Timestamp:
- Dec 14, 2012, 10:28:31 PM (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/viewer/viewer_thumbs.zpt
r594 r607 27 27 tal:define="pn pageinfo/pn; 28 28 start pageinfo/start; 29 minPageNo docinfo/minPageNo; 30 maxPageNo docinfo/maxPageNo; 29 31 thumbRows python:int(request.get('thumbRows', 10)); 30 32 thumbCols python:int(request.get('thumbCols', 12)); 31 33 thumbSize python:int(request.get('thumbSize', 100)); 32 34 flowLtr python:docinfo.get('pageFlow','ltr')!='rtl'; 33 pageBatch python:here.getPageBatch(start=start, rows=thumbRows, cols=thumbCols, pageFlowLtr=flowLtr, m axIdx=numPages);35 pageBatch python:here.getPageBatch(start=start, rows=thumbRows, cols=thumbCols, pageFlowLtr=flowLtr, minIdx=minPageNo, maxIdx=maxPageNo); 34 36 pageNumbers docinfo/pageNumbers | nothing; 35 37 left python:test(flowLtr,pageBatch['prevStart'],pageBatch['nextStart']);
Note: See TracChangeset
for help on using the changeset viewer.