Browse Source

Removed obsolete docs dir


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345230 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_90-alpha1
Christian Geisert 18 years ago
parent
commit
b772cf1083
32 changed files with 0 additions and 12201 deletions
  1. BIN
      docs/design/alt.design/PropertyClasses.dia
  2. BIN
      docs/design/alt.design/PropertyStaticsOverview.dia
  3. BIN
      docs/design/alt.design/SAXParsing.dia
  4. BIN
      docs/design/alt.design/XML-event-buffer.dia
  5. BIN
      docs/design/alt.design/XMLEventQueue.dia
  6. 0
    104
      docs/design/alt.design/block-stacking-constraints.fig
  7. 0
    186
      docs/design/alt.design/block-stacking-keeps.fig
  8. 0
    107
      docs/design/alt.design/block-stacking.fig
  9. BIN
      docs/design/alt.design/coroutines.dia
  10. BIN
      docs/design/alt.design/galley-preprocessing.dia
  11. BIN
      docs/design/alt.design/initial-column-values.dia
  12. 0
    68
      docs/design/alt.design/layoutmanagers.xml
  13. BIN
      docs/design/alt.design/line-area-5.dia
  14. BIN
      docs/design/alt.design/line-area-6.dia
  15. BIN
      docs/design/alt.design/processPlumbing.dia
  16. BIN
      docs/design/alt.design/property-super-classes-full.dia
  17. BIN
      docs/design/alt.design/xmlevent-queue.dia
  18. 0
    384
      docs/design/fo_impl/fo_classes.xml
  19. 0
    116
      docs/design/fo_impl/fo_classes.xsl
  20. 0
    17
      docs/readme
  21. 0
    180
      docs/xml-docs/data/document.svg
  22. BIN
      docs/xml-docs/data/layout.svgz
  23. 0
    97
      docs/xml-docs/data/logo.svg
  24. 0
    59
      docs/xml-docs/data/title.svg
  25. 0
    90
      docs/xml-docs/data/track.svg
  26. 0
    50
      docs/xml-docs/fop.xml
  27. 0
    9
      docs/xml-docs/readme
  28. 0
    319
      docs/xml-docs/xml2pdf.xsl
  29. 0
    44
      docs/xml-docs/xml2xml.xsl
  30. 0
    10371
      docs/xslfoRef.pdf
  31. 0
    0
      examples/fo/fo-reference/xml2pdf.xsl
  32. 0
    0
      examples/fo/fo-reference/xslfoRef.xml

BIN
docs/design/alt.design/PropertyClasses.dia View File


BIN
docs/design/alt.design/PropertyStaticsOverview.dia View File


BIN
docs/design/alt.design/SAXParsing.dia View File


BIN
docs/design/alt.design/XML-event-buffer.dia View File


BIN
docs/design/alt.design/XMLEventQueue.dia View File


+ 0
- 104
docs/design/alt.design/block-stacking-constraints.fig View File

@@ -1,104 +0,0 @@
#FIG 3.2
Landscape
Center
Inches
Letter
100.00
Single
-2
1200 2
6 300 4575 1350 6300
2 2 0 2 0 7 70 0 20 0.000 0 0 -1 0 0 5
375 4650 1275 4650 1275 4875 375 4875 375 4650
2 2 0 2 0 27 80 0 20 0.000 0 0 -1 0 0 5
375 5100 1275 5100 1275 5325 375 5325 375 5100
2 2 0 2 0 11 90 0 20 0.000 0 0 -1 0 0 5
375 5550 1275 5550 1275 5775 375 5775 375 5550
2 2 0 2 0 14 100 0 20 0.000 0 0 -1 0 0 5
375 6000 1275 6000 1275 6225 375 6225 375 6000
-6
6 7575 2325 10425 5100
2 2 0 2 0 14 100 0 20 0.000 0 0 -1 0 0 5
7650 2400 10350 2400 10350 5025 7650 5025 7650 2400
2 2 0 2 0 7 60 0 20 0.000 0 0 -1 0 0 5
8175 2925 9825 2925 9825 3600 8175 3600 8175 2925
2 2 0 2 0 14 70 0 20 0.000 0 0 -1 0 0 5
8025 2775 9975 2775 9975 3750 8025 3750 8025 2775
2 2 0 2 0 7 80 0 20 0.000 0 0 -1 0 0 5
7950 2700 10050 2700 10050 4725 7950 4725 7950 2700
4 0 0 50 0 2 18 0.0000 4 195 165 8850 4350 P\001
4 0 0 50 0 2 18 0.0000 4 195 180 8850 3300 B\001
-6
6 6975 5400 10725 6225
2 1 0 4 0 7 50 0 -1 0.000 0 0 -1 0 0 2
7050 6150 8175 6150
2 2 0 6 19 7 55 0 -1 0.000 0 0 -1 0 0 5
7125 5475 8175 5475 8175 5700 7125 5700 7125 5475
4 0 0 50 0 0 16 0.0000 4 165 1470 8400 6225 Fence before P\001
4 0 0 50 0 0 16 0.0000 4 225 2265 8400 5700 Stacking constraint A,B\001
-6
6 2850 5400 6450 6300
2 2 0 4 4 7 50 0 -1 0.000 0 0 -1 0 0 5
2925 5475 3975 5475 3975 5700 2925 5700 2925 5475
2 2 0 4 5 7 50 0 -1 0.000 0 0 -1 0 0 5
2925 6000 3975 6000 3975 6225 2925 6225 2925 6000
4 0 0 50 0 0 16 0.0000 4 225 2220 4200 6225 Stacking constraint P,B\001
4 0 0 50 0 0 16 0.0000 4 225 2250 4200 5700 Stacking constraint A,P\001
-6
2 2 0 2 0 7 70 0 20 0.000 0 0 -1 0 0 5
1125 1275 2625 1275 2625 1950 1125 1950 1125 1275
2 2 0 2 0 27 80 0 20 0.000 0 0 -1 0 0 5
900 1050 2850 1050 2850 2175 900 2175 900 1050
2 2 0 2 0 11 90 0 20 0.000 0 0 -1 0 0 5
750 900 3000 900 3000 2325 750 2325 750 900
2 2 0 2 0 14 100 0 20 0.000 0 0 -1 0 0 5
525 675 3225 675 3225 2550 525 2550 525 675
2 2 0 2 0 7 70 0 20 0.000 0 0 -1 0 0 5
4200 825 6600 825 6600 2175 4200 2175 4200 825
2 2 0 2 0 14 100 0 20 0.000 0 0 -1 0 0 5
4050 675 6750 675 6750 2325 4050 2325 4050 675
2 2 0 2 0 7 70 0 20 0.000 0 0 -1 0 0 5
7800 825 10200 825 10200 2175 7800 2175 7800 825
2 2 0 2 0 14 100 0 20 0.000 0 0 -1 0 0 5
7650 675 10350 675 10350 2325 7650 2325 7650 675
2 2 0 4 4 7 50 0 -1 0.000 0 0 -1 0 0 5
375 2325 3375 2325 3375 2775 375 2775 375 2325
2 2 0 2 0 7 70 0 20 0.000 0 0 -1 0 0 5
675 2775 3075 2775 3075 4125 675 4125 675 2775
2 2 0 2 0 14 100 0 20 0.000 0 0 -1 0 0 5
525 2625 3225 2625 3225 4275 525 4275 525 2625
2 2 0 4 5 7 50 0 -1 0.000 0 0 -1 0 0 5
3900 2775 6900 2775 6900 2925 3900 2925 3900 2775
2 1 0 4 0 7 50 0 -1 0.000 0 0 -1 0 0 2
3825 2700 6975 2700
2 2 0 4 4 7 50 0 -1 0.000 0 0 -1 0 0 5
3900 2175 6900 2175 6900 2550 3900 2550 3900 2175
2 2 0 2 0 14 100 0 20 0.000 0 0 -1 0 0 5
4050 2400 6750 2400 6750 5025 4050 5025 4050 2400
2 2 0 2 0 7 60 0 20 0.000 0 0 -1 0 0 5
4575 2925 6225 2925 6225 3600 4575 3600 4575 2925
2 2 0 2 0 14 70 0 20 0.000 0 0 -1 0 0 5
4425 2775 6375 2775 6375 3750 4425 3750 4425 2775
2 2 0 2 0 7 80 0 20 0.000 0 0 -1 0 0 5
4350 2700 6450 2700 6450 4725 4350 4725 4350 2700
2 2 0 2 0 27 90 0 20 0.000 0 0 -1 0 0 5
4200 2550 6600 2550 6600 4875 4200 4875 4200 2550
2 2 0 6 19 7 55 0 -1 0.000 0 0 -1 0 0 5
7350 2175 10650 2175 10650 2925 7350 2925 7350 2175
2 2 0 4 5 7 50 0 -1 0.000 0 0 -1 0 0 5
7500 2775 10500 2775 10500 2925 7500 2925 7500 2775
2 2 0 4 4 7 50 0 -1 0.000 0 0 -1 0 0 5
7500 2175 10500 2175 10500 2700 7500 2700 7500 2175
4 0 0 50 0 0 18 0.0000 4 255 225 525 375 a)\001
4 0 0 50 0 0 18 0.0000 4 255 240 4050 375 b)\001
4 0 0 50 0 0 18 0.0000 4 255 225 7650 375 c)\001
4 0 0 50 0 0 16 0.0000 4 225 1725 1425 4875 Content rectangle\001
4 0 0 50 0 0 16 0.0000 4 165 690 1425 5325 Border\001
4 0 0 50 0 0 16 0.0000 4 225 720 1425 6225 Spaces\001
4 0 0 50 0 0 16 0.0000 4 225 780 1425 5775 Padding\001
4 0 0 50 0 2 18 0.0000 4 195 195 1725 1725 A\001
4 0 0 50 0 2 18 0.0000 4 195 195 5250 1575 A\001
4 0 0 50 0 2 18 0.0000 4 195 195 8850 1575 A\001
4 0 0 50 0 2 18 0.0000 4 195 165 1725 3525 P\001
4 0 0 50 0 2 18 0.0000 4 195 180 5250 3375 B\001
4 0 0 50 0 2 18 0.0000 4 195 165 5250 4350 P\001

