File: class_ipe_style_sheet.html

package info (click to toggle)
ipe 6.0pre30-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,100 kB
  • ctags: 5,419
  • sloc: cpp: 30,430; ansic: 1,045; xml: 845; makefile: 78; sh: 5
file content (751 lines) | stat: -rw-r--r-- 32,700 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Ipelib: IpeStyleSheet Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<h1>IpeStyleSheet Class Reference<br>
<small>
[<a class="el" href="group__doc.html">Ipe Document</a>]</small>
</h1><!-- doxytag: class="IpeStyleSheet" -->A style sheet maps symbolic names to absolute values.  
<a href="#_details">More...</a>
<p>
<a href="class_ipe_style_sheet-members.html">List of all members.</a><h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="class_ipe_style_sheet.html#39f38160031c161dec9f03962d8c27c9">IpeStyleSheet</a> (<a class="el" href="class_ipe_repository.html">IpeRepository</a> *rep)
<li><a class="el" href="class_ipe_style_sheet.html#cc3dfa906080d7a6fb8027f3e1c6a6db">~IpeStyleSheet</a> ()
<li>void <a class="el" href="class_ipe_style_sheet.html#b71451a0264bb577d512e390f8a9ba8b">AddTemplate</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> name, const <a class="el" href="class_ipe_object.html">IpeObject</a> *obj)
<li>const <a class="el" href="class_ipe_object.html">IpeObject</a> * <a class="el" href="class_ipe_style_sheet.html#44d5587761863133eed1b9a0a9ad6239">FindTemplate</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> sym) const
<li>void <a class="el" href="class_ipe_style_sheet.html#3d7865dac013cd10cef848f559142890">Add</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> name, <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> value)
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_style_sheet.html#27dddd749365faebf7488e5c400f67d9">Find</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> sym) const
<li>void <a class="el" href="class_ipe_style_sheet.html#e185e86d1f573fb7dab97095201563b7">SaveAsXml</a> (<a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;stream, bool saveBitmaps=false) const
<li>void <a class="el" href="class_ipe_style_sheet.html#82c675b664bd3722fa73bacf2745b331">SaveCascadeAsXml</a> (<a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;stream) const
<li>void <a class="el" href="class_ipe_style_sheet.html#97c198b335f5c4425814dc13b21cbf5d">AllNames</a> (<a class="el" href="class_ipe_attribute.html#47c97ef33d42815601f407fe1d9a4764">IpeKind</a> kind, <a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> &amp;seq) const
<li><a class="anchor" name="698602192dcf8f5c7a1a1ef812a116de"></a><!-- doxytag: member="IpeStyleSheet::AllNames" ref="698602192dcf8f5c7a1a1ef812a116de" args="(IpeAttributeSeq *attr) const" -->
void <b>AllNames</b> (<a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> *attr) const
<li>bool <a class="el" href="class_ipe_style_sheet.html#b8c68b90eabaeb8af205664d4545c67d">IsStandard</a> () const
<li><a class="el" href="class_ipe_string.html">IpeString</a> <a class="el" href="class_ipe_style_sheet.html#bab897ed07561f6c8b86fe09c8db8979">Preamble</a> () const
<li><a class="el" href="class_ipe_string.html">IpeString</a> <a class="el" href="class_ipe_style_sheet.html#a28aa63a2f7f79ce527a5d30632719f5">TotalPreamble</a> () const
<li>void <a class="el" href="class_ipe_style_sheet.html#d864c27a28ff6fca58da0dda7925408c">SetPreamble</a> (const <a class="el" href="class_ipe_string.html">IpeString</a> &amp;str)
<li>void <a class="el" href="class_ipe_style_sheet.html#2a2d3b76c6e66749b0e2a8b1039dc7b6">setLayout</a> (const <a class="el" href="struct_ipe_layout.html">IpeLayout</a> &amp;margins)
<li><a class="el" href="struct_ipe_layout.html">IpeLayout</a> <a class="el" href="class_ipe_style_sheet.html#86bc83f1e6bb4c904bfbe70567ca785d">findLayout</a> () const
<li>void <a class="el" href="class_ipe_style_sheet.html#3927f8a8f7c58f3810edeaad5816bcd0">setTitleStyle</a> (const <a class="el" href="struct_ipe_style_sheet_1_1_s_title_style.html">STitleStyle</a> &amp;ts)
<li><a class="el" href="struct_ipe_style_sheet_1_1_s_title_style.html">STitleStyle</a> <a class="el" href="class_ipe_style_sheet.html#cbcbc4a050d5b6acd389949e0fa978c1">findTitleStyle</a> () const
<li>void <a class="el" href="class_ipe_style_sheet.html#caa7b3c350a22fdc4bff09ae3dc8b434">SetShading</a> (const <a class="el" href="struct_ipe_shading.html">IpeShading</a> &amp;s)
<li><a class="el" href="struct_ipe_shading.html">IpeShading</a> <a class="el" href="class_ipe_style_sheet.html#964e100f33d56d2ff46a1cb0143f3c42">FindShading</a> () const
<li>void <a class="el" href="class_ipe_style_sheet.html#402208b68a2359252db40ec9990a3800">AddCMap</a> (<a class="el" href="class_ipe_string.html">IpeString</a> s)
<li><a class="anchor" name="d331e699ff5baf29bba670bd44081b4d"></a><!-- doxytag: member="IpeStyleSheet::AllCMaps" ref="d331e699ff5baf29bba670bd44081b4d" args="(std::vector&lt; IpeString &gt; &amp;seq) const" -->
void <b>AllCMaps</b> (std::vector&lt; <a class="el" href="class_ipe_string.html">IpeString</a> &gt; &amp;seq) const
<li>void <a class="el" href="class_ipe_style_sheet.html#ae87b8902821b4a8a9a4fc2bc50a6de2">SetStrokeStyle</a> (<a class="el" href="class_ipe_stroke_style.html">IpeStrokeStyle</a> s)
<li><a class="anchor" name="164b2b07c8a02c588626cee61e7a210f"></a><!-- doxytag: member="IpeStyleSheet::LineCap" ref="164b2b07c8a02c588626cee61e7a210f" args="() const" -->
<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <b>LineCap</b> () const
<li><a class="anchor" name="dd46eaadb8a34ec716ce3cb1837efd90"></a><!-- doxytag: member="IpeStyleSheet::LineJoin" ref="dd46eaadb8a34ec716ce3cb1837efd90" args="() const" -->
<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <b>LineJoin</b> () const
<li><a class="anchor" name="bf53b945113dadc75c1b28460ee80f24"></a><!-- doxytag: member="IpeStyleSheet::WindRule" ref="bf53b945113dadc75c1b28460ee80f24" args="() const" -->
<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <b>WindRule</b> () const
<li>const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <a class="el" href="class_ipe_style_sheet.html#702acf861736dd09053a598bebded2ac">Cascade</a> () const
<li><a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <a class="el" href="class_ipe_style_sheet.html#067b94842a757ca29532e49ce714d7f1">Cascade</a> ()
<li>void <a class="el" href="class_ipe_style_sheet.html#b4b8710806d2b8764ad1cd77e615658c">SetCascade</a> (<a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *sheet)
<li><a class="el" href="class_ipe_string.html">IpeString</a> <a class="el" href="class_ipe_style_sheet.html#0e71de300f3cd8cbc59fb83a97df2522">Name</a> () const
<li>void <a class="el" href="class_ipe_style_sheet.html#3cf664595c4bc17e4b481cd836b7f251">SetName</a> (const <a class="el" href="class_ipe_string.html">IpeString</a> &amp;name)
<li><a class="el" href="class_ipe_repository.html">IpeRepository</a> * <a class="el" href="class_ipe_style_sheet.html#337438123cba5297b4747302494cd735">Repository</a> ()
<li>const <a class="el" href="class_ipe_repository.html">IpeRepository</a> * <a class="el" href="class_ipe_style_sheet.html#e4465f91f2416030c105e8132e529632">Repository</a> () const
</ul>
<h2>Static Public Member Functions</h2>
<ul>
<li>static <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <a class="el" href="class_ipe_style_sheet.html#9f2a99b826a43d87b9a12ef0c30963b8">Standard</a> (<a class="el" href="class_ipe_repository.html">IpeRepository</a> *rep)
</ul>
<h2>Classes</h2>
<ul>
<li>struct <a class="el" href="struct_ipe_style_sheet_1_1_s_title_style.html">STitleStyle</a>
<dl class="el"><dd class="mdescRight">Style of the title on a page.  <a href="struct_ipe_style_sheet_1_1_s_title_style.html#_details">More...</a><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A style sheet maps symbolic names to absolute values. 
<p>
Ipe documents can use symbolic attributes, such as 'normal', 'fat', or 'thin' for line thickness, or 'red', 'navy', 'turquoise' for color. The mapping to an absolute pen thickness or RGB value is performed by an <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a>.<p>
IpeStyleSheet's cascade in the sense that a document can refer to several style sheets, which are arranged on a stack. The document owns the 'top-level stylesheet', which in turn owns the stack below it. A lookup is done from top to bottom, and returns as soon as a match is found. Ipe always appends the built-in "standard" style sheet at the bottom of the cascade.<p>
Style sheets are always included when the document is saved, so that an Ipe document is self-contained.<p>
The built-in style sheet is guaranteed not to change in ways that would change the meaning of existing Ipe files. In other words, new symbolic names may be defined, but no existing ones will be removed or mapped differently.<p>
Note that the style sheet depends (and includes a pointer to) the <a class="el" href="class_ipe_repository.html">IpeRepository</a> of the document. You cannot attach a style sheet to another document---the <a class="el" href="class_ipe_repository.html">IpeRepository</a> wouldn't make sense. To transfer a style sheet, it has to be externalized and internalized again with the new repository. For this reason, copying and assigning <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> is illegal. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="39f38160031c161dec9f03962d8c27c9"></a><!-- doxytag: member="IpeStyleSheet::IpeStyleSheet" ref="39f38160031c161dec9f03962d8c27c9" args="(IpeRepository *rep)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IpeStyleSheet::IpeStyleSheet           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_repository.html">IpeRepository</a> *&nbsp;</td>
          <td class="paramname"> <em>rep</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The default constructor creates an empty style sheet. 
