1 \subsection{Text Viewer
}
2 \screenshot{plugins/images/ss-text_viewer-main
}{Text Viewer
}{img:text_viewer-main
}
3 This is a Viewer for text files with word wrap. Just open a
\fname{.txt
} or
4 \fname{.nfo
} file to display it. The text viewer features controls to handle
5 various styles of text formatting and has top
{}-of
{}-file and bottom
{}-of
{}-file
6 buttons. You can view files without a
\fname{.txt
} or
\fname{.nfo
} extension
7 by using
\emph{Open with
} from the
\emph{Context Menu
}
8 (see
\reference{ref:Contextmenu
}). You can also bookmark pages.
10 \subsubsection{Default keys
}
12 \opt{PLAYER_PAD
}{\ButtonLeft}
13 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD
%
14 ,SANSA_E200_PAD,SANSA_FUZE_PAD,GIGABEAT_PAD,MROBE100_PAD
}{\ButtonUp}
15 \opt{IPOD_4G_PAD,IPOD_3G_PAD
}{\ButtonScrollBack}
16 \opt{IRIVER_H10_PAD
}{\ButtonScrollUp}
17 \opt{SANSA_C200_PAD,SANSA_CLIP_PAD
}{\ButtonVolUp}
18 \opt{GIGABEAT_S_PAD
}{\ButtonPrev}
19 \opt{COWON_D2_PAD
}{\ButtonMinus{} /
\TouchTopMiddle}
20 \opt{PBELL_VIBE500_PAD
}{\ButtonOK}
21 \opt{HAVEREMOTEKEYMAP
}{&
22 \opt{IAUDIO_M3_PAD
}{\ButtonRCUp}
26 \opt{PLAYER_PAD
}{\ButtonRight}
27 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD
%
28 ,SANSA_E200_PAD,SANSA_FUZE_PAD,GIGABEAT_PAD,MROBE100_PAD
}{\ButtonDown}
29 \opt{IPOD_4G_PAD,IPOD_3G_PAD
}{\ButtonScrollFwd}
30 \opt{IRIVER_H10_PAD
}{\ButtonScrollDown}
31 \opt{SANSA_C200_PAD,SANSA_CLIP_PAD
}{\ButtonVolDown}
32 \opt{GIGABEAT_S_PAD
}{\ButtonNext}
33 \opt{COWON_D2_PAD
}{\ButtonPlus{} /
\TouchBottomMiddle}
34 \opt{PBELL_VIBE500_PAD
}{\ButtonCancel}
35 \opt{HAVEREMOTEKEYMAP
}{&
36 \opt{IAUDIO_M3_PAD
}{\ButtonRCDown}
40 \opt{PLAYER_PAD
}{\ButtonMenu+
\ButtonLeft}
41 \opt{GIGABEAT_S_PAD
}{\ButtonPlay+
\ButtonLeft}
42 \opt{COWON_D2_PAD
}{\TouchMidLeft}
43 \nopt{PLAYER_PAD,GIGABEAT_S_PAD,COWON_D2_PAD,IAUDIO_M3_PAD
}{\ButtonLeft}
44 \opt{HAVEREMOTEKEYMAP
}{&
45 \opt{IAUDIO_M3_PAD
}{\ButtonRCLeft}
47 & Top of file (Narrow mode) /
48 One screen left (Wide mode)\\
50 \opt{PLAYER_PAD
}{\ButtonMenu+
\ButtonRight}
51 \opt{GIGABEAT_S_PAD
}{\ButtonPlay+
\ButtonRight}
52 \opt{COWON_D2_PAD
}{\TouchMidRight}
53 \nopt{PLAYER_PAD,GIGABEAT_S_PAD,COWON_D2_PAD,IAUDIO_M3_PAD
}{\ButtonRight}
54 \opt{HAVEREMOTEKEYMAP
}{&
55 \opt{IAUDIO_M3_PAD
}{\ButtonRCRight}
57 & Bottom of file (Narrow mode) /
58 One screen right (Wide mode)\\
60 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,SANSA_E200_PAD
%
61 ,SANSA_FUZE_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_S_PAD
%
62 ,GIGABEAT_PAD,PBELL_VIBE500_PAD
}{%
63 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOn+
\ButtonUp}
64 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD
}{\ButtonScrollBack}
65 \opt{SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_S_PAD,PBELL_VIBE500_PAD
}{\ButtonUp}
66 \opt{GIGABEAT_PAD
}{\ButtonA+
\ButtonUp}
67 \opt{HAVEREMOTEKEYMAP
}{&
}
71 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,SANSA_E200_PAD
%
72 ,SANSA_FUZE_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_S_PAD
%
73 ,GIGABEAT_PAD,PBELL_VIBE500_PAD
}{%
74 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOn+
\ButtonDown}
75 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD
}{\ButtonScrollFwd}
76 \opt{SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_S_PAD,PBELL_VIBE500_PAD
}{\ButtonDown}
77 \opt{GIGABEAT_PAD
}{\ButtonA+
\ButtonDown}
78 \opt{HAVEREMOTEKEYMAP
}{&
}
82 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD
}{
83 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOn+
\ButtonLeft}
84 \opt{GIGABEAT_S_PAD
}{\ButtonLeft}
85 \opt{GIGABEAT_PAD
}{\ButtonA+
\ButtonLeft}
86 \opt{HAVEREMOTEKEYMAP
}{&
}
90 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD
}{
91 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOn+
\ButtonRight}
92 \opt{GIGABEAT_S_PAD
}{\ButtonRight}
93 \opt{GIGABEAT_PAD
}{\ButtonA+
\ButtonRight}
94 \opt{HAVEREMOTEKEYMAP
}{&
}
98 \opt{RECORDER_PAD,PLAYER_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD
%
99 ,IRIVER_H10_PAD,GIGABEAT_S_PAD,PBELL_VIBE500_PAD
}{\ButtonPlay}
100 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonSelect}
101 \opt{ONDIO_PAD
}{\ButtonMenu}
102 \opt{GIGABEAT_PAD
}{\ButtonA}
103 \opt{SANSA_C200_PAD,SANSA_E200_PAD
}{\ButtonRec}
104 \opt{SANSA_CLIP_PAD
}{\ButtonHome}
105 \opt{SANSA_FUZE_PAD
}{\ButtonDown+
\ButtonSelect}
106 \opt{MROBE100_PAD
}{\ButtonDisplay}
107 \opt{COWON_D2_PAD
}{\TouchCenter}
108 \opt{HAVEREMOTEKEYMAP
}{&
109 \opt{IAUDIO_M3_PAD
}{\ButtonRCMode}
111 & Toggle autoscroll\\
113 \opt{PLAYER_PAD
}{\ButtonOn}
114 \opt{RECORDER_PAD
}{\ButtonFTwo}
115 \opt{ONDIO_PAD
}{\ButtonMenu+
\ButtonOff}
116 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOn+
\ButtonSelect}
117 \opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD
}{\ButtonSelect}
118 \opt{IRIVER_H10_PAD
}{\ButtonFF}
119 \opt{IAUDIO_X5_PAD
}{\ButtonRec}
120 \opt{SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD
}{\ButtonDown+
\ButtonSelect}
121 \opt{COWON_D2_PAD
}{\ButtonMenu+
\ButtonPlus}
122 \opt{SANSA_FUZE_PAD
}{\ButtonUp+
\ButtonSelect}
123 \opt{PBELL_VIBE500_PAD
}{\ButtonPower}
124 \opt{HAVEREMOTEKEYMAP
}{&
125 \opt{IAUDIO_M3_PAD
}{\ButtonRCPlay+
\ButtonRCMode}
127 & Set/Reset bookmarks\\
129 \opt{RECORDER_PAD
}{\ButtonFOne}
130 \opt{ONDIO_PAD
}{Long
\ButtonMenu}
131 \opt{PLAYER_PAD,IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD
%
132 ,MROBE100_PAD,PBELL_VIBE500_PAD
}{\ButtonMenu}
133 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonMode}
134 \opt{IAUDIO_X5_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,SANSA_E200_PAD
}{\ButtonSelect}
135 \opt{SANSA_FUZE_PAD
}{Long
\ButtonSelect}
136 \opt{IRIVER_H10_PAD
}{\ButtonRew}
137 \opt{COWON_D2_PAD
}{\ButtonMenu{} /
\TouchTopRight}
138 \opt{HAVEREMOTEKEYMAP
}{&
139 \opt{IAUDIO_M3_PAD
}{\ButtonRCPlay}
143 \opt{PLAYER_PAD
}{\ButtonStop}
144 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOff}
145 \opt{IPOD_4G_PAD,IPOD_3G_PAD
}{\ButtonSelect+
\ButtonMenu}
146 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD
%
147 ,GIGABEAT_PAD,MROBE100_PAD
}{\ButtonPower}
148 \opt{SANSA_FUZE_PAD
}{Long
\ButtonHome}
149 \opt{GIGABEAT_S_PAD
}{\ButtonBack}
150 \opt{COWON_D2_PAD
}{\ButtonPower{} /
\TouchTopLeft}
151 \opt{IAUDIO_M3_PAD,PBELL_VIBE500_PAD
}{\ButtonRec}
152 \opt{HAVEREMOTEKEYMAP
}{&
153 \opt{IAUDIO_M3_PAD
}{\ButtonRCRec}
154 \opt{IRIVER_RC_H100_PAD
}{\ButtonRCStop}
163 \item[Return
] Return to the file being viewed.
164 \item[Viewer Options
] Change settings for the current file.
166 \item[Encoding
] Set the codepage in the text viewer.
167 % ToDo: wrap some of the following settings into a \opt{lcd_bitmap} to exlude
168 % ones that don't work on charcell - as soon as the plugin itself does
170 \setting{ISO-
8859-
1} (Latin
1).
171 \setting{ISO-
8859-
7} (Greek),
173 \setting{ISO-
8859-
8} (Hebrew),
175 \setting{CP1251
} (Cyrillic),
177 \setting{ISO-
8859-
11} (Thai),
178 \setting{CP1256
} (Arabic),
180 \setting{ISO-
8859-
9} (Turkish),
181 \setting{ISO-
8859-
2} (Latin Extended),
182 \setting{CP1250
} (Central European),
184 \setting{SJIS
} (Japanese),
185 \setting{GB-
2312} (Simple Chinese),
186 \setting{KSX-
1001} (Korean),
187 \setting{BIG5
} (Traditional Chinese),
189 \setting{UTF-
8} (Unicode),
190 This setting only applies to the plugin and is independent from the
191 \setting{Default Codepage
} setting (see
\reference{ref:Defaultcodepage
}).
192 \item[Word Wrap
] Toggle word wrap mode.
194 \item[On
] Break lines at the maximum column limit.
195 \item[Off (Chop Words)
] Break lines at white space or hyphen.
197 \item[Line Mode
] Change how lines are displayed.
199 \item[Normal
] Break lines at newline characters.
200 \item[Join
] Join lines together.
201 \item[Expand
] Add a blank line at newlines. Useful for making paragraphs
202 clearer in some book style text files.
204 \item[Reflow Lines
] Justify the text.
207 \item[Screens Per Page
] Set the number of screens per page. Available
208 options are
\setting{1} to
\setting{5} screens per page.
209 \item[Alignment
] Set the text alignment.
211 \item[Right
] Set the text alignment to the right.
212 (Useful for displaying right-to-left languages, such as Arabic or Hebrew)
213 \item[Left
] Set the text alignment to the left.
216 \item[Show Header
] Select whether to show the header. The header displays the file path.
218 \item[No
] Do not display the header.
219 \item[Yes
] Display the header.
221 \item[Show Footer
] Select whether to show the footer. The footer dispays the page number.
223 \item[No
] Do not display the footer.
224 \item[Yes
] Display the footer.
227 \item[Font
] Select the font to be used by the Text Viewer.
228 \item[Show Statusbar
] Select whether to show the status bar. If you select
229 a theme settings that the status bar does not display (see
230 \reference{ref:configure_rockbox_themes
}), the status bar is not
231 displayed even if you select
\setting{Yes
}.
233 \item[No
] Do not display the status bar.
234 \item[Yes
] Display the status bar.
237 \item[Scroll Settings
] The scrolling settings submenu.
239 \item[Horizontal
] Submenu for horizontal scrolling settings.
241 \item[Scrollbar
] Toggle the horizontal scrollbar for the
242 current mode. If the file fits on one screen, there is no
243 scrollbar and this setting has no effect.
245 \item[No
] Do not display the horizontal scroll bar.
246 \item[Yes
] Display the horizontal scroll bar.
248 \item[Scroll Mode
] Change the function of the ``Left'' and
251 \item[Scroll by Screen
] Move to the previous/next
253 \item[Scroll by Column
] Move to the previous/next
257 \item[Vertical
] Submenu for vertical scrolling settings.
259 \item[Scrollbar
] Toggle the vertical scrollbar for the
260 current mode. If the file fits on one screen, there is no
261 scrollbar and this setting has no effect.
263 \item[No
] Do not display the vertical scroll bar.
264 \item[Yes
] Display the vertical scroll bar.
266 \item[Scroll Mode
] Change the function of the ``Scroll-up''
267 and ``Scroll-down'' buttons.
269 \item[Scroll by Page
] Scroll up or down one full screen.
270 \item[Scroll by Line
] Scroll up or down one line.
273 \item[Overlap Pages
] Set whether the last line from the
274 previous screen is retained when scrolling pages.
276 \item[No
] Do not retain previous line.
277 \item[Yes
] Retain previous line.
280 \item[Auto-scroll Speed
] Control the speed of auto-scrolling
281 in number of lines per second. Available options are
282 \setting{1} to
\setting{10} lines per second. As an example,
283 \setting{4} will scroll the text at four lines per second.
284 \item[Left/Right Key (Narrow mode)
] Change the function of
285 the ``Left'' and ``Right'' buttons when the screen is in
286 narrow mode (i.e. one screen per page).
288 \item[Previous/Next Page
] Scroll up or down one full screen.
289 \item[Top/Bottom Page
] Move to the top or bottom page.
293 \item[Indent Spaces
] Set the number of spaces to indent the text when line
294 mode is set to
\setting{Reflow Lines
}. Available options are
\setting{0}
295 to
\setting{5} spaces. If you select
\setting{0}, a blank line is
296 displayed as an indent.
299 \item[Show Playback Menu
] Display the playback menu to allow control of the
300 currently playing music without leaving the plugin.
302 \item[Select Bookmark
] Select a saved bookmark. In the screenshot below, the
303 ``*'' denotes the current page.
305 \screenshot{plugins/images/ss-text_viewer-sel_bk_menu
}{The select bookmark menu
}{img:text_viewer-sel_bk
}
307 \item[Global Settings
] Set the default settings for the text viewer.
308 The setting items are the same as
\setting{Viewer Options
}. The global
309 settings are stored in
310 \fname{.rockbox/rocks/viewers/viewer.dat
}.
312 \item[Quit
] Exits the plugin. The text viewer automatically
313 stores its settings, the current position and bookmarks in
314 \fname{.rockbox/rocks/viewers/viewer
\_file.dat
}.
317 \subsubsection{Bookmarks
}
318 To add a bookmark, press
319 \opt{PLAYER_PAD
}{\ButtonOn}\opt{RECORDER_PAD
}{\ButtonFTwo}%
320 \opt{ONDIO_PAD
}{\ButtonMenu+
\ButtonOff}%
321 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOn+
\ButtonSelect}%
322 \opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD
}{\ButtonSelect}%
323 \opt{IRIVER_H10_PAD
}{\ButtonFF}\opt{IAUDIO_X5_PAD
}{\ButtonRec}%
324 \opt{SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD
}{\ButtonDown+
\ButtonSelect}%
325 \opt{COWON_D2_PAD
}{\ButtonMenu+
\ButtonPlus}%
326 \opt{SANSA_FUZE_PAD
}{\ButtonUp+
\ButtonSelect}%
327 \opt{IAUDIO_M3_PAD
}{\ButtonRCPlay+
\ButtonRCMode}.
328 The bookmark will be displayed as shown below. To delete the bookmark
329 press the same button again.
331 \screenshot{plugins/images/ss-text_viewer-bookmark
}{A bookmark
}{img:text_viewer-bookmark
}