+ 0
- 186
docs/design/alt.design/block-stacking-keeps.fig View File

@@ -1,186 +0,0 @@
#FIG 3.2
Landscape
Center
Inches
Letter
100.00
Single
-2
1200 2
5 1 0 2 26 7 50 0 -1 0.000 0 0 1 0 1650.000 2925.000 1950 2700 2025 2925 1950 3150
0 0 2.00 60.00 120.00
5 1 0 2 26 7 50 0 -1 0.000 0 1 1 0 1650.000 3450.000 1950 3675 2025 3450 1950 3225
0 0 2.00 60.00 120.00
5 1 0 2 25 7 50 0 -1 0.000 0 0 1 0 1650.000 1875.000 1950 1650 2025 1875 1950 2100
0 0 2.00 60.00 120.00
5 1 0 2 26 7 50 0 -1 0.000 0 1 1 0 1650.000 4500.000 1950 4725 2025 4500 1950 4275
0 0 2.00 60.00 120.00
5 1 0 2 26 7 50 0 -1 0.000 0 1 1 0 1650.000 5550.000 1950 5775 2025 5550 1950 5325
0 0 2.00 60.00 120.00
5 1 0 2 26 7 50 0 -1 0.000 0 0 1 0 1650.000 6075.000 1950 5850 2025 6075 1950 6300
0 0 2.00 60.00 120.00
5 1 0 2 26 7 50 0 -1 0.000 0 0 1 0 8100.000 1875.000 8400 1650 8475 1875 8400 2100
0 0 2.00 60.00 120.00
5 1 0 2 26 7 50 0 -1 0.000 0 0 1 0 8100.000 4425.000 8400 4200 8475 4425 8400 4650
0 0 2.00 60.00 120.00
5 1 0 2 25 7 50 0 -1 0.000 0 0 1 0 7837.500 7612.500 7575 7200 7800 7125 8100 7200
0 0 2.00 75.00 150.00
5 1 0 2 26 7 50 0 -1 0.000 0 0 1 0 7125.000 3150.000 8400 2700 8475 3075 8400 3600
0 0 2.00 60.00 120.00
5 1 0 2 26 7 50 0 -1 0.000 0 0 1 0 7125.000 5700.000 8400 5250 8475 5775 8400 6150
0 0 2.00 60.00 120.00
6 3525 225 6075 2625
6 3675 525 5925 2025
6 4650 1350 5700 2025
2 1 0 3 0 7 50 0 -1 0.000 0 0 -1 0 0 2
5167 1435 4725 1950
2 1 0 3 0 7 50 0 -1 0.000 0 0 -1 0 0 2
5182 1420 5625 1950
-6
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 2
4725 825 5175 1425
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 2
4725 825 3975 1725
4 0 0 50 0 0 16 0.0000 4 165 150 3675 1800 B\001
4 0 0 50 0 0 16 0.0000 4 165 180 4650 750 A\001
4 0 0 50 0 0 16 0.0000 4 165 165 4425 2025 D\001
4 0 0 50 0 0 16 0.0000 4 165 285 5250 1350 C*\001
4 0 0 50 0 0 16 0.0000 4 165 150 5775 2025 E\001
-6
6 3525 2250 6075 2625
4 0 0 50 0 0 14 0.0000 4 195 2370 3525 2400 *Change of block-stacking-\001
4 0 0 50 0 0 14 0.0000 4 150 2505 3525 2625 direction at reference-area C\001
-6
4 0 0 50 0 2 14 0.0000 4 195 1200 4050 375 a) Tree View\001
-6
6 375 975 2625 1425
4 0 0 50 0 2 14 0.0000 4 195 1665 525 1125 b) Rendered View\001
4 0 0 50 0 0 14 0.0000 4 195 2205 375 1350 with Space Specifier links\001
-6
6 3825 3075 5475 3525
4 0 0 50 0 2 14 0.0000 4 195 1650 3825 3225 c) Rendered View\001
4 0 0 50 0 0 14 0.0000 4 195 1470 3975 3450 (shortened page)\001
-6
6 7050 975 9000 1425
4 0 0 50 0 2 14 0.0000 4 195 1890 7050 1125 d) Layout Tree View\001
4 0 0 50 0 0 14 0.0000 4 195 1320 7425 1350 with Keep links\001
-6
2 1 0 2 19 7 50 0 -1 0.000 0 0 -1 1 0 2
3 0 2.00 60.00 120.00
1650 3675 1650 3225
2 1 0 2 21 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
1650 2700 1650 3150
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
825 2100 2475 2100 2475 2700 825 2700 825 2100
2 1 0 2 8 7 50 0 -1 0.000 0 0 -1 1 0 2
2 0 2.00 60.00 120.00
1650 1650 1650 2100
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
1425 3675 2175 3675 2175 4275 1425 4275 1425 3675
2 1 0 2 21 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
1650 4725 1650 4275
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
1425 4725 2175 4725 2175 5325 1425 5325 1425 4725
2 1 0 2 8 7 50 0 -1 0.000 0 0 -1 1 0 2
2 0 2.00 60.00 120.00
1650 5775 1650 5325
2 2 0 3 0 7 90 0 20 0.000 0 0 -1 0 0 5
825 3150 2475 3150 2475 5850 825 5850 825 3150
2 2 0 2 0 29 80 0 20 0.000 0 0 -1 0 0 5
900 3225 2400 3225 2400 5775 900 5775 900 3225
2 1 0 2 19 7 50 0 -1 0.000 0 0 -1 1 0 2
3 0 2.00 60.00 120.00
1650 5850 1650 6300
2 2 0 2 0 11 100 0 20 0.000 0 0 -1 0 0 5
225 1650 2700 1650 2700 6300 225 6300 225 1650
2 1 0 2 24 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
3750 4200 3750 5550
2 1 0 2 24 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
4350 5925 4350 5325
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
4650 5175 5400 5175 5400 5775 4650 5775 4650 5175
2 2 0 3 0 29 80 0 20 0.000 0 0 -1 0 0 5
4050 4875 5625 4875 5625 6075 4050 6075 4050 4875
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
4050 3975 5625 3975 5625 4575 4050 4575 4050 3975
2 2 0 2 0 11 100 0 20 0.000 0 0 -1 0 0 5
3450 3675 5850 3675 5850 6375 3450 6375 3450 3675
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
7425 2100 8925 2100 8925 2700 7425 2700 7425 2100
2 1 0 2 24 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
7650 3900 7650 5025
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
7875 3600 8700 3600 8700 4200 7875 4200 7875 3600
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
7875 4650 8700 4650 8700 5250 7875 5250 7875 4650
2 1 0 2 24 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
7125 2400 7125 3750
2 1 0 2 8 7 50 0 -1 0.000 0 0 -1 1 0 2
2 0 2.00 60.00 120.00
8100 1650 8100 2100
2 1 0 2 8 7 50 0 -1 0.000 0 0 -1 1 0 2
2 0 2.00 60.00 120.00
8100 3150 8100 3600
2 1 0 2 21 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
8100 2700 8100 3150
2 1 0 2 21 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
8100 4200 8100 4650
2 1 0 2 19 7 50 0 -1 0.000 0 0 -1 1 0 2
3 0 2.00 60.00 120.00
8100 5250 8100 5700
2 1 0 2 19 7 50 0 -1 0.000 0 0 -1 1 0 2
3 0 2.00 60.00 120.00
8100 5700 8100 6150
2 1 0 2 21 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 75.00 150.00
2625 7125 3150 7125
2 1 0 2 8 7 50 0 -1 0.000 0 0 -1 1 0 2
2 0 2.00 75.00 150.00
225 7125 750 7125
2 1 0 2 24 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
1125 4950 1125 3825
2 2 0 2 0 11 100 0 20 0.000 0 0 -1 0 0 5
6900 1650 9225 1650 9225 6150 6900 6150 6900 1650
2 2 0 3 0 29 80 0 20 0.000 0 0 -1 0 0 5
7425 3150 9000 3150 9000 5700 7425 5700 7425 3150
2 1 0 2 19 7 50 0 -1 0.000 0 0 -1 1 0 2
3 0 2.00 75.00 150.00
5325 7125 5850 7125
2 1 0 2 24 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
525 2250 525 3600
4 0 0 50 0 0 16 0.0000 4 165 165 1050 3600 C\001
4 0 0 50 0 0 16 0.0000 4 165 150 1200 2475 B\001
4 0 0 50 0 0 16 0.0000 4 165 180 450 2025 A\001
4 0 0 50 0 0 16 0.0000 4 165 150 1650 4050 E\001
4 0 0 50 0 0 16 0.0000 4 165 165 1650 5100 D\001
4 0 0 50 0 0 16 0.0000 4 165 165 4275 5250 C\001
4 0 0 50 0 0 16 0.0000 4 165 150 4350 4350 B\001
4 0 0 50 0 0 16 0.0000 4 165 180 3675 4050 A\001
4 0 0 50 0 0 16 0.0000 4 165 165 4875 5550 D\001
4 0 0 50 0 0 16 0.0000 4 165 150 7650 2475 B\001
4 0 0 50 0 0 16 0.0000 4 165 180 7050 1950 A\001
4 0 0 50 0 0 16 0.0000 4 165 165 8025 3975 D\001
4 0 0 50 0 0 16 0.0000 4 165 150 8025 5025 E\001
4 0 0 50 0 0 16 0.0000 4 165 165 7575 3525 C\001
4 0 0 50 0 0 14 0.0000 4 195 750 8250 7200 adjacent\001
4 0 0 50 0 0 14 0.0000 4 150 765 8175 6975 Maximal\001
4 0 0 50 0 0 14 0.0000 4 195 870 8250 7425 edge span\001
4 0 0 50 0 0 14 0.0000 4 195 1050 6000 7200 trailing edge\001
4 0 0 50 0 0 14 0.0000 4 195 1335 5925 6975 Trailing edge to\001
4 0 0 50 0 0 14 0.0000 4 195 765 6000 7425 of parent\001
4 0 0 50 0 0 14 0.0000 4 195 1290 3300 7200 leading edge of\001
4 0 0 50 0 0 14 0.0000 4 195 1335 3225 6975 Trailing edge to\001
4 0 0 50 0 0 14 0.0000 4 195 1605 3300 7425 next normal sibling\001
4 0 0 50 0 0 14 0.0000 4 195 1290 900 7200 leading edge of\001
4 0 0 50 0 0 14 0.0000 4 195 1380 825 6975 Leading edge to\001
4 0 0 50 0 0 14 0.0000 4 150 1350 900 7425 1st normal child\001

