source: trunk/test/rendering/rendering.ipf@ 296

Last change on this file since 296 was 296, checked in by RBRi, 17 years ago

more link tests

  • Property svn:eol-style set to native
File size: 9.1 KB
Line 
1.**********************************************************
2.*
3.* NewView Rendering Tests
4.*
5.* RBRi 2006-2008
6.*
7.**********************************************************
8.*
9:userdoc.
10:docprof toc=123 ctrlarea=none.
11:title.NewView Rendering Tests
12.*
13.*
14.**********************************************************
15:h1.Overview
16:p.This is a test document for NewView. Every page contains
17some samples/tests for a specific problem
18.*
19.*
20.**********************************************************
21:h1.Tests
22:p.Tests
23.*
24.*
25.**********************************************************
26:h2 id=1234.TestTopic
27:p.Page: TestTopic
28.*
29.*
30.**********************************************************
31:h2 id=1235 global.Global TestTopic
32:p.Page: Global TestTopic
33.*
34.*
35.**********************************************************
36:h2.Italic text
37:p.
38This page contains various samples to sort out problems with
39highlighted (italic) text.
40:lm margin=4.
41:p.
42The space between the highlighted word and the next one is to short.
43.br
44:lm margin=10.Normal text :hp1.highlighted:ehp1. and again normal.
45.br
46:hp6.Max speed :ehp6.turns (there is a space between speed and turns)
47.*
48:lm margin=4.
49:p.
50Some samples for display problems when a short normal character follows
51a highlighted one
52.br
53:lm margin=10.Normal text :hp1.Hint:ehp1.&colon. and again normal (colon is normal).
54.br
55Normal text :hp1.MLE:ehp1.. and again normal (dot is normal)
56.*
57.*
58.**********************************************************
59:h2.Spacing with an non proportional font
60Spacing with an non proportional font
61:font facename=Courier size=13x8.
62.*
63:lm margin=4.
64:p.
65The space between the highlighted word and the next one is to short.
66.br
67:lm margin=10.Normal text :hp1.highlighted:ehp1. and again normal.
68.br
69:hp6.Max speed :ehp6.turns (there is a space between speed and turns)
70.*
71:lm margin=4.
72:p.
73Some samples for display problems when a short normal character follows
74a highlighted one
75.br
76:lm margin=10.Normal text :hp1.Hint:ehp1.&colon. and again normal (colon is normal).
77.br
78Normal text :hp1.MLE:ehp1.. and again normal (dot is normal)
79.*
80:font facename=default size=0x0.
81:lm margin=1.
82:p.
83Character graphic
84:lm margin=4.
85:cgraphic.
86ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
87³:hp1.File:ehp1. Edit ³ View ³ Options Help ³
88ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÙ
89 ³ All ³
90 ³ Some . . . ³
91 ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄŽ
92 ³ By . . . ³
93 ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
94:ecgraphic.
95.*
96.*
97.**********************************************************
98:h2.Blank at the beginning
99:artwork name='fm3.bmp' align=center.
100There is a blank at the begining of the first line after an artwork.
101.br
102Normal beginning....
103.*
104.*
105.**********************************************************
106:h2.Blank at the beginning (II)
107
108There is a blank at the begining if in the source is an empty line after the heading.
109.br
110Normal beginning....
111.*
112.*
113.**********************************************************
114:h2.Problem with underscores in search string
115
116Please search with the sting 'test_' and select this topic form the list of founded pages.
117.br
118Then have a look at the selections...
119:p.
120normal test_ blahblah
121:p.
122something different _ with an underscore
123:p.
124something with error in this line
125.*
126.*
127.**********************************************************
128:h2.Text Color
129:p.The color handling is separated from the text formating.
130The color shoud not stop after a formating like 'highlighted'
131ends.
132:p.
133Normal text :hp1.highlighted:ehp1. and again normal.
134.br
135:color fc=red.
136Normal red text :hp1.highlighted:ehp1. and again normal.
137.br
138Color only stops if :color fc=green. another colors starts or
139:h3.heading follows
140with new text
141.*
142.*
143.**********************************************************
144:h2.Text Color II
145:p.Now text with a :color fc=default bc=palegray.F1:color fc=default bc=default.
146 and the rest of the sentence.
147.*
148.*
149.**********************************************************
150:h2.Text For"mating
151:p.
152Test
153.*
154.*
155.**********************************************************
156:h2.Link Tests
157:p.
158Link Tests
159.*
160.*
161.**********************************************************
162:h3.Link type 'hd'
163:p.This type links to some heading.
164:ol.
165:li.
166:link reftype=hd.
167&colon.link reftype=hd.
168:elink.
169.br
170(emty link definition test)
171.br
172this is not clickable
173:li.
174:link reftype=hd refid='1234'.
175&colon.link reftype=hd refid='1234'.
176.br
177(internal link to our TestTopic)
178:elink.
179:li.
180:link reftype=hd database=rendering.
181&colon.link reftype=hd database=rendering.
182:elink.
183.br
184(external link without refid test)
185.br
186this is not clickable
187:li.:link reftype=hd refid='1234' database=rendering.
188&colon.link reftype=hd refid='1234' database=rendering.
189:elink.
190.br
191:link reftype=hd refid='1234' database='rendering.hlp'.
192&colon.link reftype=hd refid='1234' database='rendering.hlp'.
193:elink.
194.br
195(external link to our TestTopic)
196.br
197This is not working because the topic is not global
198
199:li.
200:link reftype=hd refid='1235' database=rendering.
201&colon.link reftype=hd refid='1235' database=rendering.
202:elink.
203.br
204:link reftype=hd refid='1235' database='rendering.hlp'.
205&colon.link reftype=hd refid='1235' database='rendering.hlp'.
206:elink.
207.br
208(external link to our Global TestTopic)
209:li.
210:link reftype=hd refid='1234' database=test_topics.
211&colon.link reftype=hd refid='1234' database=test_topics.
212:elink.
213.br
214:link reftype=hd refid='1234' database='test_topics.hlp'.
215&colon.link reftype=hd refid='1234' database='test_topics.hlp'.
216:elink.
217.br
218(external link to the TestTopic in file test_topics.hlp).
219.br
220This is not working because the topic is not global
221:li.
222:link reftype=hd refid='1235' database=test_topics.
223&colon.link reftype=hd refid='1235' database=test_topics.
224:elink.
225.br
226:link reftype=hd refid='1235' database='test_topics.hlp'.
227&colon.link reftype=hd refid='1235' database='test_topics.hlp'.
228:elink.
229.br
230(external link to the TestTopic in file test_topics.hlp).
231:eol.
232.*
233.*
234.**********************************************************
235:h3.Link type 'fn'
236:p.This type links to some footnote.
237.*
238:fn id=testfn.
239This is a test footnote.
240:efn.
241.*
242:ol.
243:li.:link reftype=fn refid='testfn'.
244&colon.link reftype=fn refid='testfn'.
245.br
246Internal link to our TestFootnote
247:elink.
248:li.:link reftype=fn refid='testfn' database=test_topics.
249&colon.link reftype=fn refid='testfn' database=test_topics.
250.br
251Internal link to our TestFootnote in file test_topics.hlp.
252The database is ignored by view and newview.
253:elink.
254:eol.
255.*
256.*
257.**********************************************************
258:h3.Link type 'launch'
259:p.This kind of links are used to start an external program.
260There are serveral test to launch view.exe.
261:ol.
262:li.:link reftype=launch object='view.exe'.
263&colon.link reftype=launch object='view.exe'.
264.br
265Start view.exe without params.
266:elink.
267:li.:link reftype=launch object='view.exe' data=''.
268&colon.link reftype=launch object='view.exe' data=''. (possible but generates a compiler warning)
269.br
270Start view.exe without params.
271:elink.
272:li.:link reftype=launch object='view.exe' data='test_topics.hlp TestTopic'.
273&colon.link reftype=launch object='view.exe' data='test_topics.hlp TestTopic'.
274.br
275Start view.exe with command line 'test_topics.hlp TestTopic'.
276:elink.
277:li.:link reftype=launch object='p:\newview_dev\test\rendering\dir with blank\e.exe' data='config.sys'.
278&colon.link reftype=launch object='p&colon.\newview_dev\test\rendering\dir with blank\e.exe' data='config.sys'.
279.br
280NewView (and also the original view) is not able to handle the call of
281executables with blanks in file/path name correct.
282:elink.
283:eol.
284.*
285.*
286.**********************************************************
287:h3.Link type 'url'
288:p.This kind of links are used to start the default browser.
289:ol.
290:li.http&colon.&slash.&slash.www&per.rbri&per.org
291.br
292Plain url
293:li.:link reftype=launch object='firefox.exe' data='http://www.rbri.org'.
294&colon.link reftype=launch object='firefox.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
295.br
296Start firefox with url.
297:elink.
298:li.:link reftype=launch object='fireFOX.exe' data='http://www.rbri.org'.
299&colon.link reftype=launch object='fireFOX.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
300.br
301Start firefox with url (detect must be case insensitive).
302:elink.
303:li.:link reftype=launch object='mozilla.exe' data='http://www.rbri.org'.
304&colon.link reftype=launch object='mozilla.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
305.br
306Start mozilla with url.
307:elink.
308:li.:link reftype=launch object='netscape.exe' data='http://www.rbri.org'.
309&colon.link reftype=launch object='netscape.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
310.br
311Start netscape with url.
312:elink.
313:li.:link reftype=launch object='explore.exe' data='http://www.rbri.org'.
314&colon.link reftype=launch object='explore.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
315.br
316Start explore with url.
317:elink.
318:eol.
319.*
320.*
321.**********************************************************
322:h2.Link type 'inform'
323:p.Not supported by NewView at the moment.
324.*
325.*
326.**********************************************************
327
328.*
329.*
330.**********************************************************
331:euserdoc.
332.*
333.**********************************************************
Note: See TracBrowser for help on using the repository browser.