<p>

</div>
</div><p>
<a class="anchor" name="cc3dfa906080d7a6fb8027f3e1c6a6db"></a><!-- doxytag: member="IpeStyleSheet::~IpeStyleSheet" ref="cc3dfa906080d7a6fb8027f3e1c6a6db" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IpeStyleSheet::~IpeStyleSheet           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="9f2a99b826a43d87b9a12ef0c30963b8"></a><!-- doxytag: member="IpeStyleSheet::Standard" ref="9f2a99b826a43d87b9a12ef0c30963b8" args="(IpeRepository *rep)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * IpeStyleSheet::Standard           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_repository.html">IpeRepository</a> *&nbsp;</td>
          <td class="paramname"> <em>rep</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create standard built-in style sheet. 
<p>

</div>
</div><p>
<a class="anchor" name="b71451a0264bb577d512e390f8a9ba8b"></a><!-- doxytag: member="IpeStyleSheet::AddTemplate" ref="b71451a0264bb577d512e390f8a9ba8b" args="(IpeAttribute name, const IpeObject *obj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::AddTemplate           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_ipe_object.html">IpeObject</a> *&nbsp;</td>
          <td class="paramname"> <em>obj</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a template object. 
<p>

</div>
</div><p>
<a class="anchor" name="44d5587761863133eed1b9a0a9ad6239"></a><!-- doxytag: member="IpeStyleSheet::FindTemplate" ref="44d5587761863133eed1b9a0a9ad6239" args="(IpeAttribute sym) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_ipe_object.html">IpeObject</a> * IpeStyleSheet::FindTemplate           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>attr</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Find a template object with given name. 
<p>
If attr is null, returns 0. 
</div>
</div><p>
<a class="anchor" name="3d7865dac013cd10cef848f559142890"></a><!-- doxytag: member="IpeStyleSheet::Add" ref="3d7865dac013cd10cef848f559142890" args="(IpeAttribute name, IpeAttribute value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::Add           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add an attribute. 
<p>

