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[Wide View
] Set the viewmode.
209 \item[No (Narrow)
] Set the maximum column width to the screen width.
210 \item[Yes
] Set the maximum column width to
114 pixels.
211 (Currently,
\setting{Wide
} and
\setting{Join
} cannot be selected together.)
214 \item[Alignment
] Set the text alignment.
216 \item[Right
] Set the text alignment to the right.
217 (Useful for displaying right-to-left languages, such as Arabic or Hebrew)
218 \item[Left
] Set the text alignment to the left.
220 \item[Show Scrollbar
] Toggle the scrollbar for the current mode. If the
221 file fits on one screen, there is no scrollbar and toggling this setting
224 \item[Off
] Turn the scrollbar off.
225 \item[On
] Turn the scrollbar on.
227 \item[Overlap Pages
] Set whether the last line from the previous screen is
228 retained when scrolling pages.
230 \item[No
] Set page
{}-down/page
{}-up to one full screen.
231 \item[Yes
] Set page
{}-down/page
{}-up to retain one line from the
236 \item[Show Header
] Select whether to show the status bar and the current file path.
238 \item[None
] Do not display the status bar or the current file path.
239 \item[File Path
] Display only the current file path.
240 \item[Status bar
] Display only the status bar.
241 \item[Both
] Display both the status bar and the current file path.
243 \note{If the status bar position is not set to the top of the screen then
244 \setting{Status bar
} and
\setting{Both
} are not available.
}
246 \item[Show Footer
] Select whether to show the status bar and the page number.
248 \item[None
] Do not display the status bar or the page number.
249 \item[Page Num
] Display only the page number.
250 \item[Status bar
] Display only the status bar.
251 \item[Both
] Display both the status bar and the page number.
253 \note{If the status bar position is not set to the bottom of the screen then
254 \setting{Status bar
} and
\setting{Both
} are not available.
}
256 \item[Font
] Select the font to be used by the Text Viewer.
258 \item[Scroll Mode
] Change the function of the ``Scroll-up'' and
259 ``Scroll-down'' buttons.
261 \item[Scroll by Page
]
262 \item[Scroll by Line
]
264 \item[Auto-scroll Speed
] Control the speed of auto-scrolling in number
265 of lines per second. Available options are
\setting{1} to
266 \setting{10} lines per second. As an example,
267 \setting{4} will scroll the text at four lines per second.
270 \item[Show Playback Menu
] Display the playback menu to allow control of the
271 currently playing music without leaving the plugin.
273 \item[Select Bookmark
] Select a saved bookmark. In the screenshot below, the
274 ``*'' denotes the current page.
276 \screenshot{plugins/images/ss-text_viewer-sel_bk_menu
}{The select bookmark menu
}{img:text_viewer-sel_bk
}
278 \item[Global Settings
] Set the default settings for the text viewer.
279 The setting items are the same as
\setting{Viewer Options
}. The global
280 settings are stored in
281 \fname{.rockbox/rocks/viewers/viewer.dat
}.
283 \item[Quit
] Exits the plugin. The text viewer automatically
284 stores its settings, the current position and bookmarks in
285 \fname{.rockbox/rocks/viewers/viewer
\_file.dat
}.
288 \subsubsection{Bookmarks
}
289 To add a bookmark, press
290 \opt{PLAYER_PAD
}{\ButtonOn}\opt{RECORDER_PAD
}{\ButtonFTwo}%
291 \opt{ONDIO_PAD
}{\ButtonMenu+
\ButtonOff}%
292 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOn+
\ButtonSelect}%
293 \opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD
}{\ButtonSelect}%
294 \opt{IRIVER_H10_PAD
}{\ButtonFF}\opt{IAUDIO_X5_PAD
}{\ButtonRec}%
295 \opt{SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD
}{\ButtonDown+
\ButtonSelect}%
296 \opt{COWON_D2_PAD
}{\ButtonMenu+
\ButtonPlus}%
297 \opt{SANSA_FUZE_PAD
}{\ButtonUp+
\ButtonSelect}%
298 \opt{IAUDIO_M3_PAD
}{\ButtonRCPlay+
\ButtonRCMode}.
299 The bookmark will be displayed as shown below. To delete the bookmark
300 press the same button again.
302 \screenshot{plugins/images/ss-text_viewer-bookmark
}{A bookmark
}{img:text_viewer-bookmark
}