+ 0
- 107
docs/design/alt.design/block-stacking.fig View File

@@ -1,107 +0,0 @@
#FIG 3.2
Landscape
Center
Inches
Letter
100.00
Single
-2
1200 2
6 750 225 3300 2175
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 2
2025 600 1050 1425
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 2
2025 600 2025 1425
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 2
2018 1417 1268 2092
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 2
2025 1425 2775 2100
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 2
2025 600 3000 1425
4 0 0 50 0 0 16 0.0000 4 165 135 1950 450 P\001
4 0 0 50 0 0 16 0.0000 4 165 180 750 1500 A\001
4 0 0 50 0 0 16 0.0000 4 165 150 1725 1425 B\001
4 0 0 50 0 0 16 0.0000 4 165 165 2925 2175 D\001
4 0 0 50 0 0 16 0.0000 4 165 165 975 2175 C\001
4 0 0 50 0 0 16 0.0000 4 165 150 3150 1500 E\001
-6
6 375 2700 3825 5100
6 375 4050 3525 4500
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
3 0 2.00 90.00 180.00
450 4125 1200 4125
4 0 0 50 0 0 14 0.0000 4 195 1965 1500 4200 Trailing edge to trailing\001
4 0 0 50 0 0 14 0.0000 4 195 1230 1500 4425 edge of parent\001
-6
6 375 2700 3600 3150
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
2 0 2.00 90.00 180.00
450 2775 1200 2775
4 0 0 50 0 0 14 0.0000 4 195 2040 1500 2850 Leading edge to leading\001
4 0 0 50 0 0 14 0.0000 4 195 2025 1500 3075 edge of 1st normal child\001
-6
6 375 3375 3825 3825
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 90.00 180.00
450 3450 1200 3450
4 0 0 50 0 0 14 0.0000 4 195 1995 1500 3525 Trailing edge to leading\001
4 0 0 50 0 0 14 0.0000 4 195 2280 1500 3750 edge of next normal sibling\001
-6
6 375 4650 3525 5100
5 1 0 2 0 7 50 0 -1 0.000 0 0 1 0 825.000 5550.000 450 4800 675 4725 1200 4800
0 0 2.00 90.00 180.00
4 0 0 50 0 0 14 0.0000 4 195 2025 1500 4800 Maximal adjacent edge\001
4 0 0 50 0 0 14 0.0000 4 150 405 1500 5025 span\001
-6
-6
6 4125 225 7275 5925
5 1 0 2 0 7 50 0 -1 0.000 0 0 1 0 5587.500 3075.000 5850 2850 5925 3000 5850 3300
0 0 2.00 60.00 120.00
5 1 0 2 0 7 50 0 -1 0.000 0 0 1 0 5512.500 4350.000 5850 3900 6075 4350 5850 4800
0 0 2.00 60.00 120.00
5 1 0 2 0 7 50 0 -1 0.000 0 0 1 0 5512.500 1800.000 5850 1350 6075 1800 5850 2250
0 0 2.00 60.00 120.00
5 1 0 2 0 7 50 0 -1 0.000 0 0 1 0 5587.500 5625.000 5850 5400 5925 5550 5850 5850
0 0 2.00 60.00 120.00
5 1 0 2 0 7 50 0 -1 0.000 0 0 1 0 5587.500 525.000 5850 300 5925 450 5850 750
0 0 2.00 60.00 120.00
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
2 0 2.00 60.00 120.00
5550 1800 5550 2250
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
5550 1350 5550 1800
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
5550 2850 5550 3300
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
3 0 2.00 60.00 120.00
5550 3900 5550 4350
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 120.00
5550 4350 5550 4800
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
3 0 2.00 60.00 120.00
5550 5400 5550 5850
2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 1 0 2
2 0 2.00 60.00 120.00
5550 300 5550 750
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
4650 750 6750 750 6750 1350 4650 1350 4650 750
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
5100 2250 6300 2250 6300 2850 5100 2850 5100 2250
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
5100 3300 6300 3300 6300 3900 5100 3900 5100 3300
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
4650 1800 6750 1800 6750 4350 4650 4350 4650 1800
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
4650 4800 6750 4800 6750 5400 4650 5400 4650 4800
2 2 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 5
4200 300 7200 300 7200 5850 4200 5850 4200 300
4 0 0 50 0 0 16 0.0000 4 165 150 4800 2175 B\001
4 0 0 50 0 0 16 0.0000 4 165 180 4800 1125 A\001
4 0 0 50 0 0 16 0.0000 4 165 165 5250 2625 C\001
4 0 0 50 0 0 16 0.0000 4 165 165 5250 3675 D\001
4 0 0 50 0 0 16 0.0000 4 165 150 4800 5175 E\001
4 0 0 50 0 0 16 0.0000 4 165 135 4425 600 P\001
-6

BIN
docs/design/alt.design/coroutines.dia View File


BIN
docs/design/alt.design/galley-preprocessing.dia View File


BIN
docs/design/alt.design/initial-column-values.dia View File


+ 0
- 68
docs/design/alt.design/layoutmanagers.xml View File

@@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
"http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">

<!-- $Id$ -->

<document>
<header>
<title>Layout managers</title>
<authors>
<person name="Peter B. West" email="pbwest@powerup.com.au"/>
</authors>
</header>
<body>
<section>
<title>Layout managers in FOP</title>
<p>
What do the layout managers do? Most layout is is "automatic"
in the sense of being a straightforward stacking operation.
Sibling inline-areas, including fo:character areas, are
stacked in line-areas in the inline-progression-direction.
Sibling block-areas, including line-areas, are stacked in the
block-progression-direction.
</p>
<p>
In the simple cases in which both the available
block-progression-dimension and the available
inline-progression-dimension are known, this process can be
driven bottom-up. Available dimensions trickle down from the
top, and the bottom level galleys can determine when their
available areas are full and suspend pending the arrival of
more areas. Such full notifications bubble back up the tree
of active galleys. E.g., if an inline galley fills a
line-area of a given inline-p-d and suspends while still
within the available block-p-d, the parent block-area galley
will simply stack the inline-area and notify the inline galley
to continue. If the inline-galley discovers that the next
line-area that it would generate will not fit in the the
block-p-d, it suspends with a notification to that effect to
its parent.
</p>
<p>
In more complex cases the dimensions may not be fully
specified, or decisions about layout may depend on later
layout. In all such cases some layout look-ahead is required
which can report results back to higher layout levels. The
job for a layout manager in these cirucmstances is to evaluate
the information flowing back and set parameters for the best
fit layout.
</p>
</section>
</body>
</document>

BIN
docs/design/alt.design/line-area-5.dia View File


BIN
docs/design/alt.design/line-area-6.dia View File


BIN
docs/design/alt.design/processPlumbing.dia View File


BIN
docs/design/alt.design/property-super-classes-full.dia View File


BIN
docs/design/alt.design/xmlevent-queue.dia View File


+ 0
- 384
docs/design/fo_impl/fo_classes.xml View File