</div>
</div><p>
<a class="anchor" name="27dddd749365faebf7488e5c400f67d9"></a><!-- doxytag: member="IpeStyleSheet::Find" ref="27dddd749365faebf7488e5c400f67d9" args="(IpeAttribute sym) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpeStyleSheet::Find           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>sym</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Find a symbolic attribute. 
<p>
Returns <code>null</code> attribute if <em>sym</em> is <code>null</code> or cannot be found in the style sheet. In all other cases, returns an absolute attribute (one for which IsAbsolute() returns <code>true</code>). 
</div>
</div><p>
<a class="anchor" name="e185e86d1f573fb7dab97095201563b7"></a><!-- doxytag: member="IpeStyleSheet::SaveAsXml" ref="e185e86d1f573fb7dab97095201563b7" args="(IpeStream &amp;stream, bool saveBitmaps=false) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::SaveAsXml           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>saveBitmaps</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Save style sheet in XML format. 
<p>

</div>
</div><p>
<a class="anchor" name="82c675b664bd3722fa73bacf2745b331"></a><!-- doxytag: member="IpeStyleSheet::SaveCascadeAsXml" ref="82c675b664bd3722fa73bacf2745b331" args="(IpeStream &amp;stream) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::SaveCascadeAsXml           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Save whole style sheet cascade in XML format. 
<p>

