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

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

more tests for link tag added

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