@@ -1,384 +0,0 @@
<?xml version="1.0"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<!DOCTYPE formattingObjects [
<!ELEMENT formattingObjects (title,usage,category+,notes?)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT usage (para)*>
<!ELEMENT para (#PCDATA|em|term)*>
<!ELEMENT em (#PCDATA)>
<!ELEMENT term (#PCDATA)>
<!ELEMENT category (object)+>
<!ATTLIST category
class CDATA #REQUIRED>
<!ELEMENT object (name,baseClass,specContent,generatedAreas,breaksKeeps?)>
<!ATTLIST object
implemented (true|false) "true">
<!ELEMENT name (#PCDATA)>
<!ELEMENT baseClass (#PCDATA)>
<!ELEMENT specContent (#PCDATA)>
<!ELEMENT generatedAreas (type,multiplicity,currentLayout)?>
<!ATTLIST generatedAreas
isReference (true|false) "false">
<!ELEMENT type (class,stacking)>
<!ELEMENT class (#PCDATA)>
<!ELEMENT stacking (#PCDATA)>
<!ELEMENT multiplicity (#PCDATA)>
<!ELEMENT currentLayout (#PCDATA)>
<!ATTLIST currentLayout
intoParentArea (true|false) "false">
<!ELEMENT breaksKeeps (#PCDATA)>
<!ELEMENT notes (note)+>
<!ELEMENT note (#PCDATA)>
]>
<formattingObjects>
<title>FOP Implementation of Layout Formatting Objects</title>
<usage>
<para>
This table displays information concerning FOP implementation
of XSL formatting objects of the layout type.
</para>
<para>
The category classes refer to the XSL specification notation
<term>&#037;block;</term> and <term>&#037;inline;</term>. These
classifications are rather less useful in practical terms than
one might initially suppose.
</para>
<para>
The <em>Base Class</em> of each object is the FOP implementation
class.
</para>
<para>
The <em>Spec Content</em> is the BNF grammar describing
the content of each FO, as taken from the XSL specification.
</para>
<para>
The <em>Breaks and Keeps</em> describes what breaks and keeps apply
to each FO. <em>All</em> means all breaks and keeps, <em>All Keeps</em>
indicates that <term>keep-together</term>, <term>keep-with-next</term>,
and <term>keep-with-previous</term> all apply. The abbreviations
<term>kt</term>, <term>kwn</term>, and <term>kwp</term> specify
individual keep properties.
</para>
<para>
The information on generated areas describes what type of areas are
<em>generated</em> by a given FO, how many there are, whether or not
they are reference areas, and what FOP area class is being used for layout.
In some cases content is laid-out into the parent area; in others, the
content is laid-out in new areas that are constructed as required, then
added to the parent area - this is also noted in the table. In practise,
we should see that FOs that do not generate areas should layout into the
parent.
</para>
<para>
The Name, Spec Content, and Breaks &amp; Keeps information is definite.
The type and multiplicity of generated areas is definite, as well as whether
the generated areas are reference areas or not. The BaseClass and the
layout area information is FOP-implementation dependent.
</para>
<para><em>Note:</em> Numbers in parentheses refer to Notes. A * after
an FO name indicates that the object is not yet implemented.</para>
</usage>
<category class="block-level">
<object>
<name>block</name>
<baseClass>FObjMixed</baseClass>
<specContent><![CDATA[(#PCDATA|%inline;|%block;)*]]></specContent>
<generatedAreas>
<type><class>normal</class><stacking>block</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout>BlockArea</currentLayout>
</generatedAreas>
<breaksKeeps>All (2)</breaksKeeps>
</object>
<object>
<name>block-container</name>
<baseClass>FObj</baseClass>
<specContent><![CDATA[(%block;)+]]></specContent>
<generatedAreas isReference="true">
<type><class>viewport/ref</class><stacking>block</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout>AreaContainer</currentLayout>
</generatedAreas>
<breaksKeeps>All</breaksKeeps>
</object>
<object implemented="false">
<name>table-and-caption</name>
<baseClass>FObj (1)</baseClass>
<specContent>(table-caption?,table)</specContent>
<generatedAreas>
<type><class>normal</class><stacking>block</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout>AreaContainer</currentLayout>
</generatedAreas>
<breaksKeeps>All keeps</breaksKeeps>
</object>
<object>
<name>table</name>
<baseClass>FObj</baseClass>
<specContent>(table-column*,table-header?, table-footer?,table-body+)</specContent>
<generatedAreas isReference="true">
<type><class>normal</class><stacking>block</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout>AreaContainer</currentLayout>
</generatedAreas>
<breaksKeeps>All</breaksKeeps>
</object>
<object>
<name>list-block</name>
<baseClass>FObj</baseClass>
<specContent>(list-item+)</specContent>
<generatedAreas>
<type><class>normal</class><stacking>block</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout>BlockArea</currentLayout>
</generatedAreas>
<breaksKeeps>All</breaksKeeps>
</object>
</category>
<category class="inline-level">
<object implemented="false">
<name>bidi-override</name>
<baseClass>FObjMixed (1)</baseClass>
<specContent><![CDATA[(#PCDATA|%inline;|%block;)*]]></specContent>
<generatedAreas>
<type><class>normal</class><stacking>inline</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout/>
</generatedAreas>
<breaksKeeps/>
</object>
<object>
<name>character</name>
<baseClass>FObj</baseClass>
<specContent>EMPTY</specContent>
<generatedAreas>
<type><class>normal</class><stacking>inline</stacking></type>
<multiplicity>1</multiplicity>
<currentLayout intoParentArea="true">BlockArea</currentLayout>
</generatedAreas>
<breaksKeeps>kwn, kwp</breaksKeeps>
</object>
<object>
<name>external-graphic</name>
<baseClass>FObj</baseClass>
<specContent>EMPTY</specContent>
<generatedAreas>
<type><class>viewport/ref</class><stacking>inline</stacking></type>
<multiplicity>1</multiplicity>
<currentLayout>ImageArea</currentLayout>
</generatedAreas>
<breaksKeeps>kwn, kwp</breaksKeeps>
</object>
<object implemented="false">
<name>initial-property-set</name>
<baseClass>FObj (1)</baseClass>
<specContent>EMPTY</specContent>
<generatedAreas/>
<breaksKeeps/>
</object>
<object>
<name>instream-foreign-object</name>
<baseClass>FObj</baseClass>
<specContent>XML</specContent>
<generatedAreas>
<type><class>viewport/ref</class><stacking>inline</stacking></type>
<multiplicity>1</multiplicity>
<currentLayout>ForeignObjectArea</currentLayout>
</generatedAreas>
<breaksKeeps>kwn, kwp</breaksKeeps>
</object>
<object>
<name>inline</name>
<baseClass>FObjMixed</baseClass>
<specContent><![CDATA[(#PCDATA|%inline;|%block;)*]]></specContent>
<generatedAreas>
<type><class>normal</class><stacking>inline</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout intoParentArea="true">Area</currentLayout>
</generatedAreas>
<breaksKeeps>All keeps</breaksKeeps>
</object>
<object implemented="false">
<name>inline-container</name>
<baseClass>FObj (1)</baseClass>
<specContent><![CDATA[(%block;)+]]></specContent>
<generatedAreas isReference="true">
<type><class>viewport/ref</class><stacking>inline</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout/>
</generatedAreas>
<breaksKeeps>All keeps</breaksKeeps>
</object>
<object>
<name>leader</name>
<baseClass>FObjMixed</baseClass>
<specContent><![CDATA[(#PCDATA|%inline;)*]]></specContent>
<generatedAreas>
<type><class>normal</class><stacking>inline</stacking></type>
<multiplicity>1</multiplicity>
<currentLayout intoParentArea="true">BlockArea</currentLayout>
</generatedAreas>
<breaksKeeps/>
</object>
<object>
<name>page-number</name>
<baseClass>FObj</baseClass>
<specContent>EMPTY</specContent>
<generatedAreas>
<type><class>normal</class><stacking>inline</stacking></type>
<multiplicity>1</multiplicity>
<currentLayout intoParentArea="true">BlockArea (4)</currentLayout>
</generatedAreas>
<breaksKeeps>kwn, kwp</breaksKeeps>
</object>
<object>
<name>page-number-citation</name>
<baseClass>FObj</baseClass>
<specContent>EMPTY</specContent>
<generatedAreas>
<type><class>normal</class><stacking>inline</stacking></type>
<multiplicity>1</multiplicity>
<currentLayout intoParentArea="true">BlockArea (4)</currentLayout>
</generatedAreas>
<breaksKeeps>kwn, kwp</breaksKeeps>
</object>
<object>
<name>basic-link</name>
<baseClass>FObjMixed</baseClass>
<specContent><![CDATA[(#PCDATA|%inline;|%block;)*]]></specContent>
<generatedAreas>
<type><class>normal</class><stacking>inline</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout intoParentArea="true">Area (4)</currentLayout>
</generatedAreas>
<breaksKeeps>All keeps</breaksKeeps>
</object>
</category>
<category class="other">
<object>
<name>list-item-body</name>
<baseClass>FObj</baseClass>
<specContent><![CDATA[(%block;)+]]></specContent>
<generatedAreas>
<type><class>None</class><stacking>None</stacking></type>
<multiplicity/>
<currentLayout intoParentArea="true">Area</currentLayout>
</generatedAreas>
<breaksKeeps>kt</breaksKeeps>
</object>
<object>
<name>list-item</name>
<baseClass>FObj</baseClass>
<specContent>(list-item-label,list-item-body)</specContent>
<generatedAreas>
<type><class>normal</class><stacking>block</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout>BlockArea</currentLayout>
</generatedAreas>
<breaksKeeps>All</breaksKeeps>
</object>
<object>
<name>list-item-label</name>
<baseClass>FObj</baseClass>
<specContent><![CDATA[(%block;)*]]></specContent>
<generatedAreas>
<type><class>None</class><stacking>None</stacking></type>
<multiplicity/>
<currentLayout intoParentArea="true">Area</currentLayout>
</generatedAreas>
<breaksKeeps>kt</breaksKeeps>
</object>
<object>
<name>table-body</name>
<baseClass>FObj</baseClass>
<specContent>(table-row+|table-cell+)</specContent>
<generatedAreas>
<type><class>None</class><stacking>None</stacking></type>
<multiplicity/>
<currentLayout>AreaContainer (3)</currentLayout>
</generatedAreas>
<breaksKeeps/>
</object>
<object implemented="false">
<name>table-caption</name>
<baseClass>FObj (1)</baseClass>
<specContent><![CDATA[(%block;)+]]></specContent>
<generatedAreas>
<type><class>normal</class><stacking>block</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout/>
</generatedAreas>
<breaksKeeps>kt</breaksKeeps>
</object>
<object>
<name>table-cell</name>
<baseClass>FObj</baseClass>
<specContent><![CDATA[(%block;)+]]></specContent>
<generatedAreas isReference="true">
<type><class>normal</class><stacking>block</stacking></type>
<multiplicity>1..*</multiplicity>
<currentLayout>AreaContainer</currentLayout>
</generatedAreas>
<breaksKeeps/>
</object>
<object>
<name>table-column</name>
<baseClass>FObj</baseClass>
<specContent>EMPTY</specContent>
<generatedAreas/>
<breaksKeeps/>
</object>
<object>
<name>table-footer</name>
<baseClass>TableBody</baseClass>
<specContent>(table-row+|table-cell+)</specContent>
<generatedAreas>
<type><class>None</class><stacking>None</stacking></type>
<multiplicity/>
<currentLayout>AreaContainer (3)</currentLayout>
</generatedAreas>
<breaksKeeps/>
</object>
<object>
<name>table-header</name>
<baseClass>TableBody</baseClass>
<specContent>(table-row+|table-cell+)</specContent>
<generatedAreas>
<type><class>None</class><stacking>None</stacking></type>
<multiplicity/>
<currentLayout>AreaContainer (3)</currentLayout>
</generatedAreas>
<breaksKeeps/>
</object>
<object>
<name>table-row</name>
<baseClass>FObj</baseClass>
<specContent>(table-cell+)</specContent>
<generatedAreas/>
<breaksKeeps>All</breaksKeeps>
</object>
</category>
<notes>
<note>not yet implemented; suggested base class</note>
<note>also widows &amp; orphans</note>
<note>This is being generated in FOP, but an fo:table-body, or fo:table-header,
or fo:table-footer, generate no areas.</note>
<note>Should generate an area.</note>
</notes>
</formattingObjects>


+ 0
- 116
docs/design/fo_impl/fo_classes.xsl View File

@@ -1,116 +0,0 @@
<?xml version="1.0"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format">

<xsl:output method="html"/>

<xsl:strip-space elements="*"/>

<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="formattingObjects">
<html>
<head>
<title><xsl:value-of select="title"/></title>
</head>
<body>
<h2><xsl:value-of select="title"/></h2>
<xsl:apply-templates select="usage"/>
<h2>Block-Level Formatting Objects</h2>
<xsl:apply-templates select="category[@class='block-level']"/>
<h2>Inline-Level Formatting Objects</h2>
<xsl:apply-templates select="category[@class='inline-level']"/>
<h2>Other Formatting Objects</h2>
<xsl:apply-templates select="category[@class='other']"/>
<xsl:apply-templates select="notes"/>
</body>
</html>
</xsl:template>

<xsl:template match="usage">
<xsl:apply-templates select="para"/>
</xsl:template>

<xsl:template match="para">
<p><xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="em">
<em><xsl:apply-templates/></em>
</xsl:template>

<xsl:template match="term">
<b><xsl:apply-templates/></b>
</xsl:template>

<xsl:template match="category">
<table width="100%" cellpadding="5" cellspacing="1" border="1">
<tr>
<th>Name</th><th>Base Class</th><th>Spec Content</th>
<th>Generated Areas</th><th>Breaks and Keeps</th>
</tr>
<xsl:apply-templates select="object"/>
</table>
</xsl:template>

<xsl:template match="object">
<tr>
<td>
<xsl:value-of select="name"/>
<xsl:if test="self::node()[@implemented='false']">&#0160;*</xsl:if>
</td>
<td><xsl:value-of select="baseClass"/></td>
<td><xsl:value-of select="specContent"/></td>
<td><xsl:apply-templates select="generatedAreas"/></td>
<td><xsl:value-of select="breaksKeeps"/>&#0160;</td>
</tr>
</xsl:template>

<xsl:template match="generatedAreas">
<xsl:choose>
<xsl:when test="currentLayout">
<ul>
<li>Class: <xsl:value-of select="type/class"/>&#0160;
Stacking: <xsl:value-of select="type/stacking"/></li>
<li>Multiplicity: <xsl:value-of select="multiplicity"/></li>
<li>Layout into: <xsl:value-of select="currentLayout"/>
<xsl:if test="currentLayout[@intoParentArea='true']">&#0160;(parent)</xsl:if></li>
<xsl:if test="self::node()[@isReference='true']">
<li>Reference Area(s)</li>
</xsl:if>
</ul>
</xsl:when>
<xsl:otherwise>&#0160;</xsl:otherwise>
</xsl:choose>
</xsl:template>

<xsl:template match="notes">
<p><b>Notes:</b></p>
<ol>
<xsl:for-each select="note">
<li><xsl:value-of select="."/></li>
</xsl:for-each>
</ol>
</xsl:template>

</xsl:stylesheet>


+ 0
- 17
docs/readme View File

@@ -1,17 +0,0 @@
Content of the directory xml-fop/docs

xslfoRef.xml a short xsl:fo reference
xml2pdf.xsl a stylesheet, to convert xslfoRef.xml to pdf

html-docs Fop documentation in html files
xml-docs Fop documentation in xml files and a script to create pdf documentation

design UML diagrams showing the Fop design
graphics some graphics used by the examples and test files
examples a lot of xs:fo example files
examples/fo some simple examples to get you started
examples/
pagination some simple and some not so simple examples how to use the
new page layout tags in xsl:fo
examples/svg some example documents of how to use svg in fop


+ 0
- 180
docs/xml-docs/data/document.svg View File

@@ -1,180 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="480" height="240">
<filter id="Drop_Shadow" filterUnits="objectBoundingBox" x="-10%" y="-10%"
width="150%" height="150%">
<feGaussianBlur in="SourceAlpha" stdDeviation="3" result="blurredAlpha"/>
<feOffset in="blurredAlpha" dx="3" dy="3" result="offsetBlurredAlpha"/>
<feFlood result="flooded" style="flood-color:rgb(0,0,0);flood-opacity:0.65"/>
<feComposite in="flooded" operator="in" in2="offsetBlurredAlpha"
result="coloredShadow"/>
<feComposite in="SourceGraphic" in2="coloredShadow" operator="over"/>
</filter>
<rect x="5" y="3" width="171" height="226" rx="0" ry="0" style="filter:url(#Drop_Shadow);stroke-miterlimit:4;stroke-linejoin:miter;stroke-width:1;
stroke-opacity:1;stroke:rgb(0,0,0);fill-opacity:1;fill:rgb(234,228,214);opacity:1;
"/>
<g style="filter:url(#Drop_Shadow)" transform="matrix(0.5 0 0 0.6 6 10)">
<text><![CDATA[
<?xml version="1.0" encoding="utf-8"?>
]]></text>
<text y="10"><![CDATA[
<root xmlns="http://www.w3.org/1999/XSL/Format">
]]></text>
<text y="20" x="8"><![CDATA[
<layout-master-set>
]]></text>
<text y="30" x="16"><![CDATA[
<simple-page-master master-name="simple"
]]></text>
<text y="40" x="61"><![CDATA[
page-height="29.7cm"
]]></text>
<text y="50" x="61"><![CDATA[
page-width="21cm"
]]></text>
<text y="60" x="61"><![CDATA[
margin-top="1cm"
]]></text>
<text y="70" x="61"><![CDATA[
margin-bottom="2cm"
]]></text>
<text y="80" x="61"><![CDATA[
margin-left="2.5cm"
]]></text>
<text y="90" x="61"><![CDATA[
margin-right="2.5cm">
]]></text>
<text y="100" x="24"><![CDATA[
<region-body margin-top="3cm"/>
]]></text>
<text y="110" x="24"><![CDATA[
<region-before extent="3cm"/>
]]></text>
<text y="120" x="24"><![CDATA[
<region-after extent="1.5cm"/>
]]></text>
<text y="130" x="16"><![CDATA[
</simple-page-master>
]]></text>
<text y="140" x="8"><![CDATA[
</layout-master-set>
]]></text>
<text y="150" x="8"><![CDATA[
<page-sequence master-name="simple">
]]></text>
<text y="160" x="24"><![CDATA[
<flow flow-name="xsl-region-body">
]]></text>
<text y="170" x="32"><![CDATA[
<block font-size="18pt"
]]></text>
<text y="180" x="70"><![CDATA[
font-family="sans-serif"
]]></text>
<text y="190" x="70"><![CDATA[
line-height="24pt"
]]></text>
<text y="200" x="70"><![CDATA[
space-after.optimum="15pt"
]]></text>
<text y="210" x="70"><![CDATA[
background-color="blue"
]]></text>
<text y="220" x="70"><![CDATA[
color="white"
]]></text>
<text y="230" x="70"><![CDATA[
text-align="center"
]]></text>
<text y="240" x="70"><![CDATA[
padding-top="3pt">
]]></text>
<text y="250" x="40"><![CDATA[
Fop
]]></text>
<text y="260" x="32"><![CDATA[
</block>
]]></text>
<text y="270" x="32"><![CDATA[
<block font-size="12pt"
]]></text>
<text y="280" x="70"><![CDATA[
font-family="sans-serif"
]]></text>
<text y="290" x="70"><![CDATA[
line-height="15pt"
]]></text>
<text y="300" x="70"><![CDATA[
space-after.optimum="3pt"
]]></text>
<text y="310" x="70"><![CDATA[
text-align="justify">
]]></text>
<text y="320" x="40"><![CDATA[
A simple fo document.
]]></text>
<text y="330" x="32"><![CDATA[
</block>
]]></text>
<text y="340" x="24"><![CDATA[
</flow>
]]></text>
<text y="350" x="8"><![CDATA[
</page-sequence>
]]></text>
<text y="360"><![CDATA[
</root>
]]></text>
</g>
<text x="183" y="106" style="font-family:Arial;font-size:30;stroke-width:1;stroke-opacity:1;stroke:rgb(0,0,0);
fill-opacity:1;fill:rgb(0,0,0);opacity:1;filter:url(#Drop_Shadow)">Render</text>
<g transform="matrix(0.287395 0 0 0.268409 300 5)" style="font-size:12;fill:rgb(0,0,0);stroke:rgb(0,0,0);stroke-width:1">
<g>
<g style="fill:rgb(255,255,255)">
<rect width="595" x="0" height="842" y="0" style="filter:url(#Drop_Shadow);stroke:none"/>
</g>
<g>
<rect width="597" x="-1" height="844" y="-1" style="fill:none"/>
<line y2="844" x1="597" x2="597" y1="0" style="fill:none"/>
<line y2="845" x1="598" x2="598" y1="1" style="fill:none"/>
<line y2="844" x1="0" x2="597" y1="844" style="fill:none"/>
<line y2="845" x1="1" x2="598" y1="845" style="fill:none"/>
<rect x="71" y="113" width="453" height="27" style="fill:none;stroke:rgb(0,0,255)"/>
<rect x="71" y="113" width="453" height="27" style="fill:rgb(0,0,255);stroke:none"/>
</g>
<g style="fill:rgb(255,255,255);font-size:18;font-family:sans-serif;stroke:rgb(255,255,255);
">
<text x="272" y="133" style="stroke:none">Fop</text>
<text x="71" y="166" style="fill:rgb(0,0,0);stroke:none">A</text>
<text x="94" y="166" style="fill:rgb(0,0,0);stroke:none">simple</text>
<text x="158" y="166" style="fill:rgb(0,0,0);stroke:none">fo</text>
<text x="185" y="166" style="fill:rgb(0,0,0);stroke:none">document.</text>
</g>
</g>
</g>
<rect x="186" y="124" width="81" height="14" rx="0" ry="0" style="stroke-miterlimit:4;stroke-linejoin:miter;stroke-width:1;stroke-opacity:0;stroke:rgb(45,59,143);
fill-opacity:1;fill:rgb(238,179,36);opacity:1"/>
<path d="M289.5 131 L263 118 L263 144 z" style="stroke-miterlimit:4;stroke-linejoin:miter;stroke-width:1;stroke-opacity:0;stroke:rgb(0,0,0);
fill-opacity:1;fill:rgb(238,179,36);opacity:1"/>

<use x="455" y="215" width="20" height="20" xlink:href="logo.svg#FOP_Mark"/>

</svg>


BIN
docs/xml-docs/data/layout.svgz View File


+ 0
- 97
docs/xml-docs/data/logo.svg View File

@@ -1,97 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="100" height="100">
<defs>

<text id="asf">
Apache Software Foundation Apache Software Foundation
Apache Software Foundation Apache Software Foundation
Apache Software Foundation Apache Software Foundation
Apache Software Foundation Apache Software Foundation
Apache Software Foundation Apache Software Foundation
Apache Software Foundation
</text>

<g id="f">
<path style="stroke:rgb(20,20,20);stroke-width:8" id="square1" d="M0 0h140v130h-140z"/>
<text font-weight="bold" font-size="6" style="text-anchor:start">
<textPath style="stroke:rgb(40,40,40)" xlink:href="#square1">
<tspan dy="3">
<tref xlink:href="#asf"/>
</tspan>
</textPath>
</text>
<g style="stroke:black;stroke-width:8">
<line x1="15" y1="20" x2="125" y2="20"/>
<line x1="15" y1="40" x2="50" y2="40"/>
<line x1="15" y1="60" x2="100" y2="60"/>
<line x1="15" y1="85" x2="50" y2="85"/>
<line x1="15" y1="110" x2="50" y2="110"/>
</g>
</g>

<g id="o">
<path style="stroke:rgb(20,20,20);stroke-width:8" id="square2" d="M0 0h130v130h-130z"/>
<text font-weight="bold" font-size="6" style="text-anchor:start">
<textPath style="stroke:rgb(40,40,40)" xlink:href="#square2">
<tspan dy="3">
<tref xlink:href="#asf"/>
</tspan>
</textPath>
</text>
<g style="stroke:black;stroke-width:8">
<line x1="50" y1="30" x2="80" y2="30"/>
<line x1="30" y1="45" x2="100" y2="45"/>
<line x1="20" y1="60" x2="110" y2="60"/>
<line x1="30" y1="80" x2="100" y2="80"/>
<line x1="50" y1="100" x2="80" y2="100"/>
</g>
</g>

<g id="p">
<path style="stroke:rgb(20,20,20);stroke-width:8" id="square3" d="M0 0h130v130h-130z"/>
<text font-weight="bold" font-size="6" style="text-anchor:start">
<textPath style="stroke:rgb(40,40,40)" xlink:href="#square3">
<tspan dy="3">
<tref xlink:href="#asf"/>
</tspan>
</textPath>
</text>
<g style="stroke:black;stroke-width:8">
<line x1="15" y1="20" x2="110" y2="20"/>
<line x1="15" y1="40" x2="40" y2="40"/>
<line x1="90" y1="40" x2="120" y2="40"/>
<line x1="15" y1="60" x2="105" y2="60"/>
<line x1="15" y1="85" x2="50" y2="85"/>
<line x1="15" y1="110" x2="50" y2="110"/>
</g>
</g>

<svg viewBox="0 0 230 230" id="FOP_Mark">
<use x="90" y="41" style="fill:rgb(100,150,200);opacity:0.6" xlink:href="#p"/>
<use x="40" y="96" style="fill:rgb(120,228,120);opacity:0.6" xlink:href="#o"/>
<use x="5" y="5" style="fill:rgb(200,100,100);opacity:0.6" xlink:href="#f"/>
</svg>

</defs>

<use xlink:href="#FOP_Mark"/>
</svg>


+ 0
- 59
docs/xml-docs/data/title.svg View File

@@ -1,59 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="300" height="100" viewBox="0 0 340 150">
<filter id="grey_bevel_shadow" filterUnits="objectBoundingBox" x="-10%"
y="-10%" width="150%" height="150%">
<feGaussianBlur result="blurredAlpha" in="SourceAlpha" stdDeviation="3"/>
<feOffset result="offsetBlurredAlpha" in="blurredAlpha" dx="2" dy="1"/>
<feDiffuseLighting result="bumpMapDiffuse" in="blurredAlpha" surfaceScale="5"
diffuseConstant="0.5" style="
lighting-color:rgb(255,255,255)">
<feDistantLight azimuth="135" elevation="60"/>
</feDiffuseLighting>
<feComposite result="litPaint" in="bumpMapDiffuse" operator="arithmetic" k1="1"
k2="0" k3="0" k4="0" in2="SourceGraphic"/>
<feSpecularLighting result="bumpMapSpecular" in="blurredAlpha" surfaceScale="5"
specularConstant="0.5" specularExponent="10" style="
lighting-color:rgb(255,255,255)">
<feDistantLight azimuth="135" elevation="60"/>
</feSpecularLighting>
<feComposite result="litPaint" in="litPaint" operator="arithmetic" k1="0"
k2="1" k3="1" k4="0" in2="bumpMapSpecular"/>
<feComposite result="litPaint" in="litPaint" operator="in" in2="SourceAlpha"/>
<feMerge>
<feMergeNode in="offsetBlurredAlpha"/>
<feMergeNode in="litPaint"/>
</feMerge>
</filter>
<use style="opacity:0.6" x="100" y="5" width="150" height="145" xlink:href="logo.svg#FOP_Mark"/>
<g transform="translate(0,10)">
<path style="stroke-width:1;stroke-opacity:1;stroke:rgb(0,0,0);fill-opacity:1;fill:rgb(0,0,0);
opacity:1;filter:url(#grey_bevel_shadow)"
d="M35.87 66.07 L35.87 94.553 Q35.87 111.526 37.6948 114.383 Q39.5197 117.24 46.9811 117.24 L52.87 117.24 L52.87 122.51 Q37.0972 122 27.718 122 Q18.2538 122 3.23 122.51 L3.23 117.24 L9.86531 117.24 Q16.9947 117.24 18.6123 114.508 Q20.23 111.776 20.23 94.5609 L20.23 32.0673 Q20.23 15.2639 18.4477 12.532 Q16.6653 9.8 9.20125 9.8 L3.23 9.8 L3.23 4.53 Q16.9894 5.04 28.0128 5.04 L75.6686 4.19 Q83.13 4.19 89.76 4.87 Q87.117 13.8295 86.87 30.0991 L81.43 30.0991 Q80.9359 21.4663 79.4484 14.6583 Q68.1408 11.67 56.5861 11.67 Q46.5162 11.67 36.8608 12.7484 Q35.87 23.5461 35.87 32.3489 L35.87 58.76 Q40.8053 58.93 45.5759 58.93 Q57.9142 58.93 67.2111 58.2659 Q70.3348 58.0986 71.4465 56.894 Q72.5581 55.6894 73.2966 50.4539 L74.12 44.14 L79.39 44.14 Q78.795 59.3311 78.795 63.6475 L78.88 83.24 L73.44 83.24 L73.44 76.8517 Q73.44 69.2177 70.55 67.5588 Q67.66 65.9 48.4208 65.9 C48.4208 65.9 43.1375 65.9 35.87 66.07 z"/>
<path style="stroke-width:1;stroke-opacity:1;stroke:rgb(0,0,0);fill-opacity:1;fill:rgb(0,0,0);
opacity:1;filter:url(#grey_bevel_shadow)"
d="M98.43 63.4775 Q98.43 36.1819 116.022 19.5059 Q133.615 2.83 162.908 2.83 Q191.619 2.83 207.925 18.3027 Q224.23 33.7753 224.23 59.4134 Q224.23 87.0411 205.311 105.626 Q186.392 124.21 157.595 124.21 Q139.589 124.21 126.561 116.909 Q113.533 109.609 105.982 95.5863 C105.982 95.5863 98.43 81.5639 98.43 63.4775 zM115.26 56.6748 Q115.26 75.4253 121.692 89.3202 Q128.124 103.215 138.914 110.143 Q149.704 117.07 163.564 117.07 Q176.428 117.07 186.054 111.18 Q195.681 105.29 201.2 93.5927 Q206.72 81.8959 206.72 65.1377 Q206.72 47.5506 200.62 35.0649 Q194.52 22.5792 183.896 16.2746 Q173.272 9.97 158.748 9.97 Q145.47 9.97 135.842 15.5282 Q126.214 21.0864 120.737 31.8296 C120.737 31.8296 115.26 42.5728 115.26 56.6748 z"/>
<path style="stroke-width:1;stroke-opacity:1;stroke:rgb(0,0,0);fill-opacity:1;fill:rgb(0,0,0);
opacity:1;filter:url(#grey_bevel_shadow)"
d="M265.102 13.7127 Q264.52 25.6286 264.52 39.117 L264.52 86.3717 Q264.52 111.282 266.013 114.261 Q267.506 117.24 275.798 117.24 L281.52 117.24 L281.52 122.51 Q266.828 122 258.36 122 Q250.888 122 231.88 122.51 L231.88 117.24 L239.344 117.24 Q244.569 117.24 246.06 115.956 Q247.552 114.671 247.968 110.738 Q248.383 106.804 248.88 86.6719 L248.88 42.4373 L248.63 25.2912 Q248.466 14.6052 246.351 12.2026 Q244.237 9.8 236.026 9.8 L231.88 9.8 L231.88 4.53 Q242.258 4.87 258.201 4.87 Q267.585 4.87 279.042 4.36 Q286.599 4.02 290.501 4.02 Q310.595 4.02 319.73 11.3433 Q328.78 18.6639 328.78 31.1456 Q328.78 40.2141 323.555 48.5759 Q318.33 56.9378 308.752 62.0139 Q299.173 67.09 288.309 67.09 Q283.332 67.09 275.868 65.5202 L274.21 59.27 Q281.507 61.14 286.397 61.14 Q297.84 61.14 304.555 54.2178 Q311.27 47.2956 311.27 35.2734 Q311.27 23.6656 304.087 17.1578 Q296.905 10.65 282.705 10.65 C282.705 10.65 274.651 10.65 265.102 13.7127 z"/>
</g>

</svg>


+ 0
- 90
docs/xml-docs/data/track.svg View File

@@ -1,90 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="585" height="175" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" style="fill:white"/>

<defs>
<g id="event">
<path d="M0 0v15h-10l10-15z" style="fill:black"/>
</g>
<g id="fade">
<line x1="0" y1="0" x2="0" y2="10" style="stroke-width:0.5;stroke:white"/>
<line x1="-1" y1="0" x2="-1" y2="10" style="stroke-width:0.5;stroke:white"/>
<line x1="-3" y1="0" x2="-3" y2="10" style="stroke-width:0.8;stroke:white"/>
<line x1="-6" y1="0" x2="-6" y2="10" style="stroke-width:1.2;stroke:white"/>
<line x1="-10" y1="0" x2="-10" y2="10" style="stroke-width:2;stroke:white"/>
<line x1="-16" y1="0" x2="-16" y2="10" style="stroke-width:3;stroke:white"/>
<line x1="-24" y1="0" x2="-24" y2="10" style="stroke-width:4;stroke:white"/>
</g>
<g id="break">
<path d="m0 0l5-10l10 0l-5 10l4 0l-5 10l-10 0l5-10l-4 0z" style="fill:white;stroke:none"/>
</g>
</defs>

<g transform="translate(0,105)">
<rect width="580" height="15" style="fill:darkblue;stroke:black;stroke-width:5"/>
<use xlink:href="#fade" transform="translate(582.5,-2.5) scale(2,2.1)"/>

<rect x="100" y="-100" width="480" height="10" style="fill:darkred;stroke:black;stroke-width:3"/>
<use xlink:href="#fade" transform="translate(581.5,-101.5) scale(1.3,1.4)"/>

<path transform="translate(87 0)" d="m0 2l12 0l0-100l18 0l0 6l-8 0l0 106l-23 0z" style="fill:darkred;stroke:black;stroke-width:2.5"/>

<use xlink:href="#event" transform="translate(20,16)"/>
<text x="5" y="46">FOP 0.20.2</text>
<text x="5" y="56" style="font-size:8;color:grey">29th Sept 2001</text>

<use xlink:href="#event" transform="translate(100,16)"/>
<text x="90" y="46">branch</text>
<text x="90" y="56" style="font-size:8;color:grey">"fop-0_20_2-maintain"</text>
<text x="90" y="65" style="font-size:8;color:grey">22nd Oct 2001</text>

<use xlink:href="#event" transform="translate(150,-89)"/>
<text x="140" y="-59">FOP 0.20.3</text>
<text x="140" y="-49" style="font-size:8;color:grey">4th March 2002</text>

<use xlink:href="#event" transform="translate(240,-89)"/>
<text x="230" y="-59">FOP 0.20.4</text>
<text x="230" y="-49" style="font-size:8;color:grey">12th June 2002</text>

<use xlink:href="#event" transform="translate(330,-89)"/>
<text x="320" y="-59">FOP 0.20.5</text>
<text x="320" y="-49" style="font-size:8;color:grey">TBA</text>

<use xlink:href="#break" transform="translate(380,-94)"/>

<use xlink:href="#break" transform="translate(260,8) scale(1.3)"/>
<text x="240" y="40">redesign</text>

<use xlink:href="#event" transform="translate(400,16)"/>
<text x="390" y="46">FOP 1.0DR1</text>
<text x="390" y="56" style="font-size:8;color:grey"></text>

</g>

<!--
<g id="legend" transform="translate(5,195)">
<use xlink:href="#event" transform="translate(10,0)"/>
<text x="15" y="12">Event</text>
</g>
-->

</svg>


+ 0
- 50
docs/xml-docs/fop.xml View File

@@ -1,50 +0,0 @@
<?xml version="1.0"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<book title="FOP XSL-FO documentation" copyright="1999-2002 The Apache Software Foundation">
<external href="http://xml.apache.org/" label="Home"/>
<separator/>
<page id="index" label="About FOP" source="fop/readme.xml"/>
<page id="news" label="News" source="fop/news.xml"/>
<page id="status" label="Status" source="fop/status.xml"/>
<page id="download" label="Download" source="fop/download.xml"/>
<page id="relnotes" label="Release Notes" source="fop/relnotes.xml"/>
<page id="gethelp" label="How to get Help" source="fop/gethelp.xml"/>
<separator/>
<page id="running" label="Running FOP" source="fop/running.xml"/>
<page id="embedding" label="Embedding" source="fop/embedding.xml"/>
<page id="output" label="Output Formats" source="fop/output.xml"/>
<page id="implemented" label="Features" source="fop/implemented.xml"/>
<page id="todo" label="TODO" source="fop/todo.xml"/>
<page id="limitations" label="Limitations" source="fop/limitations.xml"/>
<page id="examples" label="Examples" source="fop/examples.xml"/>
<separator/>
<page id="svg" label="SVG" source="fop/svg.xml"/>
<page id="extensions" label="Extensions" source="fop/extensions.xml"/>
<page id="fonts" label="Fonts" source="fop/fonts.xml"/>
<page id="config" label="Configuration" source="fop/configuration.xml"/>
<separator/>
<external href="design/index.html" label="NEW DESIGN"/>
<page id="involved" label="Getting involved" source="fop/involved.xml"/>
<page id="compiling" label="Compiling" source="fop/compiling.xml"/>
<page id="testing" label="Testing" source="fop/testing.xml"/>
<separator/>
<faqs id="faq" label="FAQ" source="fop/faq.xml"/>
<page id="bugs" label="Bugs" source="fop/bugs.xml"/>
<page id="resources" label="Resources" source="fop/resources.xml"/>
<page id="license" label="License" source="fop/license.xml"/>
</book>

+ 0
- 9
docs/xml-docs/readme View File

@@ -1,9 +0,0 @@
Fop documentation (xml version)

The files in these directory contain the Fop documentation as xml files.
The directory xml-docs/fop is a mirror of the files in the cvs repository
modul 'xml-site' /sources/fop. These files are used to create the html
documentation on xml.apache.org.

Use the html target in the main build script in the xml-fop root directory.
You can create a pdf file containing the complete Fop documentation.

+ 0
- 319
docs/xml-docs/xml2pdf.xsl View File

@@ -1,319 +0,0 @@
<?xml version="1.0"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<!-- XSLT stylesheet to convert the Fop documentation collected in one xml file into a fo file
for use in FOP

TBD: - The faq doesn't show in the content
- check why margin-bottom on the page with properties is too large
- check why keep-next not only doesn't work, but leads to repeating already printed lines
- make lines containing only code look nicer (smaller line height)
- replace bullets in ordered lists with numbers
- correct the hack replacing nbsp with '-'
- handle the links correctly which have been external in the html doc and are now internal

-->

<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
>

<xsl:template match ="/">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

<!-- defines page layout -->
<fo:layout-master-set>

<fo:simple-page-master master-name="simple"
page-height="29.7cm"
page-width="21cm"
margin-top="1.5cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="3cm"/>
<fo:region-before extent="1.5cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="simple">
<fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end"
font-size="10pt"
font-family="serif"
line-height="14pt" >
FOP documentation - p. <fo:page-number/>
</fo:block>
</fo:static-content>

<fo:flow flow-name="xsl-region-body">


<fo:block font-size="18pt"
font-family="sans-serif"
line-height="24pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center">
FOP - an xsl:fo renderer
</fo:block>


<!-- generates table of contents and puts it into a table -->

<fo:block font-size="14pt"
font-family="sans-serif"
line-height="18pt"
space-after.optimum="10pt"
font-weight="bold"
start-indent="15pt">
Content
</fo:block>

<fo:table>
<fo:table-column column-width="1cm"/>
<fo:table-column column-width="15cm"/>
<fo:table-body font-size="12pt"
line-height="16pt"
font-family="sans-serif">
<xsl:for-each select="//s1">
<fo:table-row>
<fo:table-cell>
<fo:block text-align="end" >
<xsl:number value="position()" format="1"/>)
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="start" >
<fo:basic-link color="blue">
<xsl:attribute name="internal-destination">
<xsl:value-of select="translate(.,' ),-.(','____')"/>
</xsl:attribute>
<xsl:value-of select="@title"/>
</fo:basic-link>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>


<xsl:apply-templates select="documentation"/>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>

<!-- s1 -->
<xsl:template match ="s1">
<fo:block font-size="18pt"
font-family="sans-serif"
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>
<xsl:attribute name="ref-id">
<xsl:value-of select="translate(.,' ),-.(','____')"/>
</xsl:attribute>
<xsl:value-of select="@title"/>
</fo:block>
<xsl:apply-templates/>
</xsl:template>

<!-- s2 -->
<xsl:template match ="s2">
<fo:block font-size="16pt"
font-family="sans-serif"
line-height="20pt"
space-before.optimum="15pt"
space-after.optimum="12pt"
text-align="center"
padding-top="3pt"
>
<xsl:value-of select="@title"/>
</fo:block>
<xsl:apply-templates/>
</xsl:template>

<!-- s3 -->
<xsl:template match ="s3">
<fo:block font-size="14pt"
font-family="sans-serif"
line-height="18pt"
space-before.optimum="10pt"
space-after.optimum="9pt"
text-align="start"
padding-top="3pt">
<xsl:value-of select="@title"/>
</fo:block>
<xsl:apply-templates/>
</xsl:template>

<!-- p [not(code)] -->
<xsl:template match ="p">
<fo:block font-size="11pt"
font-family="sans-serif"
line-height="13pt"
space-after.optimum="3pt"
space-before.optimum="3pt"
text-align="justify">
<xsl:apply-templates/>
</fo:block>
</xsl:template>

<!-- p + code
<xsl:template match ="p[code]">
<fo:block font-size="11pt"
font-family="sans-serif"
line-height="11pt"
space-after.optimum="0pt"
space-before.optimum="0pt"
text-align="start">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
-->

<!-- faqs -->
<xsl:template match ="faqs">
<fo:block font-size="18pt"
font-family="sans-serif"
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>
<xsl:attribute name="ref-id">
<xsl:value-of select="translate(.,' ),-.(','____')"/>
</xsl:attribute>
<xsl:value-of select="@title"/>
</fo:block>
<xsl:apply-templates/>
</xsl:template>


<!-- faq -->
<xsl:template match ="faq">
<xsl:apply-templates/>
</xsl:template>

<!-- q in faq -->
<xsl:template match ="q">
<fo:block font-size="11pt"
font-family="sans-serif"
line-height="13pt"
space-after.optimum="3pt"
space-before.optimum="3pt"
text-align="justify">
<xsl:apply-templates/>
</fo:block>
</xsl:template>

<!-- a in faq -->
<xsl:template match ="a">
<xsl:apply-templates/>
</xsl:template>


<!-- jump (links) -->
<xsl:template match ="*/jump">
<fo:basic-link color="blue" external-destination="{@href}">
<xsl:apply-templates/>
</fo:basic-link>
</xsl:template>


<!-- code -->
<xsl:template match ="*/code">
<fo:inline font-size="10pt"
font-family="Courier">
<xsl:apply-templates/>
</fo:inline>
</xsl:template>


<!-- ul (unordered list) -->
<xsl:template match ="ul">
<fo:list-block start-indent="1cm"
provisional-distance-between-starts="12pt"
font-family="sans-serif"
font-size="11pt"
line-height="11pt">
<xsl:apply-templates/>
</fo:list-block>
</xsl:template>


<!-- ol (ordered list) -->
<xsl:template match ="ol">
<fo:list-block start-indent="1cm"
provisional-distance-between-starts="12pt"
font-family="sans-serif"
font-size="11pt"
line-height="11pt">
<xsl:apply-templates/>
</fo:list-block>
</xsl:template>


<!-- li (list item) in unordered list -->
<xsl:template match ="ul/li">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block><fo:inline font-family="Symbol">&#183;</fo:inline></fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block space-after.optimum="4pt"
text-align="justify"
padding-top="3pt">
<xsl:apply-templates/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:template>


<!-- li (list item) in ordered list -->
<xsl:template match ="ol/li">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block>
<xsl:number level="multiple" count="li" format="1"/>)
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block space-after.optimum="4pt"
text-align="justify"
padding-top="3pt">
<xsl:apply-templates/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:template>

<!-- end body -->

</xsl:stylesheet>

+ 0
- 44
docs/xml-docs/xml2xml.xsl View File

@@ -1,44 +0,0 @@
<?xml version="1.0"?>
<!--
Copyright 1999-2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:template match ="/">
<documentation>
<xsl:copy-of select="document('fop/readme.xml')"/>
<xsl:copy-of select="document('fop/download.xml')"/>
<xsl:copy-of select="document('fop/running.xml')"/>
<xsl:copy-of select="document('fop/implemented.xml')"/>
<xsl:copy-of select="document('fop/limitations.xml')"/>
<xsl:copy-of select="document('fop/bugs.xml')"/>
<xsl:copy-of select="document('fop/examples.xml')"/>
<xsl:copy-of select="document('fop/configuration.xml')"/>
<xsl:copy-of select="document('fop/fonts.xml')"/>
<xsl:copy-of select="document('fop/extensions.xml')"/>
<xsl:copy-of select="document('fop/compiling.xml')"/>
<xsl:copy-of select="document('fop/embedding.xml')"/>
<xsl:copy-of select="document('fop/involved.xml')"/>
<xsl:copy-of select="document('fop/architecture.xml')"/>
<xsl:copy-of select="document('fop/faq.xml')"/>
<xsl:copy-of select="document('fop/resources.xml')"/>
<xsl:copy-of select="document('fop/license.xml')"/>
</documentation>
</xsl:template>

</xsl:stylesheet>



+ 0
- 10371
docs/xslfoRef.pdf
File diff suppressed because it is too large
View File


docs/xml2pdf.xsl → examples/fo/fo-reference/xml2pdf.xsl View File


docs/xslfoRef.xml → examples/fo/fo-reference/xslfoRef.xml View File


Loading…
Cancel
Save