</div>
</div><p>
<a class="anchor" name="97c198b335f5c4425814dc13b21cbf5d"></a><!-- doxytag: member="IpeStyleSheet::AllNames" ref="97c198b335f5c4425814dc13b21cbf5d" args="(IpeKind kind, IpeAttributeSeq &amp;seq) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::AllNames           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html#47c97ef33d42815601f407fe1d9a4764">IpeKind</a>&nbsp;</td>
          <td class="paramname"> <em>kind</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>seq</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return all symbolic names in the style sheet cascade. 
<p>
Names are simply appended from top to bottom of the cascade. Names are inserted only once. 
</div>
</div><p>
<a class="anchor" name="b8c68b90eabaeb8af205664d4545c67d"></a><!-- doxytag: member="IpeStyleSheet::IsStandard" ref="b8c68b90eabaeb8af205664d4545c67d" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IpeStyleSheet::IsStandard           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return whether this is the standard style sheet built into Ipe. 
<p>

</div>
</div><p>
<a class="anchor" name="bab897ed07561f6c8b86fe09c8db8979"></a><!-- doxytag: member="IpeStyleSheet::Preamble" ref="bab897ed07561f6c8b86fe09c8db8979" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ipe_string.html">IpeString</a> IpeStyleSheet::Preamble           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return preamble of this style sheet (not including the cascade). 
<p>

</div>
</div><p>
<a class="anchor" name="a28aa63a2f7f79ce527a5d30632719f5"></a><!-- doxytag: member="IpeStyleSheet::TotalPreamble" ref="a28aa63a2f7f79ce527a5d30632719f5" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ipe_string.html">IpeString</a> IpeStyleSheet::TotalPreamble           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return total LaTeX preamble (of the whole cascade). 
<p>

</div>
</div><p>
<a class="anchor" name="d864c27a28ff6fca58da0dda7925408c"></a><!-- doxytag: member="IpeStyleSheet::SetPreamble" ref="d864c27a28ff6fca58da0dda7925408c" args="(const IpeString &amp;str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::SetPreamble           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_ipe_string.html">IpeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>str</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set LaTeX preamble. 
<p>

</div>
</div><p>
<a class="anchor" name="2a2d3b76c6e66749b0e2a8b1039dc7b6"></a><!-- doxytag: member="IpeStyleSheet::setLayout" ref="2a2d3b76c6e66749b0e2a8b1039dc7b6" args="(const IpeLayout &amp;margins)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::setLayout           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_ipe_layout.html">IpeLayout</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>margins</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set page layout. 
<p>

</div>
</div><p>
<a class="anchor" name="86bc83f1e6bb4c904bfbe70567ca785d"></a><!-- doxytag: member="IpeStyleSheet::findLayout" ref="86bc83f1e6bb4c904bfbe70567ca785d" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_ipe_layout.html">IpeLayout</a> IpeStyleSheet::findLayout           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Find text margins in style sheet cascade. 
<p>

</div>
</div><p>
<a class="anchor" name="3927f8a8f7c58f3810edeaad5816bcd0"></a><!-- doxytag: member="IpeStyleSheet::setTitleStyle" ref="3927f8a8f7c58f3810edeaad5816bcd0" args="(const STitleStyle &amp;ts)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::setTitleStyle           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_ipe_style_sheet_1_1_s_title_style.html">STitleStyle</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ts</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set style of page titles. 
<p>

</div>
</div><p>
<a class="anchor" name="cbcbc4a050d5b6acd389949e0fa978c1"></a><!-- doxytag: member="IpeStyleSheet::findTitleStyle" ref="cbcbc4a050d5b6acd389949e0fa978c1" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_ipe_style_sheet_1_1_s_title_style.html">IpeStyleSheet::STitleStyle</a> IpeStyleSheet::findTitleStyle           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get style of page titles. 
<p>

</div>
</div><p>
<a class="anchor" name="caa7b3c350a22fdc4bff09ae3dc8b434"></a><!-- doxytag: member="IpeStyleSheet::SetShading" ref="caa7b3c350a22fdc4bff09ae3dc8b434" args="(const IpeShading &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::SetShading           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_ipe_shading.html">IpeShading</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the shading in this style sheet. 
<p>

</div>
</div><p>
<a class="anchor" name="964e100f33d56d2ff46a1cb0143f3c42"></a><!-- doxytag: member="IpeStyleSheet::FindShading" ref="964e100f33d56d2ff46a1cb0143f3c42" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_ipe_shading.html">IpeShading</a> IpeStyleSheet::FindShading           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Find shading in style sheet cascade. 
<p>

</div>
</div><p>
<a class="anchor" name="402208b68a2359252db40ec9990a3800"></a><!-- doxytag: member="IpeStyleSheet::AddCMap" ref="402208b68a2359252db40ec9990a3800" args="(IpeString s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::AddCMap           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add font <em>s</em> to list of fonts with cmap generation. 
<p>

</div>
</div><p>
<a class="anchor" name="ae87b8902821b4a8a9a4fc2bc50a6de2"></a><!-- doxytag: member="IpeStyleSheet::SetStrokeStyle" ref="ae87b8902821b4a8a9a4fc2bc50a6de2" args="(IpeStrokeStyle s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::SetStrokeStyle           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_stroke_style.html">IpeStrokeStyle</a>&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set line cap, line join, and wind rule. 
<p>

</div>
</div><p>
<a class="anchor" name="702acf861736dd09053a598bebded2ac"></a><!-- doxytag: member="IpeStyleSheet::Cascade" ref="702acf861736dd09053a598bebded2ac" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * IpeStyleSheet::Cascade           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return next sheet in cascade (const version). 
<p>

</div>
</div><p>
<a class="anchor" name="067b94842a757ca29532e49ce714d7f1"></a><!-- doxytag: member="IpeStyleSheet::Cascade" ref="067b94842a757ca29532e49ce714d7f1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * IpeStyleSheet::Cascade           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the next level style sheet. 
<p>

</div>
</div><p>
<a class="anchor" name="b4b8710806d2b8764ad1cd77e615658c"></a><!-- doxytag: member="IpeStyleSheet::SetCascade" ref="b4b8710806d2b8764ad1cd77e615658c" args="(IpeStyleSheet *sheet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::SetCascade           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *&nbsp;</td>
          <td class="paramname"> <em>sheet</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the next level of the style sheet cascade. Takes ownership. 
<p>
The previous contents is <em>not</em> destroyed. You have to take care of that. 
</div>
</div><p>
<a class="anchor" name="0e71de300f3cd8cbc59fb83a97df2522"></a><!-- doxytag: member="IpeStyleSheet::Name" ref="0e71de300f3cd8cbc59fb83a97df2522" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ipe_string.html">IpeString</a> IpeStyleSheet::Name           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return name of style sheet. 
<p>

</div>
</div><p>
<a class="anchor" name="3cf664595c4bc17e4b481cd836b7f251"></a><!-- doxytag: member="IpeStyleSheet::SetName" ref="3cf664595c4bc17e4b481cd836b7f251" args="(const IpeString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeStyleSheet::SetName           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_ipe_string.html">IpeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set name of style sheet. 
<p>

</div>
</div><p>
<a class="anchor" name="337438123cba5297b4747302494cd735"></a><!-- doxytag: member="IpeStyleSheet::Repository" ref="337438123cba5297b4747302494cd735" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ipe_repository.html">IpeRepository</a>* IpeStyleSheet::Repository           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return attribute repository. 
<p>

</div>
</div><p>
<a class="anchor" name="e4465f91f2416030c105e8132e529632"></a><!-- doxytag: member="IpeStyleSheet::Repository" ref="e4465f91f2416030c105e8132e529632" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_ipe_repository.html">IpeRepository</a>* IpeStyleSheet::Repository           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return attribute repository (const version). 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>ipestyle.h<li>ipestdstyles.cpp<li>ipestyle.cpp</ul>
<hr>
</body></html>