r297 - in zope-attachmentfield/branches/upstream/current: . Extensions converters converters/MSExcel converters/MSExcel/win32 converters/MSPowerpoint converters/MSPowerpoint/win32 converters/MSWord converters/MSWord/win32 converters/MSWord/win32/bin converters/MSWord/win32/lib converters/MSWord/win32/lib/pkgconfig converters/MSWord/win32/manifest converters/MSWord/win32/share converters/MSWord/win32/share/wv converters/MSWord/win32/share/wv/patterns converters/MSWord/win32/share/wv/wingdingfont converters/OpenOffice converters/OpenOffice/sx2ml converters/RTF converters/RTF/win32 converters/pdf converters/pdf/win32 doc i18n interfaces skins/attachmentfield skins/attachmentfield/sample tests tests/input www

Jérémy Bobbio lunar-guest at costa.debian.org
Fri Oct 13 18:33:32 UTC 2006


Author: lunar-guest
Date: 2006-10-13 18:33:28 +0000 (Fri, 13 Oct 2006)
New Revision: 297

Added:
   zope-attachmentfield/branches/upstream/current/.cvsignore
   zope-attachmentfield/branches/upstream/current/FlexStorage.py
   zope-attachmentfield/branches/upstream/current/converters/
   zope-attachmentfield/branches/upstream/current/converters/MSExcel/
   zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/
   zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/COPYING
   zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/README
   zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/ppthtml.exe
   zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/xlhtml.exe
   zope-attachmentfield/branches/upstream/current/converters/MSPowerpoint/
   zope-attachmentfield/branches/upstream/current/converters/MSPowerpoint/win32/
   zope-attachmentfield/branches/upstream/current/converters/MSPowerpoint/win32/ppthtml.exe
   zope-attachmentfield/branches/upstream/current/converters/MSWord/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/freetype6.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/iconv.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/jpeg62.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libiconv2.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libplot2.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libpng12.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libwmf7.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libwv2.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libxml2.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvAbw
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvCleanLatex
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvConvert.exe
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDVI
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDocBook
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvHtml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvLatex
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvMime
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPDF
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPS
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvRTF.exe
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvSummary.exe
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvText
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvVersion.exe
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvWare.exe
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvWml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/zlib1.dll
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/lib/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/lib/pkgconfig/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/lib/pkgconfig/wv-1.0.pc
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/manifest/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/manifest/wv-1.0.2-bin.mft
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/manifest/wv-1.0.2-bin.ver
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/100.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/101.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/102.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/103.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/104.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/105.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/106.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/107.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/108.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/109.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/110.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/111.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/112.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/113.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/114.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/115.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/116.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/117.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/118.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/119.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/120.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/121.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/122.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/123.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/124.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/125.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/126.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/127.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/128.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/129.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/130.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/131.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/132.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/133.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/134.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/135.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/136.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/137.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/138.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/139.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/14.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/140.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/141.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/142.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/143.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/144.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/145.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/146.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/147.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/148.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/149.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/15.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/150.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/151.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/152.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/153.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/154.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/155.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/156.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/157.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/158.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/159.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/16.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/160.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/161.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/162.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/163.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/164.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/165.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/166.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/167.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/168.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/169.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/17.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/170.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/171.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/172.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/173.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/174.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/175.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/176.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/177.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/178.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/179.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/18.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/180.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/181.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/182.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/183.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/184.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/185.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/186.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/187.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/188.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/189.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/19.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/190.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/191.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/192.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/193.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/194.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/195.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/196.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/197.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/198.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/199.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/20.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/200.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/201.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/202.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/203.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/204.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/205.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/21.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/22.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/23.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/24.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/25.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/26.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/27.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/28.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/29.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/30.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/31.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/32.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/33.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/34.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/35.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/36.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/37.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/38.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/39.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/40.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/41.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/42.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/43.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/44.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/45.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/46.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/47.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/48.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/49.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/50.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/51.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/52.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/53.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/54.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/55.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/56.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/57.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/58.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/59.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/60.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/61.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/62.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/63.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/64.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/65.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/66.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/67.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/68.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/69.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/70.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/71.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/72.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/73.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/74.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/75.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/76.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/77.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/78.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/79.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/80.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/81.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/82.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/83.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/84.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/85.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/86.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/87.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/88.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/89.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/90.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/91.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/92.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/93.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/94.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/95.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/96.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/97.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/98.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/99.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/battributes.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/bdeleted.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/bnewlytyped.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/clear.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/columnbreak.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/commentbegin.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/commentend.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/deleted.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/doccommentb.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/doccommente.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/documentend.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/eattributes.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/edeleted.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/endnotebegin.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/endnoteend.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/enewlytyped.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/footnotebegin.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/footnoteend.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/pagebreak.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendcolumn.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendcontinous.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendeven.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendnewpage.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendodd.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/wmf.jpg
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/100.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/101.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/102.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/103.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/104.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/105.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/106.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/107.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/108.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/109.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/110.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/111.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/112.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/113.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/114.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/115.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/116.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/117.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/118.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/119.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/120.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/121.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/122.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/123.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/124.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/125.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/126.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/127.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/128.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/129.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/130.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/131.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/132.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/133.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/134.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/135.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/136.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/137.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/138.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/139.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/140.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/141.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/142.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/143.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/144.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/145.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/146.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/147.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/148.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/149.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/150.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/151.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/152.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/153.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/154.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/155.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/156.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/157.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/158.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/159.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/160.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/161.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/162.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/163.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/164.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/165.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/166.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/167.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/168.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/169.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/170.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/171.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/172.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/173.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/174.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/175.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/176.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/177.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/178.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/179.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/180.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/181.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/182.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/183.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/184.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/185.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/186.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/187.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/188.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/189.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/190.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/191.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/192.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/193.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/194.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/195.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/196.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/197.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/198.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/199.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/200.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/201.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/202.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/203.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/204.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/205.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/206.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/207.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/208.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/209.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/210.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/211.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/212.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/213.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/214.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/215.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/216.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/217.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/218.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/219.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/220.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/221.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/222.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/223.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/224.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/225.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/226.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/227.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/228.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/229.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/230.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/231.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/232.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/233.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/234.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/235.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/236.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/237.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/238.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/239.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/240.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/241.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/242.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/243.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/244.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/245.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/246.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/247.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/248.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/249.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/250.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/251.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/252.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/253.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/254.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/255.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/35.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/36.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/37.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/38.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/39.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/40.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/41.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/42.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/43.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/44.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/45.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/46.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/47.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/48.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/49.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/50.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/51.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/52.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/53.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/54.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/55.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/56.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/57.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/58.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/59.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/60.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/61.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/62.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/63.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/64.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/65.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/66.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/67.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/68.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/69.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/70.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/71.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/72.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/73.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/74.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/75.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/76.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/77.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/78.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/79.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/80.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/81.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/82.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/83.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/84.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/85.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/86.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/87.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/88.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/89.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/90.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/91.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/92.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/93.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/94.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/95.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/96.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/97.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/98.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/99.gif
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvAbw.xml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvCleanLaTeX.xml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvConfig.xml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvDocbook.xml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvHtml.xml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvLaTeX.xml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvText.xml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvWml.xml
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.dtd
   zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.xml
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/README.txt
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/common.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/global_document.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_html.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_wml.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/palm.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_header.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_inlined.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_mapping.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_cells.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_columns.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_rows.xsl
   zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_wml.xsl
   zope-attachmentfield/branches/upstream/current/converters/RTF/
   zope-attachmentfield/branches/upstream/current/converters/RTF/win32/
   zope-attachmentfield/branches/upstream/current/converters/RTF/win32/README.orig
   zope-attachmentfield/branches/upstream/current/converters/RTF/win32/readme.txt
   zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.1
   zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.exe
   zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.html
   zope-attachmentfield/branches/upstream/current/converters/pdf/
   zope-attachmentfield/branches/upstream/current/converters/pdf/ANNOUNCE
   zope-attachmentfield/branches/upstream/current/converters/pdf/CHANGES
   zope-attachmentfield/branches/upstream/current/converters/pdf/COPYING
   zope-attachmentfield/branches/upstream/current/converters/pdf/INSTALL
   zope-attachmentfield/branches/upstream/current/converters/pdf/README
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdffonts.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdffonts.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdfimages.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdfimages.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdfinfo.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdfinfo.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdftops.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdftops.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdftotext.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/pdftotext.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/sample-xpdfrc
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/ANNOUNCE
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/CHANGES
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/COPYING
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/INSTALL
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/README
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdffonts.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdffonts.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfimages.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfimages.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfinfo.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfinfo.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftops.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftops.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftotext.exe
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftotext.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/sample-xpdfrc
   zope-attachmentfield/branches/upstream/current/converters/pdf/win32/xpdfrc.txt
   zope-attachmentfield/branches/upstream/current/converters/pdf/xpdfrc.txt
   zope-attachmentfield/branches/upstream/current/doc/HOWTO
   zope-attachmentfield/branches/upstream/current/i18n/attachmentfield-cs.po
   zope-attachmentfield/branches/upstream/current/interfaces/.cvsignore
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form_backend.cpy
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form_backend.cpy.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/sample/
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/sample/contentDispositionAttachment.py
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/sample/contentDispositionInline.py
   zope-attachmentfield/branches/upstream/current/tests/.cvsignore
Modified:
   zope-attachmentfield/branches/upstream/current/ABOUT
   zope-attachmentfield/branches/upstream/current/AttachmentField.py
   zope-attachmentfield/branches/upstream/current/AttachmentFieldTool.py
   zope-attachmentfield/branches/upstream/current/AttachmentHandler.py
   zope-attachmentfield/branches/upstream/current/AttachmentService.py
   zope-attachmentfield/branches/upstream/current/AttachmentWidget.py
   zope-attachmentfield/branches/upstream/current/AudioAttachment.py
   zope-attachmentfield/branches/upstream/current/AutocadAttachment.py
   zope-attachmentfield/branches/upstream/current/CHANGES
   zope-attachmentfield/branches/upstream/current/CompressedAttachment.py
   zope-attachmentfield/branches/upstream/current/DummyAttachment.py
   zope-attachmentfield/branches/upstream/current/Extensions/Install.py
   zope-attachmentfield/branches/upstream/current/FlashAttachment.py
   zope-attachmentfield/branches/upstream/current/HTMLAttachment.py
   zope-attachmentfield/branches/upstream/current/ImageAttachment.py
   zope-attachmentfield/branches/upstream/current/Log.py
   zope-attachmentfield/branches/upstream/current/MSAccessAttachment.py
   zope-attachmentfield/branches/upstream/current/MSExcelAttachment.py
   zope-attachmentfield/branches/upstream/current/MSPowerpointAttachment.py
   zope-attachmentfield/branches/upstream/current/MSProjectAttachment.py
   zope-attachmentfield/branches/upstream/current/MSWordAttachment.py
   zope-attachmentfield/branches/upstream/current/OO2Attachment.py
   zope-attachmentfield/branches/upstream/current/OOAttachment.py
   zope-attachmentfield/branches/upstream/current/PDFAttachment.py
   zope-attachmentfield/branches/upstream/current/PhotoshopAttachment.py
   zope-attachmentfield/branches/upstream/current/PortalTransformsAttachment.py
   zope-attachmentfield/branches/upstream/current/RTFAttachment.py
   zope-attachmentfield/branches/upstream/current/TarGzAttachment.py
   zope-attachmentfield/branches/upstream/current/TextAttachment.py
   zope-attachmentfield/branches/upstream/current/VideoAttachment.py
   zope-attachmentfield/branches/upstream/current/VisioAttachment.py
   zope-attachmentfield/branches/upstream/current/ZipAttachment.py
   zope-attachmentfield/branches/upstream/current/__init__.py
   zope-attachmentfield/branches/upstream/current/cvs2cl.pl
   zope-attachmentfield/branches/upstream/current/doc/FAQ
   zope-attachmentfield/branches/upstream/current/doc/SCREENSHOTS
   zope-attachmentfield/branches/upstream/current/doc/icon.png
   zope-attachmentfield/branches/upstream/current/global_symbols.py
   zope-attachmentfield/branches/upstream/current/i18n/attachmentfield.pot
   zope-attachmentfield/branches/upstream/current/i18n/attachmentfield_fr.po
   zope-attachmentfield/branches/upstream/current/interfaces/__init__.py
   zope-attachmentfield/branches/upstream/current/interfaces/attachmentfield.py
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/access.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/access_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachment_download.py
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form.cpt
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form.cpt.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_preview.gif
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_preview.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_unindexed.gif
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_unindexed.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_widget.js
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_widget.pt
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/audio.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/audio_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/autocad.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/autocad_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/excel.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/excel_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/html.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/html_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/image.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/image_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/msproject.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/msproject_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/oo.gif
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/oo.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/oo_small.gif
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/oo_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/pdf.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/pdf_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/powerpoint.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/powerpoint_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/preview_popup.pt
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/text.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/text_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/unknown.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/unknown_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/video.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/video_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/visio.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/visio_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/word.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/word_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/zip.gif.metadata
   zope-attachmentfield/branches/upstream/current/skins/attachmentfield/zip_small.gif.metadata
   zope-attachmentfield/branches/upstream/current/tests/ArcheSiteTestCase.py
   zope-attachmentfield/branches/upstream/current/tests/ArchetypesTestCase.py
   zope-attachmentfield/branches/upstream/current/tests/IAttachmentField.py
   zope-attachmentfield/branches/upstream/current/tests/__init__.py
   zope-attachmentfield/branches/upstream/current/tests/common.py
   zope-attachmentfield/branches/upstream/current/tests/framework.py
   zope-attachmentfield/branches/upstream/current/tests/input/excel.xls
   zope-attachmentfield/branches/upstream/current/tests/input/pdb.doc
   zope-attachmentfield/branches/upstream/current/tests/input/rest1.rst
   zope-attachmentfield/branches/upstream/current/tests/input/rest1.tgz
   zope-attachmentfield/branches/upstream/current/tests/input/rest2.rst
   zope-attachmentfield/branches/upstream/current/tests/input/rest3.rst
   zope-attachmentfield/branches/upstream/current/tests/input/tool.gif
   zope-attachmentfield/branches/upstream/current/tests/input/word.doc
   zope-attachmentfield/branches/upstream/current/tests/runalltests.py
   zope-attachmentfield/branches/upstream/current/tests/testSkeletonArchetypesTest.py
   zope-attachmentfield/branches/upstream/current/tests/test_classgen.py
   zope-attachmentfield/branches/upstream/current/tests/test_fields.py
   zope-attachmentfield/branches/upstream/current/tests/utils.py
   zope-attachmentfield/branches/upstream/current/version.txt
   zope-attachmentfield/branches/upstream/current/www/AttachmentService.jpg
   zope-attachmentfield/branches/upstream/current/www/manage_information.pt
   zope-attachmentfield/branches/upstream/current/www/manage_testIndexing.pt
Log:
Load /tmp/tmp.loYcB17825/zope-attachmentfield-1.3.10 into
zope-attachmentfield/branches/upstream/current.


Added: zope-attachmentfield/branches/upstream/current/.cvsignore
===================================================================
--- zope-attachmentfield/branches/upstream/current/.cvsignore	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/.cvsignore	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1 @@
+*.pyc


Property changes on: zope-attachmentfield/branches/upstream/current/ABOUT
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/AttachmentField.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/AttachmentField.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/AttachmentField.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23491 $"
+__version__ = "$Revision: 30579 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: AttachmentField.py 23491 2006-05-15 13:44:47Z glenfant $
+# $Id: AttachmentField.py 30579 2006-09-19 13:58:17Z manuco $
 __docformat__ = 'restructuredtext'
 
 import urllib
@@ -59,6 +59,8 @@
 from Products.AttachmentField.interfaces.attachmentfield import IAttachmentField
 import AttachmentHandler
 
+from FlexStorage import FlexStorage
+
 ##DEFAULT_ID = "attach"
 ##ZAA_READ_PERMISSION = Permissions.access_contents_information
 ##ZAA_WRITE_PERMISSION = Permissions.change_images_and_files
@@ -73,13 +75,39 @@
 _indexed_ = "_%s_AF_indexed"
 _preview_ = "_%s_AF_preview"
 
+
+
+def getContentTypesWithAttachmentFields(instance):
+    """
+        Look for all content types that use AttachmentField, and return
+        a dictionnary with
+        keys : all content type names that use AttachmentField
+        values : a list of all fields name that are AttachementField in
+            this content type
+    """
+    archetypeTool = getToolByName(instance, 'archetype_tool')
+    types = archetypeTool.listRegisteredTypes()
+    result = {}
+    for type in types:
+        fields = type["schema"].fields()
+        typeName = type["name"]
+        for field in fields:
+            if isinstance(field, AttachmentField):
+                if typeName in result.keys():
+                    result[typeName].append(field.getName())
+                else:
+                    result[typeName] = [field.getName()]
+    return result
+
+
+
 class AttachmentField(Field.FileField):
     """
     A base class to handle file fields. This is based on Archetypes.
     When the file is uploaded, it's stored, as the File field, as a File class.
 
     See FileField.set() :
-    
+
         value = File(self.getName(), '', value, mimetype)
         setattr(value, 'filename', f_name or self.getName())
         ObjectField.set(self, instance, value, **kwargs)
@@ -88,6 +116,13 @@
     __implements__ = (Field.FileField.__implements__, IAttachmentField)
     security = ClassSecurityInfo()
 
+
+    _properties = Field.FileField._properties.copy()
+    _properties.update({
+            "storage": FlexStorage()
+        })
+
+
     def get(self, instance, mimetype = None, **kwargs):
         """Get value. If mime_type is 'text/plain', we retreive the
         indexed string. If it's text/html, we get the preview back.
@@ -108,109 +143,29 @@
         self._reset(instance)
         return Field.FileField.set(self, instance, value, **kwargs)
 
-    security.declarePrivate('download')
-    def download(self, instance, REQUEST=None, RESPONSE=None):
-        """Use storage download method or field one"""
-        
-        obj = self.get(instance)
-        
-        if obj is not None and hasattr(aq_base(obj), 'download'):
-            return obj.download(REQUEST)
-        else:
-            return Field.FileField.download(self, instance, REQUEST, RESPONSE)
-
-##    def _process_input(self, value, default=None,
-##                       mimetype=None, **kwargs):
-##        # We also need to handle the case where there is a baseUnit
-##        # for this field containing a valid set of data that would
-##        # not be reuploaded in a subsequent edit, this is basically
-##        # migrated from the old BaseObject.set method
-##        from ZPublisher.HTTPRequest import FileUpload
-##        from ZODB.POSException import ConflictError
-##        if not (isinstance(value, FileUpload) or type(value) is FileType) \
-##          and shasattr(value, 'read') and shasattr(value, 'seek'):
-##            # support StringIO and other file like things that aren't either
-##            # files or FileUploads
-##            value.seek(0) # rewind
-##            kwargs['filename'] = getattr(value, 'filename', '')
-##            mimetype = getattr(value, 'mimetype', None)
-##            value = value.read()
-##        if isinstance(value, Pdata):
-##            # Pdata is a chain of Pdata objects but we can easily use str()
-##            # to get the whole string from a chain of Pdata objects
-##            value = str(value)
-##        if type(value) in Field.STRING_TYPES:
-##            filename = kwargs.get('filename', '')
-##            if mimetype is None:
-##                mimetype, enc = guess_content_type(filename, value, mimetype)
-##            if not value:
-##                return default, mimetype, filename
-##            return value, mimetype, filename
-##        elif IBaseUnit.isImplementedBy(value):
-##            return value.getRaw(), value.getContentType(), value.getFilename()
-
-##        value = aq_base(value)
-
-##        if ((isinstance(value, FileUpload) and value.filename != '') or
-##              (type(value) is FileType and value.name != '')):
-##            filename = ''
-##            if isinstance(value, FileUpload) or shasattr(value, 'filename'):
-##                filename = value.filename
-##            if isinstance(value, FileType) or shasattr(value, 'name'):
-##                filename = value.name
-##            # Get only last part from a 'c:\\folder\\file.ext'
-##            filename = filename.split('\\')[-1]
-##            value.seek(0) # rewind
-##            value = value.read()
-##            if mimetype is None:
-##                mimetype, enc = guess_content_type(filename, value, mimetype)
-##            size = len(value)
-##            if size == 0:
-##                # This new file has no length, so we keep the orig
-##                return default, mimetype, filename
-##            else:
-##                return value, mimetype, filename
-
-##        # wrap VirtualFile object
-##        if hasattr(value, '__of__'):
-##            value = value.__of__(value)
-##        if isinstance(value, File):
-##            # OFS.Image.File based
-##            filename = value.filename
-##            mimetype = value.content_type
-##            data = value.data
-##            if len(data) == 0:
-##                return default, mimetype, filename
-##            else:
-##                return data, mimetype, filename
-
-##        klass = getattr(value, '__class__', None)
-##        raise FileFieldException('Value is not File or String (%s - %s)' %
-##                                 (type(value), klass))
-
     security.declarePublic("getFilename")
     def getFilename(self, instance, fromBaseUnit=True):
         """
         getFilename(self, instance, ) => return the filename
         We split to return only a file name and not a whole path.
         """
-        
+
         # Get object or data
         accessor = self.getAccessor(instance)
-        
+
         if self.isEmpty(instance) or accessor is None:
             return ''
-        
+
         obj = accessor()
         fn = ''
-        
+
         if hasattr(obj.aq_explicit, 'filename'):
             fn = obj.filename
         elif hasattr(obj.aq_explicit, 'getFilename'):
             fn = obj.getFilename()
         else:
             fn = Field.FileField.getFilename(self, instance, fromBaseUnit)
-            
+
         fn = string.split(fn, '/')[-1]
         fn = string.split(fn, '\\')[-1]
         return fn
@@ -227,36 +182,6 @@
             return self.default_content_type
         return str(mimetype)
 
-
-##    def getContentType(self, instance, fromBaseUnit=True):
-##        """
-##        getContentType(self, instance, fromBaseUnit=True) => return the content type
-##        """
-##        # Get object or data
-##        accessor = self.getAccessor(instance)
-
-##        # Empty object : we use the default content type
-##        if self.isEmpty(instance) or accessor is None:
-##            Log(LOG_DEBUG, "returning defaut content type", self.default_content_type)
-##            return self.default_content_type
-
-##        # Look at the underlying structure
-##        obj = accessor()
-##        if hasattr(obj.aq_explicit, 'mimetype'):
-##            ret = obj.mimetype
-##        elif hasattr(obj.aq_explicit, 'getContentType'):
-##            ret = obj.getContentType()
-##        else:
-##            ret = Field.FileField.getContentType(self, instance, fromBaseUnit)
-##        Log(LOG_DEBUG, "Mimetype before correction: ", ret)
-
-##        # Correct the type we guessed if needed
-##        if ret in ("application/octet-stream", 'text/x-unknown-content-type', ):
-##            ret = self.guessMimeTypeFromContent(instance)
-##        Log(LOG_DEBUG, "After correction, it's...", ret)
-
-##        return ret
-
     def getSize(self, instance):
         """
         getSize(self, instance) => return file size
@@ -352,7 +277,7 @@
 
         # Return it
         return getattr(instance, _preview_ % name, None)
-    
+
     def getIcon(self, instance):
         """
         getIcon(self, instance) => return the underlying file class icon (object)
@@ -393,5 +318,5 @@
     description='Used for storing files with advanced features.',
     )
 
-    
 
+


Property changes on: zope-attachmentfield/branches/upstream/current/AttachmentField.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/AttachmentFieldTool.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/AttachmentFieldTool.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/AttachmentFieldTool.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 30579 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: AttachmentFieldTool.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: AttachmentFieldTool.py 30579 2006-09-19 13:58:17Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -34,6 +34,7 @@
 from OFS.SimpleItem import SimpleItem
 from Products.CMFCore.utils import UniqueObject
 from Globals import InitializeClass
+from zExceptions import BadRequest
 from Products.PageTemplates.PageTemplateFile import PageTemplateFile
 
 # CMF imports
@@ -43,10 +44,16 @@
 
 # Other imports
 import AttachmentService
+import AttachmentField
+import FlexStorage
 
 _www = os.path.join(os.path.dirname(__file__), 'www')
 
-class AttachmentFieldTool(UniqueObject, AttachmentService.AttachmentService):
+class AttachmentFieldTool(
+    UniqueObject,
+    AttachmentService.AttachmentService,
+    PropertyManager,
+):
     """
     AttachmentFieldTool tool
     """
@@ -54,20 +61,135 @@
     id = 'portal_attachment'
     meta_type = 'AttachmentField Tool'
     security = ClassSecurityInfo()
-##    manage_options=(
-##        (
-##        { 'label' : 'Overview'
-##        , 'action' : 'manage_overview'
-##        },
-##        ) + 
-##        ActionProviderBase.manage_options + 
-##        PropertyManager.manage_options + 
-##        SimpleItem.manage_options
-##        )
 
-    #
-    #   ZMI methods
-    #
+    _properties = (
+        {
+            'id'  : 'contentDisposition',
+            'type': 'selection',
+            'mode': 'w',
+            'select_variable' : 'getAvailableContentDisposition',
+        },
+    )
 
-    
+    manage_options = (
+        AttachmentService.AttachmentService.manage_options +
+        PropertyManager.manage_options
+    )
+
+    security.declarePrivate('manage_afterAdd')
+    def manage_afterAdd(self, item, container):
+        return self.migrate()
+
+
+    security.declareProtected(CMFCorePermissions.ManagePortal, "migrate")
+    def migrate(self):
+        """
+            Check that all properties are present and correctly initialized.
+            If not, install them with a safe default value.
+            It is safe to call it multiple times.
+        """
+        checkFor = [
+            ("contentDisposition", self.getAvailableContentDisposition()[0]),
+            ("currentFlexStorageBackend", "AttributeStorage"), ## ZODB
+        ]
+        rValue = ""
+        for attr, default in checkFor:
+            if not hasattr(self, attr):
+                setattr(self, attr, default)
+                rValue += "Added: %s\n" % attr
+        if rValue == "":
+            return "Tool was already up to date."
+        return rValue + "\nTool succesfully updated!"
+
+
+    def getAvailableContentDisposition(self):
+        return [
+            "attachment",
+            "inline"
+        ]
+
+    def getAvailableFlexStorageBackends(self):
+        ## FlexStorage object is not singleton and doesn't hold any properties
+        ## of it's own. It is safe to build on the fly instances without damage.
+        return FlexStorage.FlexStorage().getAvailableFlexStorages()
+
+    def getSample(self, type):
+        sampleLinks = {
+            "attachment": self.absolute_url() + "/sample/contentDispositionAttachment",
+            "inline": self.absolute_url() + "/sample/contentDispositionInline",
+        }
+        return sampleLinks[type]
+
+    def getContentDisposition(self):
+        return self.contentDisposition
+
+    def getCurrentFlexStorageBackend(self):
+        return self.currentFlexStorageBackend
+
+    def setCurrentFlexStorageBackend(self, newStorageName):
+        ## FlexStorage object is not singleton and doesn't hold any properties
+        ## of it's own. It is safe to build on the fly instances without damage.
+        FlexStorage.FlexStorage().changeFlexStorageBackend(
+            self,
+            newStorageName,
+            AttachmentField.getContentTypesWithAttachmentFields(self)
+        )
+
+    def manageDownload(self, context, traverse_subpath):
+        """
+            Manage downlad mechanism (headers, etc)
+        """
+
+        request = context.REQUEST
+        response = request.RESPONSE
+
+        if len(traverse_subpath) != 1:
+            raise BadRequest("Attachment download called with wrong reference.")
+
+        fieldName = traverse_subpath[0]
+        field = context.getField(fieldName)
+
+        if not field:
+            raise BadRequest("Attachment download called on unexistent field: %s" % fieldName)
+        elif hasattr(field, 'getFields'):
+            index = int(request.form.get(name))
+            field = field.getFields()[index + 1]
+
+
+        widget = field.widget
+        if hasattr(widget, "contentDisposition"):
+            if widget.contentDisposition in self.getAvailableContentDisposition():
+                ## disposition is defined by widget
+                disposition = widget.contentDisposition
+            else:
+                raise ValueError(
+                    "contentDisposition %s is not in %s." % (
+                        widget.contentDisposition, self.getAvailableContentDisposition()
+                    )
+                )
+        else:
+            ## default site wide choice
+            disposition = self.getContentDisposition()
+
+        ## We have to force disposition to "attachment" when content type is text/*
+        ## Alexander Limi said:
+        ## Crucially, absolutely NO files with the MIME type text/* should ever be  
+        ## rendered inline, since this opens up for uploading HTML files and using  
+        ## them as spam redirection URLs. Internet Explorer renders anything with  
+        ## text/* as HTML, so it is not sufficient to just block text/html,  
+        ## unfortunately.
+
+        contentType = field.getContentType(context)
+        if contentType.startswith("text/"):
+            disposition = "attachment"
+
+        result = field.download(context, request)
+
+        response.setHeader(
+            'Content-Disposition',
+            '%s; filename="%s"' % (disposition, field.getFilename(context))
+        )
+        return result
+
+
 InitializeClass(AttachmentFieldTool)

Modified: zope-attachmentfield/branches/upstream/current/AttachmentHandler.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/AttachmentHandler.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/AttachmentHandler.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: AttachmentHandler.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: AttachmentHandler.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -74,20 +74,23 @@
     # Instanciate the class
     handler = handler_class()        # We instanciate it
 
-    # Compute the converter and previewer paths
-    index_path = handler.getIndexPath(None, None)
-    preview_path = handler.getPreviewPath(None, None)
-    if index_path:
-        handler.index_program = getConverterProgram(
-            handler.converter_type,
-            index_path,
+    if handler.is_external_conv:
+        # Compute the converter and previewer paths
+        index_path = handler.getIndexPath(None, None)
+        preview_path = handler.getPreviewPath(None, None)
+        if index_path:
+            handler.index_program = getConverterProgram(
+                handler
             )
-    if preview_path:
-        handler.preview_program = getConverterProgram(
-            handler.converter_type,
-            preview_path,
+        if preview_path:
+            handler.preview_program = getConverterProgram(
+                handler
             )
+    else:
+        handler.index_program = None
+        handler.preview_program = None
 
+
     # Store the class
     class_name = handler_class.__name__
     __HANDLERS__.append((class_name, handler, ))
@@ -112,9 +115,9 @@
     # No match. Have to return the dummy handler
     Log(LOG_DEBUG, "No match, we fall back to the dummy handler", dummy)
     return dummy
-        
 
 
+
 class AbstractHandler(Implicit, ):
     """
     CODING INFORMATION : If you create additional methods or properties in ZAbstractAttachment that must
@@ -138,6 +141,8 @@
         "small_icon_file",                      # (string) of the SMALL icon name IN A PLONE SKIN.
         "content_types",                        # List (of strings) of content_types supported by the class
 
+        "is_external_conv",                     # is the converter using an external programm ?
+        "is_working",                           # is the converter producing anything meaningfull ?
         "index_path",                           # Index program relative path
         "index_arguments",                      # Converter program args. File name will be '%s'.
         "index_encoding",                       # Encoding managed by the encoder (output only - input is nonsence as it's most likely binary data!) or None
@@ -155,6 +160,7 @@
     small_icon_file = INVALID_VALUE
     content_types = INVALID_VALUE               # Supported content-types (tuple of strings)
 
+    is_external_conv = INVALID_VALUE
     index_path = INVALID_VALUE
     index_arguments = INVALID_VALUE
     index_encoding = INVALID_VALUE
@@ -164,7 +170,10 @@
     preview_encoding = INVALID_VALUE
     preview_format = INVALID_VALUE
 
+    program_found = False
+    error = False ## if true, gui will display it.
 
+
     __CHECK_INTERFACE__ = 1             # Special attribute to enforce IF checking
 
     #                                                                   #
@@ -210,7 +219,7 @@
 
     def getIndexableValue(self, field, instance):
         """
-        getIndexableValue(self, field, instance) => (possibliy big) string 
+        getIndexableValue(self, field, instance) => (possibliy big) string
         Return the ZCatalog-indexable string for that type.
         """
         Log(LOG_DEBUG, "converting field", field.getName(), self.index_arguments, self.__class__.__name__)
@@ -307,14 +316,14 @@
             f = open(fn, "w+b")
             f.write(content)
             f.close()
-        
+
             # Call converter in the right directory
             Log(LOG_DEBUG, "Calling converter for", filename, "in directory", tempfile.tempdir)
             index = self.callConverter(
                 program,
-                arguments % (fn, ), 
+                arguments % (fn, ),
                 )
-            
+
         finally:
             # Delete attachment file
             if os.path.isfile(fn):
@@ -327,7 +336,7 @@
             if type(encoding) in (type(''), type(u''), ):
                 Log(LOG_DEBUG, "Encoding", encoding)
                 index = index.decode(encoding, "replace")
-                
+
             elif type(encoding) in (type(None),):
                 pass
 
@@ -337,15 +346,15 @@
                         Log(LOG_DEBUG, "Trying encoding", enc)
                         index = index.decode(enc, "replace")
                         break
-                    
+
                     except UnicodeError:
                         Log(LOG_DEBUG, "Encoding", enc, "failed.")
                         pass
 
         # Return the string
         return index
-        
 
+
     #                                                                   #
     #                         HTML PREVIEW SUPPORT                      #
     #                                                                   #
@@ -356,8 +365,8 @@
     _has_body_end = re.compile(r"""</\s*body""", re.I)
     _strip_body_end = re.compile(r"""</\s*body\s*>.*""", re.I | re.S)
     _strip_tags = re.compile(r"""<[^>]+>""", re.I | re.S)
-    
 
+
     def _html_to_text(self, html):
         """crudely convert html to text"""
         Log(LOG_DEBUG, "Stripping html tags")
@@ -374,7 +383,7 @@
         # Regular file size
         Log(LOG_DEBUG, "Stripping style...")
         text = self._strip_style.sub('', text, )
-        
+
         # _strip_body_start regexp may go in infinite loop
         # if there is no body attribute (in certain conditions)
         if self._has_body_start.search(text) is not None:
@@ -416,7 +425,7 @@
         # Check if we can preview
         if self.preview_arguments is None:
             return None
-        
+
         # Call the converter with the proper arguments
         preview = self._convert(
             field,
@@ -426,7 +435,7 @@
             self.preview_encoding,
             )
         Log(LOG_DEBUG, "Getting preview for file", field.getFilename(instance))
-    
+
         # Return the previewable string
         return self._convertOutput(preview, self.preview_format)
 
@@ -457,7 +466,7 @@
         """
         callConverter(self, program_path, arguments = '', report_errors = 1) => convert file using program_path with given arguments.
         Return the output stream of the converter program.
-        
+
         if stdin is given, it is feed into the program. Else, it is ignored.
         if report_errors is true, 2> ~/tempfile is appended at the end of the command line
         """
@@ -478,7 +487,7 @@
             cmd = "%s 2> %s" % (cmd, errfile, )
         else:
             errfile = None
-        
+
         # Actually execute command
         errors = ""
         curdir = os.getcwd()
@@ -488,7 +497,7 @@
             Log(LOG_DEBUG, "We work in", os.getcwd())
             r = os.popen(cmd, "r")
             idx = r.read()
-            
+
         finally:
             # Go back the the current dir
             os.chdir(curdir)
@@ -502,7 +511,7 @@
                 else:
                     errors = f.read()
                     f.close()
-                    
+
             # Remove the temporary directory
             try:
                 for root, dirs, files in os.walk(tmpdir, topdown=False):
@@ -511,7 +520,7 @@
                     for name in dirs:
                         os.rmdir(os.path.join(root, name))
                 os.rmdir(tmpdir)
-                
+
             except:
                 LogException()
                 Log(LOG_NOTICE, "Could not remove temporary stuff in", tmpdir)
@@ -552,6 +561,32 @@
         text = string.strip(text)
         return text
 
+
+    def getGUIIndexProgramCommand(self, field, instance):
+        if not self.is_working:
+            return "<em>unavailable</em>"
+        if not self.is_external_conv:
+            return "<em>internal</em>"
+        elif self.program_found == False:
+            return self.index_path + " " + self.index_arguments + "<br/><strong>not found</strong>"
+        else:
+            return self.index_path + " " + self.index_arguments
+
+    def getGUIPreviewProgramCommand(self, field, instance):
+        if not self.is_working:
+            return "<em>unavailable</em>"
+        if not self.is_external_conv:
+            return "<em>internal</em>"
+        elif self.program_found == False:
+            return self.preview_path + " " + self.preview_arguments + "<br/><strong>not found</strong>"
+        else:
+            return self.preview_path + " " + self.preview_arguments
+
+    def getError(self, field, instance):
+        if self.error:
+            return "error"
+        return ""
+
 #                                                                       #
 #                       External programs interface                     #
 #                                                                       #
@@ -559,15 +594,20 @@
 PACKAGE_HOME = App.Common.package_home(globals())
 if sys.platform == 'win32':
     # Windows platform
-    def getConverterProgram(conv_type, conv_path):
+    def getConverterProgram(converter):
+        conv_type = converter.converter_type
+        conv_path = converter.index_path
+        is_external_conv = converter.is_external_conv
+
         if conv_path is None:
             return None
         if conv_path.lower() == "type":
             return "type"
 
-        program = '"' + os.path.join(PACKAGE_HOME, "converters", conv_type, "win32", conv_path, ) + '"' 
+        program = '"' + os.path.join(PACKAGE_HOME, "converters", conv_type, "win32", conv_path, ) + '"'
         if os.path.isfile(program[1:-1]):
             Log(LOG_DEBUG, "Using '%s' program to convert %s attachments." % (program, conv_type))
+            converter.program_found = True
         else:
             Log(
                 LOG_WARNING,
@@ -576,16 +616,24 @@
                 ),
                 )
             program = None
-            
+            converter.error = True
+
         return program
 
 else:
-    def getConverterProgram(conv_type, conv_path):
+    def getConverterProgram(converter):
+        conv_type = converter.converter_type
+        conv_path = converter.index_path
+        is_external_conv = converter.is_external_conv
         # Unix platform
         import commands
-        if conv_path is None:
+        if not is_external_conv:
             return None         # In case we don't need a program
 
+        if "(internal)" == conv_path or conv_path is None:
+            raise RuntimeError("converter path is invalid, but external conv has been set.")
+
+
         # Try to find the real full path of the program
         program = conv_path
         program = commands.getoutput("which %s" % (program))
@@ -596,8 +644,10 @@
                     conv_path, conv_type,
                     ),
                 )
+            converter.error = True
         else:
             program = string.strip(program)
             Log(LOG_DEBUG, "Using '%s' program to convert %s attachments." % (program, conv_type))
-            
+            converter.program_found = True
+
         return program


Property changes on: zope-attachmentfield/branches/upstream/current/AttachmentHandler.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/AttachmentService.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/AttachmentService.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/AttachmentService.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -21,9 +21,9 @@
 
 Some of this is taken from PlacelessTranslationService's logic.
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25973 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: AttachmentService.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: AttachmentService.py 25973 2006-07-10 08:46:59Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -89,7 +89,15 @@
     def __init__(self, ):
         self._instance_version = ATTACHMENTFIELD_VERSION
 
+    def isListErroneous(self):
+        import AttachmentHandler
 
+        handlers = AttachmentHandler.__HANDLERS__
+        for name, handler in handlers:
+            if handler.error:
+                return True
+        return False
+
     def listHandlerValues(self,):
         """
         listHandlerValues(self,) => List of attachment handlers
@@ -105,16 +113,19 @@
             ("converter_type", "getContentType", ),
             ("icon_file", "getIconFile", ),
             ("small_icon_file", "getSmallIconFile", ),
-            ("content_types", "getContentTypes", ), 
+            ("content_types", "getContentTypes", ),
             ("index_path", "getIndexPath", ),
             ("index_arguments", "getIndexArguments", ),
+            ("index_program_gui", "getGUIIndexProgramCommand", ),
             ("index_encoding", "getIndexEncoding", ),
             ("preview_path", "getPreviewPath", ),
             ("preview_arguments", "getPreviewArguments", ),
             ("preview_encoding", "getPreviewEncoding", ),
             ("preview_format", "getPreviewFormat", ),
+            ("preview_program_gui", "getGUIPreviewProgramCommand", ),
+            ("error", "getError", ),
             )
-        
+
         ret = {}
 
         for name, handler in handlers:
@@ -135,7 +146,9 @@
                     h[pty] = None
             ret[name] = h
 
-        return ret.values()
+        values = ret.values()
+        values.sort(lambda x, y: cmp(x["class"], y["class"]))
+        return values
 
 
     security.declareProtected(view_management_screens, "listAvailableEncodings")
@@ -173,7 +186,7 @@
         filefield = obj.getField('file')
         content_type = string.lower(file.headers['Content-Type'])
         filename = file.filename
-        
+
         # Process what happens
         content = filefield.get(obj)
         filename = filefield.getFilename(obj)
@@ -274,7 +287,7 @@
             index = "%d words." % (
                 len(string.split(index)),
                 )
-                
+
         except:
             s = StringIO.StringIO()
             traceback.print_exc(file = s, )


Property changes on: zope-attachmentfield/branches/upstream/current/AttachmentService.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/AttachmentWidget.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/AudioAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/AudioAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/AudioAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: AudioAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: AudioAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -45,6 +45,9 @@
         "audio/x-mpegurl",
         )
 
+
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None


Property changes on: zope-attachmentfield/branches/upstream/current/AudioAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/AutocadAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/AutocadAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/AutocadAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: AutocadAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: AutocadAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -39,6 +39,8 @@
     small_icon_file = "autocad_small.gif"
     content_types = ('application/acad', 'application/dxf', )
 
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None
@@ -47,7 +49,7 @@
     preview_arguments = None
     preview_encoding = None
     preview_format = None
-    
 
 
+
 AttachmentHandler.registerHandler(AutocadAttachment)


Property changes on: zope-attachmentfield/branches/upstream/current/AutocadAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/CHANGES
===================================================================
--- zope-attachmentfield/branches/upstream/current/CHANGES	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/CHANGES	2006-10-13 18:33:28 UTC (rev 297)
@@ -8,21 +8,46 @@
 * MSWord images support
 
 * Support additional preview for mp3, images, ...
-  
+
 * Add MD5 to check files are not corrupted
 
 * Replace ComputedAttribute by python property() functionnality (Zope 2.8)
 
-1.4 - 2005-06-08
+1.3.10 - 2006-09-19
+====================
+
+* Fix a security hole (inlined text/*)
+
+* Fix SF bug #1542861
+
+1.3.9 - 2006-07-31
 ==================
 
-* Ignore images in MSWord. Added option "-1" to wvWare.exe (2005-06-08 MR)
+* Fix broken installation method (thanks to adf)
 
-* Limit maximum cols and rows for Excel to 100. Configurable in global_symbols.py (2005-06-08 MR)
+1.3.8 - 2006-07-25
+==================
 
-1.3.5 - 2005-05-14
+* introduce the flex storage that allow attachment field to store its content
+  to be stored either in ZODB or with FSS.
+
+1.3.7 - 2006-07-10
 ==================
 
+* fix #1505660 (sourceforge): import statement in OOConverter (2006-06-14 BM)
+
+* add inline (or attachment) view
+
+1.3.6 - 2006-06-08
+==================
+
+* Ignore images in MSWord. Added option "-1" to wvWare.exe (2006-06-08 MR)
+
+* Limit maximum cols and rows for Excel to 100. Configurable in global_symbols.py (2006-06-08 MR)
+
+1.3.5 - 2006-05-14
+==================
+
 * Use of global external editor link and webdav lock (yeah)
 
 * Removed Extenal Editor link (cannot work at field level)
@@ -32,9 +57,9 @@
 1.3.4 - 2006-05-2
 =================
 
-* Add base compatibility with CompoundField product (2005-03-15 ED)
+* Add base compatibility with CompoundField product (2006-03-15 ED)
 
-* Fix lack of permissions when running unit tests (2005-03-15 ED)
+* Fix lack of permissions when running unit tests (2006-03-15 ED)
 
 * Added Photoshop attachment plugin
 
@@ -67,7 +92,7 @@
 
 * Fix an infinite loop which was hanging Zope at 100% CPU
 
-[v1.3RC4 - 20050729] 
+[v1.3RC4 - 20050729]
 
 * Fixing bug in download method of AttachmentField using FileField
   instead of Field.FileField
@@ -75,7 +100,7 @@
 [v1.3RC3 - 20050524]
 
 * Supports correctly MSWord again under Win32
-  
+
 * Fixed Installer to uninstall configlet
 
 * Fixed an unicode bug with PortalTransformsAttachment
@@ -118,7 +143,7 @@
 
 * Code page translation in the callConverter()-like methods
 
-* Archetypes' automatic SearchableText support (contentType argument in get(), 
+* Archetypes' automatic SearchableText support (contentType argument in get(),
   AND 'searchable' field parameter support; eg. we'd disable automatic indexing
   if 'searchable' is false).
 

Modified: zope-attachmentfield/branches/upstream/current/CompressedAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/CompressedAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/CompressedAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: CompressedAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: CompressedAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -49,6 +49,8 @@
         )
 
 
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None

Modified: zope-attachmentfield/branches/upstream/current/DummyAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/DummyAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/DummyAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: DummyAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: DummyAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -40,11 +40,13 @@
     small_icon_file = "unknown_small.gif"
     content_types = (None, )
     converter_type = None
-    
+
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None
-    
+
     preview_path = None
     preview_arguments = None
     preview_encoding = None


Property changes on: zope-attachmentfield/branches/upstream/current/DummyAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/Extensions/Install.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/Extensions/Install.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/Extensions/Install.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 26537 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: Install.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: Install.py 26537 2006-07-31 08:29:18Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -41,38 +41,39 @@
 
 def install(self):
     out = StringIO.StringIO()
-    
+
     # Install skin
     install_subskin(self, out, product_globals)
-    
+
     # Install configlet
     cptool = getToolByName(self, 'portal_controlpanel')
     try:
         cptool.registerConfiglet(**attachmentfield_prefs_configlet)
     except KeyError:
         pass
-    
+
     # Install tool
     add_tool = self.manage_addProduct[PROJECTNAME].manage_addTool
     tool = getattr(self, AttachmentFieldTool.AttachmentFieldTool.id, None)
     if tool is None:
         add_tool(AttachmentFieldTool.AttachmentFieldTool.meta_type)
+    tool = getattr(self, AttachmentFieldTool.AttachmentFieldTool.id, None)
+    print >> out, tool.migrate()
+    print >> out, "Successfully installed %s." % PROJECTNAME
 
-    print >> out, "Successfully installed %s." % PROJECTNAME
-    
     return out.getvalue()
 
 def uninstall(self):
     out = StringIO.StringIO()
-    
+
     # Uninstall configlets
     try:
         cptool = getToolByName(self, 'portal_controlpanel')
         cptool.unregisterApplication(PROJECTNAME)
     except:
         LogException()
-    
+
     print >> out, "Successfully uninstalled %s." % PROJECTNAME
-    
+
     return out.getvalue()
 


Property changes on: zope-attachmentfield/branches/upstream/current/Extensions/Install.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/FlashAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/FlashAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/FlashAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: FlashAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: FlashAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -39,6 +39,8 @@
     small_icon_file = "flash_small.gif"
     content_types = ('application/x-shockwave-flash','application/swf')
 
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None

Added: zope-attachmentfield/branches/upstream/current/FlexStorage.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/FlexStorage.py	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/FlexStorage.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,208 @@
+## -*- coding: utf-8 -*-
+## Copyright (C) 2006 Ingeniweb
+
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+
+## You should have received a copy of the GNU General Public License
+## along with this program; see the file COPYING. If not, write to the
+## Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+import StringIO
+
+from AccessControl import ClassSecurityInfo
+
+from Products.CMFCore.utils import getToolByName
+from Products.CMFCore import CMFCorePermissions
+
+from Products.Archetypes.BaseUnit import BaseUnit
+from Products.Archetypes.Storage import StorageLayer
+from Products.Archetypes.interfaces.storage import IStorage
+from Products.Archetypes.interfaces.layer import ILayer
+
+
+class FlexStorage(StorageLayer):
+    """
+        FlexStorage is a storage proxy. It can switch between different storages for
+        content on demand. In example, it can switch data from ZODB (Attribute Storage)
+        to file system (FSS).
+    """
+
+    __implements__ = StorageLayer.__implements__
+
+    ##### WARNING #####
+    # All methods or attribute MUST be different from anything that can be found
+    # in a storage, or it must call this method on the storage
+
+    ## This list contains all the storage that can be used
+    ## First data is the import statement. If import fails, the next storage is tried
+    ## second is the storage name, and the storage class name that will be used
+    ## third is a flog indicating if this is the default choice
+    supportedFlexStorageMethods = [
+        ("from Products.Archetypes.Storage import AttributeStorage", "AttributeStorage"),
+        ("from Products.FileSystemStorage.FileSystemStorage import FileSystemStorage", "FileSystemStorage"),
+    ]
+
+    security = ClassSecurityInfo()
+
+    def __init__(self):
+        self.flexStorages = {}
+        for storageMethodImport, storageName in self.supportedFlexStorageMethods:
+            try:
+                exec storageMethodImport
+                self.flexStorages[storageName] = eval("%s()" % storageName)
+            except ImportError, e:
+                print e
+                ### XXX todo log a warning
+                pass
+
+    security.declarePublic('getAvailableFlexStorages')
+    def getAvailableFlexStorages(self):
+        """
+            Return the list of storage that are working (ie classes are found)
+        """
+        return self.flexStorages.keys()
+
+    security.declarePublic('getName')
+    def getName(self):
+        return self.__class__.__name__
+
+    def __repr__(self):
+        return "<Storage %s>" % (self.getName())
+
+    def __cmp__(self, other):
+        return cmp(self.getName(), other.getName())
+
+
+#    def __getattr__(self, name):
+#        """
+#            Return an attribute of the underlying storage system.
+#
+#            This method is only called if no attribute is found in this class.
+#            It's a fallback method.
+#        """
+#        ## we have to check if the name is prefixed
+#        print "requesting %s" % name
+#        return getattr(self.getFlexStorageBackend(), name)
+
+
+    security.declarePrivate('initializeInstance')
+    def initializeInstance(self, instance, item=None, container=None):
+        storage = self.getFlexStorageBackend(instance)
+        if ILayer.isImplementedBy(storage):
+            return storage.initializeInstance(instance, item, container)
+
+    security.declarePrivate('cleanupInstance')
+    def cleanupInstance(self, instance, item=None, container=None):
+        storage = self.getFlexStorageBackend(instance)
+        if ILayer.isImplementedBy(storage):
+            return storage.cleanupInstance(instance, item, container)
+
+    security.declarePrivate('initializeField')
+    def initializeField(self, instance, field):
+        storage = self.getFlexStorageBackend(instance)
+        if ILayer.isImplementedBy(storage):
+            return storage.initializeField(instance, field)
+
+    security.declarePrivate('cleanupField')
+    def cleanupField(self, instance, field):
+        storage = self.getFlexStorageBackend(instance)
+        if ILayer.isImplementedBy(storage):
+            return storage.cleanupField(instance, field)
+
+    def get(self, name, instance, **kwargs):
+        storage = self.getFlexStorageBackend(instance)
+        return storage.get(name, instance, **kwargs)
+
+    def set(self, name, instance, value, **kwargs):
+        return self.getFlexStorageBackend(instance).set(name, instance, value, **kwargs)
+
+    def unset(self, name, instance, **kwargs):
+        return self.getFlexStorageBackend(instance).unset(name, instance, **kwargs)
+
+    security.declarePublic('getFlexStorageBackend')
+    def getFlexStorageBackend(self, instance):
+        """
+            Return the name of the currently used storage backend
+        """
+        aTool = getToolByName(instance, 'portal_attachment')
+        currentFlexStorageBackend = aTool.currentFlexStorageBackend
+        if currentFlexStorageBackend in self.flexStorages.keys():
+            return self.flexStorages[currentFlexStorageBackend]
+        else:
+            raise RuntimeError("%s requested, but this storage has not been initialized." % currentFlexStorageBackend)
+
+    security.declareProtected(CMFCorePermissions.ManagePortal, "changeFlexStorageBackend")
+    def changeFlexStorageBackend(self, instance, newStorageName, typesWithAF):
+        """
+            Change the backend used to store data. Migrate the already existing
+            fields.
+        """
+        aTool = getToolByName(instance, 'portal_attachment')
+        if aTool.currentFlexStorageBackend == newStorageName:
+            return
+        oldStorage = self.getFlexStorageBackend(instance)
+        aTool.currentFlexStorageBackend = newStorageName
+        newStorage = self.getFlexStorageBackend(instance)
+
+        cat = getToolByName(instance, 'portal_catalog')
+        brains = cat({'portal_type': typesWithAF.keys()})
+        out = StringIO.StringIO()
+        for b in brains:
+            o = b.getObject()
+            fields = typesWithAF[o.portal_type]
+            self.migrateContent(oldStorage, newStorage, o, fields, out)
+            print >> out, ""
+
+        return out.getvalue()
+
+    security.declarePrivate('migrateContent')
+    def migrateContent(self, oldStorage, newStorage, content, fieldNames, out):
+        """
+            Change the storage backend of one content.
+            oldStorage is the old storage where we get the data (and remove it)
+            newStorage is the storage where we put this data
+            content is the content
+        """
+        print >> out, '/'.join(content.getPhysicalPath()), ":",
+
+        for name in fieldNames:
+            print >> out, "'%s'" % name,
+            f = content.getField(name)
+            # error if field has already a content
+            #if f.get_size(content) != 0:
+            #    raise RuntimeError("already set")
+
+            # get content from old storage and delete old storage
+            try:
+                value = oldStorage.get(name, content)
+            except AttributeError:
+                print >> out, "no old value",
+                continue
+
+            # Unwrap value
+            data = BaseUnit(
+                name,
+                str(value),
+                instance=content,
+                filename=getattr(value, "filename", "unknowFilename"),
+                mimetype=value.getContentType(),
+            )
+
+            ### newStorage.initializeField(content, f) #FIXME: really needed?
+            f.set(content, data)
+            oldStorage.unset(name, content)
+            # unset empty files, this avoid empty files on disk
+            if f.get_size(content) == 0:
+                print >> out, "no data, so unset",
+                f.set(content, "DELETE_FILE")
+
+            print >> out, ".",
+

Modified: zope-attachmentfield/branches/upstream/current/HTMLAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/HTMLAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/HTMLAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: HTMLAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: HTMLAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -48,6 +48,8 @@
     content_types = ('text/html', )
     converter_type = "HTML"
 
+    is_external_conv = True
+    is_working = True
     index_path = program
     index_arguments = r"%s"
     index_encoding = None


Property changes on: zope-attachmentfield/branches/upstream/current/HTMLAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/ImageAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/ImageAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/ImageAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: ImageAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: ImageAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -50,6 +50,8 @@
         )
     converter_type = "Image"
 
+    is_external_conv = False
+    is_working = True
     index_path = None
     index_arguments = None
     index_encoding = None


Property changes on: zope-attachmentfield/branches/upstream/current/ImageAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/Log.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/MSAccessAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/MSAccessAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/MSAccessAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: MSAccessAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: MSAccessAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -39,6 +39,8 @@
     small_icon_file = "access_small.gif"
     content_types = ('application/msaccess', 'application/vnd.ms-access', )
 
+    is_external_conv = False
+    is_working = True
     index_path = None
     index_arguments = None
     index_encoding = None


Property changes on: zope-attachmentfield/branches/upstream/current/MSAccessAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/MSExcelAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/MSExcelAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/MSExcelAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 24575 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: MSExcelAttachment.py 24575 2006-06-08 11:33:36Z roeder $
+# $Id: MSExcelAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -50,6 +50,8 @@
     content_types = ('application/excel', 'application/x-excel', 'application/excel', 'application/x-msexcel', 'application/vnd.ms-excel', )
     converter_type = "MSExcel"
 
+    is_external_conv = True
+    is_working = True
     index_path = program
     index_arguments = r"-xc:0-%d -xr:0-%d"%(MAX_COLS_EXCEL, MAX_ROWS_EXCEL) + r" %s"
     index_encoding = ("CP1252", "utf8", )


Property changes on: zope-attachmentfield/branches/upstream/current/MSExcelAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/MSPowerpointAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/MSPowerpointAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/MSPowerpointAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: MSPowerpointAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: MSPowerpointAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -47,6 +47,8 @@
     content_types = ('application/powerpoint', 'application/mspowerpoint', 'application/x-powerpoint', 'application/x-mspowerpoint', 'application/vnd.ms-powerpoint', )
     converter_type = "MSPowerpoint"
 
+    is_external_conv = True
+    is_working = True
     index_path = program
     index_arguments = r"%s"
     index_encoding = ("CP1252", "utf8", )


Property changes on: zope-attachmentfield/branches/upstream/current/MSPowerpointAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/MSProjectAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/MSProjectAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/MSProjectAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: MSProjectAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: MSProjectAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -39,6 +39,8 @@
     small_icon_file = "msproject_small.gif"
     content_types = ('application/msproject', 'application/vnd.ms-project', )
 
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None


Property changes on: zope-attachmentfield/branches/upstream/current/MSProjectAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/MSWordAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/MSWordAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/MSWordAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 24578 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: MSWordAttachment.py 24578 2006-06-08 11:37:48Z roeder $
+# $Id: MSWordAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -46,6 +46,8 @@
     content_types = ('application/msword', )
     converter_type = "MSWord"
 
+    is_external_conv = True
+    is_working = True
     index_path = program
     index_arguments = r"-1 %s"          # XXX SHOULD BE "-d DIR %s"
     index_encoding = ("CP1252", "utf8", "latin1", )


Property changes on: zope-attachmentfield/branches/upstream/current/MSWordAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/OO2Attachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/OO2Attachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/OO2Attachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -53,6 +53,8 @@
         'application/vnd.oasis.opendocument.text-template',
         )
 
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None

Modified: zope-attachmentfield/branches/upstream/current/OOAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/OOAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/OOAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -20,9 +20,9 @@
 programs to convert / preview stuff.
 It's an abstract class and is meant to be overloaded in content-type specific classes.
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: OOAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: OOAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -47,7 +47,7 @@
     """
     An openoffice attachment
     """
-    __CHECK_INTERFACE__ = 0             # Disable IF checking
+    __CHECK_INTERFACE__ = 1
     icon_file = "oo.gif"
     small_icon_file = "oo_small.gif"
     content_types = (
@@ -64,11 +64,13 @@
         )
     converter_type = "OpenOffice"
 
-    index_path = "(internal)"
+    is_external_conv = False
+    is_working = True
+    index_path = None
     index_arguments = None
     index_encoding = ("CP1252", "utf8", "latin1", )
-    
-    preview_path = "(internal)"
+
+    preview_path = None
     preview_arguments = None
     preview_format = "html"
     preview_encoding = ("CP1252", "utf8", "latin1", )
@@ -85,7 +87,7 @@
 
     def getIndexableValue(self, field, instance):
         """
-        getIndexableValue(self, field, instance) => (possibliy big) string 
+        getIndexableValue(self, field, instance) => (possibliy big) string
         Return the ZCatalog-indexable string for that type.
         """
         Log(LOG_DEBUG, "getIndexableValue")
@@ -114,12 +116,12 @@
         Log(LOG_DEBUG, "convert...")
         cnv = oo_to_html()
         return self._html_to_text(cnv.convert_(content,), )
-    
+
     def convertStringToPreview(self, content, content_type, instance):
         """
         convertStringToPreview(self, content) => Utility to convert a string to HTML
         using the converter stuff.
-        """    
+        """
         Log(LOG_DEBUG, "convert...")
         cnv = oo_to_html()
         return self._convertOutput(cnv.convert_(content,), "html")
@@ -140,7 +142,7 @@
 ##                    Log(LOG_DEBUG, "Trying encoding", enc)
 ##                    output = output.decode(enc, )
 ##                    break
-                    
+
 ##                except UnicodeError:
 ##                    Log(LOG_DEBUG, "Encoding", enc, "failed.")
 ##                    pass
@@ -156,6 +158,6 @@
     Log(LOG_WARNING, """libxml2 or libxslt not available. Under windows, download it at http://users.skynet.be/sbi/libxml-python/
     Open-Office indexing will be disabled.""")
 else:
-    import ooconverter
+    from ooconverter import oo_to_html
     AttachmentHandler.registerHandler(OOAttachment)
 


Property changes on: zope-attachmentfield/branches/upstream/current/OOAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/PDFAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/PDFAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/PDFAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: PDFAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: PDFAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -48,6 +48,8 @@
     content_types = ('application/pdf', )
     converter_type = "PDF"
 
+    is_external_conv = True
+    is_working = True
     index_path = program
     index_arguments = r"%s -enc UTF-8 -"
     index_encoding = "utf8"


Property changes on: zope-attachmentfield/branches/upstream/current/PDFAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/PhotoshopAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/PhotoshopAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/PhotoshopAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -45,6 +45,8 @@
                      "application/x-photoshop",
                      "zz-application/zz-winassoc-psd",)
 
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None

Modified: zope-attachmentfield/branches/upstream/current/PortalTransformsAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/PortalTransformsAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/PortalTransformsAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -20,9 +20,9 @@
 programs to convert / preview stuff.
 It's an abstract class and is meant to be overloaded in content-type specific classes.
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: PortalTransformsAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: PortalTransformsAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -52,10 +52,27 @@
 
     It does most of the work for all plugins he's aware of.
     """
-    __CHECK_INTERFACE__ = 0             # Disable IF checking
+    __CHECK_INTERFACE__ = 1
     preview_path = None
+    preview_arguments = None
+    preview_encoding = None
+    preview_format = None
+
     index_path = None
+    converter_type = "Plone Portal transform"
+    icon_file = "unknow.gif"
+    small_icon_file = "unknow_small.gif"
+    content_types=(
+        "none/none",
+    )
+    index_path = None
+    index_arguments = None
+    index_encoding = None
 
+    is_external_conv = False
+    is_working = True
+
+
     # Init method
     def getTransforms(self, field, instance):
         # Loop registered portal transforms to find those which are able to handle
@@ -104,7 +121,7 @@
         if not t:
             return self.unknown_icon_file
         return t[0].icon_path
-        
+
     def getSmallIconFile(self, field, instance):
         # We use Mimetypesregistry to get the icon path
         # If no field has been supplied, we return a default 'unknown' icon
@@ -125,7 +142,7 @@
 
     def getIndexableValue(self, field, instance):
         """
-        getIndexableValue(self, field, instance) => (possibliy big) string 
+        getIndexableValue(self, field, instance) => (possibliy big) string
         Return the ZCatalog-indexable string for that type.
         """
         content = field.get(instance)
@@ -164,7 +181,7 @@
         """
         convertStringToPreview(self, content) => Utility to convert a string to HTML
         using the converter stuff.
-        """    
+        """
         # Return the previewable string
         preview = self._convertStringToMime(content, content_type, instance, "text/html")
         return self._convertOutput(preview, "html")
@@ -176,7 +193,7 @@
         ct = content_type
         if not trans['html_paths'].get(ct, None):
             raise ValueError, "No converter found for content type '%s'" % (ct,)
-        
+
         # Convert it to plain text
         pt = self.getPortalTransforms(None, instance, )
         out = pt.convertTo(
@@ -199,7 +216,7 @@
                     Log(LOG_DEBUG, "Trying encoding", enc)
                     output = output.decode(enc, )
                     break
-                    
+
                 except UnicodeError:
                     Log(LOG_DEBUG, "Encoding", enc, "failed.")
                     pass

Modified: zope-attachmentfield/branches/upstream/current/RTFAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/RTFAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/RTFAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: RTFAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: RTFAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -52,6 +52,8 @@
         )
     converter_type = "RTF"
 
+    is_external_conv = True
+    is_working = True
     index_path = program
     index_arguments = r"%s --nopict -t text"
     index_encoding = ("CP1252", "utf8", "latin1", )

Modified: zope-attachmentfield/branches/upstream/current/TarGzAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/TarGzAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/TarGzAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: TarGzAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: TarGzAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -49,6 +49,8 @@
         'application/tgz',
         )
 
+    is_external_conv = True
+    is_working = True
     index_path = program
     index_arguments = r'-tzvf %s'
     index_encoding = ('iso-8859-15', 'utf8')

Modified: zope-attachmentfield/branches/upstream/current/TextAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/TextAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/TextAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: TextAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: TextAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -44,6 +44,8 @@
     content_types = ('text/plain', )
     converter_type = "Text"
 
+    is_external_conv = True
+    is_working = True
     index_path = program
     index_arguments = r"%s"
     index_encoding = None


Property changes on: zope-attachmentfield/branches/upstream/current/TextAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/VideoAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/VideoAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/VideoAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: VideoAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: VideoAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -51,6 +51,8 @@
         "video/x-sgi-movie",
         )
 
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None

Modified: zope-attachmentfield/branches/upstream/current/VisioAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/VisioAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/VisioAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: VisioAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: VisioAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -47,6 +47,8 @@
                      'application/vnd.ms-visio.viewer',
                      )
 
+    is_external_conv = False
+    is_working = False
     index_path = None
     index_arguments = None
     index_encoding = None


Property changes on: zope-attachmentfield/branches/upstream/current/VisioAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/ZipAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/ZipAttachment.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/ZipAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -18,9 +18,9 @@
 """
 AttchmentField
 """
-__version__ = "$Revision: 23006 $"
+__version__ = "$Revision: 25863 $"
 # $Source: /cvsroot/ingeniweb/PloneSubscription/SubscriptionTool.py,v $
-# $Id: ZipAttachment.py 23006 2006-05-02 20:25:43Z encolpe $
+# $Id: ZipAttachment.py 25863 2006-07-07 14:47:14Z manuco $
 __docformat__ = 'restructuredtext'
 
 
@@ -48,6 +48,8 @@
         'application/x-zip-compressed',
         )
 
+    is_external_conv = True
+    is_working = True
     index_path = program
     index_arguments = r'-2z %s'
     index_encoding = ('iso-8859-15', 'utf8')
@@ -56,7 +58,7 @@
     preview_arguments = r'-2zt %s'
     preview_encoding = ('iso-8859-15', 'utf8')
     preview_format = 'pre'
-    
 
 
+
 AttachmentHandler.registerHandler(ZipAttachment)


Property changes on: zope-attachmentfield/branches/upstream/current/ZipAttachment.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/__init__.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/COPYING
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/COPYING	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/COPYING	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,340 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) 19yy  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) 19yy name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.

Added: zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/README
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/README	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/README	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,132 @@
+Welcome to xlHtml.
+
+
+I. INTRODUCTION
+The xlHtml program will take an Excel 95, or 97 file as input and convert 
+it to highly optimized  html. The output is via standard out so it can be 
+re-directed to files or piped to filters or used as a gateway on the internet.
+
+II. INSTALLATION
+If you are upgrading, run the 'make uninstall' target from the original directory
+before following these steps.
+
+To build this application, from the top directory type:
+ 
+ ./configure --prefix=/<target installation directory e.g. /usr/local or /opt>
+ make
+ make install
+
+Note: The actual executable is hiding in the xlHtml/.libs directory.
+
+Then to finish it up, you will need to go into netscape and tell the navigator 
+to use the nsxlview script to handle Microsoft Excel files. 
+
+	e.g. <path to executable>/nsxlview %s 
+
+You should be able to then browse to a file and open it. There is a file 
+included in the xlHtml directory you can test with: Test.xls.
+
+NOTE: This release has been piggy-backed onto the cole library mostly for 
+(my) convenience. I have been trying to create a Makefile.am & configure.in 
+script so that the two can be separated...but I still haven't gotten it 
+correct...but if you get one working, please send it to me. 
+
+The shell scripts: nsxlview & nsopen may need modification to correct the 
+paths to fit your system. Also, depending on where you install it, you 
+may have to modify your PATH environmental variable.
+
+
+III. UNINSTALLING
+You may want to keep this directory around since you can do a make uninstall
+later. In the meantime, I suggest doing a make clean after installation to 
+minimize disk space useage.
+
+
+IV. COMMANDLINE OPTIONS
+xlHtml now has several command line options that let you tailor its output. The
+command is now:  xlHtml [-nc -a -fw -bc -tc -bi -c] file.xls
+
+Where   -nc  tells it not to colorize the output.
+        -a   aggressively optimize html by removing </TR> </TD> or VALIGN="bottom"
+             Some older browsers may not display properly in this mode.
+        -fw  suppress formula warnings about accuracy
+        -bc  Override the background color. e.g. -bg808080     for gray
+        -tc  Override the text color.       e.g. -tcFF0000     for red
+        -bi  Use background image           e.g. -bi/home/httpd/icon/tar.gif
+        -c   Centers the tables horizontally
+        -te  Trims empty rows & columns at the edges of a worksheet
+        -v   Prints program version
+	-m   No encoding for multibyte
+	-asc Ascii out of -dp and extraction data (-x?)
+	-dp  Dump page count and max columns and rows per page
+	-xp  Page for extraction (zero based)
+	-xc  Columns (separated by a dash) for extraction (zero based)
+	-xr  Rows (separated by a dash) to be extracted (zero based)
+
+An example of the extraction command line is:
+xlHtml -fw -asc -xp:0 -xr:2-6 -xc:0-1 Test.xls
+
+The extraction output is: 
+ Formatted output of cells by column left to right, columns separated 
+   by a tab, end of row is: 0x0A, end of file: \n\n
+   
+   *NOTE: Run the gpdemo file for a demonstration plot in Netscape. Also,
+   you MUST specify all 3 -x commands or the results may not be as desired.
+
+
+V. PERFORMANCE TUNING
+There are some user "tunable" parameters in the beginning of the xlHtml.c file.
+The program allocates resources in chunks so that it scales efficiently without
+wasting memory. The smaller the chunks, the less wasted memory. The trade off,
+though, is that it has to allocate memory more often - which slows things down.
+Odds are, you should never need to change them from the default.
+
+
+VI. INTERNATIONAL CHARACTERS
+xlHtml uses three different character sets. It tries to use ascii until it
+finds a character greater than 127. At this point, it switches to the 
+windows-1252 characterset. If the excel file specifies any 2 byte characters,
+it switches to utf-8. This handles most situations correctly. If however,
+you find yourself with a system that does not support utf-8 (text mode 
+browsers & some versions of unix) and you need multi-byte support, 
+try using the program lv.It can be downloaded from:
+
+  http://www.ff.iij4u.or.jp/~nrt/lv/
+
+The text only browser, w3m, could be used as follows for Japanese:
+
+  xlHtml file.xls | lv -Iu8 -Oej | w3m -T text/html
+  
+ (Thanks to Hironori Sakamoto for this suggestion.)
+
+
+VII. TROUBLESHOOTING
+Using Netscape, you may occassionally see a file not found error. This usually 
+comes when printing or going back to a previously converted file. This is
+the default behavior and it can be changed by commenting out the rm $tmp* 
+in nsxlview. I do this so you don't have files hanging around in your tmp
+directory where other people might be able to see them.
+
+In general, if you can type xlHtml and get a usage error message, the PATH
+is working. If you don't, your PATH environmental variable needs adjusting.
+Next try passing the full path to xlHtml of the file you want converted. If it
+has problems with it, you may have a file the system can't interpret. To check
+your installation, try passing the full path of xlHtml/Test.xls and see what
+it does with that.
+
+If you get an error message saying "get another compiler"...this comes from the
+cole library. It needs a recent copy of automake, autoconf, or libtool. You
+can manually adjust the header files if you know you machine data sizes.
+
+
+VIII.  CONTRIBUTED SCRIPTS
+xlHtml now has a contributed scripts directory. If you look in the xlHtml/contrib
+directory you will find what people are giving me. I cannot offer support for
+files I didn't create, but there is contact information with the files. If you 
+have something to share...send it to me. If you've contributed...THANKS!
+
+
+Share and enjoy!	(The Hitchhiker's Guide to the Galaxy, Douglas Adams)
+
+Steve Grubb
+linux_4ever at yahoo.com

Added: zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/ppthtml.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/ppthtml.exe
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/xlhtml.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSExcel/win32/xlhtml.exe
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSPowerpoint/win32/ppthtml.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSPowerpoint/win32/ppthtml.exe
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/freetype6.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/freetype6.dll
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/iconv.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/iconv.dll
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/jpeg62.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/jpeg62.dll
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libiconv2.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libiconv2.dll
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libplot2.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libplot2.dll
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libpng12.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libpng12.dll
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libwmf7.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libwmf7.dll
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libwv2.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libwv2.dll
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libxml2.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/libxml2.dll
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvAbw
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvAbw	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvAbw	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,143 @@
+#!/bin/sh
+
+wv_script_name="$0"
+
+prefix=c:/progra~1/Wv
+exec_prefix=
+datadir=
+t_dir=.
+
+wv_opts=
+i_file=
+o_file=
+print_help=no
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      ;;
+    --datadir=*)
+      datadir=$optarg
+      ;;
+    --targetdir=*)
+      t_dir=$optarg
+      ;;
+    --charset=* | --password=*)
+      wv_opts="$wv_opts $1"
+      ;;
+    -v | --version)
+      echo 1.0.2
+      exit 0
+      ;;
+    -\? | -h | --help)
+      cat << EOF
+Usage: $wv_script_name [OPTIONS] <input-file> <output-file>
+Options:
+      --prefix=<DIR>        Set prefix (default is c:/progra~1/Wv)
+      --exec-prefix=<DIR>   Set exec_prefix (default is ${prefix})
+      --datadir=<DIR>       Set datadir (default is ${prefix}/share)
+      --targetdir=<DIR>     Target directory (target is <DIR>/<output-file>)
+      --charset=<charset>   Specify an iconv charset encoding
+      --password=<password> Specify password for encrypted
+  -v, --version             Print version info and exit
+
+Authors:
+  Dom Lachowicz (dominicl at seas.upenn.edu)
+  Caolan McNamara (original author)
+Visit http://www.wvware.com/
+EOF
+      exit 0
+      ;;
+    -?*)
+      echo "Option '$1' not recognized."
+      exit 1
+      ;;
+    *)
+      if test "x$i_file" = "x"; then
+        i_file=$1
+      elif test "x$o_file" = "x"; then
+        o_file=$1
+      else
+        echo "Option '$1' not recognized."
+        exit 1
+      fi
+      ;;
+  esac
+  shift
+done
+
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as input"
+  exit 1
+fi
+if test -r "$i_file"; then
+  okay=yes
+else
+  echo "error: '$i_file' unreadable"
+  exit 1
+fi
+
+if test "x$o_file" = "x"; then
+  echo "Usage: $1 [OPTIONS] <input-file> <output-file>"
+  exit 1
+fi
+name=`basename "$o_file"`
+if test "x$o_file" != "x$name"; then
+  echo "* * * Better to use '--targetdir' for writing in another directory * * *"
+  exit 1
+fi
+name=`echo $name | sed 's/\.[^\.]*$//'`
+
+if test "x$exec_prefix" = "x"; then
+  exec_prefix=${prefix}
+fi
+wv_exec="$exec_prefix/bin/wvWare"
+if test -x "$wv_exec"; then
+  okay=yes
+else
+  wv_version=`wvWare -v 2>&1 | cut -f 2 -d " "`
+  if test "x$wv_version" = "x1.0.2"; then
+    wv_exec="wvWare"
+  else
+    echo "error: no executable at '$wv_exec' or in path"
+    exit 1
+  fi
+fi
+
+if test "x$datadir" = "x"; then
+  datadir=${prefix}/share
+fi
+xmlcfg="$datadir/wv/wvAbw.xml"
+if test -r "$xmlcfg"; then
+  okay=yes
+else
+  echo "error: '$xmlcfg' unreadable"
+  exit 1
+fi
+
+if test -d "$t_dir"; then
+  if test -w "$t_dir"; then
+    okay=yes
+  else
+    echo "error: '$t_dir' is not writable"
+    exit 1
+  fi
+else
+  echo "error: '$t_dir' is not a directory"
+  exit 1
+fi
+
+if test "x$o_file" = "x-"; then
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file"
+else
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" > "$t_dir"/"$o_file"
+fi


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvAbw
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvCleanLatex
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvCleanLatex	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvCleanLatex	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,148 @@
+#!/bin/sh
+
+wv_script_name="$0"
+
+prefix=c:/progra~1/Wv
+exec_prefix=
+datadir=
+t_dir=.
+
+wv_opts=
+i_file=
+o_file=
+print_help=no
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      ;;
+    --datadir=*)
+      datadir=$optarg
+      ;;
+    --targetdir=*)
+      t_dir=$optarg
+      ;;
+    --charset=* | --password=*)
+      wv_opts="$wv_opts $1"
+      ;;
+    -v | --version)
+      echo 1.0.2
+      exit 0
+      ;;
+    -\? | -h | --help)
+      cat << EOF
+Usage: $wv_script_name [OPTIONS] <input-file> <output-file>
+Options:
+      --prefix=<DIR>        Set prefix (default is c:/progra~1/Wv)
+      --exec-prefix=<DIR>   Set exec_prefix (default is ${prefix})
+      --datadir=<DIR>       Set datadir (default is ${prefix}/share)
+      --targetdir=<DIR>     Target directory (target is <DIR>/<output-file>)
+      --charset=<charset>   Specify an iconv charset encoding
+      --password=<password> Specify password for encrypted
+  -v, --version             Print version info and exit
+
+Authors:
+  Dom Lachowicz (dominicl at seas.upenn.edu)
+  Caolan McNamara (original author)
+Visit http://www.wvware.com/
+EOF
+      exit 0
+      ;;
+    -?*)
+      echo "Option '$1' not recognized."
+      exit 1
+      ;;
+    *)
+      if test "x$i_file" = "x"; then
+        i_file=$1
+      elif test "x$o_file" = "x"; then
+        o_file=$1
+      else
+        echo "Option '$1' not recognized."
+        exit 1
+      fi
+      ;;
+  esac
+  shift
+done
+
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as input"
+  exit 1
+fi
+if test -r "$i_file"; then
+  okay=yes
+else
+  echo "error: '$i_file' unreadable"
+  exit 1
+fi
+
+if test "x$o_file" = "x"; then
+  echo "Usage: $1 [OPTIONS] <input-file> <output-file>"
+  exit 1
+fi
+name=`basename "$o_file"`
+if test "x$o_file" != "x$name"; then
+  echo "* * * Better to use '--targetdir' for writing in another directory * * *"
+  exit 1
+fi
+sp_chk=`echo $name | sed "s/ /_/g"`
+if test "x$name" != "x$sp_chk"; then
+  echo "sorry, LaTeX file names cannot contain spaces."
+  exit 1
+fi
+name=`echo $name | sed 's/\.[^\.]*$//'`
+
+if test "x$exec_prefix" = "x"; then
+  exec_prefix=${prefix}
+fi
+wv_exec="$exec_prefix/bin/wvWare"
+if test -x "$wv_exec"; then
+  okay=yes
+else
+  wv_version=`wvWare -v 2>&1 | cut -f 2 -d " "`
+  if test "x$wv_version" = "x1.0.2"; then
+    wv_exec="wvWare"
+  else
+    echo "error: no executable at '$wv_exec' or in path"
+    exit 1
+  fi
+fi
+
+if test "x$datadir" = "x"; then
+  datadir=${prefix}/share
+fi
+xmlcfg="$datadir/wv/wvCleanLaTeX.xml"
+if test -r "$xmlcfg"; then
+  okay=yes
+else
+  echo "error: '$xmlcfg' unreadable"
+  exit 1
+fi
+
+if test -d "$t_dir"; then
+  if test -w "$t_dir"; then
+    okay=yes
+  else
+    echo "error: '$t_dir' is not writable"
+    exit 1
+  fi
+else
+  echo "error: '$t_dir' is not a directory"
+  exit 1
+fi
+
+if test "x$o_file" = "x-"; then
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file"
+else
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" > "$t_dir"/"$o_file"
+fi


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvCleanLatex
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvConvert.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvConvert.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDVI
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDVI	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDVI	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,303 @@
+#!/bin/sh
+
+wv_script_name="$0"
+
+which latex >/dev/null 2>&1
+if [ ${?} -ne "0" ]; then
+  echo "Could not find required program 'latex'"
+  exit 1
+fi
+
+prefix=c:/progra~1/Wv
+exec_prefix=
+datadir=
+t_dir=.
+
+wv_opts=
+i_file=
+o_file=
+print_help=no
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      ;;
+    --datadir=*)
+      datadir=$optarg
+      ;;
+    --targetdir=*)
+      t_dir=$optarg
+      ;;
+    --charset=* | --password=*)
+      wv_opts="$wv_opts $1"
+      ;;
+    -v | --version)
+      echo 1.0.2
+      exit 0
+      ;;
+    -\? | -h | --help)
+      cat << EOF
+Usage: $wv_script_name [OPTIONS] <input-file> <output-file>
+Options:
+      --prefix=<DIR>        Set prefix (default is c:/progra~1/Wv)
+      --exec-prefix=<DIR>   Set exec_prefix (default is ${prefix})
+      --datadir=<DIR>       Set datadir (default is ${prefix}/share)
+      --targetdir=<DIR>     Target directory (target is <DIR>/<output-file>)
+      --charset=<charset>   Specify an iconv charset encoding
+      --password=<password> Specify password for encrypted
+  -v, --version             Print version info and exit
+
+Authors:
+  Dom Lachowicz (dominicl at seas.upenn.edu)
+  Caolan McNamara (original author)
+Visit http://www.wvware.com/
+EOF
+      exit 0
+      ;;
+    -?*)
+      echo "Option '$1' not recognized."
+      exit 1
+      ;;
+    *)
+      if test "x$i_file" = "x"; then
+        i_file=$1
+      elif test "x$o_file" = "x"; then
+        o_file=$1
+      else
+        echo "Option '$1' not recognized."
+        exit 1
+      fi
+      ;;
+  esac
+  shift
+done
+
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as input"
+  exit 1
+fi
+if test -r "$i_file"; then
+  okay=yes
+else
+  echo "error: '$i_file' unreadable"
+  exit 1
+fi
+
+if test "x$o_file" = "x"; then
+  echo "Usage: $1 [OPTIONS] <input-file> <output-file>"
+  exit 1
+fi
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as output"
+  exit 1
+fi
+name=`basename "$o_file"`
+if test "x$o_file" != "x$name"; then
+  echo "error: use '--targetdir' for writing in another directory"
+  exit 1
+fi
+name=`basename "$o_file" | sed "s/ /_/g"`
+name=`echo $name | sed 's/\.[^\.]*$//'`
+
+if test "x$exec_prefix" = "x"; then
+  exec_prefix=${prefix}
+fi
+wv_exec="$exec_prefix/bin/wvWare"
+if test -x "$wv_exec"; then
+  okay=yes
+else
+  wv_version=`wvWare -v 2>&1 | cut -f 2 -d " "`
+  if test "x$wv_version" = "x1.0.2"; then
+    wv_exec="wvWare"
+  else
+    echo "error: no executable at '$wv_exec' or in path"
+    exit 1
+  fi
+fi
+
+if test "x$datadir" = "x"; then
+  datadir=${prefix}/share
+fi
+xmlcfg="$datadir/wv/wvLaTeX.xml"
+if test -r "$xmlcfg"; then
+  okay=yes
+else
+  echo "error: '$xmlcfg' unreadable"
+  exit 1
+fi
+
+if test -d "$t_dir"; then
+  if test -w "$t_dir"; then
+    okay=yes
+  else
+    echo "error: '$t_dir' is not writable"
+    exit 1
+  fi
+else
+  echo "error: '$t_dir' is not a directory"
+  exit 1
+fi
+
+# auto_wmf=`"$wv_exec" --auto-eps=wmf`
+# auto_emf=`"$wv_exec" --auto-eps=emf`
+# auto_png=`"$wv_exec" --auto-eps=png`
+# auto_jpg=`"$wv_exec" --auto-eps=jpg`
+# auto_pict=`"$wv_exec" --auto-eps=pict`
+
+im_chk=`convert --help 2>&1 | grep -v ImageMagick`
+if test "x$im_chk" = "x"; then
+  im_chk="no"
+  s_img=""
+else
+  im_chk="yes"
+# if we have ImageMagick's convert, then use that to convert PNG, JPEG & PICT
+# to EPS. Therefore, need to suppress wvWare's desire to convert these:
+  s_img="png,jpg,pict"
+fi
+
+"$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" -s "$s_img" > "$t_dir"/"$name".tex
+
+cd "$t_dir"
+
+echo
+echo 'Current directory: '`pwd`
+
+# First, convert any images
+
+i_okay=yes
+
+for i_name in "$name"*.wmf; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/wmf$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+for i_name in "$name"*.emf; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/emf$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      echo unable to convert '"'$i_name'"' '(no converter)'
+      i_okay=no
+    fi
+  fi
+done
+
+for i_name in "$name"*.png; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/png$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+for i_name in "$name"*.jpg; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/jpg$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+for i_name in "$name"*.pict; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/pict$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+if test "$i_okay" = "no"; then
+  echo 'WARNING: Failed to convert one or more images to EPS'
+fi
+
+# "$name".tex is the LaTeX file
+# use latex to convert this to DVI
+
+latex --interaction=batchmode "$name".tex >/dev/null 2>&1
+
+# check latex exit status and comment or clean up
+if [ ${?} -ne "0" ]; then
+	echo "Some problem running latex."
+	echo "Check for Errors in $name.log"
+	echo "Continuing..."
+else
+	rm -f "$name".aux "$name".log "$name".tex
+fi
+
+# latex replaces the "tex" extension with a "dvi" extension
+if [ ! -f "$name".dvi ]; then
+	echo "Conversion into dvi failed"
+	exit 1
+fi
+
+cp -f "$name".dvi "$o_file"
+rm -f "$name".dvi


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDVI
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDocBook
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDocBook	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDocBook	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,143 @@
+#!/bin/sh
+
+wv_script_name="$0"
+
+prefix=c:/progra~1/Wv
+exec_prefix=
+datadir=
+t_dir=.
+
+wv_opts=
+i_file=
+o_file=
+print_help=no
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      ;;
+    --datadir=*)
+      datadir=$optarg
+      ;;
+    --targetdir=*)
+      t_dir=$optarg
+      ;;
+    --charset=* | --password=*)
+      wv_opts="$wv_opts $1"
+      ;;
+    -v | --version)
+      echo 1.0.2
+      exit 0
+      ;;
+    -\? | -h | --help)
+      cat << EOF
+Usage: $wv_script_name [OPTIONS] <input-file> <output-file>
+Options:
+      --prefix=<DIR>        Set prefix (default is c:/progra~1/Wv)
+      --exec-prefix=<DIR>   Set exec_prefix (default is ${prefix})
+      --datadir=<DIR>       Set datadir (default is ${prefix}/share)
+      --targetdir=<DIR>     Target directory (target is <DIR>/<output-file>)
+      --charset=<charset>   Specify an iconv charset encoding
+      --password=<password> Specify password for encrypted
+  -v, --version             Print version info and exit
+
+Authors:
+  Dom Lachowicz (dominicl at seas.upenn.edu)
+  Caolan McNamara (original author)
+Visit http://www.wvware.com/
+EOF
+      exit 0
+      ;;
+    -?*)
+      echo "Option '$1' not recognized."
+      exit 1
+      ;;
+    *)
+      if test "x$i_file" = "x"; then
+        i_file=$1
+      elif test "x$o_file" = "x"; then
+        o_file=$1
+      else
+        echo "Option '$1' not recognized."
+        exit 1
+      fi
+      ;;
+  esac
+  shift
+done
+
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as input"
+  exit 1
+fi
+if test -r "$i_file"; then
+  okay=yes
+else
+  echo "error: '$i_file' unreadable"
+  exit 1
+fi
+
+if test "x$o_file" = "x"; then
+  echo "Usage: $1 [OPTIONS] <input-file> <output-file>"
+  exit 1
+fi
+name=`basename "$o_file"`
+if test "x$o_file" != "x$name"; then
+  echo "* * * Better to use '--targetdir' for writing in another directory * * *"
+  exit 1
+fi
+name=`echo $name | sed 's/\.[^\.]*$//'`
+
+if test "x$exec_prefix" = "x"; then
+  exec_prefix=${prefix}
+fi
+wv_exec="$exec_prefix/bin/wvWare"
+if test -x "$wv_exec"; then
+  okay=yes
+else
+  wv_version=`wvWare -v 2>&1 | cut -f 2 -d " "`
+  if test "x$wv_version" = "x1.0.2"; then
+    wv_exec="wvWare"
+  else
+    echo "error: no executable at '$wv_exec' or in path"
+    exit 1
+  fi
+fi
+
+if test "x$datadir" = "x"; then
+  datadir=${prefix}/share
+fi
+xmlcfg="$datadir/wv/wvDocbook.xml"
+if test -r "$xmlcfg"; then
+  okay=yes
+else
+  echo "error: '$xmlcfg' unreadable"
+  exit 1
+fi
+
+if test -d "$t_dir"; then
+  if test -w "$t_dir"; then
+    okay=yes
+  else
+    echo "error: '$t_dir' is not writable"
+    exit 1
+  fi
+else
+  echo "error: '$t_dir' is not a directory"
+  exit 1
+fi
+
+if test "x$o_file" = "x-"; then
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file"
+else
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" > "$t_dir"/"$o_file"
+fi


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvDocBook
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvHtml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvHtml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvHtml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,146 @@
+#!/bin/sh
+
+wv_script_name="$0"
+
+prefix=c:/progra~1/Wv
+exec_prefix=
+datadir=
+t_dir=.
+
+wv_opts=
+i_file=
+o_file=
+print_help=no
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      ;;
+    --datadir=*)
+      datadir=$optarg
+      ;;
+    --targetdir=*)
+      t_dir=$optarg
+      ;;
+    --charset=* | --password=*)
+      wv_opts="$wv_opts $1"
+      ;;
+    -1)
+      wv_opts="$wv_opts $1"
+      ;;
+    -v | --version)
+      echo 1.0.2
+      exit 0
+      ;;
+    -\? | -h | --help)
+      cat << EOF
+Usage: $wv_script_name [OPTIONS] <input-file> <output-file>
+Options:
+      --prefix=<DIR>        Set prefix (default is c:/progra~1/Wv)
+      --exec-prefix=<DIR>   Set exec_prefix (default is ${prefix})
+      --datadir=<DIR>       Set datadir (default is ${prefix}/share)
+      --targetdir=<DIR>     Target directory (target is <DIR>/<output-file>)
+      --charset=<charset>   Specify an iconv charset encoding
+      --password=<password> Specify password for encrypted
+  -v, --version             Print version info and exit
+
+Authors:
+  Dom Lachowicz (dominicl at seas.upenn.edu)
+  Caolan McNamara (original author)
+Visit http://www.wvware.com/
+EOF
+      exit 0
+      ;;
+    -?*)
+      echo "Option '$1' not recognized."
+      exit 1
+      ;;
+    *)
+      if test "x$i_file" = "x"; then
+        i_file=$1
+      elif test "x$o_file" = "x"; then
+        o_file=$1
+      else
+        echo "Option '$1' not recognized."
+        exit 1
+      fi
+      ;;
+  esac
+  shift
+done
+
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as input"
+  exit 1
+fi
+if test -r "$i_file"; then
+  okay=yes
+else
+  echo "error: '$i_file' unreadable"
+  exit 1
+fi
+
+if test "x$o_file" = "x"; then
+  echo "Usage: $1 [OPTIONS] <input-file> <output-file>"
+  exit 1
+fi
+name=`basename "$o_file"`
+if test "x$o_file" != "x$name"; then
+  echo "* * * Better to use '--targetdir' for writing in another directory * * *"
+  exit 1
+fi
+name=`echo $name | sed 's/\.[^\.]*$//'`
+
+if test "x$exec_prefix" = "x"; then
+  exec_prefix=${prefix}
+fi
+wv_exec="$exec_prefix/bin/wvWare"
+if test -x "$wv_exec"; then
+  okay=yes
+else
+  wv_version=`wvWare -v 2>&1 | cut -f 2 -d " "`
+  if test "x$wv_version" = "x1.0.2"; then
+    wv_exec="wvWare"
+  else
+    echo "error: no executable at '$wv_exec' or in path"
+    exit 1
+  fi
+fi
+
+if test "x$datadir" = "x"; then
+  datadir=${prefix}/share
+fi
+xmlcfg="$datadir/wv/wvHtml.xml"
+if test -r "$xmlcfg"; then
+  okay=yes
+else
+  echo "error: '$xmlcfg' unreadable"
+  exit 1
+fi
+
+if test -d "$t_dir"; then
+  if test -w "$t_dir"; then
+    okay=yes
+  else
+    echo "error: '$t_dir' is not writable"
+    exit 1
+  fi
+else
+  echo "error: '$t_dir' is not a directory"
+  exit 1
+fi
+
+if test "x$o_file" = "x-"; then
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file"
+else
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" > "$t_dir"/"$o_file"
+fi


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvHtml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvLatex
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvLatex	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvLatex	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,148 @@
+#!/bin/sh
+
+wv_script_name="$0"
+
+prefix=c:/progra~1/Wv
+exec_prefix=
+datadir=
+t_dir=.
+
+wv_opts=
+i_file=
+o_file=
+print_help=no
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      ;;
+    --datadir=*)
+      datadir=$optarg
+      ;;
+    --targetdir=*)
+      t_dir=$optarg
+      ;;
+    --charset=* | --password=*)
+      wv_opts="$wv_opts $1"
+      ;;
+    -v | --version)
+      echo 1.0.2
+      exit 0
+      ;;
+    -\? | -h | --help)
+      cat << EOF
+Usage: $wv_script_name [OPTIONS] <input-file> <output-file>
+Options:
+      --prefix=<DIR>        Set prefix (default is c:/progra~1/Wv)
+      --exec-prefix=<DIR>   Set exec_prefix (default is ${prefix})
+      --datadir=<DIR>       Set datadir (default is ${prefix}/share)
+      --targetdir=<DIR>     Target directory (target is <DIR>/<output-file>)
+      --charset=<charset>   Specify an iconv charset encoding
+      --password=<password> Specify password for encrypted
+  -v, --version             Print version info and exit
+
+Authors:
+  Dom Lachowicz (dominicl at seas.upenn.edu)
+  Caolan McNamara (original author)
+Visit http://www.wvware.com/
+EOF
+      exit 0
+      ;;
+    -?*)
+      echo "Option '$1' not recognized."
+      exit 1
+      ;;
+    *)
+      if test "x$i_file" = "x"; then
+        i_file=$1
+      elif test "x$o_file" = "x"; then
+        o_file=$1
+      else
+        echo "Option '$1' not recognized."
+        exit 1
+      fi
+      ;;
+  esac
+  shift
+done
+
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as input"
+  exit 1
+fi
+if test -r "$i_file"; then
+  okay=yes
+else
+  echo "error: '$i_file' unreadable"
+  exit 1
+fi
+
+if test "x$o_file" = "x"; then
+  echo "Usage: $1 [OPTIONS] <input-file> <output-file>"
+  exit 1
+fi
+name=`basename "$o_file"`
+if test "x$o_file" != "x$name"; then
+  echo "* * * Better to use '--targetdir' for writing in another directory * * *"
+  exit 1
+fi
+sp_chk=`echo $name | sed "s/ /_/g"`
+if test "x$name" != "x$sp_chk"; then
+  echo "sorry, LaTeX file names cannot contain spaces."
+  exit 1
+fi
+name=`echo $name | sed 's/\.[^\.]*$//'`
+
+if test "x$exec_prefix" = "x"; then
+  exec_prefix=${prefix}
+fi
+wv_exec="$exec_prefix/bin/wvWare"
+if test -x "$wv_exec"; then
+  okay=yes
+else
+  wv_version=`wvWare -v 2>&1 | cut -f 2 -d " "`
+  if test "x$wv_version" = "x1.0.2"; then
+    wv_exec="wvWare"
+  else
+    echo "error: no executable at '$wv_exec' or in path"
+    exit 1
+  fi
+fi
+
+if test "x$datadir" = "x"; then
+  datadir=${prefix}/share
+fi
+xmlcfg="$datadir/wv/wvLaTeX.xml"
+if test -r "$xmlcfg"; then
+  okay=yes
+else
+  echo "error: '$xmlcfg' unreadable"
+  exit 1
+fi
+
+if test -d "$t_dir"; then
+  if test -w "$t_dir"; then
+    okay=yes
+  else
+    echo "error: '$t_dir' is not writable"
+    exit 1
+  fi
+else
+  echo "error: '$t_dir' is not a directory"
+  exit 1
+fi
+
+if test "x$o_file" = "x-"; then
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file"
+else
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" > "$t_dir"/"$o_file"
+fi


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvLatex
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvMime
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvMime	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvMime	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,75 @@
+#!/bin/sh 
+
+if [ ${#} -ne "1" ]; then
+	echo "Usage: ${0} <word document>"
+	exit 1
+fi
+
+# check our requirements
+type wvPS >/dev/null 2>&1
+if [ ${?} -ne "0" ]; then
+	echo "Error: required program 'wvPS' was not found"
+	exit 1
+fi
+
+# viewer application
+GV=""
+
+# check for gnome ghost-view first
+type ggv >/dev/null 2>&1
+if [ ${?} -eq "0" ]; then
+	GV="ggv"
+else
+	# TODO: does kde have something?
+
+	# try to default back onto gv
+	type gv >/dev/null 2>&1
+	if [ ${?} -eq "0" ]; then
+		GV="gv"
+	else
+		# old solaris systems
+		type ghostview >/dev/null 2>&1
+		if [ ${?} -eq "0" ]; then
+			GV="ghostview"
+		else
+			# unrecoverable error
+			echo "Could not find a suitable PostScript viewer."
+			echo "Please install ggv, gv, or ghostview"
+			exit 1
+		fi
+	fi
+fi
+
+# temporary PS file, mangled to get some sort
+# of semi-uniqueness
+FILE=`basename ${1}`
+TMPDIR="/tmp/${FILE}-${USER}-${$}"
+TMPPS="$TMPDIR/${FILE}-${USER}-${$}.ps" 
+
+mkdir $TMPDIR
+
+# Make sure all graphics go into /tmp as well
+cp ${1} $TMPDIR/$FILE
+
+# Extract graphics
+wvLatex "$TMPDIR/$FILE" "$TMPDIR/$FILE.tex" 2>/dev/null >/dev/null
+
+# Graphics conversion if make_epses.sh installed:
+STEM=$TMPDIR/`basename ${1} .doc`
+type make_epses.sh 2>&1 >/dev/null
+  if [ ${?} -eq "0" ]; then
+    (cd $TMPDIR; make_epses.sh $STEM)
+  fi
+
+wvPS $TMPDIR/$FILE ${TMPPS}
+if [ ${?} -ne "0" ]; then 
+	echo "Could not translate into Postscript" 
+	exit 1 
+fi 
+
+# call our ghost-viewer
+${GV} ${TMPPS}
+rm -f ${TMPPS}
+
+cd /
+rm -rf $TMPDIR


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvMime
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPDF
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPDF	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPDF	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,348 @@
+#!/bin/sh
+
+wv_script_name="$0"
+
+which latex >/dev/null 2>&1
+if [ ${?} -ne "0" ]; then
+  echo "Could not find required program 'latex'"
+  exit 1
+fi
+
+which dvips >/dev/null 2>&1
+if [ ${?} -ne "0" ]; then
+  echo "Could not find required program 'dvips'"
+  exit 1
+fi
+
+distiller="none"
+which distill >/dev/null 2>&1
+if [ ${?} -ne "0" ]; then
+  which ps2pdf >/dev/null 2>&1
+  if [ ${?} -ne "0" ]; then
+    distiller="none"
+  else
+    distiller="ps2pdf"
+  fi
+else
+  distiller="distill"
+fi
+
+if test "$distiller" = "none"; then
+  echo "Could not find required program(s) 'distill' or 'ps2pdf'"
+  exit 1
+fi
+
+prefix=c:/progra~1/Wv
+exec_prefix=
+datadir=
+t_dir=.
+
+wv_opts=
+i_file=
+o_file=
+print_help=no
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      ;;
+    --datadir=*)
+      datadir=$optarg
+      ;;
+    --targetdir=*)
+      t_dir=$optarg
+      ;;
+    --charset=* | --password=*)
+      wv_opts="$wv_opts $1"
+      ;;
+    -v | --version)
+      echo 1.0.2
+      exit 0
+      ;;
+    -\? | -h | --help)
+      cat << EOF
+Usage: $wv_script_name [OPTIONS] <input-file> <output-file>
+Options:
+      --prefix=<DIR>        Set prefix (default is c:/progra~1/Wv)
+      --exec-prefix=<DIR>   Set exec_prefix (default is ${prefix})
+      --datadir=<DIR>       Set datadir (default is ${prefix}/share)
+      --targetdir=<DIR>     Target directory (target is <DIR>/<output-file>)
+      --charset=<charset>   Specify an iconv charset encoding
+      --password=<password> Specify password for encrypted
+  -v, --version             Print version info and exit
+
+Authors:
+  Dom Lachowicz (dominicl at seas.upenn.edu)
+  Caolan McNamara (original author)
+Visit http://www.wvware.com/
+EOF
+      exit 0
+      ;;
+    -?*)
+      echo "Option '$1' not recognized."
+      exit 1
+      ;;
+    *)
+      if test "x$i_file" = "x"; then
+        i_file=$1
+      elif test "x$o_file" = "x"; then
+        o_file=$1
+      else
+        echo "Option '$1' not recognized."
+        exit 1
+      fi
+      ;;
+  esac
+  shift
+done
+
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as input"
+  exit 1
+fi
+if test -r "$i_file"; then
+  okay=yes
+else
+  echo "error: '$i_file' unreadable"
+  exit 1
+fi
+
+if test "x$o_file" = "x"; then
+  echo "Usage: $1 [OPTIONS] <input-file> <output-file>"
+  exit 1
+fi
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as output"
+  exit 1
+fi
+name=`basename "$o_file"`
+if test "x$o_file" != "x$name"; then
+  echo "error: use '--targetdir' for writing in another directory"
+  exit 1
+fi
+name=`basename "$o_file" | sed "s/ /_/g"`
+name=`echo $name | sed 's/\.[^\.]*$//'`
+
+if test "x$exec_prefix" = "x"; then
+  exec_prefix=${prefix}
+fi
+wv_exec="$exec_prefix/bin/wvWare"
+if test -x "$wv_exec"; then
+  okay=yes
+else
+  wv_version=`wvWare -v 2>&1 | cut -f 2 -d " "`
+  if test "x$wv_version" = "x1.0.2"; then
+    wv_exec="wvWare"
+  else
+    echo "error: no executable at '$wv_exec' or in path"
+    exit 1
+  fi
+fi
+
+if test "x$datadir" = "x"; then
+  datadir=${prefix}/share
+fi
+xmlcfg="$datadir/wv/wvLaTeX.xml"
+if test -r "$xmlcfg"; then
+  okay=yes
+else
+  echo "error: '$xmlcfg' unreadable"
+  exit 1
+fi
+
+if test -d "$t_dir"; then
+  if test -w "$t_dir"; then
+    okay=yes
+  else
+    echo "error: '$t_dir' is not writable"
+    exit 1
+  fi
+else
+  echo "error: '$t_dir' is not a directory"
+  exit 1
+fi
+
+# auto_wmf=`"$wv_exec" --auto-eps=wmf`
+# auto_emf=`"$wv_exec" --auto-eps=emf`
+# auto_png=`"$wv_exec" --auto-eps=png`
+# auto_jpg=`"$wv_exec" --auto-eps=jpg`
+# auto_pict=`"$wv_exec" --auto-eps=pict`
+
+im_chk=`convert --help 2>&1 | grep -v ImageMagick`
+if test "x$im_chk" = "x"; then
+  im_chk="no"
+  s_img=""
+else
+  im_chk="yes"
+# if we have ImageMagick's convert, then use that to convert PNG, JPEG & PICT
+# to EPS. Therefore, need to suppress wvWare's desire to convert these:
+  s_img="png,jpg,pict"
+fi
+
+"$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" -s "$s_img" > "$t_dir"/"$name".tex
+
+cd "$t_dir"
+
+echo
+echo 'Current directory: '`pwd`
+
+# First, convert any images
+
+i_okay=yes
+
+for i_name in "$name"*.wmf; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/wmf$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+for i_name in "$name"*.emf; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/emf$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      echo unable to convert '"'$i_name'"' '(no converter)'
+      i_okay=no
+    fi
+  fi
+done
+
+for i_name in "$name"*.png; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/png$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+for i_name in "$name"*.jpg; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/jpg$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+for i_name in "$name"*.pict; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/pict$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+if test "$i_okay" = "no"; then
+  echo 'WARNING: Failed to convert one or more images to EPS'
+fi
+
+# "$name".tex is the LaTeX file
+# use latex to convert this to DVI
+
+latex --interaction=batchmode "$name".tex >/dev/null 2>&1
+
+# check latex exit status and comment or clean up
+if [ ${?} -ne "0" ]; then
+	echo "Some problem running latex."
+	echo "Check for Errors in $name.log"
+	echo "Continuing..."
+else
+	rm -f "$name".aux "$name".log "$name".tex
+fi
+
+# latex replaces the "tex" extension with a "dvi" extension
+if [ ! -f "$name".dvi ]; then
+	echo "Conversion into dvi failed"
+	exit 1
+fi
+
+dvips -o "$name".ps "$name".dvi >/dev/null 2>&1
+if [ ${?} -ne "0" ]; then
+	echo "Could not convert into Postscript"
+	exit 1
+fi
+
+#clean up
+rm -f "$name".dvi
+
+if test "$distiller" = "distill"; then
+  distill "$name".ps >/dev/null 2>&1
+else
+  ps2pdf "$name".ps "$name".ps.pdf >/dev/null 2>&1
+fi
+if [ ${?} -ne "0" ]; then
+	echo "Could not convert into PDF"
+	exit 1
+fi
+
+cp -f "$name".ps.pdf "$o_file"
+
+#clean up
+rm -f "$name".ps "$name".ps.log "$name".ps.pdf


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPDF
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPS
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPS	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPS	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,315 @@
+#!/bin/sh
+
+wv_script_name="$0"
+
+which latex >/dev/null 2>&1
+if [ ${?} -ne "0" ]; then
+  echo "Could not find required program 'latex'"
+  exit 1
+fi
+
+which dvips >/dev/null 2>&1
+if [ ${?} -ne "0" ]; then
+  echo "Could not find required program 'dvips'"
+  exit 1
+fi
+
+prefix=c:/progra~1/Wv
+exec_prefix=
+datadir=
+t_dir=.
+
+wv_opts=
+i_file=
+o_file=
+print_help=no
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      ;;
+    --datadir=*)
+      datadir=$optarg
+      ;;
+    --targetdir=*)
+      t_dir=$optarg
+      ;;
+    --charset=* | --password=*)
+      wv_opts="$wv_opts $1"
+      ;;
+    -v | --version)
+      echo 1.0.2
+      exit 0
+      ;;
+    -\? | -h | --help)
+      cat << EOF
+Usage: $wv_script_name [OPTIONS] <input-file> <output-file>
+Options:
+      --prefix=<DIR>        Set prefix (default is c:/progra~1/Wv)
+      --exec-prefix=<DIR>   Set exec_prefix (default is ${prefix})
+      --datadir=<DIR>       Set datadir (default is ${prefix}/share)
+      --targetdir=<DIR>     Target directory (target is <DIR>/<output-file>)
+      --charset=<charset>   Specify an iconv charset encoding
+      --password=<password> Specify password for encrypted
+  -v, --version             Print version info and exit
+
+Authors:
+  Dom Lachowicz (dominicl at seas.upenn.edu)
+  Caolan McNamara (original author)
+Visit http://www.wvware.com/
+EOF
+      exit 0
+      ;;
+    -?*)
+      echo "Option '$1' not recognized."
+      exit 1
+      ;;
+    *)
+      if test "x$i_file" = "x"; then
+        i_file=$1
+      elif test "x$o_file" = "x"; then
+        o_file=$1
+      else
+        echo "Option '$1' not recognized."
+        exit 1
+      fi
+      ;;
+  esac
+  shift
+done
+
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as input"
+  exit 1
+fi
+if test -r "$i_file"; then
+  okay=yes
+else
+  echo "error: '$i_file' unreadable"
+  exit 1
+fi
+
+if test "x$o_file" = "x"; then
+  echo "Usage: $1 [OPTIONS] <input-file> <output-file>"
+  exit 1
+fi
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as output"
+  exit 1
+fi
+name=`basename "$o_file"`
+if test "x$o_file" != "x$name"; then
+  echo "error: use '--targetdir' for writing in another directory"
+  exit 1
+fi
+name=`basename "$o_file" | sed "s/ /_/g"`
+name=`echo $name | sed 's/\.[^\.]*$//'`
+
+if test "x$exec_prefix" = "x"; then
+  exec_prefix=${prefix}
+fi
+wv_exec="$exec_prefix/bin/wvWare"
+if test -x "$wv_exec"; then
+  okay=yes
+else
+  wv_version=`wvWare -v 2>&1 | cut -f 2 -d " "`
+  if test "x$wv_version" = "x1.0.2"; then
+    wv_exec="wvWare"
+  else
+    echo "error: no executable at '$wv_exec' or in path"
+    exit 1
+  fi
+fi
+
+if test "x$datadir" = "x"; then
+  datadir=${prefix}/share
+fi
+xmlcfg="$datadir/wv/wvLaTeX.xml"
+if test -r "$xmlcfg"; then
+  okay=yes
+else
+  echo "error: '$xmlcfg' unreadable"
+  exit 1
+fi
+
+if test -d "$t_dir"; then
+  if test -w "$t_dir"; then
+    okay=yes
+  else
+    echo "error: '$t_dir' is not writable"
+    exit 1
+  fi
+else
+  echo "error: '$t_dir' is not a directory"
+  exit 1
+fi
+
+# auto_wmf=`"$wv_exec" --auto-eps=wmf`
+# auto_emf=`"$wv_exec" --auto-eps=emf`
+# auto_png=`"$wv_exec" --auto-eps=png`
+# auto_jpg=`"$wv_exec" --auto-eps=jpg`
+# auto_pict=`"$wv_exec" --auto-eps=pict`
+
+im_chk=`convert --help 2>&1 | grep -v ImageMagick`
+if test "x$im_chk" = "x"; then
+  im_chk="no"
+  s_img=""
+else
+  im_chk="yes"
+# if we have ImageMagick's convert, then use that to convert PNG, JPEG & PICT
+# to EPS. Therefore, need to suppress wvWare's desire to convert these:
+  s_img="png,jpg,pict"
+fi
+
+"$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" -s "$s_img" > "$t_dir"/"$name".tex
+
+cd "$t_dir"
+
+echo
+echo 'Current directory: '`pwd`
+
+# First, convert any images
+
+i_okay=yes
+
+for i_name in "$name"*.wmf; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/wmf$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+for i_name in "$name"*.emf; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/emf$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      echo unable to convert '"'$i_name'"' '(no converter)'
+      i_okay=no
+    fi
+  fi
+done
+
+for i_name in "$name"*.png; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/png$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+for i_name in "$name"*.jpg; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/jpg$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+for i_name in "$name"*.pict; do
+  if test -r "$i_name"; then
+    e_name=`echo "$i_name" | sed 's/pict$/eps/'`
+    if test -r "$e_name"; then
+      echo '"'$e_name'"' exists - skipping...
+    else
+      if test "$im_chk" = "yes"; then
+        convert "$i_name" "$e_name"
+        if test -r "$e_name"; then
+          echo created '"'$e_name'"'
+        else
+          echo '"'$i_name'"': conversion failed
+          i_okay=no
+        fi
+      else
+        echo unable to convert '"'$i_name'"' '(no converter)'
+        i_okay=no
+      fi
+    fi
+  fi
+done
+
+if test "$i_okay" = "no"; then
+  echo 'WARNING: Failed to convert one or more images to EPS'
+fi
+
+# "$name".tex is the LaTeX file
+# use latex to convert this to DVI
+
+latex --interaction=batchmode "$name".tex >/dev/null 2>&1
+
+# check latex exit status and comment or clean up
+if [ ${?} -ne "0" ]; then
+	echo "Some problem running latex."
+	echo "Check for Errors in $name.log"
+	echo "Continuing..."
+else
+	rm -f "$name".aux "$name".log "$name".tex
+fi
+
+# latex replaces the "tex" extension with a "dvi" extension
+if [ ! -f "$name".dvi ]; then
+	echo "Conversion into dvi failed"
+	exit 1
+fi
+
+dvips -o "$o_file" "$name".dvi >/dev/null 2>&1
+if [ ${?} -ne "0" ]; then
+	echo "Could not convert into Postscript"
+	exit 1
+fi
+
+#clean up
+rm -f "$name".dvi


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvPS
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvRTF.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvRTF.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvSummary.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvSummary.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvText
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvText	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvText	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,82 @@
+#!/bin/sh
+
+prefix=c:/progra~1/Wv
+exec_prefix=${prefix}
+datadir=${prefix}/share
+tmpdir=${TMPDIR:-/tmp}
+
+# argument checking
+if [ ${#} -ne "2" ]; then
+	echo "Usage: ${0} <word document> <text output file>"
+	exit 1
+fi
+
+USE_DUMP=0
+which elinks >/dev/null 2>&1
+if [ ${?} -eq "0" ]; then
+    USE_DUMP=3
+else
+    which links >/dev/null 2>&1
+    if [ ${?} -eq "0" ]; then
+	USE_DUMP=2
+    else
+	which lynx >/dev/null 2>&1
+	if [ ${?} -eq "0" ]; then
+	    USE_DUMP=1
+	fi
+    fi    
+fi
+
+if [ $USE_DUMP -eq "1" ]; then
+	echo "Could not find required program 'elinks' or 'links'"
+	echo "Using lynx. Ouput will be pretty ugly."
+elif [ $USE_DUMP -eq "0" ]; then
+	echo "Could not find required program 'elinks', 'links', or even 'lynx'"
+	echo "Using wvWare -x wvText.xml. Ouput will be pretty bad."
+fi
+
+if [ $USE_DUMP -gt "0" ]; then
+
+    # first, test for wvHtml
+    which wvHtml >/dev/null 2>&1
+    if [ ${?} -ne "0" ]; then
+       	echo "Could not find required program 'wvHtml'"
+	exit 1
+    fi
+
+    # intermediate file
+    TMP_FILE=`mktemp "$tmpdir/wv-XXXXXX"`
+    TMP_FILE=`basename "$TMP_FILE"`
+
+    wvHtml -1 "${1}" --targetdir="${tmpdir}" "${TMP_FILE}" >/dev/null 2>&1
+    if [ ${?} -ne "0" ]; then
+	echo "Could not convert into HTML"
+	exit 1
+    fi
+
+    if [ $USE_DUMP -eq "3" ]; then
+	# elinks does the best
+	elinks -dump -force-html "${tmpdir}/${TMP_FILE}" > "${2}"
+    elif [ $USE_DUMP -eq "2" ]; then
+	# links does a pretty good job
+	links -dump "${tmpdir}/${TMP_FILE}" > "${2}"
+    else
+	# lynx sucks, but does better than wvText.xml
+	TERM=vt100 lynx -dump -force_html "${tmpdir}/${TMP_FILE}" > "${2}"
+    fi;
+
+    if [ ${?} -ne "0" ]; then
+	    echo "Could not convert into Text"
+	    rm -f "${tmpdir}/${TMP_FILE}"
+	    exit 1
+    fi
+
+    # clean up
+    rm -f "${tmpdir}/${TMP_FILE}"
+
+else
+    # fall back onto our cruddy output
+    # this is, admittedly, better than running
+    # 'strings' on the word document though :)
+    wvWare -x ${datadir}/wv/wvText.xml "${1}" > "${2}"
+fi


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvText
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvVersion.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvVersion.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvWare.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvWare.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvWml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvWml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvWml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,143 @@
+#!/bin/sh
+
+wv_script_name="$0"
+
+prefix=c:/progra~1/Wv
+exec_prefix=
+datadir=
+t_dir=.
+
+wv_opts=
+i_file=
+o_file=
+print_help=no
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      ;;
+    --datadir=*)
+      datadir=$optarg
+      ;;
+    --targetdir=*)
+      t_dir=$optarg
+      ;;
+    --charset=* | --password=*)
+      wv_opts="$wv_opts $1"
+      ;;
+    -v | --version)
+      echo 1.0.2
+      exit 0
+      ;;
+    -\? | -h | --help)
+      cat << EOF
+Usage: $wv_script_name [OPTIONS] <input-file> <output-file>
+Options:
+      --prefix=<DIR>        Set prefix (default is c:/progra~1/Wv)
+      --exec-prefix=<DIR>   Set exec_prefix (default is ${prefix})
+      --datadir=<DIR>       Set datadir (default is ${prefix}/share)
+      --targetdir=<DIR>     Target directory (target is <DIR>/<output-file>)
+      --charset=<charset>   Specify an iconv charset encoding
+      --password=<password> Specify password for encrypted
+  -v, --version             Print version info and exit
+
+Authors:
+  Dom Lachowicz (dominicl at seas.upenn.edu)
+  Caolan McNamara (original author)
+Visit http://www.wvware.com/
+EOF
+      exit 0
+      ;;
+    -?*)
+      echo "Option '$1' not recognized."
+      exit 1
+      ;;
+    *)
+      if test "x$i_file" = "x"; then
+        i_file=$1
+      elif test "x$o_file" = "x"; then
+        o_file=$1
+      else
+        echo "Option '$1' not recognized."
+        exit 1
+      fi
+      ;;
+  esac
+  shift
+done
+
+if test "x$i_file" = "x-"; then
+  echo "error: cannot specify '-' as input"
+  exit 1
+fi
+if test -r "$i_file"; then
+  okay=yes
+else
+  echo "error: '$i_file' unreadable"
+  exit 1
+fi
+
+if test "x$o_file" = "x"; then
+  echo "Usage: $1 [OPTIONS] <input-file> <output-file>"
+  exit 1
+fi
+name=`basename "$o_file"`
+if test "x$o_file" != "x$name"; then
+  echo "* * * Better to use '--targetdir' for writing in another directory * * *"
+  exit 1
+fi
+name=`echo $name | sed 's/\.[^\.]*$//'`
+
+if test "x$exec_prefix" = "x"; then
+  exec_prefix=${prefix}
+fi
+wv_exec="$exec_prefix/bin/wvWare"
+if test -x "$wv_exec"; then
+  okay=yes
+else
+  wv_version=`wvWare -v 2>&1 | cut -f 2 -d " "`
+  if test "x$wv_version" = "x1.0.2"; then
+    wv_exec="wvWare"
+  else
+    echo "error: no executable at '$wv_exec' or in path"
+    exit 1
+  fi
+fi
+
+if test "x$datadir" = "x"; then
+  datadir=${prefix}/share
+fi
+xmlcfg="$datadir/wv/wvWml.xml"
+if test -r "$xmlcfg"; then
+  okay=yes
+else
+  echo "error: '$xmlcfg' unreadable"
+  exit 1
+fi
+
+if test -d "$t_dir"; then
+  if test -w "$t_dir"; then
+    okay=yes
+  else
+    echo "error: '$t_dir' is not writable"
+    exit 1
+  fi
+else
+  echo "error: '$t_dir' is not a directory"
+  exit 1
+fi
+
+if test "x$o_file" = "x-"; then
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file"
+else
+  "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" > "$t_dir"/"$o_file"
+fi


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/wvWml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/zlib1.dll
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/bin/zlib1.dll
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/lib/pkgconfig/wv-1.0.pc
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/lib/pkgconfig/wv-1.0.pc	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/lib/pkgconfig/wv-1.0.pc	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,10 @@
+prefix=c:/progra~1/Wv
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: wvWare
+Description: Word Document Filter library and utilities
+Version: 1.0.2
+Libs: -L${libdir} -lwv -L/lib -lwmf -lwmflite -lfreetype -lz -L/usr/lib -lxml2 -lz -lpthread -liconv -lm -ljpeg -lpng -lz   -liconv -lpng -lz  -Wl,-s  -Le:/progra~1/gnuwin32/lib -lgw32c  -liberty -lintl -liconv -lwsock32 -lole32 -luuid -lmsvcp60   -lm
+Cflags: -I${includedir}/wv


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/lib/pkgconfig/wv-1.0.pc
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/manifest/wv-1.0.2-bin.mft
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/manifest/wv-1.0.2-bin.mft	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/manifest/wv-1.0.2-bin.mft	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,492 @@
+bin/libwv2.dll
+bin/wvAbw
+bin/wvCleanLatex
+bin/wvConvert.exe
+bin/wvDocBook
+bin/wvDVI
+bin/wvHtml
+bin/wvLatex
+bin/wvMime
+bin/wvPDF
+bin/wvPS
+bin/wvRTF.exe
+bin/wvSummary.exe
+bin/wvText
+bin/wvVersion.exe
+bin/wvWare.exe
+bin/wvWml
+contrib/wv/1.0.2/depends-GnuWin32.lst
+contrib/wv/1.0.2/wv-1.0.2-GnuWin32.README
+contrib/wv/1.0.2/wv-1.0.2-src/COPYING
+contrib/wv/1.0.2/wv-1.0.2-src/glib-wv/README
+contrib/wv/1.0.2/wv-1.0.2-src/INSTALL
+contrib/wv/1.0.2/wv-1.0.2-src/libole2/README
+contrib/wv/1.0.2/wv-1.0.2-src/magick/README
+contrib/wv/1.0.2/wv-1.0.2-src/oledecod/COPYING
+contrib/wv/1.0.2/wv-1.0.2-src/oledecod/README
+contrib/wv/1.0.2/wv-1.0.2-src/README
+lib/pkgconfig/wv-1.0.pc
+man/cat1/wvAbw.1.txt
+man/cat1/wvCleanLatex.1.txt
+man/cat1/wvDVI.1.txt
+man/cat1/wvHtml.1.txt
+man/cat1/wvLatex.1.txt
+man/cat1/wvMime.1.txt
+man/cat1/wvPDF.1.txt
+man/cat1/wvPS.1.txt
+man/cat1/wvRTF.1.txt
+man/cat1/wvSummary.1.txt
+man/cat1/wvText.1.txt
+man/cat1/wvVersion.1.txt
+man/cat1/wvWare.1.txt
+man/cat1/wvWml.1.txt
+manifest/wv-1.0.2-bin.mft
+manifest/wv-1.0.2-bin.ver
+share/wv/patterns/100.gif
+share/wv/patterns/101.gif
+share/wv/patterns/102.gif
+share/wv/patterns/103.gif
+share/wv/patterns/104.gif
+share/wv/patterns/105.gif
+share/wv/patterns/106.gif
+share/wv/patterns/107.gif
+share/wv/patterns/108.gif
+share/wv/patterns/109.gif
+share/wv/patterns/110.gif
+share/wv/patterns/111.gif
+share/wv/patterns/112.gif
+share/wv/patterns/113.gif
+share/wv/patterns/114.gif
+share/wv/patterns/115.gif
+share/wv/patterns/116.gif
+share/wv/patterns/117.gif
+share/wv/patterns/118.gif
+share/wv/patterns/119.gif
+share/wv/patterns/120.gif
+share/wv/patterns/121.gif
+share/wv/patterns/122.gif
+share/wv/patterns/123.gif
+share/wv/patterns/124.gif
+share/wv/patterns/125.gif
+share/wv/patterns/126.gif
+share/wv/patterns/127.gif
+share/wv/patterns/128.gif
+share/wv/patterns/129.gif
+share/wv/patterns/130.gif
+share/wv/patterns/131.gif
+share/wv/patterns/132.gif
+share/wv/patterns/133.gif
+share/wv/patterns/134.gif
+share/wv/patterns/135.gif
+share/wv/patterns/136.gif
+share/wv/patterns/137.gif
+share/wv/patterns/138.gif
+share/wv/patterns/139.gif
+share/wv/patterns/14.gif
+share/wv/patterns/140.gif
+share/wv/patterns/141.gif
+share/wv/patterns/142.gif
+share/wv/patterns/143.gif
+share/wv/patterns/144.gif
+share/wv/patterns/145.gif
+share/wv/patterns/146.gif
+share/wv/patterns/147.gif
+share/wv/patterns/148.gif
+share/wv/patterns/149.gif
+share/wv/patterns/15.gif
+share/wv/patterns/150.gif
+share/wv/patterns/151.gif
+share/wv/patterns/152.gif
+share/wv/patterns/153.gif
+share/wv/patterns/154.gif
+share/wv/patterns/155.gif
+share/wv/patterns/156.gif
+share/wv/patterns/157.gif
+share/wv/patterns/158.gif
+share/wv/patterns/159.gif
+share/wv/patterns/16.gif
+share/wv/patterns/160.gif
+share/wv/patterns/161.gif
+share/wv/patterns/162.gif
+share/wv/patterns/163.gif
+share/wv/patterns/164.gif
+share/wv/patterns/165.gif
+share/wv/patterns/166.gif
+share/wv/patterns/167.gif
+share/wv/patterns/168.gif
+share/wv/patterns/169.gif
+share/wv/patterns/17.gif
+share/wv/patterns/170.gif
+share/wv/patterns/171.gif
+share/wv/patterns/172.gif
+share/wv/patterns/173.gif
+share/wv/patterns/174.gif
+share/wv/patterns/175.gif
+share/wv/patterns/176.gif
+share/wv/patterns/177.gif
+share/wv/patterns/178.gif
+share/wv/patterns/179.gif
+share/wv/patterns/18.gif
+share/wv/patterns/180.gif
+share/wv/patterns/181.gif
+share/wv/patterns/182.gif
+share/wv/patterns/183.gif
+share/wv/patterns/184.gif
+share/wv/patterns/185.gif
+share/wv/patterns/186.gif
+share/wv/patterns/187.gif
+share/wv/patterns/188.gif
+share/wv/patterns/189.gif
+share/wv/patterns/19.gif
+share/wv/patterns/190.gif
+share/wv/patterns/191.gif
+share/wv/patterns/192.gif
+share/wv/patterns/193.gif
+share/wv/patterns/194.gif
+share/wv/patterns/195.gif
+share/wv/patterns/196.gif
+share/wv/patterns/197.gif
+share/wv/patterns/198.gif
+share/wv/patterns/199.gif
+share/wv/patterns/20.gif
+share/wv/patterns/200.gif
+share/wv/patterns/201.gif
+share/wv/patterns/202.gif
+share/wv/patterns/203.gif
+share/wv/patterns/204.gif
+share/wv/patterns/205.gif
+share/wv/patterns/21.gif
+share/wv/patterns/22.gif
+share/wv/patterns/23.gif
+share/wv/patterns/24.gif
+share/wv/patterns/25.gif
+share/wv/patterns/26.gif
+share/wv/patterns/27.gif
+share/wv/patterns/28.gif
+share/wv/patterns/29.gif
+share/wv/patterns/30.gif
+share/wv/patterns/31.gif
+share/wv/patterns/32.gif
+share/wv/patterns/33.gif
+share/wv/patterns/34.gif
+share/wv/patterns/35.gif
+share/wv/patterns/36.gif
+share/wv/patterns/37.gif
+share/wv/patterns/38.gif
+share/wv/patterns/39.gif
+share/wv/patterns/40.gif
+share/wv/patterns/41.gif
+share/wv/patterns/42.gif
+share/wv/patterns/43.gif
+share/wv/patterns/44.gif
+share/wv/patterns/45.gif
+share/wv/patterns/46.gif
+share/wv/patterns/47.gif
+share/wv/patterns/48.gif
+share/wv/patterns/49.gif
+share/wv/patterns/50.gif
+share/wv/patterns/51.gif
+share/wv/patterns/52.gif
+share/wv/patterns/53.gif
+share/wv/patterns/54.gif
+share/wv/patterns/55.gif
+share/wv/patterns/56.gif
+share/wv/patterns/57.gif
+share/wv/patterns/58.gif
+share/wv/patterns/59.gif
+share/wv/patterns/60.gif
+share/wv/patterns/61.gif
+share/wv/patterns/62.gif
+share/wv/patterns/63.gif
+share/wv/patterns/64.gif
+share/wv/patterns/65.gif
+share/wv/patterns/66.gif
+share/wv/patterns/67.gif
+share/wv/patterns/68.gif
+share/wv/patterns/69.gif
+share/wv/patterns/70.gif
+share/wv/patterns/71.gif
+share/wv/patterns/72.gif
+share/wv/patterns/73.gif
+share/wv/patterns/74.gif
+share/wv/patterns/75.gif
+share/wv/patterns/76.gif
+share/wv/patterns/77.gif
+share/wv/patterns/78.gif
+share/wv/patterns/79.gif
+share/wv/patterns/80.gif
+share/wv/patterns/81.gif
+share/wv/patterns/82.gif
+share/wv/patterns/83.gif
+share/wv/patterns/84.gif
+share/wv/patterns/85.gif
+share/wv/patterns/86.gif
+share/wv/patterns/87.gif
+share/wv/patterns/88.gif
+share/wv/patterns/89.gif
+share/wv/patterns/90.gif
+share/wv/patterns/91.gif
+share/wv/patterns/92.gif
+share/wv/patterns/93.gif
+share/wv/patterns/94.gif
+share/wv/patterns/95.gif
+share/wv/patterns/96.gif
+share/wv/patterns/97.gif
+share/wv/patterns/98.gif
+share/wv/patterns/99.gif
+share/wv/patterns/battributes.jpg
+share/wv/patterns/bdeleted.jpg
+share/wv/patterns/bnewlytyped.jpg
+share/wv/patterns/clear.gif
+share/wv/patterns/columnbreak.gif
+share/wv/patterns/commentbegin.gif
+share/wv/patterns/commentend.gif
+share/wv/patterns/deleted.jpg
+share/wv/patterns/doccommentb.jpg
+share/wv/patterns/doccommente.jpg
+share/wv/patterns/documentend.gif
+share/wv/patterns/eattributes.jpg
+share/wv/patterns/edeleted.jpg
+share/wv/patterns/endnotebegin.gif
+share/wv/patterns/endnoteend.gif
+share/wv/patterns/enewlytyped.jpg
+share/wv/patterns/footnotebegin.gif
+share/wv/patterns/footnoteend.gif
+share/wv/patterns/pagebreak.gif
+share/wv/patterns/sectionendcolumn.gif
+share/wv/patterns/sectionendcontinous.gif
+share/wv/patterns/sectionendeven.gif
+share/wv/patterns/sectionendnewpage.gif
+share/wv/patterns/sectionendodd.gif
+share/wv/patterns/wmf.jpg
+share/wv/wingdingfont/100.gif
+share/wv/wingdingfont/101.gif
+share/wv/wingdingfont/102.gif
+share/wv/wingdingfont/103.gif
+share/wv/wingdingfont/104.gif
+share/wv/wingdingfont/105.gif
+share/wv/wingdingfont/106.gif
+share/wv/wingdingfont/107.gif
+share/wv/wingdingfont/108.gif
+share/wv/wingdingfont/109.gif
+share/wv/wingdingfont/110.gif
+share/wv/wingdingfont/111.gif
+share/wv/wingdingfont/112.gif
+share/wv/wingdingfont/113.gif
+share/wv/wingdingfont/114.gif
+share/wv/wingdingfont/115.gif
+share/wv/wingdingfont/116.gif
+share/wv/wingdingfont/117.gif
+share/wv/wingdingfont/118.gif
+share/wv/wingdingfont/119.gif
+share/wv/wingdingfont/120.gif
+share/wv/wingdingfont/121.gif
+share/wv/wingdingfont/122.gif
+share/wv/wingdingfont/123.gif
+share/wv/wingdingfont/124.gif
+share/wv/wingdingfont/125.gif
+share/wv/wingdingfont/126.gif
+share/wv/wingdingfont/127.gif
+share/wv/wingdingfont/128.gif
+share/wv/wingdingfont/129.gif
+share/wv/wingdingfont/130.gif
+share/wv/wingdingfont/131.gif
+share/wv/wingdingfont/132.gif
+share/wv/wingdingfont/133.gif
+share/wv/wingdingfont/134.gif
+share/wv/wingdingfont/135.gif
+share/wv/wingdingfont/136.gif
+share/wv/wingdingfont/137.gif
+share/wv/wingdingfont/138.gif
+share/wv/wingdingfont/139.gif
+share/wv/wingdingfont/140.gif
+share/wv/wingdingfont/141.gif
+share/wv/wingdingfont/142.gif
+share/wv/wingdingfont/143.gif
+share/wv/wingdingfont/144.gif
+share/wv/wingdingfont/145.gif
+share/wv/wingdingfont/146.gif
+share/wv/wingdingfont/147.gif
+share/wv/wingdingfont/148.gif
+share/wv/wingdingfont/149.gif
+share/wv/wingdingfont/150.gif
+share/wv/wingdingfont/151.gif
+share/wv/wingdingfont/152.gif
+share/wv/wingdingfont/153.gif
+share/wv/wingdingfont/154.gif
+share/wv/wingdingfont/155.gif
+share/wv/wingdingfont/156.gif
+share/wv/wingdingfont/157.gif
+share/wv/wingdingfont/158.gif
+share/wv/wingdingfont/159.gif
+share/wv/wingdingfont/160.gif
+share/wv/wingdingfont/161.gif
+share/wv/wingdingfont/162.gif
+share/wv/wingdingfont/163.gif
+share/wv/wingdingfont/164.gif
+share/wv/wingdingfont/165.gif
+share/wv/wingdingfont/166.gif
+share/wv/wingdingfont/167.gif
+share/wv/wingdingfont/168.gif
+share/wv/wingdingfont/169.gif
+share/wv/wingdingfont/170.gif
+share/wv/wingdingfont/171.gif
+share/wv/wingdingfont/172.gif
+share/wv/wingdingfont/173.gif
+share/wv/wingdingfont/174.gif
+share/wv/wingdingfont/175.gif
+share/wv/wingdingfont/176.gif
+share/wv/wingdingfont/177.gif
+share/wv/wingdingfont/178.gif
+share/wv/wingdingfont/179.gif
+share/wv/wingdingfont/180.gif
+share/wv/wingdingfont/181.gif
+share/wv/wingdingfont/182.gif
+share/wv/wingdingfont/183.gif
+share/wv/wingdingfont/184.gif
+share/wv/wingdingfont/185.gif
+share/wv/wingdingfont/186.gif
+share/wv/wingdingfont/187.gif
+share/wv/wingdingfont/188.gif
+share/wv/wingdingfont/189.gif
+share/wv/wingdingfont/190.gif
+share/wv/wingdingfont/191.gif
+share/wv/wingdingfont/192.gif
+share/wv/wingdingfont/193.gif
+share/wv/wingdingfont/194.gif
+share/wv/wingdingfont/195.gif
+share/wv/wingdingfont/196.gif
+share/wv/wingdingfont/197.gif
+share/wv/wingdingfont/198.gif
+share/wv/wingdingfont/199.gif
+share/wv/wingdingfont/200.gif
+share/wv/wingdingfont/201.gif
+share/wv/wingdingfont/202.gif
+share/wv/wingdingfont/203.gif
+share/wv/wingdingfont/204.gif
+share/wv/wingdingfont/205.gif
+share/wv/wingdingfont/206.gif
+share/wv/wingdingfont/207.gif
+share/wv/wingdingfont/208.gif
+share/wv/wingdingfont/209.gif
+share/wv/wingdingfont/210.gif
+share/wv/wingdingfont/211.gif
+share/wv/wingdingfont/212.gif
+share/wv/wingdingfont/213.gif
+share/wv/wingdingfont/214.gif
+share/wv/wingdingfont/215.gif
+share/wv/wingdingfont/216.gif
+share/wv/wingdingfont/217.gif
+share/wv/wingdingfont/218.gif
+share/wv/wingdingfont/219.gif
+share/wv/wingdingfont/220.gif
+share/wv/wingdingfont/221.gif
+share/wv/wingdingfont/222.gif
+share/wv/wingdingfont/223.gif
+share/wv/wingdingfont/224.gif
+share/wv/wingdingfont/225.gif
+share/wv/wingdingfont/226.gif
+share/wv/wingdingfont/227.gif
+share/wv/wingdingfont/228.gif
+share/wv/wingdingfont/229.gif
+share/wv/wingdingfont/230.gif
+share/wv/wingdingfont/231.gif
+share/wv/wingdingfont/232.gif
+share/wv/wingdingfont/233.gif
+share/wv/wingdingfont/234.gif
+share/wv/wingdingfont/235.gif
+share/wv/wingdingfont/236.gif
+share/wv/wingdingfont/237.gif
+share/wv/wingdingfont/238.gif
+share/wv/wingdingfont/239.gif
+share/wv/wingdingfont/240.gif
+share/wv/wingdingfont/241.gif
+share/wv/wingdingfont/242.gif
+share/wv/wingdingfont/243.gif
+share/wv/wingdingfont/244.gif
+share/wv/wingdingfont/245.gif
+share/wv/wingdingfont/246.gif
+share/wv/wingdingfont/247.gif
+share/wv/wingdingfont/248.gif
+share/wv/wingdingfont/249.gif
+share/wv/wingdingfont/250.gif
+share/wv/wingdingfont/251.gif
+share/wv/wingdingfont/252.gif
+share/wv/wingdingfont/253.gif
+share/wv/wingdingfont/254.gif
+share/wv/wingdingfont/255.gif
+share/wv/wingdingfont/35.gif
+share/wv/wingdingfont/36.gif
+share/wv/wingdingfont/37.gif
+share/wv/wingdingfont/38.gif
+share/wv/wingdingfont/39.gif
+share/wv/wingdingfont/40.gif
+share/wv/wingdingfont/41.gif
+share/wv/wingdingfont/42.gif
+share/wv/wingdingfont/43.gif
+share/wv/wingdingfont/44.gif
+share/wv/wingdingfont/45.gif
+share/wv/wingdingfont/46.gif
+share/wv/wingdingfont/47.gif
+share/wv/wingdingfont/48.gif
+share/wv/wingdingfont/49.gif
+share/wv/wingdingfont/50.gif
+share/wv/wingdingfont/51.gif
+share/wv/wingdingfont/52.gif
+share/wv/wingdingfont/53.gif
+share/wv/wingdingfont/54.gif
+share/wv/wingdingfont/55.gif
+share/wv/wingdingfont/56.gif
+share/wv/wingdingfont/57.gif
+share/wv/wingdingfont/58.gif
+share/wv/wingdingfont/59.gif
+share/wv/wingdingfont/60.gif
+share/wv/wingdingfont/61.gif
+share/wv/wingdingfont/62.gif
+share/wv/wingdingfont/63.gif
+share/wv/wingdingfont/64.gif
+share/wv/wingdingfont/65.gif
+share/wv/wingdingfont/66.gif
+share/wv/wingdingfont/67.gif
+share/wv/wingdingfont/68.gif
+share/wv/wingdingfont/69.gif
+share/wv/wingdingfont/70.gif
+share/wv/wingdingfont/71.gif
+share/wv/wingdingfont/72.gif
+share/wv/wingdingfont/73.gif
+share/wv/wingdingfont/74.gif
+share/wv/wingdingfont/75.gif
+share/wv/wingdingfont/76.gif
+share/wv/wingdingfont/77.gif
+share/wv/wingdingfont/78.gif
+share/wv/wingdingfont/79.gif
+share/wv/wingdingfont/80.gif
+share/wv/wingdingfont/81.gif
+share/wv/wingdingfont/82.gif
+share/wv/wingdingfont/83.gif
+share/wv/wingdingfont/84.gif
+share/wv/wingdingfont/85.gif
+share/wv/wingdingfont/86.gif
+share/wv/wingdingfont/87.gif
+share/wv/wingdingfont/88.gif
+share/wv/wingdingfont/89.gif
+share/wv/wingdingfont/90.gif
+share/wv/wingdingfont/91.gif
+share/wv/wingdingfont/92.gif
+share/wv/wingdingfont/93.gif
+share/wv/wingdingfont/94.gif
+share/wv/wingdingfont/95.gif
+share/wv/wingdingfont/96.gif
+share/wv/wingdingfont/97.gif
+share/wv/wingdingfont/98.gif
+share/wv/wingdingfont/99.gif
+share/wv/wvAbw.xml
+share/wv/wvCleanLaTeX.xml
+share/wv/wvConfig.xml
+share/wv/wvDocbook.xml
+share/wv/wvHtml.xml
+share/wv/wvLaTeX.xml
+share/wv/wvText.xml
+share/wv/wvWml.xml
+share/wv/wvXml.dtd
+share/wv/wvXml.xml

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/manifest/wv-1.0.2-bin.ver
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/manifest/wv-1.0.2-bin.ver	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/manifest/wv-1.0.2-bin.ver	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,2 @@
+Wv 1.0.2: Binaries
+Wv:

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/100.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/100.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/101.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/101.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/102.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/102.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/103.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/103.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/104.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/104.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/105.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/105.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/106.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/106.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/107.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/107.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/108.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/108.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/109.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/109.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/110.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/110.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/111.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/111.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/112.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/112.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/113.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/113.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/114.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/114.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/115.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/115.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/116.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/116.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/117.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/117.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/118.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/118.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/119.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/119.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/120.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/120.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/121.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/121.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/122.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/122.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/123.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/123.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/124.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/124.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/125.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/125.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/126.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/126.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/127.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/127.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/128.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/128.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/129.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/129.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/130.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/130.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/131.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/131.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/132.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/132.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/133.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/133.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/134.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/134.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/135.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/135.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/136.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/136.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/137.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/137.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/138.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/138.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/139.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/139.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/14.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/14.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/140.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/140.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/141.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/141.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/142.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/142.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/143.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/143.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/144.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/144.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/145.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/145.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/146.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/146.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/147.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/147.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/148.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/148.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/149.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/149.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/15.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/15.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/150.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/150.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/151.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/151.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/152.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/152.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/153.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/153.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/154.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/154.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/155.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/155.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/156.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/156.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/157.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/157.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/158.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/158.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/159.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/159.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/16.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/16.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/160.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/160.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/161.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/161.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/162.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/162.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/163.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/163.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/164.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/164.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/165.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/165.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/166.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/166.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/167.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/167.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/168.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/168.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/169.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/169.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/17.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/17.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/170.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/170.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/171.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/171.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/172.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/172.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/173.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/173.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/174.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/174.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/175.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/175.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/176.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/176.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/177.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/177.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/178.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/178.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/179.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/179.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/18.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/18.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/180.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/180.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/181.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/181.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/182.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/182.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/183.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/183.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/184.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/184.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/185.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/185.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/186.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/186.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/187.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/187.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/188.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/188.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/189.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/189.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/19.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/19.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/190.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/190.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/191.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/191.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/192.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/192.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/193.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/193.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/194.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/194.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/195.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/195.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/196.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/196.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/197.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/197.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/198.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/198.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/199.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/199.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/20.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/20.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/200.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/200.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/201.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/201.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/202.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/202.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/203.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/203.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/204.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/204.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/205.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/205.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/21.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/21.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/22.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/22.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/23.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/23.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/24.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/24.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/25.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/25.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/26.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/26.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/27.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/27.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/28.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/28.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/29.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/29.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/30.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/30.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/31.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/31.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/32.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/32.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/33.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/33.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/34.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/34.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/35.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/35.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/36.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/36.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/37.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/37.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/38.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/38.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/39.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/39.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/40.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/40.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/41.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/41.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/42.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/42.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/43.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/43.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/44.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/44.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/45.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/45.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/46.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/46.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/47.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/47.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/48.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/48.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/49.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/49.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/50.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/50.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/51.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/51.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/52.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/52.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/53.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/53.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/54.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/54.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/55.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/55.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/56.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/56.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/57.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/57.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/58.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/58.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/59.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/59.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/60.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/60.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/61.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/61.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/62.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/62.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/63.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/63.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/64.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/64.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/65.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/65.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/66.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/66.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/67.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/67.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/68.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/68.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/69.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/69.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/70.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/70.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/71.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/71.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/72.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/72.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/73.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/73.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/74.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/74.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/75.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/75.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/76.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/76.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/77.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/77.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/78.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/78.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/79.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/79.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/80.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/80.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/81.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/81.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/82.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/82.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/83.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/83.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/84.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/84.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/85.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/85.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/86.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/86.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/87.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/87.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/88.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/88.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/89.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/89.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/90.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/90.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/91.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/91.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/92.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/92.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/93.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/93.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/94.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/94.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/95.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/95.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/96.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/96.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/97.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/97.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/98.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/98.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/99.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/99.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/battributes.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/battributes.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/bdeleted.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/bdeleted.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/bnewlytyped.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/bnewlytyped.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/clear.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/clear.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/columnbreak.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/columnbreak.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/commentbegin.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/commentbegin.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/commentend.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/commentend.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/deleted.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/deleted.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/doccommentb.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/doccommentb.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/doccommente.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/doccommente.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/documentend.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/documentend.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/eattributes.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/eattributes.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/edeleted.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/edeleted.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/endnotebegin.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/endnotebegin.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/endnoteend.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/endnoteend.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/enewlytyped.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/enewlytyped.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/footnotebegin.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/footnotebegin.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/footnoteend.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/footnoteend.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/pagebreak.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/pagebreak.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendcolumn.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendcolumn.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendcontinous.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendcontinous.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendeven.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendeven.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendnewpage.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendnewpage.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendodd.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/sectionendodd.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/wmf.jpg
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/patterns/wmf.jpg
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/100.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/100.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/101.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/101.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/102.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/102.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/103.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/103.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/104.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/104.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/105.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/105.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/106.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/106.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/107.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/107.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/108.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/108.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/109.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/109.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/110.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/110.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/111.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/111.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/112.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/112.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/113.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/113.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/114.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/114.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/115.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/115.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/116.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/116.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/117.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/117.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/118.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/118.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/119.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/119.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/120.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/120.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/121.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/121.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/122.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/122.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/123.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/123.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/124.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/124.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/125.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/125.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/126.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/126.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/127.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/127.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/128.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/128.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/129.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/129.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/130.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/130.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/131.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/131.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/132.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/132.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/133.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/133.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/134.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/134.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/135.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/135.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/136.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/136.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/137.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/137.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/138.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/138.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/139.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/139.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/140.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/140.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/141.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/141.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/142.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/142.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/143.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/143.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/144.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/144.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/145.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/145.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/146.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/146.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/147.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/147.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/148.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/148.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/149.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/149.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/150.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/150.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/151.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/151.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/152.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/152.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/153.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/153.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/154.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/154.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/155.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/155.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/156.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/156.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/157.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/157.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/158.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/158.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/159.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/159.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/160.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/160.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/161.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/161.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/162.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/162.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/163.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/163.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/164.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/164.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/165.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/165.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/166.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/166.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/167.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/167.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/168.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/168.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/169.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/169.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/170.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/170.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/171.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/171.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/172.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/172.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/173.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/173.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/174.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/174.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/175.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/175.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/176.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/176.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/177.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/177.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/178.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/178.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/179.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/179.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/180.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/180.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/181.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/181.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/182.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/182.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/183.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/183.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/184.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/184.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/185.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/185.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/186.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/186.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/187.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/187.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/188.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/188.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/189.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/189.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/190.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/190.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/191.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/191.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/192.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/192.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/193.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/193.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/194.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/194.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/195.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/195.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/196.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/196.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/197.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/197.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/198.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/198.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/199.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/199.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/200.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/200.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/201.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/201.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/202.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/202.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/203.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/203.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/204.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/204.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/205.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/205.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/206.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/206.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/207.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/207.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/208.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/208.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/209.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/209.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/210.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/210.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/211.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/211.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/212.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/212.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/213.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/213.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/214.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/214.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/215.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/215.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/216.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/216.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/217.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/217.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/218.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/218.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/219.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/219.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/220.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/220.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/221.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/221.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/222.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/222.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/223.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/223.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/224.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/224.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/225.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/225.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/226.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/226.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/227.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/227.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/228.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/228.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/229.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/229.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/230.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/230.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/231.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/231.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/232.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/232.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/233.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/233.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/234.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/234.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/235.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/235.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/236.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/236.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/237.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/237.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/238.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/238.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/239.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/239.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/240.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/240.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/241.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/241.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/242.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/242.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/243.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/243.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/244.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/244.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/245.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/245.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/246.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/246.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/247.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/247.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/248.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/248.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/249.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/249.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/250.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/250.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/251.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/251.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/252.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/252.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/253.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/253.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/254.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/254.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/255.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/255.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/35.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/35.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/36.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/36.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/37.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/37.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/38.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/38.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/39.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/39.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/40.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/40.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/41.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/41.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/42.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/42.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/43.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/43.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/44.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/44.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/45.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/45.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/46.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/46.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/47.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/47.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/48.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/48.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/49.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/49.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/50.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/50.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/51.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/51.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/52.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/52.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/53.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/53.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/54.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/54.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/55.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/55.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/56.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/56.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/57.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/57.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/58.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/58.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/59.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/59.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/60.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/60.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/61.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/61.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/62.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/62.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/63.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/63.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/64.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/64.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/65.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/65.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/66.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/66.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/67.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/67.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/68.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/68.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/69.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/69.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/70.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/70.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/71.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/71.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/72.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/72.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/73.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/73.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/74.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/74.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/75.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/75.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/76.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/76.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/77.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/77.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/78.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/78.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/79.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/79.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/80.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/80.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/81.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/81.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/82.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/82.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/83.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/83.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/84.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/84.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/85.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/85.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/86.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/86.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/87.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/87.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/88.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/88.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/89.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/89.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/90.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/90.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/91.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/91.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/92.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/92.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/93.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/93.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/94.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/94.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/95.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/95.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/96.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/96.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/97.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/97.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/98.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/98.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/99.gif
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wingdingfont/99.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvAbw.xml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvAbw.xml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvAbw.xml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,375 @@
+<main>
+<charentity>
+<begin>ABW</begin>
+</charentity>
+
+<document>
+<begin>&lt;?xml version=&quot;1.0&quot;?&gt;
+&lt;abiword version=&quot;0.7.11&quot;&gt;
+&lt;!-- =====================================================================  -->
+&lt;!-- This file is an AbiWord document.                                      --&gt;
+&lt;!-- AbiWord is a free, Open Source word processor.                         --&gt;
+&lt;!-- You may obtain more information about AbiWord at www.abisource.com     --&gt;
+&lt;!-- You should not edit this file by hand.                                 --&gt;
+&lt;!-- =====================================================================  --&gt;
+&lt;!--         Build_ID          = (none) --&gt;
+&lt;!--         Build_Version     = 0.7.11 --&gt;
+&lt;!--         Build_Options     = LicensedTrademarks:On Debug:Off --&gt;
+&lt;!--         Build_Target      = /Builds/Builds/0968796595/tmp/abi-0.7.11/src/WIN32_1.1.2_i386_OBJ/obj --&gt;
+&lt;!--         Build_CompileTime = 17:41:55 --&gt;
+&lt;!--         Build_CompileDate = Sep 12 2000 --&gt;
+&lt;!-- Created with wvWare by Dom Lachowicz. See http://wvware.sourceforge.net --&gt;
+</begin>
+<end>
+&lt;/abiword&gt;
+</end>
+</document>
+
+<section>
+<begin>
+&lt;section&gt;
+</begin>
+<end>&lt;/section&gt;
+</end>
+</section>
+
+<justification>
+<left></left>
+<right> props=&quot;text-align:right&quot;</right>
+<center> props=&quot;text-align:center&quot;</center>
+<block> props=&quot;text-align:justify&quot;</block>
+<asian>&lt;!--Could Someone who sees this tag tell me what was is this type of justification, asian languages only i thing--&gt;</asian>
+</justification>
+
+<numbering>
+<Arabic>type=&quot;1&quot;</Arabic>
+<UpperRoman>type=&quot;I&quot;</UpperRoman>
+<LowerRoman>type=&quot;i&quot;</LowerRoman>
+<UpperCaseN>type=&quot;A&quot;</UpperCaseN>
+<LowerCaseN>type=&quot;a&quot;</LowerCaseN>
+</numbering>
+
+<border>
+<noned>none</noned>
+<singled>solid</singled>
+<thickd>solid</thickd>
+<doubled>double</doubled>
+<number4d>double</number4d>
+<hairlined>solid</hairlined>
+<dotd>dotted</dotd>
+<dashlargegapd>dashed</dashlargegapd>
+<dotdashd>dotted</dotdashd>
+<dotdotdashd>dotted</dotdotdashd>
+<tripled>double</tripled>
+<thin-thicksmallgapd>dashed</thin-thicksmallgapd>
+<thick-thinsmallgapd>dashed</thick-thinsmallgapd>
+<thin-thick-thinsmallgapd>dashed</thin-thick-thinsmallgapd>
+<thin-thickmediumgapd>dashed</thin-thickmediumgapd>
+<thick-thinmediumgapd>dashed</thick-thinmediumgapd>
+<thin-thick-thinmediumgapd>dashed</thin-thick-thinmediumgapd>
+<thin-thicklargegapd>dashed</thin-thicklargegapd>
+<thick-thinlargegapd>dashed</thick-thinlargegapd>
+<thin-thick-thinlargegapd>dashed</thin-thick-thinlargegapd>
+<waved>solid</waved>
+<doublewaved>double</doublewaved>
+<dashsmallgapd>sashed</dashsmallgapd>
+<dashdotstrokedd>dashed</dashdotstrokedd>
+<emboss3Dd>ridge</emboss3Dd>
+<engrave3Dd>groove</engrave3Dd>
+<defaultd>ridge</defaultd>
+</border>
+
+<olist>
+<begin>&lt;!--TODO: begin ordered lists--&gt;
+</begin>
+<end>&lt;!--TODO: end ordered lists--&gt;</end>
+</olist>
+
+<ulist>
+<begin>&lt;!--TODO: begin unordered lists--&gt;
+</begin>
+<end>&lt;!--TODO: end unordered lists--&gt;</end>
+</ulist>
+
+<entry>
+<begin>&lt;!--TODO: list entries--&gt;</begin>
+<end></end>
+</entry>
+
+<text>	
+<begin>&lt;p<just/>&gt;</begin>
+<end>&lt;/p&gt;
+</end>
+</text>
+
+<!-- 
+this tableoverride option can be used to turn off handling of
+these tags in tables, which I find is necessary for at least netscape
+-->
+<tableoverrides>
+<ParaBefore>0</ParaBefore>
+<ParaRight>0</ParaRight>
+<ParaAfter>0</ParaAfter>
+<ParaLeft>0</ParaLeft>
+<ParaLeft1>0</ParaLeft1>
+<VertMergedCells>0</VertMergedCells>
+</tableoverrides>
+
+<table>
+<begin>&lt;!--TODO: ABW doesn?t support tables--&gt;</begin>
+<end></end>
+</table>
+
+<row>
+<begin>&lt;!--TODO: ABW doesn?t support tables--&gt;</begin>
+<end></end>
+</row>
+
+<cell>
+<begin>&lt;!--TODO: ABW doesn?t support tables--&gt;</begin>
+<end></end>
+</cell>
+
+<paragraph>
+<begin><text.begin/></begin>
+<!--&lt;p<just/>&gt;-->
+<end><text.end/></end>
+<!--&lt;/p&gt;-->
+</paragraph>
+
+<!-- these are all the character properties that can show up in word -->
+<bold><begin>&lt;c props=&quot;font-weight:bold&quot;&gt;</begin><end>&lt;/c&gt;</end></bold>
+<italic><begin>&lt;c props=&quot;font-style:italic&quot;&gt;</begin><end>&lt;/c&gt;</end></italic>
+
+<!--
+text that has been deleted and will be displayed with strikethrough when
+revision marked text is to be displayed
+
+use either this line...
+--> 
+<RMarkDel><begin>&lt;c props=&quot;text-decoration:line-through&quot;&gt;</begin>
+<end>&lt;/c&gt;</end>
+</RMarkDel>
+
+<!--
+or uncomment below to make deleted text dissappear (well, become commented out)
+-->
+<!--
+<RMarkDel><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></RMarkDel>
+-->
+
+<!-- I don't even know what outline means -->
+<outline><begin></begin><end></end></outline>
+<smallcaps><begin></begin><end></end></smallcaps>
+<caps><begin></begin><end></end></caps>
+<vanish><begin></begin><end></end></vanish>
+
+<!--If you uncomment this then the annotation text links will become commented out by html tags-->
+<!--
+<vanish><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></vanish>
+-->
+
+<!--
+text that has been newly typed since the last time revision marks have been accepted
+and will be displayed with underline when revision marked text is to be displayed
+
+use either this line...
+-->
+<RMark><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></RMark>
+
+<!--
+or uncomment below to make the underline dissappear
+-->
+<!--
+<RMark><begin></begin><end></end></RMark>
+-->
+
+
+<strike><begin>&lt;c props=&quot;text-decoration:line-through&quot;&gt;</begin><end>&lt;/c&gt;</end></strike>
+<shadow><begin></begin><end></end></shadow>
+<lowercase><begin></begin><end></end></lowercase>
+<emboss><begin></begin><end></end></emboss>
+<imprint><begin></begin><end></end></imprint>
+<!--double strike-->
+<dstrike><begin>&lt;c props=&quot;text-decoration:line-through&quot;&gt;</begin><end>&lt;/c&gt;</end></dstrike>
+
+<!--
+ftc's
+&
+hps
+
+keep them for font face and do that later.
+-->
+
+<super><begin>&lt;c props=&quot;text-position:superscript&quot;&gt;</begin><end>&lt;/c&gt;</end></super>
+<sub><begin>&lt;c props=&quot;text-position:subscript&quot;&gt;</begin><end>&lt;/c&gt;</end></sub>
+
+<singleu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></singleu>
+<wordu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></wordu>
+<doubleu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></doubleu>
+<dottedu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></dottedu>
+<hiddenu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></hiddenu>
+<thicku><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></thicku>
+<dashu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></dashu>
+<dotu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></dotu>
+<dotdashu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></dotdashu>
+<dotdotdashu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></dotdotdashu>
+<waveu><begin>&lt;c props=&quot;text-decoration:underline&quot;&gt;</begin><end>&lt;/c&gt;</end></waveu>
+
+<!--
+text whose properties have been changed since the last time revision marks have been accepted
+and will be displayed with a note showing the change points.
+
+use either this line (which admit it a bit scary looking, but harmless)...
+--> 
+<PropRMark><begin>&lt;!-- author<ibstPropRMark/>--&gt;</begin><end></end></PropRMark>
+
+<!--
+or uncomment below to make the notes dissappear
+-->
+<!--
+<PropRMark><begin></begin><end></end></PropRMark>
+-->
+
+<!--
+<color>
+-->
+<Black><begin>000000</begin><end></end></Black>
+<Blue><begin>0000ff</begin><end></end></Blue>
+<Cyan><begin>008080</begin><end></end></Cyan>
+<Green><begin>008000</begin><end></end></Green>
+<Magenta><begin>ff00ff</begin><end></end></Magenta>
+<Red><begin>ff0000</begin><end></end></Red>
+<Yellow><begin>ffff00</begin><end></end></Yellow>
+<White><begin>ffffff</begin><end></end></White>
+<DkBlue><begin>000080</begin><end></end></DkBlue>
+<DkCyan><begin>008080</begin><end></end></DkCyan>
+<DkGreen><begin>008000</begin><end></end></DkGreen>
+<DkMagenta><begin>ff00ff</begin><end></end></DkMagenta>
+<DkRed><begin>800000</begin><end></end></DkRed>
+<DkYellow><begin>8b8b00</begin><end></end></DkYellow>
+<DkGray><begin>808080</begin><end></end></DkGray>
+<LtGray><begin>c0c0c0</begin><end></end></LtGray>
+<!--
+</color>
+-->
+
+<!--
+<animation>
+-->
+<LasVegas><begin></begin><end></end></LasVegas>
+<BackgroundBlink><begin></begin><end></end></BackgroundBlink>
+<SparkleText><begin></begin><end></end></SparkleText>
+<MarchingAnts><begin></begin><end></end></MarchingAnts>
+<MarchingRedAnts><begin></begin><end></end></MarchingRedAnts>
+<Shimmer><begin></begin><end></end></Shimmer>
+<!--
+</animation>
+-->
+
+<!--
+I dont understand what this one is, and ive never come across it
+
+use this sample line (which admit it a bit scary looking, but harmless)...
+-->
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+
+<!--
+or uncomment below to ignore it, the previous might even crash wv ?
+-->
+<!--
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+-->
+
+<animation>
+<begin><LasVegas.begin/><BackgroundBlink.begin/><SparkleText.begin/><MarchingAnts.begin/><MarchingRedAnts.begin/><Shimmer.begin/></begin>
+<end><Shimmer.end/><MarchingRedAnts.end/><MarchingAnts.end/><SparkleText.end/><BackgroundBlink.end/><LasVegas.end/></end>
+</animation>
+
+<fontstr>
+<begin>&lt;c props=&quot;color:<black.begin/><blue.begin/><cyan.begin/><green.begin/><magenta.begin/><red.begin/><yellow.begin/><white.begin/><dkblue.begin/><dkcyan.begin/><dkgreen.begin/><dkmagenta.begin/><dkred.begin/><dkyellow.begin/><dkgray.begin/><ltgray.begin/>&quot;&gt;</begin>
+<end><ltgray.end/><dkgray.end/><dkyellow.end/><dkred.end/><dkmagenta.end/><dkgreen.end/><dkcyan.end/><dkblue.end/><white.end/><yellow.end/><red.end/><magenta.end/><green.end/><cyan.end/><blue.end/><black.end/>&lt;/c&gt;</end>
+</fontstr>
+
+<comment>
+<begin>
+&lt;!--#comment<ibstAnno/>--&gt;
+</begin>
+<end>
+</end>
+</comment>
+
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<!-- Netscape does handle this correctly yet, here is how each different side of the border should work.
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+
+
+<pmargin>
+<begin><!-- <mmParaBefore/> <mmParaRight/> <mmParaAfter/> <mmParaLeft/>;--></begin>
+</pmargin>
+
+<pborder>
+<begin>
+<!--
+border: thin <borderleftstyle/> <borderleftcolor/>;
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+</begin>
+</pborder>
+
+<picture>
+<begin>
+</begin>
+<!-- images are lacking for now -->
+
+</picture>
+
+</style>
+
+<!--we need to be override the character properties-->
+<!--
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<text>	
+<begin>
+&lt;p<just/>&gt;</begin>
+<end>&lt;/p&gt;</end>
+</text>
+
+</style>
+
+<style name="Heading 1">
+
+<character>
+<begin></begin>
+<end></end>
+</character>
+
+<text>	
+<begin>&lt;p<just/> style=&quot;Heading 1&quot;&gt;</begin>
+<end>&lt;/p&gt;
+</end>
+</text>
+
+
+
+</style>
+-->
+
+</main>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvAbw.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvCleanLaTeX.xml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvCleanLaTeX.xml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvCleanLaTeX.xml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,371 @@
+<main>
+<charentity>
+<begin>LaTeX</begin>
+</charentity>
+
+<document>
+<begin>%Document generated by wvWare/<version/>
+%wvWare written by Caolan.McNamara at ul.ie
+%http://wvware.sourceforge.net
+%
+\documentclass[10pt]{article}
+\usepackage[dvips]{color}
+\usepackage[dvips]{graphics}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{longtable}
+\usepackage{times}
+<!--
+\usepackage{multirow}
+-->
+\usepackage[normalem]{ulem}
+\usepackage{geometry}
+\geometry{lmargin=2cm,rmargin=2cm}
+\newcommand\suppress[1]{}
+\newcommand\deleted[1]{\xout{#1}}
+\newcommand\revised[1]{\uline{#1}}
+\newlength\wvtextpercent
+\setlength\wvtextpercent{0.009\textwidth}
+
+\newbox\strikebox
+\def\strike#1{\setbox\strikebox \hbox{&lt;#1&gt;}\hbox{\raise0.5ex\hbox to 0pt{\vrule height 0.4pt width \wd\strikebox\hss}\copy\strikebox}}
+
+\setlength\parindent{0pt}
+\setlength{\parskip}{\smallskipamount}
+\begin{document}
+\sloppy
+</begin>
+<end>
+\end{document}
+</end>
+</document>
+
+<section>
+<begin>
+</begin>
+<end>
+</end>
+</section>
+
+<justification>
+<left></left>
+<right>\raggedleft</right>
+<center>\centering</center>
+<block></block>
+<asian>&lt;!--Could Someone who sees this tag tell me what was is this type of justification, asian languages only i think--&gt;</asian>
+</justification>
+
+<numbering>
+<Arabic>type=&quot;1&quot;</Arabic>
+<UpperRoman>type=&quot;I&quot;</UpperRoman>
+<LowerRoman>type=&quot;i&quot;</LowerRoman>
+<UpperCaseN>type=&quot;A&quot;</UpperCaseN>
+<LowerCaseN>type=&quot;a&quot;</LowerCaseN>
+</numbering>
+
+<border>
+<noned>none</noned>
+<singled>solid</singled>
+<thickd>solid</thickd>
+<doubled>double</doubled>
+<number4d>double</number4d>
+<hairlined>solid</hairlined>
+<dotd>dotted</dotd>
+<dashlargegapd>dashed</dashlargegapd>
+<dotdashd>dotted</dotdashd>
+<dotdotdashd>dotted</dotdotdashd>
+<tripled>double</tripled>
+<thin-thicksmallgapd>dashed</thin-thicksmallgapd>
+<thick-thinsmallgapd>dashed</thick-thinsmallgapd>
+<thin-thick-thinsmallgapd>dashed</thin-thick-thinsmallgapd>
+<thin-thickmediumgapd>dashed</thin-thickmediumgapd>
+<thick-thinmediumgapd>dashed</thick-thinmediumgapd>
+<thin-thick-thinmediumgapd>dashed</thin-thick-thinmediumgapd>
+<thin-thicklargegapd>dashed</thin-thicklargegapd>
+<thick-thinlargegapd>dashed</thick-thinlargegapd>
+<thin-thick-thinlargegapd>dashed</thin-thick-thinlargegapd>
+<waved>solid</waved>
+<doublewaved>double</doublewaved>
+<dashsmallgapd>sashed</dashsmallgapd>
+<dashdotstrokedd>dashed</dashdotstrokedd>
+<emboss3Dd>ridge</emboss3Dd>
+<engrave3Dd>groove</engrave3Dd>
+<defaultd>ridge</defaultd>
+</border>
+
+<olist>
+<begin>
+\begin{enumerate}
+<!--
+only for one-level lists
+\setcounter{enumi}{<start/>}\addtocounter{enumi}{-1}
+-->
+</begin>
+<end>
+\end{enumerate}</end>
+</olist>
+
+<ulist>
+<begin>
+\begin{itemize}
+</begin>
+<end>
+\end{itemize}</end>
+</ulist>
+
+<entry>
+<begin>
+\item</begin>
+<end></end>
+</entry>
+
+<!--
+this tableoverride option can be used to turn off handling of
+certain tags in tables and other miscellaneous table 
+behaviour, which I find is necessary for html in netscape
+-->
+<tableoverrides>
+<!-- 
+<ParaBefore>0</ParaBefore>
+<ParaRight>0</ParaRight>
+<ParaAfter>0</ParaAfter>
+<ParaLeft>0</ParaLeft>
+<ParaLeft1>0</ParaLeft1>
+<VertMergedCells>0</VertMergedCells>
+-->
+</tableoverrides>
+
+<table>
+<begin>
+
+<!-- reLyX handles tabular, not longtable -->
+\begin{longtable}{*{<no_cols/>}{p{<cellrelpagewidth/>\wvtextpercent}}}
+\hline
+</begin>
+<end>
+\hline
+\end{longtable}
+
+</end>
+</table>
+
+<row>
+<begin></begin>
+<end>
+</end>
+</row>
+
+<!--
+<cell>
+<begin>\multicolumn{<colspan/>}{|p{<cellrelpagewidth/>\wvtextpercent}|}{\multirow{<rowspan/>}{<cellrelpagewidth/>\wvtextpercent}{</begin>
+<end>}}&amp;</end>
+</cell>
+
+
+<lastcell>
+<begin></begin>
+<end>\\</end>
+</lastcell>
+-->
+
+<cell>
+<begin>
+\multicolumn{<colspan/>}{c}{\parbox{<cellrelpagewidth/>\wvtextpercent}{
+</begin>
+<end>}}&amp;
+</end>
+</cell>
+
+<lastcell>
+<begin>
+\multicolumn{<colspan/>}{c}{\parbox{<cellrelpagewidth/>\wvtextpercent}{
+</begin>
+<end>}}\\</end>
+</lastcell>
+
+<paragraph>
+<begin><table.end/><table.begin/><row.begin/><lastcell.begin/><cell.begin/><olist.end/><olist.begin/><ulist.end/><ulist.begin/><entry.begin/><text.begin/></begin>
+<end><text.end/><entry.end/><olist.end/><ulist.end/><lastcell.end/><cell.end/><row.end/></end>
+</paragraph>
+
+<!-- these are all the character properties that can show up in word -->
+<bold><begin>\textbf{</begin><end>}</end></bold>
+<italic><begin>\textit{</begin><end>}</end></italic>
+
+<!--
+text that has been deleted and will be displayed with strikethrough when
+revision marked text is to be displayed
+--> 
+<RMarkDel><begin>\deleted{</begin><end>}\suppress{[Del-author=<ibstRMarkDel/> Author ID=<ibstRMarkDel/> at <dttmRMarkDel/>]}</end></RMarkDel>
+
+<!-- I don't even know what outline means -->
+<outline><begin></begin><end></end></outline>
+<smallcaps><begin>\textsc{</begin><end>}</end></smallcaps>
+<caps><begin>\MakeUppercase{</begin><end>}</end></caps>
+<vanish><begin></begin><end></end></vanish>
+
+<!--
+Text that has been newly typed since the last time revision marks have been 
+accepted and will be displayed with underline when revision marked text is to 
+be displayed
+
+use either this line...
+-->
+<RMark><begin>\suppress{[author=<ibstRMark/> Author ID=<ibstRMark/> at <dttmRMark/>]}\revised{</begin><end>}</end></RMark>
+
+<!--
+or uncomment below to make the underline dissappear
+-->
+<!--
+<RMark><begin></begin><end></end></RMark>
+-->
+
+<strike><begin>\sout{</begin><end>}\\</end></strike>
+<shadow><begin></begin><end></end></shadow>
+<lowercase><begin></begin><end></end></lowercase>
+<emboss><begin></begin><end></end></emboss>
+<imprint><begin></begin><end></end></imprint>
+<!--double strike-->
+<dstrike><begin>\sout{</begin><end>}\\</end></dstrike>
+
+<!--
+ftc's
+&
+hps
+
+keep them for font face and do that later.
+-->
+
+<super><begin>$^{</begin><end>}$</end></super>
+<sub><begin>$_{</begin><end>}$</end></sub>
+
+<singleu><begin>\uline{</begin><end>}</end></singleu>
+<wordu><begin>\uline{</begin><end>}</end></wordu>
+<doubleu><begin>\uline{</begin><end>}</end></doubleu>
+<dottedu><begin>\uline{</begin><end>}</end></dottedu>
+<hiddenu><begin>\uline{</begin><end>}</end></hiddenu>
+<thicku><begin>\uline{</begin><end>}</end></thicku>
+<dashu><begin>\uline{</begin><end>}</end></dashu>
+<dotu><begin>\uline{</begin><end>}</end></dotu>
+<dotdashu><begin>\uline{</begin><end>}</end></dotdashu>
+<dotdotdashu><begin>\uline{</begin><end>}</end></dotdotdashu>
+<waveu><begin>\uline{</begin><end>}</end></waveu>
+
+<!--
+text whose properties have been changed since the last time revision marks 
+have been accepted and will be displayed with a note showing the change points.
+
+use either this line (which admit it a bit scary looking, but harmless)...
+--> 
+<PropRMark><begin>\suppress{[Prop-author=<ibstPropRMark/> Author ID=<ibstPropRMark/> at <dttmPropRMark/>]}\revised{</begin><end>}</end></PropRMark>
+
+<!--
+or uncomment below to make the notes dissappear
+-->
+<!--
+<PropRMark><begin></begin><end></end></PropRMark>
+-->
+
+<!--
+<color>
+-->
+<Black><begin></begin><end></end></Black>
+<Blue><begin>\textcolor{blue}{{</begin><end>}}</end></Blue>
+<Cyan><begin>\textcolor{cyan}{{</begin><end>}}</end></Cyan>
+<Green><begin>\textcolor{green}{{</begin><end>}}</end></Green>
+<Magenta><begin>\textcolor{magenta}{{</begin><end>}}</end></Magenta>
+<Red><begin>\textcolor{red}{{</begin><end>}}</end></Red>
+<Yellow><begin>\textcolor{yellow}{{</begin><end>}}</end></Yellow>
+<White><begin>\textcolor{white}{{</begin><end>}}</end></White>
+<DkBlue><begin>\textcolor{blue}{{</begin><end>}}</end></DkBlue>
+<DkCyan><begin>\textcolor{cyan}{{</begin><end>}}</end></DkCyan>
+<DkGreen><begin>\textcolor{green}{{</begin><end>}}</end></DkGreen>
+<DkMagenta><begin>\textcolor{magenta}{{</begin><end>}}</end></DkMagenta>
+<DkRed><begin>\textcolor{red}{{</begin><end>}}</end></DkRed>
+<DkYellow><begin>\textcolor[rgb]{0.54,0.54,0.54}{{</begin><end>}}</end></DkYellow>
+<DkGray><begin>\textcolor{gray}{{</begin><end>}}</end></DkGray>
+<LtGray><begin>\textcolor{gray}{{</begin><end>}}</end></LtGray>
+<!--
+</color>
+-->
+
+<!--
+<animation>
+-->
+<LasVegas><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></LasVegas>
+<BackgroundBlink><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></BackgroundBlink>
+<SparkleText><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></SparkleText>
+<MarchingAnts><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></MarchingAnts>
+<MarchingRedAnts><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></MarchingRedAnts>
+<Shimmer><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></Shimmer>
+<!--
+</animation>
+-->
+
+<!--
+I dont understand what this one is, and ive never come across it
+use this sample line (which admit it a bit scary looking, but harmless)...
+
+MV: I suppose this is "Display Field Revision Mark".
+
+C: Well whatdy'a know, I bet it is.
+-->
+<DispFldRMark><begin>\suppress{[DispFld-author=<ibstDispFldRMark/> Author ID=<ibstDispFldRMark/> at <dttmDispFldRMark/> (<xstDispFldRMark/>)]}\revised{</begin><end>}</end></DispFldRMark>
+
+<!--
+or uncomment below to ignore it, the previous might even crash wv ?
+-->
+<!--
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+-->
+
+<animation>
+<begin><LasVegas.begin/><BackgroundBlink.begin/><SparkleText.begin/><MarchingAnts.begin/><MarchingRedAnts.begin/><Shimmer.begin/></begin>
+<end><Shimmer.end/><MarchingRedAnts.end/><MarchingAnts.end/><SparkleText.end/><BackgroundBlink.end/><LasVegas.end/></end>
+</animation>
+
+<fontstr>
+<begin><black.begin/><blue.begin/><cyan.begin/><green.begin/><magenta.begin/><red.begin/><yellow.begin/><white.begin/><dkblue.begin/><dkcyan.begin/><dkgreen.begin/><dkmagenta.begin/><dkred.begin/><dkyellow.begin/><dkgray.begin/><ltgray.begin/></begin>
+<end><ltgray.end/><dkgray.end/><dkyellow.end/><dkred.end/><dkmagenta.end/><dkgreen.end/><dkcyan.end/><dkblue.end/><white.end/><yellow.end/><red.end/><magenta.end/><green.end/><cyan.end/><blue.end/><black.end/></end>
+</fontstr>
+
+<comment>
+<begin>{\suppress{[comment:<ibstAnno/></begin><end>comment:<ibstAnno/> Author=<xstUsrInitl/>]}</end>
+</comment>
+
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<!-- Netscape does handle this correctly yet, here is how each different side of the border should work.
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+
+<!-- in HTML these are called by paramargin and paraborder (I think).
+Not working here -->
+
+<pmargin>
+<begin>margin: <mmParaBefore/> <mmParaRight/> <mmParaAfter/> <mmParaLeft/>;</begin>
+</pmargin>
+
+<pborder>
+<begin>border: thin <borderleftstyle/> <borderleftcolor/>;</begin>
+</pborder>
+
+<text>	
+<begin>
+
+</begin><end></end>
+</text>
+
+<picture>
+<begin>\includegraphics{placeholder.png}</begin>
+</picture>
+
+</style>
+</main>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvCleanLaTeX.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvConfig.xml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvConfig.xml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvConfig.xml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,34 @@
+<main>
+
+<document>
+<begin>&lt;awml&gt;
+</begin>
+<end>
+&lt;/awml&gt;
+</end>
+</document>
+
+<section>
+<begin>
+&lt;section&gt;</begin>
+<end>&lt;/section&gt;</end>
+</section>
+
+<justification>
+<left>left</left>
+<right>right</right>
+<center>center</center>
+<block>justify</block>
+<asian>&lt;!--Could Someone who sees this tag tell me what was is this type of justification, asian languages only i thing--&gt;</asian>
+</justification>
+
+<paragraph>
+<begin>
+&lt;p PROPS=&quot;text-align:<just/>&quot;&gt;
+</begin>
+<end>
+&lt;/p&gt;
+</end>
+</paragraph>
+
+</main>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvConfig.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvDocbook.xml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvDocbook.xml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvDocbook.xml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,400 @@
+<main>
+<charentity>
+<begin>HTML</begin>
+</charentity>
+
+<document>
+<begin>&lt;?xml version=&quot;1.0&quot; encoding=&quot;<charset/>&quot;?&gt;
+&lt;!DOCTYPE article PUBLIC &quot;-//OASIS//DTD DocBook XML V4.2//EN&quot;
+   &quot;http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd&quot; &gt;
+&lt;!-- wvWare <version/> --&gt;
+&lt;article&gt;
+&lt;articleinfo&gt;
+&lt;title&gt;<title/>&lt;/title&gt;
+&lt;/articleinfo&gt;
+</begin>
+<end>
+&lt;/article&gt;
+</end>
+</document>
+
+<section>
+<begin>
+&lt;!--Section Begins--&gt;
+</begin>
+<end>
+&lt;!--Section Ends--&gt;
+</end>
+</section>
+
+<justification>
+<left>left</left>
+<right>right</right>
+<center>center</center>
+<block>left</block>
+<asian>&lt;!--Could Someone who sees this tag tell me what was is this type of justification, asian languages only i thing--&gt;</asian>
+</justification>
+
+<numbering>
+<Arabic>type=&quot;arabic&quot;</Arabic>
+<UpperRoman>type=&quot;upperroman&quot;</UpperRoman>
+<LowerRoman>type=&quot;lowerroman&quot;</LowerRoman>
+<UpperCaseN>type=&quot;upperalpha&quot;</UpperCaseN>
+<LowerCaseN>type=&quot;loweralpha&quot;</LowerCaseN>
+</numbering>
+
+<border>
+<noned>none</noned>
+<singled>solid</singled>
+<thickd>solid</thickd>
+<doubled>double</doubled>
+<number4d>double</number4d>
+<hairlined>solid</hairlined>
+<dotd>dotted</dotd>
+<dashlargegapd>dashed</dashlargegapd>
+<dotdashd>dotted</dotdashd>
+<dotdotdashd>dotted</dotdotdashd>
+<tripled>double</tripled>
+<thin-thicksmallgapd>dashed</thin-thicksmallgapd>
+<thick-thinsmallgapd>dashed</thick-thinsmallgapd>
+<thin-thick-thinsmallgapd>dashed</thin-thick-thinsmallgapd>
+<thin-thickmediumgapd>dashed</thin-thickmediumgapd>
+<thick-thinmediumgapd>dashed</thick-thinmediumgapd>
+<thin-thick-thinmediumgapd>dashed</thin-thick-thinmediumgapd>
+<thin-thicklargegapd>dashed</thin-thicklargegapd>
+<thick-thinlargegapd>dashed</thick-thinlargegapd>
+<thin-thick-thinlargegapd>dashed</thin-thick-thinlargegapd>
+<waved>solid</waved>
+<doublewaved>double</doublewaved>
+<dashsmallgapd>sashed</dashsmallgapd>
+<dashdotstrokedd>dashed</dashdotstrokedd>
+<emboss3Dd>ridge</emboss3Dd>
+<engrave3Dd>groove</engrave3Dd>
+<defaultd>ridge</defaultd>
+</border>
+
+<!-- <begin>&lt;ol <nfc/> start=&quot;<start/>&quot;&gt; -->
+<olist>
+<begin>&lt;orderedlist <nfc/>&gt;
+</begin>
+<end>&lt;/orderedlist&gt;</end>
+</olist>
+
+<ulist>
+<begin>&lt;itemizedlist&gt;
+</begin>
+<end>&lt;/itemizedlist&gt;</end>
+</ulist>
+
+<entry>
+<begin>&lt;listitem value=&quot;<start/>&quot;&gt;</begin>
+<end>&lt;/listitem&gt;</end>
+</entry>
+
+
+<!-- 
+this tableoverride option can be used to turn off handling of
+these tags in tables, which I find is necessary for at least netscape
+-->
+<tableoverrides>
+<ParaBefore>0</ParaBefore>
+<ParaRight>0</ParaRight>
+<ParaAfter>0</ParaAfter>
+<ParaLeft>0</ParaLeft>
+<ParaLeft1>0</ParaLeft1>
+<VertMergedCells>0</VertMergedCells>
+</tableoverrides>
+
+<table>
+<begin>&lt;informaltable frame=&quot;all&quot;&gt;
+&lt;tgroup cols=&quot;<no_cols/>&quot;&gt;
+&lt;tbody&gt;</begin>
+<end>&lt;/tbody&gt;
+&lt;/tgroup&gt;
+&lt;/informaltable&gt;</end>
+</table>
+
+<row>
+<begin>&lt;row&gt;</begin>
+<end>&lt;/row&gt;</end>
+</row>
+
+<cell>
+<begin>&lt;entry&gt;</begin>
+<end>&lt;/entry&gt;</end>
+</cell>
+
+<paragraph>
+<begin>
+<table.end/>
+<table.begin/>
+<row.begin/><cell.begin/><olist.end/><olist.begin/><ulist.end/><ulist.begin/><entry.begin/><text.begin/>
+</begin>
+<end>
+<text.end/><entry.end/><olist.end/><ulist.end/><cell.end/><row.end/>
+</end>
+</paragraph>
+
+<!-- these are all the character properties that can show up in word -->
+<bold><begin>&lt;emphasis role=&quot;bold&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></bold>
+<italic><begin>&lt;emphasis&gt;</begin><end>&lt;/emphasis&gt;</end></italic>
+
+<!--
+text that has been deleted and will be displayed with strikethrough when
+revision marked text is to be displayed
+
+use either this line...
+--> 
+<RMarkDel><begin>&lt;s&gt;</begin><end>&lt;/s&gt;&lt;ulink url=&quot;#author<ibstRMarkDel/>&quot;&gt;[Author ID<ibstRMarkDel/>: at <dttmRMarkDel/> ]&lt;/ulink&gt;</end></RMarkDel>
+
+<!--
+or uncomment below to make deleted text dissappear (well, become commented out)
+-->
+<RMarkDel><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></RMarkDel>
+-->
+
+<!-- Overwriting char props. like CaPs->CAPS SmallCaps->smallcaps -->
+<outline><begin></begin><end></end></outline>
+<smallcaps><begin></begin><end></end></smallcaps>
+<caps><begin></begin><end></end></caps>
+<vanish><begin></begin><end></end></vanish>
+
+<!--If you uncomment this then the annotation text links will become commented out by html tags-->
+<!--
+<vanish><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></vanish>
+-->
+
+<!--
+text that has been newly typed since the last time revision marks have been accepted
+and will be displayed with underline when revision marked text is to be displayed
+-->
+
+<RMark><begin></begin><end></end></RMark>
+
+<strike><begin></begin><end></end></strike>
+<shadow><begin></begin><end></end></shadow>
+<lowercase><begin></begin><end></end></lowercase>
+<emboss><begin></begin><end></end></emboss>
+<imprint><begin></begin><end></end></imprint>
+<!--double strike-->
+<dstrike><begin>&lt;emphasis role=&quot;dstrike&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></dstrike>
+
+<!--
+ftc's
+&
+hps
+
+keep them for font face and do that later.
+-->
+
+<super><begin>&lt;superscript&gt;</begin><end>&lt;/superscript&gt;</end></super>
+<sub><begin>&lt;subscript&gt;</begin><end>&lt;/subscript&gt;</end></sub>
+
+<singleu><begin>&lt;emphasis role=&quot;singleu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></singleu>
+<wordu><begin>&lt;emphasis role=&quot;wordu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></wordu>
+<doubleu><begin>&lt;emphasis role=&quot;doubleu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></doubleu>
+<dottedu><begin>&lt;emphasis role=&quot;dottedu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></dottedu>
+<hiddenu><begin>&lt;emphasis role=&quot;hiddenu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></hiddenu>
+<thicku><begin>&lt;emphasis role=&quot;thicku&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></thicku>
+<dashu><begin>&lt;emphasis role=&quot;dashu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></dashu>
+<dotu><begin>&lt;emphasis role=&quot;dotu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></dotu>
+<dotdashu><begin>&lt;emphasis role=&quot;dotdashu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></dotdashu>
+<dotdotdashu><begin>&lt;emphasis role=&quot;dotdotdashu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></dotdotdashu>
+<waveu><begin>&lt;emphasis role=&quot;waveu&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></waveu>
+
+<!--
+text whose properties have been changed since the last time revision marks have been accepted
+and will be displayed with a note showing the change points.
+--> 
+
+<PropRMark><begin></begin><end></end></PropRMark>
+
+<!--
+<color>
+-->
+<Black><begin>Black</begin><end></end></Black>
+<Blue><begin>Blue</begin><end></end></Blue>
+<Cyan><begin>Cyan</begin><end></end></Cyan>
+<Green><begin>Green</begin><end></end></Green>
+<Magenta><begin>Magenta</begin><end></end></Magenta>
+<Red><begin>Red</begin><end></end></Red>
+<Yellow><begin>Yellow</begin><end></end></Yellow>
+<White><begin>White</begin><end></end></White>
+<DkBlue><begin>DarkBlue</begin><end></end></DkBlue>
+<DkCyan><begin>DarkCyan</begin><end></end></DkCyan>
+<DkGreen><begin>DarkGreen</begin><end></end></DkGreen>
+<DkMagenta><begin>DarkMagenta</begin><end></end></DkMagenta>
+<DkRed><begin>DarkRed</begin><end></end></DkRed>
+<DkYellow><begin>#8b8b00</begin><end></end></DkYellow>
+<DkGray><begin>DarkGray</begin><end></end></DkGray>
+<LtGray><begin>LightGrey</begin><end></end></LtGray>
+<!--
+</color>
+-->
+
+<!--
+<animation>
+-->
+<LasVegas><begin>&lt;emphasis role=&quot;LasVegas&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></LasVegas>
+<BackgroundBlink><begin>&lt;emphasis role=&quot;BackgroundBlink&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></BackgroundBlink>
+<SparkleText><begin>&lt;emphasis role=&quot;SparkleText&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></SparkleText>
+<MarchingAnts><begin>&lt;emphasis role=&quot;MarchingAnts&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></MarchingAnts>
+<MarchingRedAnts><begin>&lt;emphasis role=&quot;MarchingRedAnts&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></MarchingRedAnts>
+<Shimmer><begin>&lt;emphasis role=&quot;Shimmer&quot;&gt;</begin><end>&lt;/emphasis&gt;</end></Shimmer>
+<!--
+</animation>
+-->
+
+<!--
+I dont understand what this one is, and ive never come across it
+
+use this sample line (which admit it a bit scary looking, but harmless)...
+-->
+<DispFldRMark><begin>&lt;ulink url=&quot;#author<ibstDispFldRMark/>&quot;&gt;--&amp;gt;&lt;/ulink&gt;</begin><end>&lt;ulink url=&quot;#author<ibstDispFldRMark/>&quot;&gt;[Author ID<ibstDispFldRMark/>: at <dttmDispFldRMark/> (<xstDispFldRMark/>)]&lt;/ulink&gt;</end></DispFldRMark>
+
+<!--
+or uncomment below to ignore it, the previous might even crash wv ?
+-->
+<!--
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+-->
+
+<animation>
+<begin><LasVegas.begin/><BackgroundBlink.begin/><SparkleText.begin/><MarchingAnts.begin/><MarchingRedAnts.begin/><Shimmer.begin/></begin>
+<end><Shimmer.end/><MarchingRedAnts.end/><MarchingAnts.end/><SparkleText.end/><BackgroundBlink.end/><LasVegas.end/></end>
+</animation>
+
+<fontstr>
+<begin></begin>
+<end></end>
+</fontstr>
+
+<comment>
+<begin>
+&lt;ulink url=&quot;#comment<ibstAnno/> &quot;&gt;-&#45;&amp;gt;&lt;/ulink&gt;
+</begin>
+<end>&lt;ulink url=&quot;#comment<ibstAnno/> &quot;&gt;[Author:<xstUsrInitl/>]&lt;/ulink&gt;
+</end>
+</comment>
+
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<!-- Netscape does handle this correctly yet, here is how each different side of the border should work.
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+
+
+<pmargin>
+<begin></begin>
+</pmargin>
+
+<pborder>
+<begin>
+<!--
+border: thin <borderleftstyle/> <borderleftcolor/>;
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+</begin>
+</pborder>
+
+<text>	
+<begin>&lt;para role=&quot;<stylename/>&quot;&gt;</begin>
+
+<end>&lt;/para&gt;</end>
+</text>
+
+<picture>
+<begin>
+&lt;img <htmlAlignGuess/> width=&quot;<pixPicWidth/>&quot; height=&quot;<pixPicHeight/>&quot; alt=&quot;0x01 graphic&quot; src=&quot;placeholder.png&quot;&gt;<htmlNextLineGuess/>
+</begin>
+</picture>
+
+</style>
+
+<!--we need to be override the character properties-->
+<!--
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<text>	
+<begin>&lt;para&gt;</begin>
+<end>&lt;/para&gt;</end>
+</text>
+
+</style>
+
+<style name="Header">
+<character>
+<begin></begin>
+<end></end>
+</character>
+
+<text>	
+<begin>&lt;bridgehead renderas=&quot;other&quot;&gt;</begin>
+<end>&lt;/bridgehead&gt;</end>
+</text>
+</style>
+
+<style name="Heading 1">
+<character>
+<begin></begin>
+<end></end>
+</character>
+
+<text>	
+<begin>&lt;bridgehead renderas=&quot;sect1&quot;&gt;</begin>
+<end>&lt;/bridgehead&gt;</end>
+</text>
+</style>
+
+<style name="Heading 2">
+<character>
+<begin></begin>
+<end></end>
+</character>
+
+<text>	
+<begin>&lt;bridgehead renderas=&quot;sect2&quot;&gt;</begin>
+<end>&lt;/bridgehead&gt;</end>
+</text>
+</style>
+
+<style name="Preformatted">
+<character>
+<begin></begin>
+<end></end>
+</character>
+
+<text>	
+<begin>&lt;literallayout class=&quot;monospaced&quot;&gt;&gt;</begin>
+<end>&lt;/literallayout&gt;</end>
+</text>
+</style>
+
+<style name="Footnote Text">
+<character>
+<begin></begin>
+<end></end>
+</character>
+
+<text>	
+<begin>&lt;footnote&gt;</begin>
+<end>&lt;/footnote&gt;</end>
+</text>
+</style>
+
+-->
+</main>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvDocbook.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvHtml.xml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvHtml.xml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvHtml.xml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,388 @@
+<main>
+<charentity>
+<begin>HTML</begin>
+</charentity>
+
+<document>
+<begin>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/REC-html40/loose.dtd&quot;&gt;
+&lt;html&gt; 
+&lt;head&gt; 
+&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=<charset/>&quot;&gt;
+&lt;META NAME=&quot;GENERATOR&quot; CONTENT=&quot;wvWare/<version/>&quot;&gt;
+&lt;title&gt; 
+<title/>
+&lt;/title&gt; 
+&lt;/head&gt; 
+&lt;body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot; link=&quot;#0000ee&quot; vlink=&quot;#551a8b&quot;&gt;
+</begin>
+<end>
+&lt;!--
+&lt;hr&gt;
+&lt;address&gt;
+&lt;a href=&quot;http://wvware.sourceforge.net/&quot;&gt;&lt;img
+src=&quot;wvSmall.gif&quot; height=31 width=47
+align=left border=0 alt=&quot;wvWare&quot;&gt;&lt;/a&gt;
+&lt;a href=&quot;http://validator.w3.org/check/referer&quot;&gt;&lt;img
+src=&quot;vh40.gif&quot; height=31 width=88
+align=right border=0 alt=&quot;Valid HTML 4.0!&quot;&gt;&lt;/a&gt;
+Document created with &lt;a href=&quot;http://wvware.sourceforge.net/&quot;&gt;wvWare/<version/>&lt;/a&gt;&lt;br&gt;
+&lt;/address&gt;
+--&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+</end>
+</document>
+
+<section>
+<begin>
+&lt;!--Section Begins--&gt;&lt;br&gt;
+</begin>
+<end>
+&lt;!--Section Ends--&gt;
+</end>
+</section>
+
+<justification>
+<left>left</left>
+<right>right</right>
+<center>center</center>
+<block>left</block>
+<asian>&lt;!--Could Someone who sees this tag tell me what was is this type of justification, asian languages only i thing--&gt;</asian>
+</justification>
+
+<numbering>
+<Arabic>type=&quot;1&quot;</Arabic>
+<UpperRoman>type=&quot;I&quot;</UpperRoman>
+<LowerRoman>type=&quot;i&quot;</LowerRoman>
+<UpperCaseN>type=&quot;A&quot;</UpperCaseN>
+<LowerCaseN>type=&quot;a&quot;</LowerCaseN>
+</numbering>
+
+<border>
+<noned>none</noned>
+<singled>solid</singled>
+<thickd>solid</thickd>
+<doubled>double</doubled>
+<number4d>double</number4d>
+<hairlined>solid</hairlined>
+<dotd>dotted</dotd>
+<dashlargegapd>dashed</dashlargegapd>
+<dotdashd>dotted</dotdashd>
+<dotdotdashd>dotted</dotdotdashd>
+<tripled>double</tripled>
+<thin-thicksmallgapd>dashed</thin-thicksmallgapd>
+<thick-thinsmallgapd>dashed</thick-thinsmallgapd>
+<thin-thick-thinsmallgapd>dashed</thin-thick-thinsmallgapd>
+<thin-thickmediumgapd>dashed</thin-thickmediumgapd>
+<thick-thinmediumgapd>dashed</thick-thinmediumgapd>
+<thin-thick-thinmediumgapd>dashed</thin-thick-thinmediumgapd>
+<thin-thicklargegapd>dashed</thin-thicklargegapd>
+<thick-thinlargegapd>dashed</thick-thinlargegapd>
+<thin-thick-thinlargegapd>dashed</thin-thick-thinlargegapd>
+<waved>solid</waved>
+<doublewaved>double</doublewaved>
+<dashsmallgapd>sashed</dashsmallgapd>
+<dashdotstrokedd>dashed</dashdotstrokedd>
+<emboss3Dd>ridge</emboss3Dd>
+<engrave3Dd>groove</engrave3Dd>
+<defaultd>ridge</defaultd>
+</border>
+
+<!-- <begin>&lt;ol <nfc/> start=&quot;<start/>&quot;&gt; -->
+<olist>
+<begin>&lt;ol <nfc/>&gt;
+</begin>
+<end>&lt;/ol&gt;</end>
+</olist>
+
+<ulist>
+<begin>&lt;ul&gt;
+</begin>
+<end>&lt;/ul&gt;</end>
+</ulist>
+
+<!-- <begin>&lt;li&gt;</begin> -->
+<entry>
+<begin>&lt;li value=&quot;<start/>&quot;&gt;</begin>
+<end>&lt;/li&gt;</end>
+</entry>
+
+
+<!-- 
+this tableoverride option can be used to turn off handling of
+these tags in tables, which I find is necessary for at least netscape
+-->
+<tableoverrides>
+<ParaBefore>0</ParaBefore>
+<ParaRight>0</ParaRight>
+<ParaAfter>0</ParaAfter>
+<ParaLeft>0</ParaLeft>
+<ParaLeft1>0</ParaLeft1>
+<VertMergedCells>0</VertMergedCells>
+</tableoverrides>
+
+<table>
+<begin>&lt;table width=&quot;<tablerelwidth/>%&quot; border=&quot;1&quot; cols=&quot;<no_cols/>&quot; rows=&quot;<no_rows/>&quot;&gt;</begin>
+<end>&lt;/table&gt;</end>
+</table>
+
+<row>
+<begin>&lt;tr&gt;</begin>
+<end>&lt;/tr&gt;</end>
+</row>
+
+<cell>
+<begin>&lt;td bgcolor=&quot;<cellbgcolor/>&quot; width=&quot;<cellrelwidth/>%&quot; rowspan=&quot;<rowspan/>&quot; colspan=&quot;<colspan/>&quot;&gt;</begin>
+<end>&lt;/td&gt;</end>
+</cell>
+
+<paragraph>
+<begin>
+<table.end/>
+<table.begin/>
+<row.begin/><cell.begin/><olist.end/><olist.begin/><ulist.end/><ulist.begin/><entry.begin/><text.begin/>
+</begin>
+<end>
+<text.end/><entry.end/><olist.end/><ulist.end/><cell.end/><row.end/>
+</end>
+</paragraph>
+
+<!-- these are all the character properties that can show up in word -->
+<bold><begin>&lt;b&gt;</begin><end>&lt;/b&gt;</end></bold>
+<italic><begin>&lt;i&gt;</begin><end>&lt;/i&gt;</end></italic>
+
+<!--
+text that has been deleted and will be displayed with strikethrough when
+revision marked text is to be displayed
+
+use either this line...
+--> 
+<RMarkDel><begin>&lt;s&gt;</begin><end>&lt;/s&gt;&lt;a href=&quot;#author<ibstRMarkDel/>&quot;&gt;[Author ID<ibstRMarkDel/>: at <dttmRMarkDel/> ]&lt;/a&gt;</end></RMarkDel>
+
+<!--
+or uncomment below to make deleted text dissappear (well, become commented out)
+-->
+<!--
+<RMarkDel><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></RMarkDel>
+-->
+
+<!-- Overwriting char props. like CaPs->CAPS SmallCaps->smallcaps -->
+<outline><begin></begin><end></end></outline>
+<smallcaps><begin>&lt;span style=&quot;text-transform:lowercase&quot;&gt;</begin><end>&lt;/span&gt;</end></smallcaps>
+<caps><begin>&lt;span style=&quot;text-transform:uppercase&quot;&gt;</begin><end>&lt;/span&gt;</end></caps>
+<vanish><begin></begin><end></end></vanish>
+
+<!--If you uncomment this then the annotation text links will become commented out by html tags-->
+<!--
+<vanish><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></vanish>
+-->
+
+<!--
+text that has been newly typed since the last time revision marks have been accepted
+and will be displayed with underline when revision marked text is to be displayed
+
+use either this line...
+-->
+<RMark><begin>&lt;u&gt;</begin><end>&lt;/u&gt;&lt;a href=&quot;#author<ibstRMark/>&quot;&gt;[Author ID<ibstRMark/>: at <dttmRMark/>]&lt;/a&gt;</end></RMark>
+
+<!--
+or uncomment below to make the underline dissappear
+-->
+<!--
+<RMark><begin></begin><end></end></RMark>
+-->
+
+
+<strike><begin>&lt;s&gt;</begin><end>&lt;/s&gt;</end></strike>
+<shadow><begin></begin><end></end></shadow>
+<lowercase><begin></begin><end></end></lowercase>
+<emboss><begin></begin><end></end></emboss>
+<imprint><begin></begin><end></end></imprint>
+<!--double strike-->
+<dstrike><begin>&lt;s&gt;</begin><end>&lt;/s&gt;</end></dstrike>
+
+<!--
+ftc's
+&
+hps
+
+keep them for font face and do that later.
+-->
+
+<super><begin>&lt;sup&gt;</begin><end>&lt;/sup&gt;</end></super>
+<sub><begin>&lt;sub&gt;</begin><end>&lt;/sub&gt;</end></sub>
+
+<singleu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></singleu>
+<wordu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></wordu>
+<doubleu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></doubleu>
+<dottedu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dottedu>
+<hiddenu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></hiddenu>
+<thicku><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></thicku>
+<dashu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dashu>
+<dotu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dotu>
+<dotdashu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dotdashu>
+<dotdotdashu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dotdotdashu>
+<waveu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></waveu>
+
+<!--
+text whose properties have been changed since the last time revision marks have been accepted
+and will be displayed with a note showing the change points.
+
+use either this line (which admit it a bit scary looking, but harmless)...
+--> 
+<PropRMark><begin>&lt;a href=&quot;#author<ibstPropRMark/>&quot;&gt;-&#45;&amp;gt;&lt;/a&gt;</begin><end>&lt;a href=&quot;#author<ibstPropRMark/>&quot;&gt;[Author ID<ibstPropRMark/>: at <dttmPropRMark/>]&lt;/a&gt;</end></PropRMark>
+
+<!--
+or uncomment below to make the notes dissappear
+-->
+<!--
+<PropRMark><begin></begin><end></end></PropRMark>
+-->
+
+<!--
+<color>
+-->
+<Black><begin>Black</begin><end></end></Black>
+<Blue><begin>Blue</begin><end></end></Blue>
+<Cyan><begin>Cyan</begin><end></end></Cyan>
+<Green><begin>Green</begin><end></end></Green>
+<Magenta><begin>Magenta</begin><end></end></Magenta>
+<Red><begin>Red</begin><end></end></Red>
+<Yellow><begin>Yellow</begin><end></end></Yellow>
+<White><begin>White</begin><end></end></White>
+<DkBlue><begin>DarkBlue</begin><end></end></DkBlue>
+<DkCyan><begin>DarkCyan</begin><end></end></DkCyan>
+<DkGreen><begin>DarkGreen</begin><end></end></DkGreen>
+<DkMagenta><begin>DarkMagenta</begin><end></end></DkMagenta>
+<DkRed><begin>DarkRed</begin><end></end></DkRed>
+<DkYellow><begin>#8b8b00</begin><end></end></DkYellow>
+<DkGray><begin>DarkGray</begin><end></end></DkGray>
+<LtGray><begin>LightGrey</begin><end></end></LtGray>
+<!--
+</color>
+-->
+
+<!--
+<animation>
+-->
+<LasVegas><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></LasVegas>
+<BackgroundBlink><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></BackgroundBlink>
+<SparkleText><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></SparkleText>
+<MarchingAnts><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></MarchingAnts>
+<MarchingRedAnts><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></MarchingRedAnts>
+<Shimmer><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></Shimmer>
+<!--
+</animation>
+-->
+
+<!--
+I dont understand what this one is, and ive never come across it
+
+use this sample line (which admit it a bit scary looking, but harmless)...
+-->
+<DispFldRMark><begin>&lt;a href=&quot;#author<ibstDispFldRMark/>&quot;&gt;--&amp;gt;&lt;/a&gt;</begin><end>&lt;a href=&quot;#author<ibstDispFldRMark/>&quot;&gt;[Author ID<ibstDispFldRMark/>: at <dttmDispFldRMark/> (<xstDispFldRMark/>)]&lt;/a&gt;</end></DispFldRMark>
+
+<!--
+or uncomment below to ignore it, the previous might even crash wv ?
+-->
+<!--
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+-->
+
+<animation>
+<begin><LasVegas.begin/><BackgroundBlink.begin/><SparkleText.begin/><MarchingAnts.begin/><MarchingRedAnts.begin/><Shimmer.begin/></begin>
+<end><Shimmer.end/><MarchingRedAnts.end/><MarchingAnts.end/><SparkleText.end/><BackgroundBlink.end/><LasVegas.end/></end>
+</animation>
+
+<fontstr>
+<begin>&lt;font color=&quot;<black.begin/><blue.begin/><cyan.begin/><green.begin/><magenta.begin/><red.begin/><yellow.begin/><white.begin/><dkblue.begin/><dkcyan.begin/><dkgreen.begin/><dkmagenta.begin/><dkred.begin/><dkyellow.begin/><dkgray.begin/><ltgray.begin/>&quot;&gt;</begin>
+<end><ltgray.end/><dkgray.end/><dkyellow.end/><dkred.end/><dkmagenta.end/><dkgreen.end/><dkcyan.end/><dkblue.end/><white.end/><yellow.end/><red.end/><magenta.end/><green.end/><cyan.end/><blue.end/><black.end/>&lt;/font&gt;</end>
+</fontstr>
+
+<comment>
+<begin>
+&lt;a href=&quot;#comment<ibstAnno/> &quot;&gt;-&#45;&amp;gt;&lt;/a&gt;
+</begin>
+<end>&lt;a href=&quot;#comment<ibstAnno/> &quot;&gt;[Author:<xstUsrInitl/>]&lt;/a&gt;
+</end>
+</comment>
+
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<!-- Netscape does handle this correctly yet, here is how each different side of the border should work.
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+
+
+<pmargin>
+<begin>margin: <mmParaBefore/> <mmParaRight/> <mmParaAfter/> <mmParaLeft/>;</begin>
+</pmargin>
+
+<pborder>
+<begin>
+border: thin <borderleftstyle/> <borderleftcolor/>;
+<!--
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+</begin>
+</pborder>
+
+<text>	
+<begin>&lt;p&gt;&lt;div name=&quot;<stylename/>&quot; align=&quot;<just/>&quot; style=&quot;<paramargin/> <paraborder/> padding: <mmPadTop/> <mmPadRight/> <mmPadBottom/> <mmPadLeft/>; &quot;&gt; 
+
+&lt;p style=&quot;text-indent: <mmParaLeft1/>; text-align: <just/>; line-height: <mmLineHeight/>; color: <parafgcolor/>; background-color: <parabgcolor/>; &quot;&gt;</begin>
+
+<end>&lt;/p&gt;&lt;/div&gt;</end>
+</text>
+
+<picture>
+<begin>
+&lt;img <htmlAlignGuess/> width=&quot;<pixPicWidth/>&quot; height=&quot;<pixPicHeight/>&quot; alt=&quot;0x01 graphic&quot; src=&quot;placeholder.png&quot;&gt;<htmlNextLineGuess/>
+</begin>
+</picture>
+
+</style>
+
+<!--we need to be override the character properties-->
+<!--
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<text>	
+<begin>&lt;div name=&quot;<stylename/>&quot;  align=&quot;<just/>&quot;&gt;&lt;p&gt;</begin>
+<end>&lt;/p&gt;&lt;/div&gt;</end>
+</text>
+
+</style>
+
+<style name="Heading 1">
+
+<character>
+<begin></begin>
+<end></end>
+</character>
+
+<text>	
+<begin>&lt;div name=&quot;<stylename/>&quot;  align=&quot;<just/>&quot;&gt;&lt;H1&gt;</begin>
+<end>&lt;/H1&gt;&lt;/div&gt;</end>
+</text>
+
+
+
+</style>
+-->
+
+</main>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvHtml.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvLaTeX.xml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvLaTeX.xml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvLaTeX.xml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,376 @@
+<main>
+<charentity>
+<begin>LaTeX</begin>
+</charentity>
+
+<document>
+<begin>%Document generated by wvWare/<version/>
+%wvWare written by Caolan.McNamara at ul.ie
+%http://wvware.sourceforge.net/
+%
+\documentclass[12pt]{article}
+\usepackage[dvips]{color}
+\usepackage[dvips]{graphics}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{longtable}
+\usepackage{times}
+\usepackage{enumerate}
+<!--
+\usepackage{multirow}
+-->
+\usepackage[normalem]{ulem}
+\usepackage{geometry}
+\geometry{lmargin=2cm,rmargin=2cm}
+\newcommand\suppress[1]{}
+\newcommand\deleted[1]{\xout{#1}}
+\newcommand\revised[1]{\uline{#1}}
+\newlength\wvtextpercent
+\setlength\wvtextpercent{0.009\textwidth}
+
+\newbox\strikebox
+\def\strike#1{\setbox\strikebox \hbox{&lt;#1&gt;}\hbox{\raise0.5ex\hbox to 0pt{\vrule height 0.4pt width \wd\strikebox\hss}\copy\strikebox}}
+
+\setlength\parindent{0pt}
+\setlength{\parskip}{\smallskipamount}
+\begin{document}
+\sloppy
+</begin>
+<end>
+\end{document}
+</end>
+</document>
+
+<section>
+<begin>
+</begin>
+<end>
+</end>
+</section>
+
+<justification>
+<left>\raggedright</left>
+<right>\raggedleft</right>
+<center>\centering</center>
+<block></block>
+<asian>&lt;!--Could Someone who sees this tag tell me what was is this type of justification, asian languages only i think--&gt;</asian>
+</justification>
+
+<numbering>
+<Arabic>~[1.]</Arabic>
+<UpperRoman>~[I.]</UpperRoman>
+<LowerRoman>~[i.]</LowerRoman>
+<UpperCaseN>~[A.]</UpperCaseN>
+<LowerCaseN>~[a.]</LowerCaseN>
+</numbering>
+
+<border>
+<noned>none</noned>
+<singled>solid</singled>
+<thickd>solid</thickd>
+<doubled>double</doubled>
+<number4d>double</number4d>
+<hairlined>solid</hairlined>
+<dotd>dotted</dotd>
+<dashlargegapd>dashed</dashlargegapd>
+<dotdashd>dotted</dotdashd>
+<dotdotdashd>dotted</dotdotdashd>
+<tripled>double</tripled>
+<thin-thicksmallgapd>dashed</thin-thicksmallgapd>
+<thick-thinsmallgapd>dashed</thick-thinsmallgapd>
+<thin-thick-thinsmallgapd>dashed</thin-thick-thinsmallgapd>
+<thin-thickmediumgapd>dashed</thin-thickmediumgapd>
+<thick-thinmediumgapd>dashed</thick-thinmediumgapd>
+<thin-thick-thinmediumgapd>dashed</thin-thick-thinmediumgapd>
+<thin-thicklargegapd>dashed</thin-thicklargegapd>
+<thick-thinlargegapd>dashed</thick-thinlargegapd>
+<thin-thick-thinlargegapd>dashed</thin-thick-thinlargegapd>
+<waved>solid</waved>
+<doublewaved>double</doublewaved>
+<dashsmallgapd>sashed</dashsmallgapd>
+<dashdotstrokedd>dashed</dashdotstrokedd>
+<emboss3Dd>ridge</emboss3Dd>
+<engrave3Dd>groove</engrave3Dd>
+<defaultd>ridge</defaultd>
+</border>
+
+<olist>
+<begin>\begin{enumerate}<nfc/>
+<!--
+only for one-level lists
+\setcounter{enumi}{<start/>}\addtocounter{enumi}{-1}
+-->
+</begin>
+<end>
+\end{enumerate}</end>
+</olist>
+
+<ulist>
+<begin>\begin{itemize}
+</begin>
+<end>
+\end{itemize}</end>
+</ulist>
+
+<entry>
+<begin>
+\item</begin>
+<end></end>
+</entry>
+
+<!--
+this tableoverride option can be used to turn off handling of
+certain tags in tables and other miscellaneous table 
+behaviour, which I find is necessary for html in netscape
+-->
+<tableoverrides>
+<!-- 
+<ParaBefore>0</ParaBefore>
+<ParaRight>0</ParaRight>
+<ParaAfter>0</ParaAfter>
+<ParaLeft>0</ParaLeft>
+<ParaLeft1>0</ParaLeft1>
+<VertMergedCells>0</VertMergedCells>
+-->
+</tableoverrides>
+
+<table>
+<begin>
+
+\begin{longtable}{|*{<no_cols/>}{p{<cellrelpagewidth/>\wvtextpercent}|}}
+\hline
+</begin>
+<end>
+\hline
+\end{longtable}
+
+</end>
+</table>
+
+<row>
+<begin></begin>
+<end>
+</end>
+</row>
+
+<!--
+<cell>
+<begin>\multicolumn{<colspan/>}{|p{<cellrelpagewidth/>\wvtextpercent}|}{\multirow{<rowspan/>}{<cellrelpagewidth/>\wvtextpercent}{</begin>
+<end>}}&amp;</end>
+</cell>
+
+
+<lastcell>
+<begin></begin>
+<end>\\</end>
+</lastcell>
+-->
+
+<cell>
+<begin>
+\multicolumn{<colspan/>}{c}{\parbox{<cellrelpagewidth/>\wvtextpercent}{\raggedright\strut
+</begin>
+<end>\strut}}&amp;
+</end>
+</cell>
+
+<lastcell>
+<begin>
+\multicolumn{<colspan/>}{c}{\parbox{<cellrelpagewidth/>\wvtextpercent}{\raggedright\strut
+</begin>
+<end>\strut}}\\</end>
+</lastcell>
+
+<paragraph>
+<begin><table.end/><table.begin/><row.begin/><lastcell.begin/><cell.begin/><olist.end/><olist.begin/><ulist.end/><ulist.begin/><entry.begin/><text.begin/></begin>
+<end><text.end/><entry.end/><olist.end/><ulist.end/><lastcell.end/><cell.end/><row.end/></end>
+</paragraph>
+
+<!-- these are all the character properties that can show up in word -->
+<bold><begin>\textbf{</begin><end>}</end></bold>
+<italic><begin>\textit{</begin><end>}</end></italic>
+
+<!--
+text that has been deleted and will be displayed with strikethrough when
+revision marked text is to be displayed
+--> 
+<RMarkDel><begin>\deleted{</begin><end>}\suppress{[Del-author=<ibstRMarkDel/> Author ID=<ibstRMarkDel/> at <dttmRMarkDel/>]}</end></RMarkDel>
+
+<!-- I don't even know what outline means -->
+<outline><begin></begin><end></end></outline>
+<smallcaps><begin>\textsc{</begin><end>}</end></smallcaps>
+<caps><begin>\MakeUppercase{</begin><end>}</end></caps>
+<vanish><begin></begin><end></end></vanish>
+
+<!--
+Text that has been newly typed since the last time revision marks have been 
+accepted and will be displayed with underline when revision marked text is to 
+be displayed
+
+use either this line...
+-->
+<RMark><begin>\suppress{[author=<ibstRMark/> Author ID=<ibstRMark/> at <dttmRMark/>]}\revised{</begin><end>}</end></RMark>
+
+<!--
+or uncomment below to make the underline dissappear
+-->
+<!--
+<RMark><begin></begin><end></end></RMark>
+-->
+
+<strike><begin>\sout{</begin><end>}\\</end></strike>
+<shadow><begin></begin><end></end></shadow>
+<lowercase><begin></begin><end></end></lowercase>
+<emboss><begin></begin><end></end></emboss>
+<imprint><begin></begin><end></end></imprint>
+<!--double strike-->
+<dstrike><begin>\sout{</begin><end>}\\</end></dstrike>
+
+<!--
+ftc's
+&
+hps
+
+keep them for font face and do that later.
+-->
+
+<super><begin>$^{</begin><end>}$</end></super>
+<sub><begin>$_{</begin><end>}$</end></sub>
+
+<singleu><begin>\uline{</begin><end>}</end></singleu>
+<wordu><begin>\uline{</begin><end>}</end></wordu>
+<doubleu><begin>\uline{</begin><end>}</end></doubleu>
+<dottedu><begin>\uline{</begin><end>}</end></dottedu>
+<hiddenu><begin>\uline{</begin><end>}</end></hiddenu>
+<thicku><begin>\uline{</begin><end>}</end></thicku>
+<dashu><begin>\uline{</begin><end>}</end></dashu>
+<dotu><begin>\uline{</begin><end>}</end></dotu>
+<dotdashu><begin>\uline{</begin><end>}</end></dotdashu>
+<dotdotdashu><begin>\uline{</begin><end>}</end></dotdotdashu>
+<waveu><begin>\uline{</begin><end>}</end></waveu>
+
+<!--
+text whose properties have been changed since the last time revision marks 
+have been accepted and will be displayed with a note showing the change points.
+
+use either this line (which admit it a bit scary looking, but harmless)...
+--> 
+<PropRMark><begin>\suppress{[Prop-author=<ibstPropRMark/> Author ID=<ibstPropRMark/> at <dttmPropRMark/>]}\revised{</begin><end>}</end></PropRMark>
+
+<!--
+or uncomment below to make the notes dissappear
+-->
+<!--
+<PropRMark><begin></begin><end></end></PropRMark>
+-->
+
+<!--
+<color>
+-->
+<Black><begin></begin><end></end></Black>
+<Blue><begin>\textcolor{blue}{{</begin><end>}}</end></Blue>
+<Cyan><begin>\textcolor{cyan}{{</begin><end>}}</end></Cyan>
+<Green><begin>\textcolor{green}{{</begin><end>}}</end></Green>
+<Magenta><begin>\textcolor{magenta}{{</begin><end>}}</end></Magenta>
+<Red><begin>\textcolor{red}{{</begin><end>}}</end></Red>
+<Yellow><begin>\textcolor{yellow}{{</begin><end>}}</end></Yellow>
+<White><begin>\textcolor{white}{{</begin><end>}}</end></White>
+<DkBlue><begin>\textcolor{blue}{{</begin><end>}}</end></DkBlue>
+<DkCyan><begin>\textcolor{cyan}{{</begin><end>}}</end></DkCyan>
+<DkGreen><begin>\textcolor{green}{{</begin><end>}}</end></DkGreen>
+<DkMagenta><begin>\textcolor{magenta}{{</begin><end>}}</end></DkMagenta>
+<DkRed><begin>\textcolor{red}{{</begin><end>}}</end></DkRed>
+<DkYellow><begin>\textcolor[rgb]{0.54,0.54,0.54}{{</begin><end>}}</end></DkYellow>
+<DkGray><begin>\textcolor{gray}{{</begin><end>}}</end></DkGray>
+<LtGray><begin>\textcolor{gray}{{</begin><end>}}</end></LtGray>
+<!--
+</color>
+-->
+
+<!--
+<animation>
+-->
+<LasVegas><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></LasVegas>
+<BackgroundBlink><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></BackgroundBlink>
+<SparkleText><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></SparkleText>
+<MarchingAnts><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></MarchingAnts>
+<MarchingRedAnts><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></MarchingRedAnts>
+<Shimmer><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></Shimmer>
+<!--
+</animation>
+-->
+
+<!--
+I dont understand what this one is, and ive never come across it
+use this sample line (which admit it a bit scary looking, but harmless)...
+
+MV: I suppose this is "Display Field Revision Mark".
+
+C: Well whatdy'a know, I bet it is.
+-->
+<DispFldRMark><begin>\suppress{[DispFld-author=<ibstDispFldRMark/> Author ID=<ibstDispFldRMark/> at <dttmDispFldRMark/> (<xstDispFldRMark/>)]}\revised{</begin><end>}</end></DispFldRMark>
+
+<!--
+or uncomment below to ignore it, the previous might even crash wv ?
+-->
+<!--
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+-->
+
+<animation>
+<begin><LasVegas.begin/><BackgroundBlink.begin/><SparkleText.begin/><MarchingAnts.begin/><MarchingRedAnts.begin/><Shimmer.begin/></begin>
+<end><Shimmer.end/><MarchingRedAnts.end/><MarchingAnts.end/><SparkleText.end/><BackgroundBlink.end/><LasVegas.end/></end>
+</animation>
+
+<fontstr>
+<begin><black.begin/><blue.begin/><cyan.begin/><green.begin/><magenta.begin/><red.begin/><yellow.begin/><white.begin/><dkblue.begin/><dkcyan.begin/><dkgreen.begin/><dkmagenta.begin/><dkred.begin/><dkyellow.begin/><dkgray.begin/><ltgray.begin/></begin>
+<end><ltgray.end/><dkgray.end/><dkyellow.end/><dkred.end/><dkmagenta.end/><dkgreen.end/><dkcyan.end/><dkblue.end/><white.end/><yellow.end/><red.end/><magenta.end/><green.end/><cyan.end/><blue.end/><black.end/></end>
+</fontstr>
+
+<comment>
+<begin>{\suppress{[comment:<ibstAnno/></begin><end>comment:<ibstAnno/> Author=<xstUsrInitl/>]}}</end>
+</comment>
+
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<!-- Netscape does handle this correctly yet, here is how each different side of the border should work.
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+
+<!-- in HTML these are called by paramargin and paraborder (I think).
+Not working here -->
+
+<pmargin>
+<begin>margin: <mmParaBefore/> <mmParaRight/> <mmParaAfter/> <mmParaLeft/>;</begin>
+</pmargin>
+
+<pborder>
+<begin>border: thin <borderleftstyle/> <borderleftcolor/>;</begin>
+</pborder>
+
+<text>	
+<begin>
+\vspace{<mmParaBefore/>}
+\setlength{\parindent}{<mmParaLeft1/>}
+\setlength{\leftskip}{<mmParaLeft/>}
+\setlength{\rightskip}{<mmParaRight/>}
+<parafgcolor/><just/>
+</begin>
+<end>
+\vspace{<mmParaAfter/>}
+</end>
+</text>
+
+<picture>
+<begin>\includegraphics{placeholder.png}</begin>
+</picture>
+
+</style>
+</main>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvLaTeX.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvText.xml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvText.xml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvText.xml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,355 @@
+<main>
+<charentity>
+<begin>ABW</begin>
+</charentity>
+
+<document>
+<begin>
+</begin>
+<end>
+</end>
+</document>
+
+<section>
+<begin>
+</begin>
+<end>
+</end>
+</section>
+
+<justification>
+<left></left>
+<right></right>
+<center></center>
+<block></block>
+<asian></asian>
+</justification>
+
+<numbering>
+<Arabic>type=&quot;1&quot;</Arabic>
+<UpperRoman>type=&quot;I&quot;</UpperRoman>
+<LowerRoman>type=&quot;i&quot;</LowerRoman>
+<UpperCaseN>type=&quot;A&quot;</UpperCaseN>
+<LowerCaseN>type=&quot;a&quot;</LowerCaseN>
+</numbering>
+
+<border>
+<noned></noned>
+<singled></singled>
+<thickd></thickd>
+<doubled></doubled>
+<number4d></number4d>
+<hairlined></hairlined>
+<dotd></dotd>
+<dashlargegapd></dashlargegapd>
+<dotdashd></dotdashd>
+<dotdotdashd></dotdotdashd>
+<tripled></tripled>
+<thin-thicksmallgapd></thin-thicksmallgapd>
+<thick-thinsmallgapd></thick-thinsmallgapd>
+<thin-thick-thinsmallgapd></thin-thick-thinsmallgapd>
+<thin-thickmediumgapd></thin-thickmediumgapd>
+<thick-thinmediumgapd></thick-thinmediumgapd>
+<thin-thick-thinmediumgapd></thin-thick-thinmediumgapd>
+<thin-thicklargegapd></thin-thicklargegapd>
+<thick-thinlargegapd></thick-thinlargegapd>
+<thin-thick-thinlargegapd></thin-thick-thinlargegapd>
+<waved></waved>
+<doublewaved></doublewaved>
+<dashsmallgapd></dashsmallgapd>
+<dashdotstrokedd></dashdotstrokedd>
+<emboss3Dd></emboss3Dd>
+<engrave3Dd></engrave3Dd>
+<defaultd></defaultd>
+</border>
+
+<olist>
+<begin></begin>
+<end></end>
+</olist>
+
+<ulist>
+<begin></begin>
+<end></end>
+</ulist>
+
+<entry>
+<begin></begin>
+<end></end>
+</entry>
+
+<!-- the only thing of significance -->
+<text>	
+<begin></begin>
+<end>
+</end>
+</text>
+
+<!-- 
+this tableoverride option can be used to turn off handling of
+these tags in tables, which I find is necessary for at least netscape
+-->
+<tableoverrides>
+<ParaBefore>0</ParaBefore>
+<ParaRight>0</ParaRight>
+<ParaAfter>0</ParaAfter>
+<ParaLeft>0</ParaLeft>
+<ParaLeft1>0</ParaLeft1>
+<VertMergedCells>0</VertMergedCells>
+</tableoverrides>
+
+<table>
+<begin></begin>
+<end></end>
+</table>
+
+<row>
+<begin></begin>
+<end></end>
+</row>
+
+<cell>
+<begin></begin>
+<end></end>
+</cell>
+
+<paragraph>
+<begin><text.begin/></begin>
+<end><text.end/></end>
+</paragraph>
+
+<!-- these are all the character properties that can show up in word -->
+<bold><begin></begin><end></end></bold>
+<italic><begin></begin><end></end></italic>
+
+<!--
+text that has been deleted and will be displayed with strikethrough when
+revision marked text is to be displayed
+
+use either this line...
+--> 
+<RMarkDel><begin></begin>
+<end></end>
+</RMarkDel>
+
+<!--
+or uncomment below to make deleted text dissappear (well, become commented out)
+-->
+<!--
+<RMarkDel><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></RMarkDel>
+-->
+
+<!-- I don't even know what outline means -->
+<outline><begin></begin><end></end></outline>
+<smallcaps><begin></begin><end></end></smallcaps>
+<caps><begin></begin><end></end></caps>
+<vanish><begin></begin><end></end></vanish>
+
+<!--If you uncomment this then the annotation text links will become commented out by html tags-->
+<!--
+<vanish><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></vanish>
+-->
+
+<!--
+text that has been newly typed since the last time revision marks have been accepted
+and will be displayed with underline when revision marked text is to be displayed
+
+use either this line...
+-->
+<RMark><begin></begin><end></end></RMark>
+
+<!--
+or uncomment below to make the underline dissappear
+-->
+<!--
+<RMark><begin></begin><end></end></RMark>
+-->
+
+
+<strike><begin></begin><end></end></strike>
+<shadow><begin></begin><end></end></shadow>
+<lowercase><begin></begin><end></end></lowercase>
+<emboss><begin></begin><end></end></emboss>
+<imprint><begin></begin><end></end></imprint>
+<!--double strike-->
+<dstrike><begin></begin><end></end></dstrike>
+
+<!--
+ftc's
+&
+hps
+
+keep them for font face and do that later.
+-->
+
+<super><begin></begin><end></end></super>
+<sub><begin></begin><end></end></sub>
+
+<singleu><begin></begin><end></end></singleu>
+<wordu><begin></begin><end></end></wordu>
+<doubleu><begin></begin><end></end></doubleu>
+<dottedu><begin></begin><end></end></dottedu>
+<hiddenu><begin></begin><end></end></hiddenu>
+<thicku><begin></begin><end></end></thicku>
+<dashu><begin></begin><end></end></dashu>
+<dotu><begin></begin><end></end></dotu>
+<dotdashu><begin></begin><end></end></dotdashu>
+<dotdotdashu><begin></begin><end></end></dotdotdashu>
+<waveu><begin></begin><end></end></waveu>
+
+<!--
+text whose properties have been changed since the last time revision marks have been accepted
+and will be displayed with a note showing the change points.
+
+use either this line (which admit it a bit scary looking, but harmless)...
+--> 
+<PropRMark><begin><ibstPropRMark/></begin><end></end></PropRMark>
+
+<!--
+or uncomment below to make the notes dissappear
+-->
+<!--
+<PropRMark><begin></begin><end></end></PropRMark>
+-->
+
+<!--
+<color>
+-->
+<Black><begin></begin><end></end></Black>
+<Blue><begin></begin><end></end></Blue>
+<Cyan><begin></begin><end></end></Cyan>
+<Green><begin></begin><end></end></Green>
+<Magenta><begin></begin><end></end></Magenta>
+<Red><begin></begin><end></end></Red>
+<Yellow><begin></begin><end></end></Yellow>
+<White><begin></begin><end></end></White>
+<DkBlue><begin></begin><end></end></DkBlue>
+<DkCyan><begin></begin><end></end></DkCyan>
+<DkGreen><begin></begin><end></end></DkGreen>
+<DkMagenta><begin></begin><end></end></DkMagenta>
+<DkRed><begin></begin><end></end></DkRed>
+<DkYellow><begin></begin><end></end></DkYellow>
+<DkGray><begin></begin><end></end></DkGray>
+<LtGray><begin></begin><end></end></LtGray>
+<!--
+</color>
+-->
+
+<!--
+<animation>
+-->
+<LasVegas><begin></begin><end></end></LasVegas>
+<BackgroundBlink><begin></begin><end></end></BackgroundBlink>
+<SparkleText><begin></begin><end></end></SparkleText>
+<MarchingAnts><begin></begin><end></end></MarchingAnts>
+<MarchingRedAnts><begin></begin><end></end></MarchingRedAnts>
+<Shimmer><begin></begin><end></end></Shimmer>
+<!--
+</animation>
+-->
+
+<!--
+I dont understand what this one is, and ive never come across it
+
+use this sample line (which admit it a bit scary looking, but harmless)...
+-->
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+
+<!--
+or uncomment below to ignore it, the previous might even crash wv ?
+-->
+<!--
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+-->
+
+<animation>
+<begin><LasVegas.begin/><BackgroundBlink.begin/><SparkleText.begin/><MarchingAnts.begin/><MarchingRedAnts.begin/><Shimmer.begin/></begin>
+<end><Shimmer.end/><MarchingRedAnts.end/><MarchingAnts.end/><SparkleText.end/><BackgroundBlink.end/><LasVegas.end/></end>
+</animation>
+
+<fontstr>
+<begin></begin>
+<end></end>
+</fontstr>
+
+<comment>
+<begin>
+</begin>
+<end>
+</end>
+</comment>
+
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<!-- Netscape does handle this correctly yet, here is how each different side of the border should work.
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+
+
+<pmargin>
+<begin><!-- <mmParaBefore/> <mmParaRight/> <mmParaAfter/> <mmParaLeft/>;--></begin>
+</pmargin>
+
+<pborder>
+<begin>
+<!--
+border: thin <borderleftstyle/> <borderleftcolor/>;
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+</begin>
+</pborder>
+
+<picture>
+<begin>
+</begin>
+<!-- images are lacking for now -->
+
+</picture>
+
+</style>
+
+<!--we need to be override the character properties-->
+<!--
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<text>	
+<begin></begin>
+<end>
+</end>
+</text>
+
+</style>
+
+<style name="Heading 1">
+
+<character>
+<begin></begin>
+<end></end>
+</character>
+
+<text>	
+<begin></begin>
+<end>
+</end>
+</text>
+
+
+
+</style>
+-->
+
+</main>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvText.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvWml.xml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvWml.xml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvWml.xml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,369 @@
+<main>
+<charentity>
+<begin>ABW</begin>
+</charentity>
+
+<document>
+<begin>&lt;!DOCTYPE wml PUBLIC &quot;-//PHONE.COM//DTD WML 1.1//EN&quot;
+                        &quot;http://www.phone.com/dtd/wml11.dtd&quot; &gt;
+&lt;!--created with <version/>--&gt;
+&lt;wml&gt;
+&lt;card title=&quot;<title/>&quot;&gt;
+</begin>
+<end>
+&lt;/card&gt;
+&lt;/wml&gt;
+</end>
+</document>
+
+<section>
+<begin>
+</begin>
+<end>
+</end>
+</section>
+
+<justification>
+<left> align=&quot;left&quot;</left>
+<right> align=&quot;right&quot;</right>
+<center> align=&quot;center&quot;</center>
+<!-- wml has no equivalents for these two -->
+<block></block>
+<asian></asian>
+</justification>
+
+<numbering>
+<Arabic>type=&quot;1&quot;</Arabic>
+<UpperRoman>type=&quot;I&quot;</UpperRoman>
+<LowerRoman>type=&quot;i&quot;</LowerRoman>
+<UpperCaseN>type=&quot;A&quot;</UpperCaseN>
+<LowerCaseN>type=&quot;a&quot;</LowerCaseN>
+</numbering>
+
+<border>
+<noned>none</noned>
+<singled>solid</singled>
+<thickd>solid</thickd>
+<doubled>double</doubled>
+<number4d>double</number4d>
+<hairlined>solid</hairlined>
+<dotd>dotted</dotd>
+<dashlargegapd>dashed</dashlargegapd>
+<dotdashd>dotted</dotdashd>
+<dotdotdashd>dotted</dotdotdashd>
+<tripled>double</tripled>
+<thin-thicksmallgapd>dashed</thin-thicksmallgapd>
+<thick-thinsmallgapd>dashed</thick-thinsmallgapd>
+<thin-thick-thinsmallgapd>dashed</thin-thick-thinsmallgapd>
+<thin-thickmediumgapd>dashed</thin-thickmediumgapd>
+<thick-thinmediumgapd>dashed</thick-thinmediumgapd>
+<thin-thick-thinmediumgapd>dashed</thin-thick-thinmediumgapd>
+<thin-thicklargegapd>dashed</thin-thicklargegapd>
+<thick-thinlargegapd>dashed</thick-thinlargegapd>
+<thin-thick-thinlargegapd>dashed</thin-thick-thinlargegapd>
+<waved>solid</waved>
+<doublewaved>double</doublewaved>
+<dashsmallgapd>sashed</dashsmallgapd>
+<dashdotstrokedd>dashed</dashdotstrokedd>
+<emboss3Dd>ridge</emboss3Dd>
+<engrave3Dd>groove</engrave3Dd>
+<defaultd>ridge</defaultd>
+</border>
+
+<!-- WML doesn't support lists -->
+<olist>
+<begin>
+</begin>
+<end></end>
+</olist>
+
+<ulist>
+<begin>
+</begin>
+<end></end>
+</ulist>
+
+<entry>
+<begin></begin>
+<end></end>
+</entry>
+
+<!-- change mode to "wrap" to allow wrapping of text -->
+<text>	
+<begin>&lt;p<just/>&gt;</begin>
+<end>&lt;/p&gt;
+</end>
+</text>
+
+<!-- 
+this tableoverride option can be used to turn off handling of
+these tags in tables, which I find is necessary for at least netscape
+-->
+<tableoverrides>
+<ParaBefore>0</ParaBefore>
+<ParaRight>0</ParaRight>
+<ParaAfter>0</ParaAfter>
+<ParaLeft>0</ParaLeft>
+<ParaLeft1>0</ParaLeft1>
+<VertMergedCells>0</VertMergedCells>
+</tableoverrides>
+
+<table>
+<begin>&lt;table&gt;</begin>
+<end>&lt;/table&gt;</end>
+</table>
+
+<row>
+<begin>&lt;tr&gt;</begin>
+<end>&lt;/tr&gt;</end>
+</row>
+
+<cell>
+<begin>&lt;td&gt;</begin>
+<end>&lt;td&gt;</end>
+</cell>
+
+<paragraph>
+<begin><text.begin/></begin>
+<!--&lt;p<just/>&gt;-->
+<end><text.end/></end>
+<!--&lt;/p&gt;-->
+</paragraph>
+
+<!-- these are all the character properties that can show up in word -->
+<bold><begin>&lt;b&gt;</begin><end>&lt;/b&gt;</end></bold>
+<italic><begin>&lt;i&gt;</begin><end>&lt;/i&gt;</end></italic>
+
+<!--
+text that has been deleted and will be displayed with strikethrough when
+revision marked text is to be displayed
+
+use either this line...
+--> 
+<!--
+<RMarkDel><begin>&lt;c props=&quot;text-decoration:line-through&quot;&gt;</begin>
+<end>&lt;/c&gt;</end>
+</RMarkDel>
+-->
+
+<!--
+or uncomment below to make deleted text dissappear (well, become commented out)
+-->
+<RMarkDel><begin>&lt;!--</begin><end>--&gt;</end></RMarkDel>
+
+<!-- I don't even know what outline means -->
+<outline><begin></begin><end></end></outline>
+<smallcaps><begin></begin><end></end></smallcaps>
+<caps><begin></begin><end></end></caps>
+<vanish><begin></begin><end></end></vanish>
+
+<!--If you uncomment this then the annotation text links will become commented out by html tags-->
+<!--
+<vanish><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></vanish>
+-->
+
+<!--
+text that has been newly typed since the last time revision marks have been accepted
+and will be displayed with underline when revision marked text is to be displayed
+
+use either this line...
+-->
+<RMark><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></RMark>
+
+<!--
+or uncomment below to make the underline dissappear
+-->
+<!--
+<RMark><begin></begin><end></end></RMark>
+-->
+
+<!-- forgive me for calling strike-through emphasis -->
+<strike><begin>&lt;em&gt;</begin><end>&lt;/em&gt;</end></strike>
+<shadow><begin></begin><end></end></shadow>
+<lowercase><begin></begin><end></end></lowercase>
+<emboss><begin></begin><end></end></emboss>
+<imprint><begin></begin><end></end></imprint>
+<!--double strike-->
+<dstrike><begin>&lt;em&gt;</begin><end>&lt;/em&gt;</end></dstrike>
+
+<!--
+ftc's
+&
+hps
+
+keep them for font face and do that later.
+-->
+<!-- I'm doing superscript as "big" and subscript as "small" -->
+<super><begin>&lt;big&gt;</begin><end>&lt;/big&gt;</end></super>
+<sub><begin>&lt;small&gt;</begin><end>&lt;/small&gt;</end></sub>
+
+<singleu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></singleu>
+<wordu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></wordu>
+<doubleu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></doubleu>
+<dottedu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dottedu>
+<hiddenu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></hiddenu>
+<thicku><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></thicku>
+<dashu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dashu>
+<dotu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dotu>
+<dotdashu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dotdashu>
+<dotdotdashu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dotdotdashu>
+<waveu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></waveu>
+
+<!--
+text whose properties have been changed since the last time revision marks have been accepted
+and will be displayed with a note showing the change points.
+
+use either this line (which admit it a bit scary looking, but harmless)...
+--> 
+<PropRMark><begin>&lt;!-- author<ibstPropRMark/>--&gt;</begin><end></end></PropRMark>
+
+<!--
+or uncomment below to make the notes dissappear
+-->
+<!--
+<PropRMark><begin></begin><end></end></PropRMark>
+-->
+
+<!--
+<color>
+-->
+<Black><begin>000000</begin><end></end></Black>
+<Blue><begin>0000ff</begin><end></end></Blue>
+<Cyan><begin>008080</begin><end></end></Cyan>
+<Green><begin>008000</begin><end></end></Green>
+<Magenta><begin>ff00ff</begin><end></end></Magenta>
+<Red><begin>ff0000</begin><end></end></Red>
+<Yellow><begin>ffff00</begin><end></end></Yellow>
+<White><begin>ffffff</begin><end></end></White>
+<DkBlue><begin>000080</begin><end></end></DkBlue>
+<DkCyan><begin>008080</begin><end></end></DkCyan>
+<DkGreen><begin>008000</begin><end></end></DkGreen>
+<DkMagenta><begin>ff00ff</begin><end></end></DkMagenta>
+<DkRed><begin>800000</begin><end></end></DkRed>
+<DkYellow><begin>8b8b00</begin><end></end></DkYellow>
+<DkGray><begin>808080</begin><end></end></DkGray>
+<LtGray><begin>c0c0c0</begin><end></end></LtGray>
+<!--
+</color>
+-->
+
+<!--
+<animation>
+-->
+<LasVegas><begin></begin><end></end></LasVegas>
+<BackgroundBlink><begin></begin><end></end></BackgroundBlink>
+<SparkleText><begin></begin><end></end></SparkleText>
+<MarchingAnts><begin></begin><end></end></MarchingAnts>
+<MarchingRedAnts><begin></begin><end></end></MarchingRedAnts>
+<Shimmer><begin></begin><end></end></Shimmer>
+<!--
+</animation>
+-->
+
+<!--
+I dont understand what this one is, and ive never come across it
+
+use this sample line (which admit it a bit scary looking, but harmless)...
+-->
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+
+<!--
+or uncomment below to ignore it, the previous might even crash wv ?
+-->
+<!--
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+-->
+
+<animation>
+<begin><LasVegas.begin/><BackgroundBlink.begin/><SparkleText.begin/><MarchingAnts.begin/><MarchingRedAnts.begin/><Shimmer.begin/></begin>
+<end><Shimmer.end/><MarchingRedAnts.end/><MarchingAnts.end/><SparkleText.end/><BackgroundBlink.end/><LasVegas.end/></end>
+</animation>
+
+<!-- nothing resembling fonts in WML :) -->
+<fontstr>
+<begin><black.begin/><blue.begin/><cyan.begin/><green.begin/><magenta.begin/><red.begin/><yellow.begin/><white.begin/><dkblue.begin/><dkcyan.begin/><dkgreen.begin/><dkmagenta.begin/><dkred.begin/><dkyellow.begin/><dkgray.begin/><ltgray.begin/></begin>
+<end><ltgray.end/><dkgray.end/><dkyellow.end/><dkred.end/><dkmagenta.end/><dkgreen.end/><dkcyan.end/><dkblue.end/><white.end/><yellow.end/><red.end/><magenta.end/><green.end/><cyan.end/><blue.end/><black.end/></end>
+</fontstr>
+
+<comment>
+<begin>
+&lt;!--#comment<ibstAnno/>--&gt;
+</begin>
+<end>
+</end>
+</comment>
+
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<!-- Netscape does handle this correctly yet, here is how each different side of the border should work.
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+
+
+<pmargin>
+<begin><!-- <mmParaBefore/> <mmParaRight/> <mmParaAfter/> <mmParaLeft/>;--></begin>
+</pmargin>
+
+<pborder>
+<begin>
+<!--
+border: thin <borderleftstyle/> <borderleftcolor/>;
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+</begin>
+</pborder>
+
+<picture>
+<begin>
+</begin>
+<!-- images are lacking for now -->
+
+</picture>
+
+</style>
+
+<!--we need to be override the character properties-->
+<!--
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<text>	
+<begin>
+&lt;p<just/>&gt;</begin>
+<end>&lt;/p&gt;</end>
+</text>
+
+</style>
+
+<style name="Heading 1">
+
+<character>
+<begin></begin>
+<end></end>
+</character>
+
+<text>	
+<begin>&lt;p<just/>&gt;</begin>
+<end>&lt;/p&gt;
+</end>
+</text>
+
+
+
+</style>
+-->
+
+</main>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvWml.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.dtd
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.dtd	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.dtd	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,39 @@
+<!-- DTD for wvXml pages -->
+
+<!ELEMENT doc (table | p)* >
+
+<!ELEMENT p (#PCDATA | img | a | b | i | u | sup | sub | br)* >
+<!ATTLIST p class CDATA #REQUIRED
+            style CDATA #REQUIRED>
+
+<!ELEMENT img EMPTY>
+<!ATTLIST img width CDATA #REQUIRED
+              height CDATA #REQUIRED
+              alt CDATA #REQUIRED
+              src CDATA #REQUIRED>
+
+<!ELEMENT a (#PCDATA | img | b | i | u | sup | sub | br)* >
+<!ATTLIST a href  CDATA #REQUIRED>
+
+<!ELEMENT b (#PCDATA)>
+<!ELEMENT i (#PCDATA)>
+<!ELEMENT u (#PCDATA)>
+<!ELEMENT sup (#PCDATA)>
+<!ELEMENT sub (#PCDATA)>
+
+<!ELEMENT br EMPTY>
+
+<!ELEMENT table (tr)+ >
+<!ATTLIST table width CDATA #REQUIRED
+                border CDATA #REQUIRED
+                cols CDATA #REQUIRED
+                rows CDATA #REQUIRED>
+
+<!ELEMENT tr (td)+ >
+
+<!ELEMENT td (p)+ >
+<!ATTLIST td bgcolor CDATA #REQUIRED
+             width CDATA #REQUIRED
+             rowspan CDATA #REQUIRED
+             colspan CDATA #REQUIRED>
+


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.dtd
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.xml
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.xml	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.xml	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,331 @@
+<main>
+<charentity>
+<begin>XML</begin>
+</charentity>
+
+<document>
+<begin>&lt;?xml version=&quot;1.0&quot; ?&gt;
+&lt;!DOCTYPE doc SYSTEM &quot;wvXml.dtd&quot;&gt;
+&lt;doc&gt; 
+</begin>
+<end>
+&lt;/doc&gt;
+</end>
+</document>
+
+
+<section>
+<begin>&lt;!--Section Begins--&gt;</begin>
+<end>&lt;!--Section Ends--&gt;</end>
+</section>
+
+<justification>
+<left>left</left>
+<right>right</right>
+<center>center</center>
+<block>left</block>
+<asian>&lt;!--Could Someone who sees this tag tell me what was is this type of justification, asian languages only i thing--&gt;</asian>
+</justification>
+
+<numbering>
+<Arabic>type=&quot;1&quot;</Arabic>
+<UpperRoman>type=&quot;I&quot;</UpperRoman>
+<LowerRoman>type=&quot;i&quot;</LowerRoman>
+<UpperCaseN>type=&quot;A&quot;</UpperCaseN>
+<LowerCaseN>type=&quot;a&quot;</LowerCaseN>
+</numbering>
+
+<border>
+<noned>none</noned>
+<singled>solid</singled>
+<thickd>solid</thickd>
+<doubled>double</doubled>
+<number4d>double</number4d>
+<hairlined>solid</hairlined>
+<dotd>dotted</dotd>
+<dashlargegapd>dashed</dashlargegapd>
+<dotdashd>dotted</dotdashd>
+<dotdotdashd>dotted</dotdotdashd>
+<tripled>double</tripled>
+<thin-thicksmallgapd>dashed</thin-thicksmallgapd>
+<thick-thinsmallgapd>dashed</thick-thinsmallgapd>
+<thin-thick-thinsmallgapd>dashed</thin-thick-thinsmallgapd>
+<thin-thickmediumgapd>dashed</thin-thickmediumgapd>
+<thick-thinmediumgapd>dashed</thick-thinmediumgapd>
+<thin-thick-thinmediumgapd>dashed</thin-thick-thinmediumgapd>
+<thin-thicklargegapd>dashed</thin-thicklargegapd>
+<thick-thinlargegapd>dashed</thick-thinlargegapd>
+<thin-thick-thinlargegapd>dashed</thin-thick-thinlargegapd>
+<waved>solid</waved>
+<doublewaved>double</doublewaved>
+<dashsmallgapd>sashed</dashsmallgapd>
+<dashdotstrokedd>dashed</dashdotstrokedd>
+<emboss3Dd>ridge</emboss3Dd>
+<engrave3Dd>groove</engrave3Dd>
+<defaultd>ridge</defaultd>
+</border>
+
+<!-- <begin>&lt;ol <nfc/> start=&quot;<start/>&quot;&gt; -->
+<olist>
+<begin></begin>
+<end></end>
+</olist>
+
+<ulist>
+<begin></begin>
+<end></end>
+</ulist>
+
+<!-- <begin>&lt;li&gt;</begin> -->
+<entry>
+<begin></begin>
+<end></end>
+</entry>
+
+
+<!-- 
+this tableoverride option can be used to turn off handling of
+these tags in tables, which I find is necessary for at least netscape
+-->
+<tableoverrides>
+<ParaBefore>0</ParaBefore>
+<ParaRight>0</ParaRight>
+<ParaAfter>0</ParaAfter>
+<ParaLeft>0</ParaLeft>
+<ParaLeft1>0</ParaLeft1>
+<VertMergedCells>0</VertMergedCells>
+</tableoverrides>
+
+<table>
+<begin>&lt;table width=&quot;<tablerelwidth/>%&quot; border=&quot;1&quot; cols=&quot;<no_cols/>&quot; rows=&quot;<no_rows/>&quot;&gt;</begin>
+<end>&lt;/table&gt;</end>
+</table>
+
+<row>
+<begin>&lt;tr&gt;
+</begin>
+<end>&lt;/tr&gt;</end>
+</row>
+
+<cell>
+<begin>&lt;td bgcolor=&quot;<cellbgcolor/>&quot; width=&quot;<cellrelwidth/>%&quot; rowspan=&quot;<rowspan/>&quot; colspan=&quot;<colspan/>&quot;&gt;
+</begin>
+<end>
+&lt;/td&gt;</end>
+</cell>
+
+<paragraph>
+<begin>
+<table.end/>
+<table.begin/>
+<row.begin/><cell.begin/><olist.end/><olist.begin/><ulist.end/><ulist.begin/><entry.begin/><text.begin/>
+</begin>
+<end>
+<text.end/><entry.end/><olist.end/><ulist.end/><cell.end/><row.end/>
+</end>
+</paragraph>
+
+<!-- these are all the character properties that can show up in word -->
+<bold><begin>&lt;b&gt;</begin><end>&lt;/b&gt;</end></bold>
+<italic><begin>&lt;i&gt;</begin><end>&lt;/i&gt;</end></italic>
+
+<!--
+text that has been deleted and will be displayed with strikethrough when
+revision marked text is to be displayed
+
+use either this line...
+--> 
+<RMarkDel><begin>&lt;s&gt;</begin><end>&lt;/s&gt;&lt;a href=&quot;#author<ibstRMarkDel/>&quot;&gt;[Author ID<ibstRMarkDel/>: at <dttmRMarkDel/> ]&lt;/a&gt;</end></RMarkDel>
+
+<!--
+or uncomment below to make deleted text dissappear (well, become commented out)
+-->
+<!--
+<RMarkDel><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></RMarkDel>
+-->
+
+<!-- I don't even know what outline means -->
+<outline><begin></begin><end></end></outline>
+<smallcaps><begin></begin><end></end></smallcaps>
+<caps><begin></begin><end></end></caps>
+<vanish><begin></begin><end></end></vanish>
+
+<!--If you uncomment this then the annotation text links will become commented out by html tags-->
+<!--
+<vanish><begin>&lt;!-&#45;</begin><end>-&#45;&gt;</end></vanish>
+-->
+
+<!--
+text that has been newly typed since the last time revision marks have been accepted
+and will be displayed with underline when revision marked text is to be displayed
+
+use either this line...
+-->
+<RMark><begin>&lt;u&gt;</begin><end>&lt;/u&gt;&lt;a href=&quot;#author<ibstRMark/>&quot;&gt;[Author ID<ibstRMark/>: at <dttmRMark/>]&lt;/a&gt;</end></RMark>
+
+<!--
+or uncomment below to make the underline dissappear
+-->
+<!--
+<RMark><begin></begin><end></end></RMark>
+-->
+
+
+<strike><begin>&lt;s&gt;</begin><end>&lt;/s&gt;</end></strike>
+<shadow><begin></begin><end></end></shadow>
+<lowercase><begin></begin><end></end></lowercase>
+<emboss><begin></begin><end></end></emboss>
+<imprint><begin></begin><end></end></imprint>
+<!--double strike-->
+<dstrike><begin>&lt;s&gt;</begin><end>&lt;/s&gt;</end></dstrike>
+
+<!--
+ftc's
+&
+hps
+
+keep them for font face and do that later.
+-->
+
+<super><begin>&lt;sup&gt;</begin><end>&lt;/sup&gt;</end></super>
+<sub><begin>&lt;sub&gt;</begin><end>&lt;/sub&gt;</end></sub>
+
+<singleu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></singleu>
+<wordu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></wordu>
+<doubleu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></doubleu>
+<dottedu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dottedu>
+<hiddenu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></hiddenu>
+<thicku><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></thicku>
+<dashu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dashu>
+<dotu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dotu>
+<dotdashu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dotdashu>
+<dotdotdashu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></dotdotdashu>
+<waveu><begin>&lt;u&gt;</begin><end>&lt;/u&gt;</end></waveu>
+
+<!--
+text whose properties have been changed since the last time revision marks have been accepted
+and will be displayed with a note showing the change points.
+
+use either this line (which admit it a bit scary looking, but harmless)...
+--> 
+<PropRMark><begin>&lt;a href=&quot;#author<ibstPropRMark/>&quot;&gt;-&#45;&amp;gt;&lt;/a&gt;</begin><end>&lt;a href=&quot;#author<ibstPropRMark/>&quot;&gt;[Author ID<ibstPropRMark/>: at <dttmPropRMark/>]&lt;/a&gt;</end></PropRMark>
+
+<!--
+or uncomment below to make the notes dissappear
+-->
+<!--
+<PropRMark><begin></begin><end></end></PropRMark>
+-->
+
+<!--
+<color>
+-->
+<Black><begin>Black</begin><end></end></Black>
+<Blue><begin>Blue</begin><end></end></Blue>
+<Cyan><begin>Cyan</begin><end></end></Cyan>
+<Green><begin>Green</begin><end></end></Green>
+<Magenta><begin>Magenta</begin><end></end></Magenta>
+<Red><begin>Red</begin><end></end></Red>
+<Yellow><begin>Yellow</begin><end></end></Yellow>
+<White><begin>White</begin><end></end></White>
+<DkBlue><begin>DarkBlue</begin><end></end></DkBlue>
+<DkCyan><begin>DarkCyan</begin><end></end></DkCyan>
+<DkGreen><begin>DarkGreen</begin><end></end></DkGreen>
+<DkMagenta><begin>DarkMagenta</begin><end></end></DkMagenta>
+<DkRed><begin>DarkRed</begin><end></end></DkRed>
+<DkYellow><begin>#8b8b00</begin><end></end></DkYellow>
+<DkGray><begin>DarkGray</begin><end></end></DkGray>
+<LtGray><begin>LightGrey</begin><end></end></LtGray>
+<!--
+</color>
+-->
+
+<!--
+<animation>
+-->
+<LasVegas><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></LasVegas>
+<BackgroundBlink><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></BackgroundBlink>
+<SparkleText><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></SparkleText>
+<MarchingAnts><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></MarchingAnts>
+<MarchingRedAnts><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></MarchingRedAnts>
+<Shimmer><begin>&lt;blink&gt;</begin><end>&lt;/blink&gt;</end></Shimmer>
+<!--
+</animation>
+-->
+
+<!--
+I dont understand what this one is, and ive never come across it
+
+use this sample line (which admit it a bit scary looking, but harmless)...
+-->
+<DispFldRMark><begin>&lt;a href=&quot;#author<ibstDispFldRMark/>&quot;&gt;--&amp;gt;&lt;/a&gt;</begin><end>&lt;a href=&quot;#author<ibstDispFldRMark/>&quot;&gt;[Author ID<ibstDispFldRMark/>: at <dttmDispFldRMark/> (<xstDispFldRMark/>)]&lt;/a&gt;</end></DispFldRMark>
+
+<!--
+or uncomment below to ignore it, the previous might even crash wv ?
+-->
+<!--
+<DispFldRMark><begin></begin><end></end></DispFldRMark>
+-->
+
+<animation>
+<begin><LasVegas.begin/><BackgroundBlink.begin/><SparkleText.begin/><MarchingAnts.begin/><MarchingRedAnts.begin/><Shimmer.begin/></begin>
+<end><Shimmer.end/><MarchingRedAnts.end/><MarchingAnts.end/><SparkleText.end/><BackgroundBlink.end/><LasVegas.end/></end>
+</animation>
+
+<fontstr>
+<begin></begin>
+<end></end>
+</fontstr>
+
+<comment>
+<begin>
+&lt;a href=&quot;#comment<ibstAnno/> &quot;&gt;-&#45;&amp;gt;&lt;/a&gt;
+</begin>
+<end>&lt;a href=&quot;#comment<ibstAnno/> &quot;&gt;[Author:<xstUsrInitl/>]&lt;/a&gt;
+</end>
+</comment>
+
+<style name="Normal">
+<character>
+<begin><PropRMark.begin/><DispFldRMark.begin/><animation.begin/><fontstr.begin/><bold.begin/><italic.begin/><strike.begin/><RMarkDel.begin/><outline.begin/><smallcaps.begin/><caps.begin/><vanish.begin/><RMark.begin/><shadow.begin/><lowercase.begin/><emboss.begin/><imprint.begin/><dstrike.begin/><super.begin/><sub.begin/><singleu.begin/><wordu.begin/><doubleu.begin/><dottedu.begin/><hiddenu.begin/><thicku.begin/><dashu.begin/><dotu.begin/><dotdashu.begin/><dotdotdashu.begin/><waveu.begin/></begin>
+<end><waveu.end/><dotdotdashu.end/><dotdashu.end/><dotu.end/><dashu.end/><thicku.end/><hiddenu.end/><dottedu.end/><doubleu.end/><wordu.end/><singleu.end/><sub.end/><super.end/><dstrike.end/><imprint.end/><emboss.end/><lowercase.end/><shadow.end/><RMark.end/><vanish.end/><caps.end/><smallcaps.end/><outline.end/><RMarkDel.end/><strike.end/><italic.end/><bold.end/><fontstr.end/><animation.end/><DispFldRMark.end/><PropRMark.end/></end>
+</character>
+
+<!-- Netscape does handle this correctly yet, here is how each different side of the border should work.
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+
+
+<pmargin>
+<begin>margin: <mmParaBefore/> <mmParaRight/> <mmParaAfter/> <mmParaLeft/>;</begin>
+</pmargin>
+
+<pborder>
+<begin>
+border: thin <borderleftstyle/> <borderleftcolor/>;
+<!--
+border-top: thin <bordertopstyle/> <bordertopcolor/>;
+border-left: thin <borderleftstyle/> <borderleftcolor/>;
+border-right: thin <borderrightstyle/> <borderrightcolor/>;
+border-bottom: thin <borderbottomstyle/> <borderbottomcolor/>
+-->
+</begin>
+</pborder>
+
+<text>	
+<begin>&lt;p class=&quot;<stylename/>&quot; style=&quot;<paramargin/> <paraborder/> padding: <mmPadTop/> <mmPadRight/> <mmPadBottom/> <mmPadLeft/>; text-indent: <mmParaLeft1/>; text-align: <just/>; line-height: <mmLineHeight/>; color: <parafgcolor/>; background-color: <parabgcolor/>; &quot;&gt;</begin>
+<end>&lt;/p&gt;</end>
+</text>
+
+<picture>
+<begin>
+&lt;img <htmlAlignGuess/> width=&quot;<pixPicWidth/>&quot; height=&quot;<pixPicHeight/>&quot; alt=&quot;0x01 graphic&quot; src=&quot;placeholder.png&quot; /&gt;<htmlNextLineGuess/>
+</begin>
+</picture>
+
+</style>
+
+</main>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/MSWord/win32/share/wv/wvXml.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/README.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/README.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/README.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,9 @@
+# getting sx2ml
+# currently the cws_srx645_ooo113fix2 branch is used
+# see http://tools.openoffice.org/builds/ for a branch list
+
+export CVSROOT=:pserver:anoncvs at anoncvs.services.openoffice.org:/cvs
+cvs login
+cvs co -r cws_srx645_ooo113fix2 xmloff/xslt/sx2ml
+
+


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/README.txt
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/common.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/common.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/common.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,1165 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                extension-element-prefixes="xt"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+
+    <!-- ************ -->
+    <!-- *** body *** -->
+    <!-- ************ -->
+
+
+    <xsl:template match="/*/office:body">
+        <xsl:param name="collectedGlobalData"/>
+
+        <!-- isDebugMode-START: only isDebugMode purpose: shows the inlined style attributes of the temporary variable -->
+        <xsl:if test="$isDebugMode and not($outputType = 'CSS_HEADER')">
+            <xsl:element name="debug_tree_of_styles"><xsl:text>
+            </xsl:text><xsl:for-each select="$collectedGlobalData/allstyles/*">
+<xsl:text>                      </xsl:text><xsl:value-of select="name()"/><xsl:text> = </xsl:text><xsl:value-of select="."/><xsl:text>
+            </xsl:text>
+                    </xsl:for-each>
+            </xsl:element>
+        </xsl:if>
+    <!-- isDebugMode-END -->
+
+
+		<!-- not using of 'apply-styles-and-content' as the content table information migth have been added to 'collectedGlobalData' variable -->
+        <xsl:apply-templates select="@text:style-name | @draw:style-name | @draw:text-style-name | @table:style-name"><!-- | @presentation:style-name -->
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:apply-templates>
+
+
+        <!-- Usability feature, a link to the Content talbe above all level 1 header -->
+        <xsl:if test="$contentTableHeadings">
+            <xsl:call-template name="add-child-document-usability-links"/>
+        </xsl:if>
+
+
+		<xsl:choose>
+	        <xsl:when test="not($outputType = 'WML') and not($outputType = 'PALM')">
+	        	<xsl:choose>
+			        <!--If the input document is a global document and embed child documents (links) the transformation of the children will be started as well.
+			            This is necessary as child documents do not know anything about their embedding into a global document. Chapters of childs
+			            always start to count by zero instead of continously numbering.
+			            For this, the chapter numbers of the current document (as a sequence of a global document) is dependent
+			            of the number of chapter of the same level in preceding documents.
+			            In case of multiple children, for usability reasons some linking is gonna be offered and the URLs of the content-table,
+			            preceding and following file have to be given for the transformation.
+			            -->
+		            <xsl:when test="/*/@office:class='text-global' and /*/office:body/text:section/text:section-source/@xlink:href">
+						<!-- the children will be called later with a modified 'collectedGlobalData' variable -->
+		                <xsl:call-template name="transform-global-document-and-children">
+		                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+		                </xsl:call-template>
+		            </xsl:when>
+					<xsl:otherwise>
+				        <xsl:apply-templates>
+				            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+				        </xsl:apply-templates>
+					</xsl:otherwise>
+				</xsl:choose>
+	        </xsl:when>
+			<xsl:otherwise>
+		        <xsl:apply-templates>
+		            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+		        </xsl:apply-templates>
+			</xsl:otherwise>
+		</xsl:choose>
+
+
+
+        <!-- Usability feature, a link to the Content talbe above all level 1 header -->
+        <xsl:if test="$contentTableHeadings">
+            <xsl:call-template name="add-child-document-usability-links"/>
+        </xsl:if>
+
+
+    </xsl:template>
+
+
+
+
+    <!-- deactivating default template -->
+    <xsl:template match="*"/>
+
+
+    <!-- allowing all matched text nodes -->
+    <xsl:template match="text()">
+<!-- WML         <xsl:value-of select="normalize-space(.)"/> -->
+        <xsl:value-of select="."/>
+    </xsl:template>
+
+
+
+    <!-- ################### -->
+    <!-- ### INLINE-TEXT ### -->
+    <!-- ################### -->
+
+
+    <!-- ****************** -->
+    <!-- *** Whitespace *** -->
+    <!-- ****************** -->
+
+
+    <xsl:template match="text:s">
+        <xsl:call-template name="write-breakable-whitespace">
+            <xsl:with-param name="whitespaces" select="@text:c"/>
+        </xsl:call-template>
+    </xsl:template>
+
+
+    <!--write the number of 'whitespaces' -->
+    <xsl:template name="write-breakable-whitespace">
+        <xsl:param name="whitespaces"/>
+
+        <!--write two space chars as the normal white space character will be stripped
+            and the other is able to break -->
+        <xsl:text>&#160;</xsl:text>
+        <xsl:if test="$whitespaces >= 2">
+            <xsl:call-template name="write-breakable-whitespace-2">
+                <xsl:with-param name="whitespaces" select="$whitespaces - 1"/>
+            </xsl:call-template>
+        </xsl:if>
+    </xsl:template>
+
+
+    <!--write the number of 'whitespaces' -->
+    <xsl:template name="write-breakable-whitespace-2">
+        <xsl:param name="whitespaces"/>
+        <!--write two space chars as the normal white space character will be stripped
+            and the other is able to break -->
+        <xsl:text> </xsl:text>
+        <xsl:if test="$whitespaces >= 2">
+            <xsl:call-template name="write-breakable-whitespace">
+                <xsl:with-param name="whitespaces" select="$whitespaces - 1"/>
+            </xsl:call-template>
+        </xsl:if>
+    </xsl:template>
+
+
+
+
+    <!-- *************** -->
+    <!-- *** Textbox *** -->
+    <!-- *************** -->
+
+    <xsl:template match="draw:text-box">
+        <xsl:param name="collectedGlobalData"/>
+
+            <xsl:choose>
+                <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+                <!--                or                  -->
+                <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+                <xsl:when test="$outputType = 'CSS_HEADER' or $outputType = 'CSS_INLINED'">
+                    <xsl:element name="span">
+                        <xsl:if test="@fo:min-height | @svg:width">
+                            <xsl:attribute name="style">
+                                <xsl:choose>
+                                    <xsl:when test="not(@svg:width)">
+                                        <xsl:text>height: </xsl:text><xsl:value-of select="@fo:min-height"/><xsl:text>; </xsl:text>
+                                    </xsl:when>
+                                    <xsl:when test="not(@fo:min-height)">
+                                        <xsl:text>width: </xsl:text><xsl:value-of select="@svg:width"/><xsl:text>; </xsl:text>
+                                    </xsl:when>
+                                    <xsl:otherwise>
+                                        <xsl:text>height: </xsl:text><xsl:value-of select="@fo:min-height"/><xsl:text>; </xsl:text>
+                                        <xsl:text>width: </xsl:text><xsl:value-of select="@svg:width"/><xsl:text>; </xsl:text>
+                                    </xsl:otherwise>
+                                </xsl:choose>
+                            </xsl:attribute>
+                        </xsl:if>
+                        <xsl:apply-templates select="@draw:name"/>
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+                <!-- 2DO prove best usage for PALM -->
+                <!--+++++ PALM 3.2 SUBSET INLINED WAY  +++++-->
+                <xsl:when test="$outputType = 'PALM'">
+                    <xsl:element name="span">
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+                <!-- 2DO prove best usage for WML -->
+                <!--+++++ WML / WAP  +++++-->
+                <xsl:otherwise>
+                    <!-- no nested p tags in wml1.1 allowed -->
+                    <xsl:choose>
+                        <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                            <xsl:call-template name="apply-styles-and-content">
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:element name="p">
+                                <xsl:call-template name="apply-styles-and-content">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                             </xsl:element>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:otherwise>
+            </xsl:choose>
+    </xsl:template>
+
+    <!-- ID / NAME of text-box -->
+    <xsl:template match="@draw:name">
+
+        <xsl:attribute name="id">
+            <xsl:value-of select="."/>
+        </xsl:attribute>
+    </xsl:template>
+
+
+
+    <!-- ****************** -->
+    <!-- *** Paragraphs *** -->
+    <!-- ****************** -->
+
+    <xsl:template match="text:p | draw:page">
+        <xsl:param name="collectedGlobalData"/>
+
+            <xsl:choose>
+                <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+                <xsl:when test="$outputType = 'CSS_HEADER'">
+                    <xsl:element name="p">
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+
+                <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+                <xsl:when test="$outputType = 'CSS_INLINED'">
+                    <xsl:element name="p">
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+                <!--+++++ PALM 3.2 SUBSET INLINED WAY  +++++-->
+                <xsl:when test="$outputType = 'PALM'">
+                    <xsl:choose>
+                        <!-- in palm paragraphs children of text:list-items are better shown without 'p' tag-->
+                        <xsl:when test="name(parent::*) = 'text:list-item'">
+                            <xsl:call-template name="apply-styles-and-content">
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:element name="p">
+                                <xsl:call-template name="apply-styles-and-content">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                            </xsl:element>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:when>
+                <!--+++++ WML / WAP  +++++-->
+                <xsl:otherwise>
+                    <!-- no nested p tags in wml1.1 allowed -->
+                    <xsl:choose>
+                        <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                            <xsl:call-template name="apply-styles-and-content">
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:call-template>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:element name="p">
+                                <xsl:call-template name="apply-styles-and-content">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                             </xsl:element>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:otherwise>
+            </xsl:choose>
+    </xsl:template>
+
+
+
+    <!-- ***************** -->
+    <!-- *** Text Span *** -->
+    <!-- ***************** -->
+
+    <xsl:template match="text:span">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:choose>
+            <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+            <xsl:when test="$outputType = 'CSS_HEADER'">
+                <xsl:element name="span">
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'CSS_INLINED'">
+                <xsl:element name="span">
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+            <!--+++++ PALM 3.2 SUBSET INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'PALM'">
+                <xsl:call-template name="apply-styles-and-content">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:when>
+            <!--+++++ WML / WAP  +++++-->
+            <xsl:otherwise>
+                <!-- no nested p tags in wml1.1 allowed -->
+                <xsl:choose>
+                    <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:element name="p">
+                            <xsl:call-template name="apply-styles-and-content">
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:call-template>
+                        </xsl:element>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <!-- **************** -->
+    <!-- *** Headings *** -->
+    <!-- **************** -->
+
+    <xsl:template match="text:h">
+        <xsl:param name="collectedGlobalData"/>
+
+        <!-- Every heading element will get an unique anchor for its file, from its hiearchy level and name:
+            For example:  The heading title 'My favorite heading' might get <a name="1+2+2+My+favorite+heading"/> -->
+        <xsl:choose>
+            <xsl:when test="$disableLinkedTableOfContent or $isJavaDisabled or not($outputType = 'CSS_HEADER')">
+            <!-- The URL linking of an table-of-content is due to a bug (cmp. bug id# 102311) not mapped as URL in the XML.
+                 Linking of the table-of-content can therefore only be archieved by a work-around in HTML -->
+                <xsl:call-template name="create-heading">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+           </xsl:when>
+           <xsl:otherwise>
+                <!-- necessary as anchor for the content table -->
+                <xsl:call-template name="create-heading-anchor">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+
+                <!-- no embedding the orginal header, as an explicit anchor might be already set -->
+                <xsl:call-template name="create-heading">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- default matching for header elements -->
+    <xsl:template name="create-heading">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:choose>
+            <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+            <xsl:when test="$outputType = 'CSS_HEADER'">
+
+                <xsl:variable name="headertyp" select="concat('h', @text:level)"/>
+                <xsl:element name="{$headertyp}">
+
+                    <!-- outline style 'text:min-label-width' is interpreted as a CSS 'margin-left' attribute -->
+                    <xsl:variable name="min-label" select="$office:styles/text:outline-style/text:outline-level-style[@text:level = current()/@text:level]/style:properties/@text:min-label-width"/>
+                    <xsl:if test="$min-label">
+                        <xsl:attribute name="style"><xsl:text>margin-left:</xsl:text><xsl:value-of select="$min-label"/><xsl:text>;</xsl:text></xsl:attribute>
+                    </xsl:if>
+
+
+                    <xsl:attribute name="class"><xsl:value-of select="translate(@text:style-name, '. %()/\', '')"/></xsl:attribute>
+
+                    <!-- writing out a chapter number if desired (noticable when a corresponding 'text:outline-style' exist -->
+                    <xsl:if test="string-length($office:styles/text:outline-style/text:outline-level-style[@text:level = current()/@text:level]/@style:num-format) != 0">
+
+                        <xsl:choose>
+                            <xsl:when test="$disableLinkedTableOfContent or $isJavaDisabled or not($outputType = 'CSS_HEADER')">
+                                <!-- the chapter number is the sum of 'text:start-value' and preceding siblings of 'text:h' with the same 'text:level',
+                                     furthermore when the current document is referenced by a global document - as part of a whole sequence of documents -,
+                                     the chapter no. is dependent of the amount of started headers in preceding documents.
+                                     If the 'text:start-value is not set the default value of '1' has to be taken. -->
+                                <xsl:variable name="startValue" select="$office:styles/text:outline-style/text:outline-level-style[@text:level = current()/@text:level]/@text:start-value"/>
+                                <xsl:choose>
+                                    <xsl:when test="$startValue">
+                                        <xsl:choose>
+                                            <xsl:when test="@text:level='1'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel1
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='2'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel2
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='3'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel3
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='4'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel4
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='5'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel5
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='6'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel6
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='7'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel7
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='8'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel8
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='9'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel9
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='10'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel10
+                                                            + $startValue"/>
+                                            </xsl:when>
+                                        </xsl:choose>
+                                    </xsl:when>
+                                    <xsl:otherwise>
+                                        <xsl:choose>
+                                            <xsl:when test="@text:level='1'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel1
+                                                            + 1"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='2'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel2
+                                                            + 1"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='3'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel3
+                                                            + 1"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='4'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel4
+                                                            + 1"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='5'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel5
+                                                            + 1"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='6'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel6
+                                                            + 1"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='7'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel7
+                                                            + 1"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='8'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel8
+                                                            + 1"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='9'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel9
+                                                            + 1"/>
+                                            </xsl:when>
+                                            <xsl:when test="@text:level='10'">
+                                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                            + $precedingChapterLevel10
+                                                            + 1"/>
+                                            </xsl:when>
+                                        </xsl:choose>
+                                    </xsl:otherwise>
+                                </xsl:choose>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:call-template name="get-absolute-chapter-no">
+                                    <xsl:with-param name="precedingChapterLevel1"    select="$precedingChapterLevel1"/>
+                                    <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                        <xsl:text> &#160; &#160;</xsl:text>
+                    </xsl:if>
+                    <xsl:apply-templates>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:apply-templates>
+
+                </xsl:element>
+            </xsl:when>
+
+
+            <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'CSS_INLINED'">
+                <xsl:variable name="headertyp" select="concat('h', @text:level)"/>
+                <xsl:element name="{$headertyp}">
+
+                    <xsl:apply-templates select="@text:style-name">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:apply-templates>
+
+                    <!-- writing out a chapter number if desired (noticable when a corresponding 'text:outline-style' exist -->
+                    <xsl:if test="$office:styles/text:outline-style/text:outline-level-style[@text:level = current()/@text:level]/@text:style-name">
+
+                        <!-- the chapter number is the sum of 'text:start-value' and preceding siblings of 'text:h' with the same 'text:level' -->
+                        <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                            + $office:styles/text:outline-style/text:outline-level-style[@text:level = current()/@text:level]/@text:start-value"/>
+                        <xsl:text> &#160; &#160;</xsl:text>
+                    </xsl:if>
+
+                </xsl:element>
+            </xsl:when>
+
+            <!-- 2DO: add Chapter No. for PALM and WML <-> problem nested apply-templates -->
+
+            <!--+++++ PALM 3.2 SUBSET INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'PALM'">
+                <xsl:variable name="headertyp" select="concat('h', @text:level)"/>
+                <xsl:element name="{$headertyp}">
+
+
+                    <!-- All children content have to be nested in the styles (e.g. <i><b>ANY CONTENT</b></i>)
+                         for this xsl:apply-templates will be called later / implicit -->
+                    <xsl:call-template name="create-attribute-ALIGN">
+                        <!-- getting the css styles for the style name (mapped by style-mapping.xsl) -->
+                        <xsl:with-param name="styleProperties" select="$collectedGlobalData/allstyles/*[name()=current()/@text:style-name]"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ WML / WAP  +++++-->
+            <xsl:otherwise>
+                <!-- no nested p tags in wml1.1 allowed -->
+                <xsl:choose>
+                    <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                        <!-- since no header styles exist, an emphasis is used -->
+                        <xsl:element name="em">
+
+                            <!-- writing out a chapter number if desired (noticable when a corresponding 'text:outline-style' exist -->
+                            <xsl:if test="$office:styles/text:outline-style/text:outline-level-style[@text:level = current()/@text:level]/@text:style-name">
+
+                                <!-- the chapter number is the sum of 'text:start-value' and preceding siblings of 'text:h' with the same 'text:level' -->
+                                <xsl:value-of select="count(preceding-sibling::text:h[@text:level = current()/@text:level])
+                                                    + $office:styles/text:outline-style/text:outline-level-style[@text:level = current()/@text:level]/@text:start-value"/>
+                                <xsl:text> &#160; &#160;</xsl:text>
+                            </xsl:if>
+
+                            <xsl:apply-templates select="@text:style-name">
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:apply-templates>
+
+                        </xsl:element>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:element name="p">
+                            <!-- since no header styles exist, an emphasis is used -->
+                            <xsl:element name="em">
+                                <xsl:call-template name="apply-styles-and-content">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                            </xsl:element>
+                        </xsl:element>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <!-- ************* -->
+    <!-- *** Link  *** -->
+    <!-- ************* -->
+
+    <xsl:template match="text:a | draw:a">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:call-template name="create-common-link">
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:call-template>
+    </xsl:template>
+
+
+    <xsl:template name="create-common-link">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:choose>
+            <xsl:when test="not($outputType = 'WML')">
+                <xsl:element name="a">
+                    <xsl:attribute name="href"><xsl:value-of select="@xlink:href"/></xsl:attribute>
+                    <!--<xsl:attribute name="class">ContentLink</xsl:attribute>-->
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <!-- no nested p tags in wml1.1 allowed -->
+                <xsl:choose>
+                    <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                        <xsl:element name="a">
+                            <xsl:attribute name="href"><xsl:value-of select="@xlink:href"/></xsl:attribute>
+                            <xsl:apply-templates select="descendant::text()"/>
+                        </xsl:element>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:element name="p">
+                            <xsl:element name="a">
+                                <xsl:attribute name="href"><xsl:value-of select="@xlink:href"/></xsl:attribute>
+                                <xsl:apply-templates select="descendant::text()"/>
+                            </xsl:element>
+                        </xsl:element>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+
+
+    <!-- ******************* -->
+    <!-- *** Image Link  *** -->
+    <!-- ******************* -->
+
+    <xsl:template match="draw:image">
+        <xsl:param name="collectedGlobalData"/>
+
+        <!-- NO IMAGES SUPPLIED FOR WAP OR PALM -->
+        <xsl:if test="$outputType = 'CSS_HEADER' or $outputType = 'CSS_INLINED'">
+
+            <xsl:element name="img">
+                <xsl:if test="@svg:width">
+                    <xsl:attribute name="width">
+                        <xsl:call-template name="convert2pixel">
+                            <xsl:with-param name="value" select="@svg:width"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </xsl:if>
+                <xsl:if test="@svg:height">
+                    <xsl:attribute name="height">
+                        <xsl:call-template name="convert2pixel">
+                            <xsl:with-param name="value" select="@svg:height"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </xsl:if>
+                <xsl:if test="svg:desc">
+                    <xsl:attribute name="alt">
+                        <xsl:value-of select="svg:desc"/>
+                    </xsl:attribute>
+                </xsl:if>
+                <xsl:choose>
+                     <!-- for images jared in open office document -->
+                    <xsl:when test="contains(@xlink:href, '#Pictures/')">
+                        <!-- creating an absolute http URL to the packed image file -->
+                        <xsl:attribute name="src"><xsl:value-of select="concat($jaredRootURL, '/Pictures/', substring-after(@xlink:href, '#Pictures/'), $optionalURLSuffix)"/></xsl:attribute>
+                    </xsl:when>
+<!--                    Due to a XT bug no DOS ':' before DRIVE letter is allowed, it would result in a unkown protoco exception, but a file URL for a DOS
+						path needs the DRIVE letter, therefore all relative URLs remain relativ
+
+					<xsl:when test="contains(@xlink:href,'//') or (substring(@xlink:href,2,1) = ':') or starts-with(@xlink:href, '/')">
+                        <xsl:attribute name="src"><xsl:value-of select="@xlink:href"/></xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <!~~ creating a absolute path/URL for the referenced resource ~~>
+                        <xsl:attribute name="src"><xsl:value-of select="concat($absoluteSourceDirRef, @xlink:href, $optionalURLSuffix)"/></xsl:attribute>
+                    </xsl:otherwise>
+-->
+					<xsl:otherwise>
+                        <xsl:attribute name="src"><xsl:value-of select="@xlink:href"/></xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+
+                <xsl:call-template name="apply-styles-and-content">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:element>
+            <!-- adding a line break to make the presentation more even with the OOo view -->
+            <xsl:element name="br"/>
+        </xsl:if>
+    </xsl:template>
+
+
+
+    <!-- ******************** -->
+    <!-- *** ordered list *** -->
+    <!-- ******************** -->
+
+    <xsl:template match="text:ordered-list">
+        <xsl:param name="collectedGlobalData"/>
+
+            <xsl:choose>
+                <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+                <xsl:when test="$outputType = 'CSS_HEADER'">
+                    <xsl:element name="ol">
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+                <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+                <xsl:when test="$outputType = 'CSS_INLINED'">
+                    <xsl:element name="ol">
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+                <!--+++++ PALM 3.2 SUBSET AND WAP INLINED WAY  +++++-->
+                <xsl:when test="$outputType = 'PALM'">
+                    <xsl:element name="ol">
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+                <!--+++++ WML / WAP  +++++-->
+                <xsl:otherwise>
+                    <xsl:choose>
+                        <!-- simulating content break of capsulated list elements -->
+                        <xsl:when test="ancestor::text:list-item">
+                            <xsl:choose>
+                                <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                                    <!-- simulating content break of capsulated list elements -->
+                                    <xsl:element name="br"></xsl:element>
+                                    <xsl:call-template name="apply-styles-and-content">
+                                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                    </xsl:call-template>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:element name="p">
+                                        <!-- simulating content break of capsulated list elements -->
+                                        <xsl:element name="br"></xsl:element>
+                                        <xsl:call-template name="apply-styles-and-content">
+                                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                        </xsl:call-template>
+                                    </xsl:element>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:call-template name="apply-styles-and-content">
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:call-template>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:otherwise>
+            </xsl:choose>
+    </xsl:template>
+
+
+
+    <!-- ********************** -->
+    <!-- *** unordered list *** -->
+    <!-- ********************** -->
+
+    <xsl:template match="text:unordered-list">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:choose>
+            <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+            <xsl:when test="$outputType = 'CSS_HEADER'">
+                <xsl:element name="ul">
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'CSS_INLINED'">
+                <xsl:element name="ul">
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ PALM 3.2 SUBSET AND WAP INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'PALM'">
+                <xsl:element name="ul">
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ WML / WAP  +++++-->
+            <xsl:otherwise>
+                <xsl:choose>
+                    <!-- simulating content break of capsulated list elements -->
+                    <xsl:when test="ancestor::text:list-item">
+                        <xsl:choose>
+                            <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                                <!-- simulating content break of capsulated list elements -->
+                                <xsl:element name="br"></xsl:element>
+                                <xsl:call-template name="apply-styles-and-content">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:element name="p">
+                                    <!-- simulating content break of capsulated list elements -->
+                                    <xsl:element name="br"></xsl:element>
+                                    <xsl:call-template name="apply-styles-and-content">
+                                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                    </xsl:call-template>
+                                </xsl:element>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <!-- ****************** -->
+    <!-- *** list item  *** -->
+    <!-- ****************** -->
+
+    <xsl:template match="text:list-item">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:choose>
+            <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+            <xsl:when test="$outputType = 'CSS_HEADER'">
+                <xsl:element name="li">
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'CSS_INLINED'">
+                <xsl:element name="li">
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ PALM 3.2 SUBSET AND WAP INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'PALM'">
+                <xsl:element name="li">
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ WML / WAP  +++++-->
+            <xsl:otherwise>
+                <xsl:choose>
+                    <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                        <!-- simulating list elements -->
+                        <xsl:for-each select="ancestor::text:list-item">*</xsl:for-each>
+                        <xsl:text>* </xsl:text>
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                        <!-- list item break simulation (not in a table)-->
+                        <xsl:if test="not(ancestor::table:table-cell) or following-sibling::text:list-item">
+                            <xsl:element name="br"/>
+                        </xsl:if>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:element name="p">
+                            <!-- simulating list elements -->
+                            <xsl:for-each select="ancestor::text:list-item">*</xsl:for-each>
+                            <xsl:text>* </xsl:text>
+                            <xsl:call-template name="apply-styles-and-content">
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:call-template>
+                            <!-- list item break simulation (not in a table)-->
+                            <xsl:if test="not(ancestor::table:table-cell) or following-sibling::text:list-item">
+                                <xsl:element name="br"/>
+                            </xsl:if>
+                        </xsl:element>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <!-- ********************************************** -->
+    <!-- *** Text Section (contains: draw:text-box) *** -->
+    <!-- ********************************************** -->
+
+        <xsl:template match="text:section">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:if test="not(contains(@text:display, 'none'))">
+            <xsl:choose>
+                <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+                <xsl:when test="$outputType = 'CSS_HEADER'">
+                    <xsl:element name="span">
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+                <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+                <xsl:when test="$outputType = 'CSS_INLINED'">
+                    <xsl:element name="span">
+                        <xsl:call-template name="apply-styles-and-content">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
+                <!--+++++ PALM 3.2 SUBSET INLINED WAY  +++++-->
+                <xsl:when test="$outputType = 'PALM'">
+                    <xsl:choose>
+                        <xsl:when test="name(parent::*) = 'text:list-item'">
+                                        <xsl:call-template name="apply-styles-and-content">
+                                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                        </xsl:call-template>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:element name="p">
+                                <xsl:call-template name="apply-styles-and-content">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                            </xsl:element>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:when>
+                <!--+++++ WML / WAP  +++++-->
+                <xsl:otherwise>
+                    <xsl:choose>
+                        <xsl:when test="not($outputType = 'WML')">
+                            <xsl:element name="a">
+                                <xsl:attribute name="href"><xsl:value-of select="@xlink:href"/></xsl:attribute>
+                                <xsl:call-template name="apply-styles-and-content">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                            </xsl:element>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <!-- no nested p tags in wml1.1 allowed -->
+                            <xsl:choose>
+                                <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                                    <xsl:call-template name="apply-styles-and-content">
+                                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                    </xsl:call-template>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:element name="p">
+                                        <xsl:call-template name="apply-styles-and-content">
+                                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                        </xsl:call-template>
+                                    </xsl:element>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:if>
+    </xsl:template>
+
+
+
+    <xsl:template match="text:line-break">
+        <xsl:element name="br"/>
+    </xsl:template>
+
+
+<!--
+    TABHANDLING PROBLEM: Tabs are possible to be shown in the HTML text file, but will be later stripped as whitespaces.
+        To prevent this one way would be the PRE tag which unfortunately ALWAYS result into a line-break. No surrounding NOBR tags help.
+
+    <xsl:template match="text:tab-stop">
+        <xsl:if test="not(preceding-sibling::text:tab-stop)">
+            <xsl:element name="pre"><xsl:text>&#9;</xsl:text><xsl:for-each select="following-sibling::text:tab-stop"><xsl:text>&#9;</xsl:text></xsl:for-each></xsl:element>
+        </xsl:if>
+     </xsl:template>
+
+    <xsl:template match="text:tab-stop"><xsl:text>&#9;</xsl:text></xsl:template>
+-->
+    <!-- HOTFIX: 8 non-breakable-spaces instead of a TAB is a hack sometimes less Tabs are needed and the code more difficult to read -->
+    <xsl:template match="text:tab-stop">
+        <xsl:call-template name="write-breakable-whitespace">
+            <xsl:with-param name="whitespaces" select="8"/>
+        </xsl:call-template>
+    </xsl:template>
+
+    <!-- currently there have to be an explicit call of the style attribute nodes, maybe the attributes nodes have no priority only order relevant-->
+    <!-- STRANGE: checked with biorythm.sxc a simple xsl:apply-templates did not recognice the styles. Maybe caused by the template match order?  -->
+    <xsl:template name="apply-styles-and-content">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:apply-templates select="@text:style-name | @draw:style-name | @draw:text-style-name | @table:style-name"><!-- | @presentation:style-name -->
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:apply-templates>
+
+        <xsl:apply-templates>
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:apply-templates>
+    </xsl:template>
+
+
+    <xsl:template match="@text:style-name | @draw:style-name | @draw:text-style-name | @table:style-name"><!-- | @presentation:style-name-->
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:choose>
+            <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+            <xsl:when test="$outputType = 'CSS_HEADER'">
+                <xsl:attribute name="class"><xsl:value-of select="translate(., '. %()/\', '')"/></xsl:attribute>
+            </xsl:when>
+
+            <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'CSS_INLINED'">
+                <xsl:attribute name="style"><xsl:value-of select="$collectedGlobalData/allstyles/*[name()=current()/.]"/></xsl:attribute>
+            </xsl:when>
+
+            <!--+++++ PALM 3.2 SUBSET INLINED WAY  and  WML / WAP   +++++-->
+            <xsl:when test="$outputType = 'PALM' or $outputType = 'WML'">
+                <!-- getting the css styles for the style name (mapped by style-mapping.xsl) -->
+                <xsl:variable name="styleProperties" select="$collectedGlobalData/allstyles/*[name()=current()/.]"/>
+                <!-- changing the context node -->
+                <xsl:for-each select="parent::*">
+                    <xsl:call-template name="create-nested-format-tags">
+                        <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:for-each>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <xsl:template match="text:sequence">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:apply-templates>
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:apply-templates>
+    </xsl:template>
+
+
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/common.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/global_document.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/global_document.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/global_document.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,1674 @@
+ <!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                extension-element-prefixes="xt"
+                xmlns:urlencoder="http://www.jclark.com/xt/java/java.net.URLEncoder"
+                xmlns:sxghelper="http://www.jclark.com/xt/java/com.sun.star.xslt.helper.SxgChildTransformer"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+
+
+    <!-- ********************************************** -->
+    <!-- *** Global Document -  Table of Content    *** -->
+    <!-- ********************************************** -->
+
+
+
+    <xsl:template match="text:table-of-content">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:apply-templates>
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:apply-templates>
+    </xsl:template>
+
+
+
+    <xsl:template match="text:index-body">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:apply-templates mode="content-table">
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:apply-templates>
+    </xsl:template>
+
+
+
+    <xsl:template match="text:index-title" mode="content-table">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:apply-templates>
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:apply-templates>
+    </xsl:template>
+
+    <xsl:template match="text:reference-ref">
+        <xsl:param name="collectedGlobalData"/>
+
+        <!-- Java is needed as we have to encode the relative links (bug#102311) -->
+        <xsl:if test="not($isJavaDisabled)">
+            <xsl:element name="a">
+                <xsl:attribute name="href">
+                    <xsl:text>#</xsl:text>
+                    <xsl:call-template name="encode-string">
+                        <!-- the space has to be normalized,
+                            otherwise an illegal argument exception will be thrown for XT-->
+                         <xsl:with-param name="textToBeEncoded" select="@text:ref-name"/>
+                    </xsl:call-template>
+                </xsl:attribute>
+
+                <xsl:apply-templates>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:apply-templates>
+
+            </xsl:element>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template match="text:reference-mark">
+        <xsl:param name="collectedGlobalData"/>
+
+        <!-- Java is needed as we have to encode the relative links (bug#102311) -->
+        <xsl:if test="not($isJavaDisabled)">
+            <xsl:element name="a">
+                <xsl:attribute name="name">
+                    <xsl:call-template name="encode-string">
+                        <!-- the space has to be normalized,
+                            otherwise an illegal argument exception will be thrown for XT-->
+                        <xsl:with-param name="textToBeEncoded" select="@text:name"/>
+                    </xsl:call-template>
+                </xsl:attribute>
+
+                <xsl:apply-templates>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:apply-templates>
+
+            </xsl:element>
+        </xsl:if>
+    </xsl:template>
+
+
+
+    <xsl:template match="text:reference-mark-start">
+        <xsl:param name="collectedGlobalData"/>
+
+        <!-- Java is needed as we have to encode the relative links (bug#102311) -->
+        <xsl:if test="not($isJavaDisabled)">
+            <xsl:element name="a">
+                <xsl:attribute name="name">
+                    <xsl:call-template name="encode-string">
+                        <!-- the space has to be normalized,
+                            otherwise an illegal argument exception will be thrown for XT-->
+                        <xsl:with-param name="textToBeEncoded" select="@text:name"/>
+                    </xsl:call-template>
+                </xsl:attribute>
+
+                <xsl:variable name="endOfReference">
+                    <xsl:for-each select="text:reference-mark-end[@name=current()/@text:name]">
+                        <xsl:value-of select="position()"/>
+                    </xsl:for-each>
+                </xsl:variable>
+
+                <xsl:for-each select="following-sibling::*[position() &lt; $endOfReference]">
+                    <xsl:apply-templates>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:apply-templates>
+                </xsl:for-each>
+            </xsl:element>
+       </xsl:if>
+    </xsl:template>
+
+
+
+
+     <!-- content table link  -->
+    <xsl:template match="text:a" mode="content-table">
+        <xsl:param name="collectedGlobalData"/>
+
+
+        <!-- For anchors in content-headers a bug exists (cp. bug id# 102311) and they have to be worked out separately.
+            Currently the link used in the content-table of an Office XML (e.g. in the content table as '#7.Some%20Example%20Headline%7Outline')
+            is not a valid URL (cp. bug id# 102311). No file destination is specified nor exist any anchor element for these
+            links in the Office XML, nor is the chapter no. known in the linked files.
+            A workaround for this transformation therefore had to be made. This time-consuming mechanism is disabled by default and
+            can be activated by a parameter (i.e. 'disableLinkedTableOfContent'). A creation of an anchor is made for each header element.
+            All header titles gonna be encoding to be usable in a relative URL. -->
+        <xsl:choose>
+            <xsl:when test="$disableLinkedTableOfContent or $isJavaDisabled">
+                <xsl:call-template name="create-common-link">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:call-template name="create-content-table-link">
+                    <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <xsl:template name="get-absolute-chapter-no">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="precedingChapterLevel1"/>
+
+        <xsl:choose>
+            <xsl:when test="$globalDocumentRefToCurrentFile">
+
+                <xsl:variable name="currentFileHeadingNo">
+                    <xsl:call-template name="get-current-file-heading-no"/>
+                </xsl:variable>
+                <xsl:variable name="testResult" select="$contentTableHeadings/heading[$globalDocumentRefToCurrentFile = @file-url][number($currentFileHeadingNo)]"/>
+
+                <xsl:call-template name="get-global-heading-no">
+                    <xsl:with-param name="currentFileHeadingNo" select="translate($testResult/@absolute-chapter-level, '+', '.')"/>
+                    <xsl:with-param name="precedingChapterLevel1" select="$precedingChapterLevel1"/>
+                </xsl:call-template>
+
+           </xsl:when>
+           <xsl:otherwise>
+                <!-- When the chapter is in the global document itself the link has to be relative (e.g. #index) a absolute href does not
+                    work with the browser. In case of chapter in the global document, the output URL of the global document was taken. -->
+                <xsl:variable name="currentFileHeadingNo">
+                    <xsl:call-template name="get-current-file-heading-no"/>
+                </xsl:variable>
+                <xsl:variable name="testResult" select="$collectedGlobalData/content-table-headings/heading[$contentTableURL = @file-url][number($currentFileHeadingNo)]"/>
+
+                <xsl:call-template name="get-global-heading-no">
+                    <xsl:with-param name="currentFileHeadingNo" select="translate($testResult/@absolute-chapter-level, '+', '.')"/>
+                    <xsl:with-param name="precedingChapterLevel1" select="$precedingChapterLevel1"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <xsl:template name="get-current-file-heading-no">
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:get-current-child-heading-no')">
+                <xsl:value-of select="sxghelper:get-current-child-heading-no()"/>
+            </xsl:when>
+            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.getCurrentChildHeadingNo')">
+                <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.getCurrentChildHeadingNo()"/>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <xsl:template name="get-next-current-file-heading-no">
+        <xsl:param name="file"/>
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:get-next-current-child-heading-no')">
+                <xsl:value-of select="sxghelper:get-next-current-child-heading-no($file)"/>
+            </xsl:when>
+            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.getNextCurrentChildHeadingNo')">
+                <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.getNextCurrentChildHeadingNo($file)"/>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <xsl:template name="get-global-heading-no">
+        <xsl:param name="currentFileHeadingNo"/>
+        <xsl:param name="precedingChapterLevel1"/>
+
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:get-global-heading-no')">
+                <xsl:value-of select="sxghelper:get-global-heading-no(string($currentFileHeadingNo), number($precedingChapterLevel1))"/>
+            </xsl:when>
+            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.getGlobalHeadingNo')">
+                <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.getGlobalHeadingNo(string($currentFileHeadingNo), number($precedingChapterLevel1))"/>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+
+    <!-- necessary as anchor for the content table -->
+    <xsl:template name="create-heading-anchor">
+        <xsl:param name="collectedGlobalData"/>
+
+        <!--
+        Currently the link used in the Office XML (e.g. in the content table as '#7.Some%20Example%20Headline%7Outline')
+        is not a valid URL (cmp. bug id# 102311). No file destination is specified nor exist any anchor element for these
+        links in the Office XML.
+        Here we are creating an anchor with the space normalized text of this header as potential jump address of the content table -->
+
+        <xsl:choose>
+            <xsl:when test="$globalDocumentRefToCurrentFile">
+
+                <xsl:variable name="currentFileHeadingNo">
+                    <xsl:call-template name="get-next-current-file-heading-no">
+                         <xsl:with-param name="file" select="$globalDocumentRefToCurrentFile"/>
+                    </xsl:call-template>
+                </xsl:variable>
+
+
+                <xsl:variable name="testResult" select="$contentTableHeadings/heading[$globalDocumentRefToCurrentFile = @file-url][number($currentFileHeadingNo)]"/>
+                <xsl:if test="$isDebugMode">
+                    <xsl:message>Matching child document header No. <xsl:value-of select="$currentFileHeadingNo"/></xsl:message>
+                    <xsl:message>absolute-chapter-level:         <xsl:value-of select="$testResult/@absolute-chapter-level"/></xsl:message>
+                    <xsl:message>encodedTitle:                   <xsl:value-of select="$testResult/@encoded-title"/></xsl:message>
+                    <xsl:message>globalDocumentRefToCurrentFile: <xsl:value-of select="$globalDocumentRefToCurrentFile"/></xsl:message>
+                    <xsl:message>*** </xsl:message>
+                </xsl:if>
+
+                <xsl:element name="a">
+                    <xsl:attribute name="name">
+                        <xsl:value-of select="$testResult/@absolute-chapter-level"/>
+                        <xsl:text>+</xsl:text>
+                        <xsl:value-of select="$testResult/@encoded-title"/>
+                    </xsl:attribute>
+                </xsl:element>
+           </xsl:when>
+
+           <xsl:otherwise>
+                <!-- When the chapter is in the global document itself the link has to be relative (e.g. #index) a absolute href does not
+                    work with the browser. In case of chapter in the global document, the output URL of the global document was taken. -->
+                <xsl:variable name="currentFileHeadingNo">
+                    <xsl:call-template name="get-next-current-file-heading-no">
+                         <xsl:with-param name="file" select="$contentTableURL"/>
+                    </xsl:call-template>
+                </xsl:variable>
+
+
+                <xsl:variable name="testResult" select="$collectedGlobalData/content-table-headings/heading[$contentTableURL = @file-url][number($currentFileHeadingNo)]"/>
+
+                <xsl:if test="$isDebugMode">
+                    <xsl:message>Matching global document header No. <xsl:value-of select="$currentFileHeadingNo"/></xsl:message>
+                    <xsl:message>absolute-chapter-level:  <xsl:value-of select="$testResult/@absolute-chapter-level"/></xsl:message>
+                    <xsl:message>encodedTitle:            <xsl:value-of select="$testResult/@encoded-title"/></xsl:message>
+                    <xsl:message>contentTableURL:         <xsl:value-of select="$contentTableURL"/></xsl:message>
+                    <xsl:message>*** </xsl:message>
+                </xsl:if>
+
+                <xsl:element name="a">
+                    <xsl:attribute name="name">
+                        <xsl:value-of select="$testResult/@absolute-chapter-level"/>
+                        <xsl:text>+</xsl:text>
+                        <xsl:value-of select="$testResult/@encoded-title"/>
+                    </xsl:attribute>
+                </xsl:element>
+
+            </xsl:otherwise>
+        </xsl:choose>
+
+
+
+<!--
+
+        <xsl:variable name="title" select="normalize-space(.)"/>
+        <!~~DON'T WORK    <xsl:variable name="title" select="normalize-space(descendant::text())"/>        ~~>
+         <xsl:choose>
+            <xsl:when test="$globalDocumentRefToCurrentFile">
+                <xsl:variable name="testResults" select="$contentTableHeadings/heading[$globalDocumentRefToCurrentFile = @file-url][$title = @title][current()/@text:level = @level]"/>
+                <xsl:if test="1 &lt; count($testResults)">
+                    <xsl:message> *** CAUTION: Multiple chapter headings with similar names: </xsl:message>
+                    <xsl:message> *** Title: <xsl:value-of select="$title"/> Level: <xsl:value-of select="@text:level"/></xsl:message>
+                </xsl:if>
+
+                 <xsl:variable name="encodedTitle" select="$testResults/@encoded-title"/>
+                 <xsl:choose>
+                     <xsl:when test="$encodedTitle">
+                         <xsl:element name="a">
+                            <xsl:attribute name="name">
+                                <xsl:value-of select="$encodedTitle"/>
+                            </xsl:attribute>
+                         </xsl:element>
+                     </xsl:when>
+                     <xsl:otherwise>
+                        <!~~ even when it is not ~~>
+                        <xsl:variable name="newEncodedTitle">
+                            <xsl:call-template name="encode-string">
+                                <!~~ the space has to be normalized,
+                                    otherwise an illegal argument exception will be thrown for XT~~>
+                                 <xsl:with-param name="textToBeEncoded" select="$title"/>
+                            </xsl:call-template>
+                        </xsl:variable>
+                         <xsl:element name="a">
+                            <xsl:attribute name="name">
+                                <xsl:value-of select="$newEncodedTitle"/>
+                            </xsl:attribute>
+                         </xsl:element>
+                     </xsl:otherwise>
+                 </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:variable name="testResults" select="$collectedGlobalData/content-table-headings/heading[$contentTableURL = @file-url][$title = @title][current()/@text:level = @level]"/>
+                <xsl:if test="1 &lt; count($testResults)">
+                    <xsl:message> *** CAUTION: Multiple chapter headings with similar names: </xsl:message>
+                    <xsl:message> *** Title: <xsl:value-of select="$title"/> Level: <xsl:value-of select="@text:level"/></xsl:message>
+                    <xsl:message> *** </xsl:message>
+                </xsl:if>
+
+                <xsl:variable name="encodedTitle" select="$testResults/@encoded-title"/>
+                <xsl:choose>
+                     <xsl:when test="$encodedTitle">
+                         <xsl:element name="a">
+                            <xsl:attribute name="name">
+                                <xsl:value-of select="$encodedTitle"/>
+                            </xsl:attribute>
+                         </xsl:element>
+                     </xsl:when>
+                     <xsl:otherwise>
+                        <!~~ even when it is not ~~>
+                        <xsl:variable name="newEncodedTitle">
+                            <xsl:call-template name="encode-string">
+                                <!~~ the space has to be normalized,
+                                    otherwise an illegal argument exception will be thrown for XT~~>
+                                 <xsl:with-param name="textToBeEncoded" select="$title"/>
+                            </xsl:call-template>
+                        </xsl:variable>
+                         <xsl:element name="a">
+                            <xsl:attribute name="name">
+                                <xsl:value-of select="$newEncodedTitle"/>
+                            </xsl:attribute>
+                         </xsl:element>
+                     </xsl:otherwise>
+                 </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+
+-->
+
+    </xsl:template>
+
+
+
+
+    <!-- ************************************** -->
+    <!--    CREATION OF A CONTENT TABLE LINK    -->
+    <!-- ************************************** -->
+
+
+    <!-- a special behavior of text:a
+        (called from the 'text:a' template) -->
+
+    <xsl:template name="create-content-table-link">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:choose>
+            <xsl:when test="not($outputType = 'WML')">
+                <xsl:element name="a">
+                    <xsl:attribute name="href">
+                        <xsl:choose>
+                            <xsl:when test="starts-with(@xlink:href, '#')">
+                                <xsl:variable name="correctHeading" select="$collectedGlobalData/content-table-headings/heading[current()/@xlink:href = @content-table-id]"/>
+
+                                <xsl:value-of select="$correctHeading/@out-file-url"/>
+                                <xsl:text>#</xsl:text>
+                                <xsl:value-of select="$correctHeading/@absolute-chapter-level"/>
+                                <xsl:text>+</xsl:text>
+                                <xsl:value-of select="$correctHeading/@encoded-title"/>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:call-template name="create-common-link">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:attribute>
+
+                    <xsl:call-template name="apply-styles-and-content">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <!-- 2DO: currently no WML support
+
+                <!~~ no nested p tags in wml1.1 allowed ~~>
+                <xsl:choose>
+                    <xsl:when test="ancestor::*[contains($wap-paragraph-elements, name())]">
+                        <xsl:element name="a">
+                            <xsl:attribute name="href"><xsl:value-of select="@xlink:href"/></xsl:attribute>
+                            <xsl:apply-templates select="."/>
+                        </xsl:element>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:element name="p">
+                            <xsl:element name="a">
+                                <xsl:attribute name="href"><xsl:value-of select="@xlink:href"/></xsl:attribute>
+                                <xsl:apply-templates select="."/>
+                            </xsl:element>
+                        </xsl:element>
+                    </xsl:otherwise>
+                </xsl:choose>  -->
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+	<!--
+	    CREATION OF A HELPER VARIABLE AS WORKAROUND FOR THE CONTENT TABLE ULR BUG
+
+
+        As no valid URL from the content table to the child documents exist in the content table,
+        a work-around is done:
+
+        First two helper variables are being created.
+
+        One containing the list of all references of the global document:
+        containg all their title,
+        for example:
+
+          	<chapter-ref title="aTitle 1"/>
+          	<chapter-ref title="aTitle 2"/>
+          	<chapter-ref title="aTitle 2/>
+          	<chapter-ref title="aTitle 3/>
+
+        The other containing all heading from the child documents linked from the global document.
+        The variable 'childrenHeadings' contains their title and the number of preceding similar titles,
+        for example:
+
+
+          	<child file-url="aURL">
+          		<heading title="aTitle1" level="1">
+          		<heading title="aTitle2" level="2">
+          		<heading title="aTitle3" level="1">
+            </child>
+
+        For each chapter reference from the content table the
+
+         by encoding the chapter names of the child document with the java URLEncoder and
+        use this as a part of a link. Furthermore for all heading elements a encoded anchor will be created from the heading.
+        Last the workaround parses all children documents for this anhor, as there is no distinction of files from the content table entries.
+
+        The new added node set to the collectedGlobalData variable concering the content table is written as
+
+
+		<content-table-headings content-table-url="aURL_ToTheGeneratedContentTable">
+      		<heading file-url="aFileURLToTheGeneratedHeading1" level="1">
+      		<heading file-url="aFileURLToTheGeneratedHeading2" level="2">
+      		<heading file-url="aFileURLToTheGeneratedHeading1" level="1">
+      		<heading file-url="aFileURLToTheGeneratedHeading2" level="2">
+		</content-table-headings>
+
+
+        Preconditions:
+		The correct sequence of child documents according to the Content Table is necessary, granted by the office.
+	-->
+	<xsl:template name="Create-helper-variables-for-Content-Table">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:if test="$isDebugMode"><xsl:message>Creation of global document helper variable for the content table....</xsl:message></xsl:if>
+
+        <!-- Here a helper variable of the content table is created, of all chapter-references which point to a child document.
+             an 'chapter-ref' element will be created, containg their title and the number of preceding similar titles,
+             for example:
+
+              	<chapter-ref title="aTitle 1"/>
+              	<chapter-ref title="aTitle 2"/>
+              	<chapter-ref title="aTitle 2"/>
+              	<chapter-ref title="aTitle 3"/>
+            -->
+        <xsl:variable name="chapterRefs-RTF">
+            <!-- '/*/' as the flat and the zipped XML file format have different root elements -->
+            <xsl:for-each select="/*/office:body/text:table-of-content/text:index-body/text:p/text:a">
+                <xsl:variable name="currentTitle" select="normalize-space(string(.))"/>
+                <xsl:element name="chapter-ref">
+                    <xsl:attribute name="title">
+                        <xsl:value-of select="$currentTitle"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="content-table-id">
+                        <xsl:value-of select="@xlink:href"/>
+                    </xsl:attribute>
+               </xsl:element>
+            </xsl:for-each>
+        </xsl:variable>
+        <xsl:if test="$isDebugMode"><xsl:message>Finished the Creation of global document helper variable for the content table!</xsl:message></xsl:if>
+
+
+
+
+        <xsl:if test="$isDebugMode"><xsl:message>Creation of global document helper variable for the child documents....</xsl:message></xsl:if>
+        <!-- Here a helper variable of created from the children documents.
+             Containg all heading elements from the child documents. Some or all of them are
+             chapters referenced by the Global Document.
+             The variable contains their title, the level of the heading and the file URL of the child,
+             for example:
+
+          		<heading title="aTitle1" level="1" file-url="aURL1">
+          		<heading title="aTitle2" level="2" file-url="aURL1">
+          		<heading title="aTitle3" level="1" file-url="aURL1">
+          		<heading title="aTitle4" level="1" file-url="aURL2">
+          		<heading title="aTitle5" level="2" file-url="aURL2">
+          		<heading title="aTitle2" level="3" file-url="aURL2">
+          		<heading title="aTitle6" level="3" file-url="aURL2">
+                <heading-count>7</heading-count>
+            -->
+        <xsl:variable name="childrenHeadings-RTF">
+            <!-- all headers from children documents will be added -->
+            <xsl:apply-templates select="/*/office:body/text:section" mode="creation-of-variable"/>
+        </xsl:variable>
+        <xsl:if test="$isDebugMode"><xsl:message>Finished the Creation of global document helper variable for the child documents!</xsl:message></xsl:if>
+
+
+        <xsl:choose>
+            <xsl:when test="function-available('xt:node-set')">
+                <xsl:call-template name="Create-global-variable-for-Content-Table">
+                    <xsl:with-param name="chapterRefs"     select="xt:node-set($chapterRefs-RTF)"/>
+                    <xsl:with-param name="childrenHeadings"     select="xt:node-set($childrenHeadings-RTF)"/>
+                    <xsl:with-param name="collectedGlobalData"  select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="function-available('xalan:nodeset')">
+                <xsl:call-template name="Create-global-variable-for-Content-Table">
+                    <xsl:with-param name="chapterRefs"     select="xalan:nodeset($chapterRefs-RTF)"/>
+                    <xsl:with-param name="childrenHeadings"     select="xalan:nodeset($childrenHeadings-RTF)"/>
+                    <xsl:with-param name="collectedGlobalData"  select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+
+    <xsl:template name="Create-global-variable-for-Content-Table">
+        <xsl:param name="chapterRefs"/>
+        <xsl:param name="childrenHeadings"/>
+        <xsl:param name="collectedGlobalData"/>
+
+
+        <xsl:if test="$isDebugMode">
+            <!-- helper variable collecting all headings from the global document file children-->
+            <xsl:for-each select="$childrenHeadings/heading">
+                <xsl:message>#              <xsl:value-of select="position()"/></xsl:message>
+                <xsl:message>level:         <xsl:value-of select="@level"/></xsl:message>
+                <xsl:message>title:         <xsl:value-of select="@title"/></xsl:message>
+                <xsl:message>encoded-title: <xsl:value-of select="@encoded-title"/></xsl:message>
+                <xsl:message>file-url:      <xsl:value-of select="@file-url"/></xsl:message>
+                <xsl:message>header-no:     <xsl:value-of select="@header-no"/></xsl:message>
+                <xsl:message>**</xsl:message>
+            </xsl:for-each>
+            <xsl:message>**</xsl:message>
+            <xsl:message>**</xsl:message>
+
+            <!-- helper variable collecting all heading references from the content table of the the global document -->
+            <xsl:message>childrenHeadings/heading-count: <xsl:value-of select="$childrenHeadings/heading-count"/></xsl:message>
+            <xsl:for-each select="$chapterRefs/chapter-ref">
+                <xsl:message># <xsl:value-of select="position()"/></xsl:message>
+                <xsl:message>title: <xsl:value-of select="@title"/></xsl:message>
+                <xsl:message>**</xsl:message>
+            </xsl:for-each>
+        </xsl:if>
+
+
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:set-heading-no')">
+                    <xsl:value-of select="sxghelper:set-heading-no(1)"/>
+                    <xsl:value-of select="sxghelper:set-current-child-no(1)"/>
+                    <xsl:value-of select="sxghelper:set-current-child-url(string($childrenHeadings/heading/@file-url))"/>
+            </xsl:when>
+            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.setHeadingNo')">
+                    <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.setHeadingNo(1)"/>
+                    <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.setCurrentChildNo(1)"/>
+                    <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.setCurrentChildUrl(string($childrenHeadings/heading/@file-ur))"/>
+            </xsl:when>
+        </xsl:choose>
+
+        <xsl:if test="$isDebugMode"><xsl:message>Creating global document variable for chapter relations....</xsl:message></xsl:if>
+        <xsl:variable name="contentTableHeadingsGlobalData-RTF">
+            <xsl:element name="content-table-headings">
+                <!-- all headings are linked from the current global document input file -->
+                <xsl:attribute name="content-table-url">
+                    <xsl:value-of select="$contentTableURL"/>
+                </xsl:attribute>
+
+                <!-- had to use a for loop, as a recursion ends with an stackoverflow exception after about 600 recursive calls -->
+                <xsl:choose>
+                    <xsl:when test="function-available('sxghelper:get-heading-no')">
+                         <xsl:for-each select="$chapterRefs/chapter-ref">
+                            <xsl:call-template name="searchHeadingInChildDocument">
+                                <xsl:with-param name="chapterRefs"         select="$chapterRefs"/>
+                                <xsl:with-param name="childrenHeadings"    select="$childrenHeadings"/>
+                                <xsl:with-param name="currentChapterRefNo" select="position()"/>
+                                <xsl:with-param name="currentHeadingNo"    select="sxghelper:get-heading-no()"/>
+                                <xsl:with-param name="currentChildURL"     select="sxghelper:get-current-child-url()"/>
+                                <xsl:with-param name="currentChildNo"      select="sxghelper:get-current-child-no()"/>
+                            </xsl:call-template>
+                        </xsl:for-each>
+                     </xsl:when>
+                    <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.getHeadingNo')">
+                         <xsl:for-each select="$chapterRefs/chapter-ref">
+                            <xsl:call-template name="searchHeadingInChildDocument">
+                                <xsl:with-param name="chapterRefs"         select="$chapterRefs"/>
+                                <xsl:with-param name="childrenHeadings"    select="$childrenHeadings"/>
+                                <xsl:with-param name="currentChapterRefNo" select="position()"/>
+                                <xsl:with-param name="currentHeadingNo"    select="java:com.sun.star.xslt.helper.SxgChildTransformer.getHeadingNo()"/>
+                                <xsl:with-param name="currentChildURL"     select="java:com.sun.star.xslt.helper.SxgChildTransformer.getCurrentChildUrl()"/>
+                                <xsl:with-param name="currentChildNo"      select="java:com.sun.star.xslt.helper.SxgChildTransformer.getCurrentChildNo()"/>
+                            </xsl:call-template>
+                        </xsl:for-each>
+                    </xsl:when>
+                </xsl:choose>
+            </xsl:element>
+
+            <!-- adding the already exisiting global data environment -->
+            <xsl:copy-of select="$collectedGlobalData"/>
+        </xsl:variable>
+        <xsl:if test="$isDebugMode"><xsl:message>Finished global document variable for chapter relations!</xsl:message></xsl:if>
+
+        <xsl:choose>
+            <xsl:when test="function-available('xt:node-set')">
+                <xsl:call-template name="start-self-and-children-transformation">
+                    <xsl:with-param name="collectedGlobalData"       select="xt:node-set($contentTableHeadingsGlobalData-RTF)"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="function-available('xalan:nodeset')">
+                <xsl:call-template name="start-self-and-children-transformation">
+                    <xsl:with-param name="collectedGlobalData"       select="xalan:nodeset($contentTableHeadingsGlobalData-RTF)"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <xsl:template name="searchHeadingInChildDocument">
+        <xsl:param name="chapterRefs"/>
+        <xsl:param name="childrenHeadings"/>
+        <xsl:param name="currentChapterRefNo"/>
+        <xsl:param name="currentHeadingNo"/>
+        <xsl:param name="currentChildURL"/>
+        <xsl:param name="currentChildNo"/>
+
+
+        <xsl:variable name="currentChapterRef"      select="$chapterRefs/chapter-ref[$currentChapterRefNo]"/>
+        <xsl:variable name="currentChapterID"       select="$currentChapterRef/@content-table-id"/>
+        <xsl:variable name="currentChapterTitle"    select="$currentChapterRef/@title"/>
+
+        <xsl:variable name="currentChildHeading"    select="$childrenHeadings/heading[$currentHeadingNo]"/>
+        <xsl:variable name="headingTitle"           select="$currentChildHeading/@title"/>
+        <xsl:variable name="headingLevel"           select="$currentChildHeading/@level"/>
+        <xsl:variable name="headingNo"              select="$currentChildHeading/@header-no"/>
+        <xsl:variable name="newChildURL"            select="$currentChildHeading/@file-url"/>
+
+        <xsl:if test="$isDebugMode">
+            <xsl:message>*** new heading </xsl:message>
+            <xsl:message>currentChapterID:    <xsl:value-of select="$currentChapterID"/></xsl:message>
+            <xsl:message>currentChapterTitle: <xsl:value-of select="$currentChapterTitle"/></xsl:message>
+            <xsl:message>currentChapterID:    <xsl:value-of select="$currentChapterID"/></xsl:message>
+            <xsl:message>currentHeadingNo:    <xsl:value-of select="$currentHeadingNo"/></xsl:message>
+            <xsl:message>headingTitle:        <xsl:value-of select="$headingTitle"/></xsl:message>
+            <xsl:message>headingLevel:        <xsl:value-of select="$headingLevel"/></xsl:message>
+            <xsl:message>headingNo:           <xsl:value-of select="$headingNo"/></xsl:message>
+            <xsl:message>newChildURL:         <xsl:value-of select="$newChildURL"/></xsl:message>
+        </xsl:if>
+
+        <xsl:variable name="outFileURL">
+            <xsl:choose>
+                 <xsl:when test="substring-before($newChildURL,'.xml')">
+                    <xsl:value-of select="concat(substring-before($newChildURL,'.xml'),'.htm')"/>
+                 </xsl:when>
+                 <xsl:when test="substring-before($newChildURL,'.sx')">
+                    <xsl:value-of select="concat(substring-before($newChildURL,'.sx'),'.htm')"/>
+                 </xsl:when>
+            </xsl:choose>
+        </xsl:variable>
+        <xsl:variable name="isChapterHeading" select="$headingTitle = $currentChapterTitle"/>
+        <xsl:variable name="isNewFile" select="string($newChildURL) != string($currentChildURL)"/>
+
+
+
+
+        <xsl:if test="$isNewFile">
+            <!-- reset of the already collected child headers -->
+            <xsl:call-template name="calc-chapter-numbers">
+                 <xsl:with-param name="level" select="0"/>
+            </xsl:call-template>
+        </xsl:if>
+        <xsl:variable name="absoluteChapterLevel">
+            <xsl:call-template name="calc-chapter-numbers">
+                 <xsl:with-param name="level" select="number($headingLevel)"/>
+            </xsl:call-template>
+        </xsl:variable>
+
+
+        <xsl:element name="heading">
+            <!-- necessary to as ID from the content table to get the correct heading element (the buggy URL used as ID)-->
+            <xsl:attribute name="content-table-id">
+                <xsl:choose>
+                    <xsl:when test="$isChapterHeading">
+                        <xsl:value-of select="$currentChapterID"/>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:text>only a heading, but not a chapter</xsl:text>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:attribute>
+            <!-- no of the used child, necessary for quick finding of chapters of next file  -->
+            <xsl:attribute name="child-document-no">
+                <xsl:choose>
+                    <xsl:when test="$isNewFile">
+                        <xsl:value-of select="$currentChildNo + 1"/>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:value-of select="$currentChildNo"/>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:attribute>
+            <!-- the URL of the child document source, containing the heading -->
+            <xsl:attribute name="file-url">
+                <xsl:value-of select="$newChildURL"/>
+            </xsl:attribute>
+            <xsl:attribute name="out-file-url">
+                <xsl:value-of select="$outFileURL"/>
+            </xsl:attribute>
+            <xsl:attribute name="level">
+                <xsl:value-of select="$headingLevel"/>
+            </xsl:attribute>
+            <xsl:attribute name="title">
+                <xsl:value-of select="$headingTitle"/>
+            </xsl:attribute>
+            <xsl:attribute name="encoded-title">
+                <xsl:value-of select="$currentChildHeading/@encoded-title"/>
+            </xsl:attribute>
+            <xsl:attribute name="absolute-chapter-level">
+                <xsl:value-of select="$absoluteChapterLevel"/>
+            </xsl:attribute>
+        </xsl:element>
+
+
+        <xsl:choose>
+            <xsl:when test="$childrenHeadings/heading-count != $currentHeadingNo">
+                <!-- procede as long the list of children isn'nt worked through -->
+                <xsl:choose>
+                    <xsl:when test="$isChapterHeading">
+                        <!-- global variables have to be set, so the for-each loop can access them -->
+                        <xsl:choose>
+                            <xsl:when test="function-available('sxghelper:set-heading-no')">
+                                <xsl:value-of select="sxghelper:set-heading-no($currentHeadingNo + 1)"/>
+                                <xsl:if test="$isNewFile">
+                                    <xsl:value-of select="sxghelper:set-current-child-no($currentChildNo + 1)"/>
+                                    <xsl:value-of select="sxghelper:set-current-child-url(string($newChildURL))"/>
+                                </xsl:if>
+                             </xsl:when>
+                            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.setHeadingNo')">
+                                <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.setHeadingNo($currentHeadingNo + 1)"/>
+                                <xsl:if test="$isNewFile">
+                                    <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.setCurrentChildNo($currentChildNo + 1)"/>
+                                    <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.setCurrentChildUrl($newChildURL)"/>
+                                </xsl:if>
+                            </xsl:when>
+                        </xsl:choose>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <!-- not a chapter heading, call itself until a chapter ref is found or the end of headings is reached -->
+                        <xsl:call-template name="searchHeadingInChildDocument">
+                            <xsl:with-param name="chapterRefs"         select="$chapterRefs"/>
+                            <xsl:with-param name="childrenHeadings"    select="$childrenHeadings"/>
+                            <xsl:with-param name="currentChapterRefNo" select="$currentChapterRefNo"/>
+                            <xsl:with-param name="currentHeadingNo"    select="$currentHeadingNo + 1"/>
+                            <xsl:with-param name="currentChildURL"     select="$currentChildURL"/>
+                            <xsl:with-param name="currentChildNo"      select="$currentChildNo"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:if test="$isDebugMode">
+                    <xsl:message>All child documents have been walked through without finding the chapter name!</xsl:message>
+                    <xsl:message>       childrenHeadings/heading-count:    <xsl:value-of select="$childrenHeadings/heading-count"/></xsl:message>
+                    <xsl:message>       currentHeadingNo:                  <xsl:value-of select="$currentHeadingNo"/></xsl:message>
+                </xsl:if>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+
+
+	<!-- Chapters from the Content Table have currently no anchor to child documents in OOo XML.
+		 As solution, whenever a a global document  every header of the HTML output gets get's an anchor in the Therefore-->
+    <xsl:template name="encode-string">
+        <xsl:param name="encoding" select="'UTF-8'"/>
+        <xsl:param name="textToBeEncoded"/>
+
+        <xsl:choose>
+            <xsl:when test="function-available('urlencoder:encode')">
+                <xsl:value-of select="urlencoder:encode(normalize-space($textToBeEncoded),$encoding)"/>
+            </xsl:when>
+            <xsl:when test="function-available('java:java.net.URLEncoder.encode')">
+                <xsl:value-of select="java:java.net.URLEncoder.encode(string(normalize-space($textToBeEncoded)),string($encoding))"/>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+
+
+    <!-- ******************************************************************************************************** -->
+    <!-- ***  TRANSFORMATION OF ALL CHILD DOCUMENTS OF THE GLOBAL DOCUMENTS BY USING A EXTERNAL HELPER CLASS  *** -->
+    <!-- ******************************************************************************************************** -->
+
+
+	<!-- a new element 'contentTableHeadings' will be added to the helper variable the first time a child will be transformed -->
+    <xsl:template name="transform-global-document-and-children">
+        <xsl:param name="collectedGlobalData"/>
+
+
+        <xsl:choose>
+            <xsl:when test="$collectedGlobalData/content-table-headings">
+                <xsl:call-template name="start-child-transformation">
+                    <xsl:with-param name="collectedGlobalData"   select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+	            <!-- The necessary auxiliary variable hasn't build yet.
+	            This variable gonna store all headers (with chapter numbers) and the URL of their files -->
+
+                <xsl:call-template name="Create-helper-variables-for-Content-Table">
+                    <xsl:with-param name="collectedGlobalData"   select="$collectedGlobalData"/>
+                </xsl:call-template>
+
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+	<xsl:template name="start-self-and-children-transformation">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:if test="$isDebugMode">
+            <xsl:call-template name="debug-content-table-headings-variable">
+                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+            </xsl:call-template>
+
+            <xsl:message>Parsing the global document...</xsl:message>
+        </xsl:if>
+
+        <xsl:apply-templates>
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:apply-templates>
+
+
+        <xsl:if test="$isDebugMode"><xsl:message>Parsing the child documents...</xsl:message></xsl:if>
+        <xsl:call-template name="start-child-transformation">
+            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+        </xsl:call-template>
+
+	</xsl:template>
+
+
+
+
+    <xsl:template name="start-child-transformation">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:if test="$isDebugMode"><xsl:message>Starting the child transformations...</xsl:message></xsl:if>
+
+        <!-- As the childs of a global document (with suffix .sxg) do not know anything about their global parent,
+            the transformation of global documents children have to be done implizit.
+            Otherwise the chapter number of the children will always start with zero, as they do not know anything about the
+            proceding chapters.
+            Furthermore, they don't have any links about preceeding and following documents and no linking for usability reasons
+            could be done. Therefore the children have to be transformed during the transformation of a global (sxg) document -->
+		<xsl:if test="$isDebugMode">
+            <xsl:choose>
+                <xsl:when test="$collectedGlobalData/content-table-headings">
+                    <xsl:message>Contentable data exists as global data!</xsl:message>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:message>No Contentable global data exists!</xsl:message>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:if>
+
+        <!-- currently this function only works with node-sets from XT -->
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:transform-children')">
+                <xsl:message>
+                    <xsl:value-of select="sxghelper:transform-children( $collectedGlobalData/content-table-headings,
+                                                                        string($jaredRootURL),
+                                                                        string($absoluteSourceDirRef),
+                                                                        string($optionalURLSuffix),
+                                                                        string($dpi),
+                                                                        string($outputType),
+                                                                        $isDebugMode)"/>
+                </xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>Java method transformChildren to transform all children of a global document could not be found. Be sure to use the XT processor.</xsl:message>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+
+
+    <!-- ******************************************************************************* -->
+    <!-- ***  Creation of helper variable of the headings of all children documents  *** -->
+    <!-- ******************************************************************************* -->
+
+
+    <xsl:template match="/*/office:body/text:section" mode="creation-of-variable">
+        <xsl:call-template name="getChildRootNode"/>
+
+        <!-- after the last child document the global document will be parsed -->
+        <xsl:if test="position() = last()">
+            <!-- search the global document after all child documents have been searched
+
+ODK PATCH NO INDEX ELEMENT WANTED !! - null pointer exception
+            <xsl:call-template name="getPreviousHeaderNo">
+                <xsl:with-param name="fileURL"                  select="$contentTableURL"/>
+                <xsl:with-param name="amountOfCurrentHeading"   select="count(following-sibling::text:h)"/>
+                <xsl:with-param name="nodeToSearchForHeading"   select="following-sibling::text:h"/>
+            </xsl:call-template>
+-->
+           <!-- get the overall No of Headers -->
+           <xsl:call-template name="getAllHeaderNo"/>
+        </xsl:if>
+    </xsl:template>
+
+
+    <xsl:template name="getChildRootNode">
+        <xsl:variable name="fileURL"    select="text:section-source/@xlink:href"/>
+
+        <xsl:choose>
+           	<!-- if absolute URL or absolute DOS PATH or absolute Unix path -->
+			<xsl:when test="contains($fileURL,'//') or (substring($fileURL,2,1) = ':') or starts-with($fileURL, '/')">
+    			<xsl:variable name="childRootNode" select="document($fileURL)"/>
+                <xsl:call-template name="getPreviousHeaderNo">
+                    <xsl:with-param name="fileURL"                select="$fileURL"/>
+                	<!-- NO absolute source path will be added as prefix -->
+                    <xsl:with-param name="amountOfCurrentHeading" select="count($childRootNode/*/office:body/descendant::text:h)"/>
+                    <xsl:with-param name="nodeToSearchForHeading" select="$childRootNode/*/office:body/descendant::text:h"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+    			<xsl:variable name="childRootNode" select="document(concat($absoluteSourceDirRef,'/',$fileURL))"/>
+                <xsl:call-template name="getPreviousHeaderNo">
+                    <xsl:with-param name="fileURL"                select="$fileURL"/>
+                	<!-- the absolute source path will be added as prefix -->
+                    <xsl:with-param name="amountOfCurrentHeading" select="count($childRootNode/*/office:body/descendant::text:h)"/>
+                    <xsl:with-param name="nodeToSearchForHeading" select="$childRootNode/*/office:body/descendant::text:h"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <xsl:template name="getPreviousHeaderNo">
+        <xsl:param name="fileURL"/>
+        <xsl:param name="nodeToSearchForHeading"/>
+        <xsl:param name="amountOfCurrentHeading"/>
+
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:get-previous-child-documents-heading-count')">
+                <xsl:call-template name="addHeadingInfo">
+                    <xsl:with-param name="nodeToSearchForHeading"   select="$nodeToSearchForHeading"/>
+                    <xsl:with-param name="fileURL"                  select="$fileURL"/>
+                    <xsl:with-param name="previousHeader"           select="sxghelper:get-previous-child-documents-heading-count($amountOfCurrentHeading)"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.getPreviousChildDocumentsHeadingCount')">
+                <xsl:call-template name="addHeadingInfo">
+                    <xsl:with-param name="nodeToSearchForHeading"   select="$nodeToSearchForHeading"/>
+                    <xsl:with-param name="fileURL"                  select="$fileURL"/>
+                    <xsl:with-param name="previousHeader"           select="java:com.sun.star.xslt.helper.SxgChildTransformer.getPreviousChildDocumentsHeadingCount($amountOfCurrentHeading)"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+
+    </xsl:template>
+
+
+    <xsl:template name="addHeadingInfo">
+        <xsl:param name="fileURL"/>
+        <xsl:param name="previousHeader"/>
+        <xsl:param name="nodeToSearchForHeading"/>
+
+        <xsl:variable name="previousHeader2" select="number($previousHeader)"/>
+        <xsl:for-each select="$nodeToSearchForHeading">
+
+            <xsl:variable name="title" select="normalize-space(.)"/>
+
+            <xsl:variable name="encodedTitle">
+                <xsl:call-template name="encode-string">
+                    <!-- the space has to be normalized,
+                        otherwise an illegal argument exception will be thrown for XT-->
+                     <xsl:with-param name="textToBeEncoded" select="$title"/>
+                </xsl:call-template>
+            </xsl:variable>
+
+            <xsl:element name="heading">
+                <!-- odd but 'descendant:text()' didn't work, but '.', to get all text nodes of the header -->
+                <xsl:attribute name="title"><xsl:value-of select="$title"/></xsl:attribute>
+                <xsl:attribute name="encoded-title"><xsl:value-of select="$encodedTitle"/></xsl:attribute>
+                <xsl:attribute name="level"><xsl:value-of select="@text:level"/></xsl:attribute>
+                <xsl:attribute name="file-url"><xsl:value-of select="$fileURL"/></xsl:attribute>
+                <xsl:attribute name="header-no"><xsl:value-of select="position() + $previousHeader2"/></xsl:attribute>
+            </xsl:element>
+        </xsl:for-each>
+
+    </xsl:template>
+
+
+    <xsl:template name="getAllHeaderNo">
+
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:get-all-child-documents-heading-count')">
+                <xsl:call-template name="addAllHeaderNoElement">
+                    <xsl:with-param name="allHeader"   select="sxghelper:get-all-child-documents-heading-count()"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.getAllChildDocumentsHeadingCount')">
+                <xsl:call-template name="addAllHeaderNoElement">
+                    <xsl:with-param name="allHeader"   select="java:com.sun.star.xslt.helper.SxgChildTransformer.getAllChildDocumentsHeadingCount()"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="addAllHeaderNoElement">
+        <xsl:param name="allHeader"/>
+
+        <xsl:element name="heading-count">
+            <xsl:value-of select="$allHeader"/>
+        </xsl:element>
+
+    </xsl:template>
+
+
+    <!-- ******************************************************************************************************* -->
+    <!-- ***  Creation of a line of links at the beginning and end of a child document to enhance usability  *** -->
+    <!-- ******************************************************************************************************* -->
+
+    <xsl:template name="add-child-document-usability-links">
+        <xsl:element name="center">
+            <xsl:element name="small">
+                <xsl:text>[ </xsl:text>
+
+
+                <xsl:variable name="globalDocumentDir" select="sxghelper:get-global-document-dir()"/>
+                <xsl:variable name="currentChildNo" select="number($contentTableHeadings/heading[$globalDocumentRefToCurrentFile = @file-url]/@child-document-no)"/>
+                <xsl:variable name="earlierDocURL" select="$contentTableHeadings/heading[($currentChildNo - 1) = @child-document-no]/@out-file-url"/>
+<!--
+<xsl:message>from: <xsl:value-of select="$globalDocumentRefToCurrentFile"/></xsl:message>
+<xsl:message>to: <xsl:value-of select="$earlierDocURL"/></xsl:message>
+<xsl:message>Is: <xsl:call-template name="get-relative-file-ref">
+                    <xsl:with-param name="sourceFileRef" select="$globalDocumentRefToCurrentFile"/>
+                    <xsl:with-param name="targetFileRef" select="$earlierDocURL"/>
+                 </xsl:call-template>
+</xsl:message>-->
+
+
+                <xsl:if test="$earlierDocURL">
+                    <xsl:element name="a">
+                        <xsl:attribute name="href">
+                            <!-- when the links starts with a '#' it's a link to the Content Table-->
+                            <xsl:choose>
+                                <xsl:when test="starts-with($earlierDocURL, '#')">
+
+                                    <xsl:call-template name="get-relative-file-ref">
+                                        <xsl:with-param name="sourceFileRef" select="$globalDocumentRefToCurrentFile"/>
+                                        <xsl:with-param name="targetFileRef" select="."/>
+                                    </xsl:call-template>
+<!--        <xsl:value-of select="concat($contentTableURL, $earlierDocURL)"/>-->
+                                </xsl:when>
+                                <xsl:otherwise>
+
+                                    <xsl:call-template name="get-relative-file-ref">
+                                        <xsl:with-param name="sourceFileRef" select="$globalDocumentRefToCurrentFile"/>
+                                        <xsl:with-param name="targetFileRef" select="$earlierDocURL"/>
+                                    </xsl:call-template>
+<!--
+
+                                    <xsl:value-of select="concat($globalDocumentDir, $earlierDocURL)"/>-->
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:attribute>
+                        <xsl:text>Previous document</xsl:text>
+                    </xsl:element>
+
+                    <xsl:text> | </xsl:text>
+                </xsl:if>
+
+                <xsl:element name="a">
+                    <xsl:attribute name="href">
+                        <!-- when globalDocumentRefToCurrentFile is unset the current file is the Content Table-->
+                        <xsl:choose>
+                            <xsl:when test="$globalDocumentRefToCurrentFile">
+                                <xsl:variable name="contentTableDir">
+                                    <xsl:call-template name="get-name-of-table-of-content-document"/>
+                                </xsl:variable>
+
+                                <xsl:call-template name="get-relative-file-ref">
+                                    <xsl:with-param name="sourceFileRef" select="$globalDocumentRefToCurrentFile"/>
+                                    <xsl:with-param name="targetFileRef" select="$contentTableDir"/>
+                                </xsl:call-template>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:text>#</xsl:text>
+                            </xsl:otherwise>
+                        </xsl:choose>
+
+<!--                    <xsl:value-of select="$contentTableURL"/>-->
+                    </xsl:attribute>
+                    <xsl:text>Content Table</xsl:text>
+                </xsl:element>
+
+
+                <xsl:variable name="nextDocURL" select="$contentTableHeadings/heading[($currentChildNo + 1) = @child-document-no]/@out-file-url"/>
+                <xsl:if test="$nextDocURL">
+                    <xsl:text> | </xsl:text>
+                    <xsl:element name="a">
+                        <xsl:attribute name="href">
+                            <!-- when the links starts with a '#' it's a link to the Content Table-->
+                            <xsl:choose>
+                                <xsl:when test="starts-with($nextDocURL, '#')">
+                                    <xsl:call-template name="get-relative-file-ref">
+                                        <xsl:with-param name="sourceFileRef" select="$globalDocumentRefToCurrentFile"/>
+                                        <xsl:with-param name="targetFileRef" select="."/>
+                                    </xsl:call-template>
+<!--                                <xsl:value-of select="concat($contentTableURL, $nextDocURL)"/>-->
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:call-template name="get-relative-file-ref">
+                                        <xsl:with-param name="sourceFileRef" select="$globalDocumentRefToCurrentFile"/>
+                                        <xsl:with-param name="targetFileRef" select="$nextDocURL"/>
+                                    </xsl:call-template>
+<!--                                 <xsl:value-of select="concat($globalDocumentDir, $nextDocURL)"/>-->
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:attribute>
+                        <xsl:text>Next document</xsl:text>
+                    </xsl:element>
+                </xsl:if>
+                <xsl:text> ]</xsl:text>
+            </xsl:element>
+        </xsl:element>
+    </xsl:template>
+
+
+    <xsl:template name="get-relative-file-ref">
+        <xsl:param name="sourceFileRef"/>
+        <xsl:param name="targetFileRef"/>
+
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:get-relative-file-ref')">
+                <xsl:value-of select="sxghelper:get-relative-file-ref(string($sourceFileRef), string($targetFileRef))"/>
+            </xsl:when>
+            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.getRelativeFileRef')">
+                <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.getRelativeFileRef(string($sourceFileRef), string($targetFileRef))"/>
+            </xsl:when>
+        </xsl:choose>
+
+    </xsl:template>
+
+
+    <xsl:template name="get-name-of-table-of-content-document">
+
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:get-name-of-table-of-content-document')">
+                <xsl:value-of select="sxghelper:get-name-of-table-of-content-document()"/>
+            </xsl:when>
+            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.getNameOfTableOfContentDocument')">
+                <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.getNameOfTableOfContentDocument()"/>
+            </xsl:when>
+        </xsl:choose>
+
+    </xsl:template>
+
+
+	<xsl:template name="debug-content-table-headings-variable">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:message><xsl:text>**** THE HEADING VARIABLE **** </xsl:text></xsl:message>
+        <xsl:message>content-table-url: <xsl:value-of select="collectedGlobalData/content-table-headings/content-table-url"/></xsl:message>
+
+        <xsl:for-each select="$collectedGlobalData/content-table-headings/heading">
+            <xsl:message><xsl:text>**** new heading:        </xsl:text></xsl:message>
+            <xsl:message>content-table-id:      <xsl:value-of select="@content-table-id"/></xsl:message>
+            <xsl:message>child-document-no:     <xsl:value-of select="@child-document-no"/></xsl:message>
+            <xsl:message>file-url:              <xsl:value-of select="@file-url"/></xsl:message>
+            <xsl:message>out-file-url:          <xsl:value-of select="@out-file-url"/></xsl:message>
+            <xsl:message>level:                 <xsl:value-of select="@level"/></xsl:message>
+            <xsl:message>title:                 <xsl:value-of select="@title"/></xsl:message>
+            <xsl:message>encoded-title:         <xsl:value-of select="@encoded-title"/></xsl:message>
+            <xsl:message>absolute-chapter-level:<xsl:value-of select="@absolute-chapter-level"/></xsl:message>
+        </xsl:for-each>
+
+	</xsl:template>
+
+
+	<!-- To make the headings unique, the absolute heading is added to them
+	     E.g. The level 1.2.3.4. would result into a 1+2+3+4 string -->
+    <xsl:template name="calc-chapter-numbers">
+        <xsl:param name="level"/>
+
+        <xsl:choose>
+            <xsl:when test="function-available('sxghelper:calc-chapter-numbers')">
+                <xsl:value-of select="sxghelper:calc-chapter-numbers($level)"/>
+            </xsl:when>
+            <xsl:when test="function-available('java:com.sun.star.xslt.helper.SxgChildTransformer.calcChapterNumbers')">
+                <xsl:value-of select="java:com.sun.star.xslt.helper.SxgChildTransformer.calcChapterNumbers($level)"/>
+            </xsl:when>
+        </xsl:choose>
+
+    </xsl:template>
+
+
+
+
+    <xsl:template match="text:p" mode="content-table">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:variable name="allTabStopStyles" select="$office:automatic-styles/style:style[@style:name = current()/@text:style-name]/style:properties/style:tab-stops"/>
+
+        <xsl:element name="table">
+            <xsl:attribute name="border">0</xsl:attribute>
+            <xsl:attribute name="class"><xsl:value-of select="@text:style-name"/></xsl:attribute>
+<!--
+<xsl:message>*********</xsl:message>
+<xsl:message>Stylename:<xsl:value-of select="@text:style-name"/></xsl:message>
+<xsl:message>position: <xsl:value-of select="count($allTabStopStyles/style:tab-stop)"/></xsl:message>
+-->
+
+            <xsl:element name="colgroup">
+                <xsl:call-template name="create-col-element">
+                    <xsl:with-param name="lastNodePosition" select="count($allTabStopStyles/style:tab-stop)"/>
+                    <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                </xsl:call-template>
+            </xsl:element>
+
+
+            <!-- all elements before the first tabStop -->
+            <xsl:variable name="testNo-RTF">
+                <xsl:apply-templates select="node()" mode="cell-content"/>
+            </xsl:variable>
+
+
+        <xsl:choose>
+            <xsl:when test="function-available('xt:node-set')">
+                <xsl:variable name="tabNodePositions" select="xt:node-set($testNo-RTF)"/>
+			<xsl:element name="tr">
+               	 <xsl:call-template name="create-td-elements">
+                    <xsl:with-param name="lastNodePosition" select="count($allTabStopStyles/style:tab-stop)"/>
+                    <xsl:with-param name="position"         select="1"/>
+                    <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                    <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:element>
+
+            </xsl:when>
+            <xsl:when test="function-available('xalan:nodeset')">
+                <xsl:variable name="tabNodePositions" select="xalan:nodeset($testNo-RTF)"/>
+			<xsl:element name="tr">
+               	 <xsl:call-template name="create-td-elements">
+                    <xsl:with-param name="lastNodePosition" select="count($allTabStopStyles/style:tab-stop)"/>
+                    <xsl:with-param name="position"         select="1"/>
+                    <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                    <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:element>
+
+            </xsl:when>
+        </xsl:choose>
+
+           <!-- <xsl:variable name="tabNodePositions" select="xt:node-set($testNo-RTF)"/>
+
+            <xsl:element name="tr">
+                <xsl:call-template name="create-td-elements">
+                    <xsl:with-param name="lastNodePosition" select="count($allTabStopStyles/style:tab-stop)"/>
+                    <xsl:with-param name="position"         select="1"/>
+                    <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                    <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:element>-->
+
+
+        </xsl:element>
+    </xsl:template>
+
+
+    <xsl:template name="create-col-element">
+        <xsl:param name="lastNodePosition"/>
+        <xsl:param name="allTabStopStyles"/>
+
+        <xsl:for-each select="$allTabStopStyles/style:tab-stop">
+            <xsl:element name="col">
+                <xsl:attribute name="style">
+                    <xsl:text>width: </xsl:text>
+                    <xsl:call-template name="grap-cell-width">
+                        <xsl:with-param name="position"         select="position()"/>
+                        <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                    </xsl:call-template>
+                </xsl:attribute>
+            </xsl:element>
+        </xsl:for-each>
+
+    </xsl:template>
+<!--
+Scenarios tabstops
+
+1) style:type of style:tab-stop is 'right' and earlier tabStop is not right
+ -> Earlier text-nodes and following text-nodes, will be put into an inner table, with two TD first aligned left, with proceding textnodes, the latter aligned right.
+
+2) style:type is 'right' and earlier tabStop is right
+ -> following text-nodes, will be put into a right aligned TD
+
+3) style:type is 'non-right' and earlier tabStop 'non-right' as well
+ -> put the preceding tab stops into a TD (left aligned is default)
+
+4) first style:type would have no right precedign tabStop
+ -> works well with first sceanrios 1 and 3
+
+5) last style:type would be a special case, if it would be left aligned, but this won't happen in our case.. :D
+
+Scenarios unmatched:
+- text:styleposition 'center' will not be matched in our case (effort for nothing), there will be only 'right' and not 'right'
+- If the last tabStop is not from text:stylepostion 'right', the length of the last cell is undefined and a document length must be found.
+  Not happens in our global document case. Also the algorithm below would have to be expanded (cp. scenario 5).
+
+-->
+    <xsl:template name="create-td-elements">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="lastNodePosition"/>
+        <xsl:param name="position"/>
+        <xsl:param name="allTabStopStyles"/>
+        <xsl:param name="tabNodePositions"/>
+<!--
+<xsl:message>++++++++</xsl:message>
+<xsl:message>Position: <xsl:value-of select="$position"/></xsl:message>
+<xsl:message>lastNodePosition: <xsl:value-of select="$lastNodePosition"/></xsl:message>
+-->
+
+        <xsl:variable name="currentStyleType" select="$allTabStopStyles/style:tab-stop[$position]/@style:type"/>
+        <xsl:variable name="earlierStyleType" select="$allTabStopStyles/style:tab-stop[$position - 1]/@style:type"/>
+        <xsl:choose>
+            <xsl:when test="$currentStyleType = 'right'">
+                <xsl:choose>
+                    <xsl:when test="$earlierStyleType = 'right'">
+                        <!--
+                        2) style:type is 'right' and earlier tabStop is right
+                            -> following text-nodes, will be put into a right aligned TD -->
+                        <xsl:element name="td">
+                            <xsl:attribute name="style">
+                                <xsl:text>align: right</xsl:text>
+                            </xsl:attribute>
+                            <xsl:call-template name="grap-cell-content-before-tab-stop">
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                <xsl:with-param name="endingTabStopPosition"  select="$position + 1"/>
+                                <xsl:with-param name="lastNodePosition" select="$lastNodePosition"/>
+                                <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+                            </xsl:call-template>
+                        </xsl:element>
+                    </xsl:when>
+                    <xsl:otherwise>
+                    <!--
+                        1) style:type of style:tab-stop is 'right' and earlier tabStop is not right
+                         -> Earlier text-nodes and following text-nodes, will be put into an inner table, with two TD first aligned left, with proceding textnodes, the latter aligned right.-->
+<!-- valid HTML but browsers make a line break (border=0 and paragraphstyle also missing):
+                        <xsl:element name="table">
+                            <xsl:element name="td">
+                                <xsl:call-template name="grap-cell-content-before-tab-stop">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                    <xsl:with-param name="endingTabStopPosition"  select="$position"/>
+                                    <xsl:with-param name="lastNodePosition" select="$lastNodePosition"/>
+                                    <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+                                </xsl:call-template>
+                            </xsl:element>
+                            <xsl:element name="td">
+                                <xsl:attribute name="style">
+                                    <xsl:text>align: right</xsl:text>
+                                </xsl:attribute>
+                                <xsl:call-template name="grap-cell-content-before-tab-stop">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                    <xsl:with-param name="endingTabStopPosition"  select="$position + 1"/>
+                                    <xsl:with-param name="lastNodePosition" select="$lastNodePosition"/>
+                                    <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+                                </xsl:call-template>
+                            </xsl:element>
+                        </xsl:element>
+-->
+                            <xsl:element name="td">
+                                <xsl:call-template name="grap-cell-content-before-tab-stop">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                    <xsl:with-param name="endingTabStopPosition"  select="$position"/>
+                                    <xsl:with-param name="lastNodePosition" select="$lastNodePosition"/>
+                                    <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+                                </xsl:call-template>
+<!-- ODK FEATURE NO PAGES
+                                <xsl:element name="td">
+                                    <xsl:attribute name="style">
+                                        <xsl:text>align: right</xsl:text>
+                                    </xsl:attribute>
+                                    <xsl:call-template name="grap-cell-content-before-tab-stop">
+                                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                        <xsl:with-param name="endingTabStopPosition"  select="$position + 1"/>
+                                        <xsl:with-param name="lastNodePosition" select="$lastNodePosition"/>
+                                        <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+                                    </xsl:call-template>
+                                </xsl:element>          -->
+                            </xsl:element>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:choose>
+                    <xsl:when test="$earlierStyleType = 'right'">
+                    </xsl:when>
+                    <xsl:otherwise>
+                    <!--
+                       3) style:type is 'non-right' and earlier tabStop 'non-right' as well
+                            -> put the preceding tab stops into a TD (left aligned is default) -->
+                        <xsl:element name="td">
+                            <xsl:call-template name="grap-cell-content-before-tab-stop">
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                <xsl:with-param name="endingTabStopPosition"  select="$position"/>
+                                <xsl:with-param name="lastNodePosition" select="$lastNodePosition"/>
+                                <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+                            </xsl:call-template>
+                        </xsl:element>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+
+        <xsl:if test="$position != $lastNodePosition">
+            <xsl:call-template name="create-td-elements">
+                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                <xsl:with-param name="lastNodePosition" select="$lastNodePosition"/>
+                <xsl:with-param name="position"         select="$position + 1"/>
+                <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                <xsl:with-param name="tabNodePositions" select="$tabNodePositions"/>
+            </xsl:call-template>
+        </xsl:if>
+    </xsl:template>
+
+
+    <xsl:template name="grap-cell-content-before-tab-stop">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="endingTabStopPosition"/>
+        <xsl:param name="tabNodePositions"/>
+        <xsl:param name="lastNodePosition"/>
+
+        <xsl:choose>
+            <xsl:when test="$endingTabStopPosition = 1">
+                <xsl:apply-templates mode="content-table" select="node()[position() &lt; $tabNodePositions/tab-stop-node-position[$endingTabStopPosition]]">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:apply-templates>
+            </xsl:when>
+            <xsl:when test="$endingTabStopPosition > $lastNodePosition">
+                <xsl:apply-templates mode="content-table" select="node()[position() > $tabNodePositions/tab-stop-node-position[$endingTabStopPosition - 1]]">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:apply-templates mode="content-table" select="node()[position() &lt; $tabNodePositions/tab-stop-node-position[$endingTabStopPosition]][position() > $tabNodePositions/tab-stop-node-position[$endingTabStopPosition - 1]]">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:apply-templates>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template mode="content-table" match="text:s">
+        <xsl:call-template name="write-breakable-whitespace">
+            <xsl:with-param name="whitespaces" select="@text:c"/>
+        </xsl:call-template>
+    </xsl:template>
+
+
+    <xsl:template match="*" mode="cell-content">
+
+        <xsl:if test="name() = 'text:tab-stop' or *[name() = 'text:tab-stop']">
+            <xsl:element name="tab-stop-node-position">
+                <xsl:value-of select="position()"/>
+            </xsl:element>
+        </xsl:if>
+    </xsl:template>
+
+
+    <xsl:template name="grap-cell-width">
+        <xsl:param name="position"/>
+        <xsl:param name="allTabStopStyles"/>
+
+        <xsl:variable name="tabStopPosition" select="$allTabStopStyles/style:tab-stop[$position]/@style:position"/>
+        <xsl:choose>
+            <xsl:when test="contains($tabStopPosition, 'cm')">
+                <xsl:call-template name="create-cell-width">
+                    <xsl:with-param name="width"    select="number(substring-before($tabStopPosition,'cm'))"/>
+                    <xsl:with-param name="unit"     select="'cm'"/>
+                    <xsl:with-param name="position" select="$position - 1"/>
+                    <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="contains($tabStopPosition, 'in')">
+                <xsl:call-template name="create-cell-width">
+                    <xsl:with-param name="width"    select="number(substring-before($tabStopPosition,'in'))"/>
+                    <xsl:with-param name="unit"     select="'in'"/>
+                    <xsl:with-param name="position" select="$position - 1"/>
+                    <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="contains($tabStopPosition, 'ch')">
+                <xsl:call-template name="create-cell-width">
+                    <xsl:with-param name="width"    select="number(substring-before($tabStopPosition,'ch'))"/>
+                    <xsl:with-param name="unit"     select="'ch'"/>
+                    <xsl:with-param name="position" select="$position - 1"/>
+                    <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="contains($tabStopPosition, 'pt')">
+                <xsl:call-template name="create-cell-width">
+                    <xsl:with-param name="width"    select="number(substring-before($tabStopPosition,'pt'))"/>
+                    <xsl:with-param name="unit"     select="'pt'"/>
+                    <xsl:with-param name="position" select="$position - 1"/>
+                    <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="create-cell-width">
+        <xsl:param name="width"/>
+        <xsl:param name="unit"/>
+        <xsl:param name="position"/>
+        <xsl:param name="allTabStopStyles"/>
+
+        <xsl:choose>
+            <xsl:when test="$position > 1">
+                <xsl:call-template name="create-cell-width">
+                    <xsl:with-param name="width"    select="$width - number(substring-before($allTabStopStyles/style:tab-stop[$position]/@style:position,$unit))"/>
+                    <xsl:with-param name="unit"     select="$unit"/>
+                    <xsl:with-param name="position" select="$position - 1"/>
+                    <xsl:with-param name="allTabStopStyles" select="$allTabStopStyles"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$position = 1">
+                <xsl:value-of select="concat($width - number(substring-before($allTabStopStyles/style:tab-stop[$position]/@style:position,$unit)), $unit)"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="concat($width, $unit)"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/global_document.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_html.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_html.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_html.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,462 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:urlencoder="http://www.jclark.com/xt/java/java.net.URLEncoder"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+    <xsl:output method      ="xml"
+                encoding    ="UTF-8"
+                indent      ="yes"/>
+
+
+
+    <!--+++++ INCLUDED XSL MODULES +++++-->
+    <!-- inherited style properties will be collected and written in a CSS header (CSS) -->
+    <xsl:include href="style_header.xsl"/>
+
+    <!-- inherited style properties will be collected and written as html properties in a temporary variable (HTML4, PALM) -->
+    <xsl:include href="style_inlined.xsl"/>
+
+    <!-- our xml style properties will be mapped to CSS and HTML4.x properties -->
+    <xsl:include href="style_mapping.xsl"/>
+
+    <!-- common element handling -->
+    <xsl:include href="common.xsl"/>
+
+    <!-- table handling -->
+    <xsl:include href="table.xsl"/>
+
+    <!-- palm handling -->
+    <xsl:include href="palm.xsl"/>
+
+    <!-- global document handling -->
+    <xsl:include href="global_document.xsl"/>
+
+
+
+
+
+
+
+    <!--+++++ PARAMETER FROM THE APPLICATION AND GLOBAL VARIABLES +++++-->
+
+    <!-- MANDATORY: URL of meta stream -->
+    <xsl:param name="metaFileURL"/>
+
+    <!-- MANDATORY: URL of styles stream -->
+    <xsl:param name="stylesFileURL"/>
+
+    <!-- MANDATORY: for resolving relative links
+        For resolving realtive links to the packed SO document, i.e. the path/URL of the jared sxw file (e.g. meta.xml, styles.xml, links to graphics in a relative directory) -->
+    <xsl:param name="absoluteSourceDirRef"/>
+
+    <!-- OPTIONAL (mandatory, when when source is compressed): Necessary for the in the packed OO document embedded files (mostly graphics from the compressed /Picture dir).
+         When the OpenOffice (OO) file has been unpacked the absoluteSoureDirRef can be taken,
+         Otherwise, a JAR URL could be choosen or when working with OpenOffice a so called Package-URL encoded over HTTP can be used to
+         access the jared contents of the the jared document. . -->
+    <xsl:param name="jaredRootURL" select="$absoluteSourceDirRef"/>
+
+    <!-- OPTIONAL (mandatory, when used in session based environment)
+         Useful for WebApplications: if a HTTP session is not cookie based, URL rewriting is beeing used (the session is appended to the URL).
+         This URL session is used when creating links to graphics by XSLT. Otherwise the user havt to log again in for every graphic he would like to see. -->
+    <xsl:param name="optionalURLSuffix"/>
+
+    <!-- OPTIONAL: DPI (dots per inch) the standard solution of given pictures (necessary for the conversion of 'cm' into 'pixel')-->
+    <!-- Although many pictures have the 96 dpi resolution, a higher resoltion give better results for common browsers -->
+    <xsl:param name="dpi" select="96"/>
+
+    <!-- OPTIONAL: in case of using a different processor than a JAVA XSLT, you can unable the Java functionality
+         (i.e. debugging time and encoding chapter names for the content-table as href and anchors ) -->
+    <xsl:param name="disableJava"    select="false"/>
+    <xsl:param name="isJavaDisabled" select="boolean($disableJava)"/>
+
+    <!-- OPTIONAL: user-agent will be differntiated by this parameter given by application (e.g. java servlet)-->
+    <xsl:param name="outputType" select="'CSS_HEADER'"/>
+    <!-- set of possible deviceTyps (WML is set in its own startfile main_wml.xsl):
+    <xsl:param name="outputType" select="'CSS_HEADER'"/>
+    <xsl:param name="outputType" select="'CSS_INLINED'"/>
+    <xsl:param name="outputType" select="'PALM'"/> -->
+
+    <!-- OPTIONAL: for activating the debug mode set the variable here to 'true()' or give any value from outside -->
+    <xsl:param name="debug"         select="false"/>
+    <xsl:param name="isDebugMode"   select="boolean($debug)"/>
+
+<!-- *************************************************************************
+    OPTIONAL: NEEDED IN CONNECTION WITH A GLOBAL DOCUMENT -->
+
+    <!--SUMMARY:
+         following parameter triggers a (quite time consuming) enabling of bookmarks in the table-of-content.
+        IN DETAIL:
+         Currently some links used in the Office XML (e.g. in the content table as '#7.Some%20Example%20Headline%7Outline')
+         is not a valid URL (cmp. bug id# 102311). No file destination is specified nor exist any anchor element for these
+         links in the Office XML.
+         A workaround for this transformation therefore had to be made. This time-consuming mechanism is disabled by default and
+         can be activated by a parameter (i.e. 'disableLinkedTableOfContent'). A creation of an anchor is made for each header element.
+         All header titles gonna be encoding to be usable in a relative URL.    -->
+    <xsl:param name="disableLinkedTableOfContent" select="false()"/>
+
+    <!-- The chapter numbers of the current document (as a sequence of a global document) is dependent of the number
+        of chapter of the same level in preceding documents. -->
+    <xsl:param name="precedingChapterLevel1"  select="0"/>
+    <xsl:param name="precedingChapterLevel2"  select="0"/>
+    <xsl:param name="precedingChapterLevel3"  select="0"/>
+    <xsl:param name="precedingChapterLevel4"  select="0"/>
+    <xsl:param name="precedingChapterLevel5"  select="0"/>
+    <xsl:param name="precedingChapterLevel6"  select="0"/>
+    <xsl:param name="precedingChapterLevel7"  select="0"/>
+    <xsl:param name="precedingChapterLevel8"  select="0"/>
+    <xsl:param name="precedingChapterLevel9"  select="0"/>
+    <xsl:param name="precedingChapterLevel10" select="0"/>
+
+    <!-- XML documents containing a table of contents,
+        gonna link for usability reason above each chapter to the preceding and following document and the content table -->
+    <xsl:param name="contentTableURL"/>
+
+    <!-- Needed for the bug workaround of missing content table links
+        by this ambigous HTML references from the content table can be evoided-->
+    <xsl:param name="globalDocumentRefToCurrentFile"/>
+
+    <!-- Needed for the bug workaround of missing content table links
+        by this node-set the relation between content-table link and children document header can be unambigous established -->
+    <xsl:param name="contentTableHeadings"/>
+
+
+<!-- END OF GLOBAL DOCUMENT SECTION
+*************************************************************************-->
+
+
+
+    <!-- works for normal separated zipped xml files as for flat filter single xml file format as well -->
+    <xsl:variable name="office:meta-file"           select="document($metaFileURL)"/>
+    <xsl:variable name="office:styles-file"         select="document($stylesFileURL)"/>
+    <xsl:variable name="office:font-decls"          select="$office:styles-file/*/office:font-decls"/>
+    <xsl:variable name="office:styles"              select="$office:styles-file/*/office:styles"/>
+    <!-- office:automatic-styles may occure in two different files (i.d. content.xml and styles.xml). Furthermore the top level tag is different in a flat xml file -->
+    <xsl:variable name="office:automatic-styles"    select="/*/office:automatic-styles"/>
+
+    <!-- simple declaration of WML used to avoid parser errors -->
+    <xsl:variable name="wap-paragraph-elements-without-table-row"/>
+    <xsl:variable name="wap-paragraph-elements"/>
+    <xsl:template name="wml-repeat-write-row"/>
+
+
+    <!-- ************************************* -->
+    <!-- *** build the propriate HTML file *** -->
+    <!-- ************************************* -->
+
+    <xsl:template match="/">
+
+        <!--<xsl:message>
+
+
+        Entered the styleSheets, transformation begins... </xsl:message>-->
+
+        <xsl:choose>
+            <xsl:when test="$isDebugMode">
+                <xsl:call-template name="check-parameter"/>
+
+                <xsl:if test="not($isJavaDisabled)">
+                    <xsl:call-template name="debug-style-collecting-time"/>
+                </xsl:if>
+            </xsl:when>
+            <xsl:otherwise>
+                <!-- to access the variable like a node-set it is necessary to convert it
+                     from a result-tree-fragment (RTF) to a node set using the James Clark extension -->
+                <xsl:variable name="collectedGlobalData-RTF">
+                    <xsl:call-template name='create-all-inline-styles'/>
+                </xsl:variable>
+
+                <xsl:choose>
+                    <xsl:when test="function-available('xt:node-set')">
+                        <xsl:call-template name="start">
+                            <xsl:with-param name="collectedGlobalData" select="xt:node-set($collectedGlobalData-RTF)"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:when test="function-available('xalan:nodeset')">
+                        <xsl:call-template name="start">
+                            <xsl:with-param name="collectedGlobalData" select="xalan:nodeset($collectedGlobalData-RTF)"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:element name="NodeSetFunctionNotAvailable"/>
+                        <xsl:call-template name="start"/>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="start">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:choose>
+            <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+            <xsl:when test="$outputType = 'CSS_HEADER'">
+                <xsl:element name="html">
+                    <xsl:element name="head">
+                        <xsl:if test="$isDebugMode"><xsl:message>CSS helper variable will be created....</xsl:message></xsl:if>
+                        <xsl:call-template name='common-header-properties'/>
+                        <xsl:if test="$isDebugMode"><xsl:message>CSS variable ready, header will be created....</xsl:message></xsl:if>
+                        <!-- constructing the css header simulating inheritance of style-families by style order -->
+                        <xsl:call-template name='create-css-styleheader'/>
+                        <xsl:if test="$isDebugMode"><xsl:message>CSS header creation finished!</xsl:message></xsl:if>
+                    </xsl:element>
+
+
+
+                    <xsl:variable name="backgroundImageURL" select="$office:automatic-styles/style:page-master/style:properties/style:background-image/@xlink:href"/>
+                    <xsl:element name="body">
+                        <!-- background image -->
+                        <xsl:if test="$backgroundImageURL">
+                            <xsl:attribute name="background">
+                                <xsl:choose>
+                                    <!-- for images jared in open office document -->
+                                    <xsl:when test="contains($backgroundImageURL, '#Pictures/')">
+                                        <!-- creating an absolute http URL to the contained/packed image file -->
+                                        <xsl:value-of select="concat($jaredRootURL, '/Pictures/', substring-after($backgroundImageURL, '#Pictures/'), $optionalURLSuffix)"/>
+                                    </xsl:when>
+                                    <xsl:otherwise>
+                                        <xsl:attribute name="src"><xsl:value-of select="$backgroundImageURL"/></xsl:attribute>
+                                    </xsl:otherwise>
+                                </xsl:choose>
+                            </xsl:attribute>
+                        </xsl:if>
+
+                        <!-- processing the content of the xml file -->
+                        <xsl:apply-templates select="/*/office:body">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:apply-templates>
+                    </xsl:element>
+
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ HTML 4.0 INLINING  +++++-->
+            <xsl:when test="$outputType = 'CSS_INLINED'">
+                <xsl:element name="html">
+                    <xsl:element name="head">
+                        <xsl:call-template name='common-header-properties'/>
+                    </xsl:element>
+
+                    <xsl:variable name="backgroundImageURL" select="$office:automatic-styles/style:page-master/style:properties/style:background-image/@xlink:href"/>
+                    <xsl:element name="body">
+                        <!-- background image -->
+                        <xsl:if test="$backgroundImageURL">
+                            <xsl:attribute name="background">
+                                <xsl:choose>
+                                    <!-- for images jared in open office document -->
+                                    <xsl:when test="contains($backgroundImageURL, '#Pictures/')">
+                                        <!-- creating an absolute http URL to the contained/packed image file -->
+                                        <xsl:value-of select="concat($jaredRootURL, '/Pictures/', substring-after($backgroundImageURL, '#Pictures/'), $optionalURLSuffix)"/>
+                                    </xsl:when>
+                                    <xsl:otherwise>
+                                        <xsl:attribute name="src"><xsl:value-of select="$backgroundImageURL"/></xsl:attribute>
+                                    </xsl:otherwise>
+                                </xsl:choose>
+                            </xsl:attribute>
+                        </xsl:if>
+                        <xsl:apply-templates select="/*/office:body">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:apply-templates>
+                    </xsl:element>
+                </xsl:element>
+            </xsl:when>
+
+            <!--+++++ PALM-VII (3.2 HTML SUBSET)  +++++-->
+            <xsl:when test="$outputType = 'PALM'">
+                <!-- the proxy will convert the html file later to PQA -->
+                <xsl:element name="html">
+                    <xsl:element name="head">
+                        <xsl:call-template name='palm-header-properties'/>
+                    </xsl:element>
+
+                    <xsl:element name="body">
+                        <!-- processing the content of the xml file -->
+                        <xsl:apply-templates select="/*/office:body">
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:apply-templates>
+                    </xsl:element>
+                </xsl:element>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <!-- ********************************************* -->
+    <!-- *** Header for CSS_INLINED and CSS_HEADER *** -->
+    <!-- ********************************************* -->
+
+    <xsl:template name='common-header-properties'>
+        <xsl:apply-templates select="$office:meta-file/*/office:meta/dc:title"/>
+        <xsl:apply-templates select="$office:meta-file/*/office:meta/dc:description"/>
+<!--2DO add further header elements..
+        <xsl:apply-templates select="$office:meta-file/*/office:meta/dc:subject"/>
+        <xsl:apply-templates select="$office:meta-file/*/office:meta/meta:keywords[postition()=1]"/>-->
+    </xsl:template>
+
+    <xsl:template match="dc:title">
+        <xsl:element name="title">
+            <xsl:value-of select="."/>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template match="dc:description">
+        <xsl:element name="meta">
+            <xsl:attribute name="name">
+                <xsl:text>description</xsl:text>
+            </xsl:attribute>
+            <xsl:attribute name="content">
+                <xsl:value-of select="."/>
+            </xsl:attribute>
+        </xsl:element>
+    </xsl:template>
+
+
+    <!-- ********************************************* -->
+    <!-- *** Measuring the time for style creating *** -->
+    <!-- ********************************************* -->
+
+
+    <xsl:template name="debug-style-collecting-time">
+
+        <xsl:variable name="startTime-RTF">
+            <xsl:choose>
+                <xsl:when test="function-available('system:current-time-millis')">
+                    <xsl:value-of select="system:current-time-millis()"/>
+                </xsl:when>
+                <xsl:when test="function-available('java:java.lang.System.currentTimeMillis')">
+                    <xsl:value-of select="java:java.lang.System.currentTimeMillis()"/>
+                </xsl:when>
+            </xsl:choose>
+        </xsl:variable>
+
+
+
+        <xsl:variable name="collectedGlobalData-RTF">
+            <xsl:call-template name='create-all-inline-styles'/>
+        </xsl:variable>
+
+
+        <xsl:choose>
+            <xsl:when test="function-available('xt:node-set')">
+                <xsl:message>Creating the inline styles....</xsl:message>
+                <xsl:variable name="startTime"              select="number(xt:node-set($startTime-RTF))"/>
+                <xsl:variable name="collectedGlobalData"    select="xt:node-set($collectedGlobalData-RTF)"/>
+                <xsl:variable name="endTime"                select="system:current-time-millis()"/>
+
+                <xsl:message>Time for instantiating style variable: <xsl:value-of select="($endTime - $startTime)"/> ms</xsl:message>
+                <xsl:call-template name="start">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="function-available('xalan:nodeset')">
+                <xsl:message>Creating the inline styles....</xsl:message>
+                <xsl:variable name="startTime"              select="number(xalan:nodeset($startTime-RTF))"/>
+                <xsl:variable name="endTime"                select="java:java.lang.System.currentTimeMillis()"/>
+                <xsl:variable name="collectedGlobalData"    select="xalan:nodeset($collectedGlobalData-RTF)"/>
+
+                <xsl:message>Time for instantiating style variable: <xsl:value-of select="($endTime - $startTime)"/> ms</xsl:message>
+                <xsl:call-template name="start">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+
+    </xsl:template>
+
+    <!-- DEBUG purpose only: checking the parameters of this template-->
+    <xsl:template name="check-parameter">
+        <xsl:message>Parameter dpi: <xsl:value-of select="$dpi"/></xsl:message>
+        <xsl:message>Parameter metaFileURL: <xsl:value-of select="$metaFileURL"/></xsl:message>
+        <xsl:message>Parameter stylesFileURL: <xsl:value-of select="$stylesFileURL"/></xsl:message>
+        <xsl:message>Parameter absoluteSourceDirRef: <xsl:value-of select="$absoluteSourceDirRef"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel1 : <xsl:value-of select="$precedingChapterLevel1"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel2 : <xsl:value-of select="$precedingChapterLevel2"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel3 : <xsl:value-of select="$precedingChapterLevel3"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel4 : <xsl:value-of select="$precedingChapterLevel4"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel5 : <xsl:value-of select="$precedingChapterLevel5"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel6 : <xsl:value-of select="$precedingChapterLevel6"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel7 : <xsl:value-of select="$precedingChapterLevel7"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel8 : <xsl:value-of select="$precedingChapterLevel8"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel9 : <xsl:value-of select="$precedingChapterLevel9"/></xsl:message>
+        <xsl:message>Parameter precedingChapterLevel10: <xsl:value-of select="$precedingChapterLevel10"/></xsl:message>
+    </xsl:template>
+
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_html.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_wml.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_wml.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_wml.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,227 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:urlencoder="http://www.jclark.com/xt/java/java.net.URLEncoder"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+    <xsl:output method               = "xml"
+                omit-xml-declaration = "no"
+                media-type           = "text/vnd.wap.wml"
+                encoding             = "UTF-8"
+                indent               = "yes"
+                doctype-public       = "-//WAPFORUM//DTD WML 1.1//EN"
+                doctype-system       = "http://www.wapforum.org/DTD/wml_1.1.xml"/>
+
+
+    <!--+++++ INCLUDED XSL MODULES +++++-->
+
+      <!-- inherited style properties will be collected and written in a CSS header (CSS) -->
+    <xsl:include href="style_header.xsl"/>
+      <!-- inherited style properties will be collected and written as html properties in a temporary variable (HTML4, PALM) -->
+    <xsl:include href="style_inlined.xsl"/>
+      <!-- our xml style properties will be mapped to CSS and HTML4.x properties -->
+    <xsl:include href="style_mapping.xsl"/>
+      <!-- common element handling -->
+    <xsl:include href="common.xsl"/>
+      <!-- table handling -->
+    <xsl:include href="table.xsl"/>
+    <xsl:include href="table_wml.xsl"/>
+      <!-- palm handling -->
+    <xsl:include href="palm.xsl"/>
+
+
+
+    <!--+++++ PARAMETER FROM THE APPLICATION AND GLOBAL VARIABLES +++++-->
+
+   <!--+++++ PARAMETER FROM THE APPLICATION AND GLOBAL VARIABLES +++++-->
+
+    <!-- MANDATORY: URL of meta stream -->
+    <xsl:param name="metaFileURL"/>
+
+    <!-- MANDATORY: URL of styles stream -->
+    <xsl:param name="stylesFileURL"/>
+
+    <!-- MANDATORY: for resolving relative links
+        For resolving realtive links to the packed SO document, i.e. the path/URL of the jared sxw file (e.g. meta.xml, styles.xml, links to graphics in a relative directory) -->
+    <xsl:param name="absoluteSourceDirRef"/>
+
+    <!-- OPTIONAL (mandatory, when when source is compressed): Necessary for the in the packed OO document embedded files (mostly graphics from the compressed /Picture dir).
+         When the OpenOffice (OO) file has been unpacked the absoluteSoureDirRef can be taken,
+         Otherwise, a JAR URL could be choosen or when working with OpenOffice a so called Package-URL encoded over HTTP can be used to
+         access the jared contents of the the jared document. . -->
+    <xsl:param name="jaredRootURL" select="$absoluteSourceDirRef"/>
+
+    <!-- OPTIONAL (mandatory, when used in session based environment)
+         Useful for WebApplications: if a HTTP session is not cookie based, URL rewriting is beeing used (the session is appended to the URL).
+         This URL session is used when creating links to graphics by XSLT. Otherwise the user havt to log again in for every graphic he would like to see. -->
+    <xsl:param name="optionalURLSuffix"/>
+
+    <!-- OPTIONAL: DPI (dots per inch) the standard solution of given pictures (necessary for the conversion of 'cm' into 'pixel')-->
+    <xsl:param name="dpi" select="96"/>
+
+    <!-- OPTIONAL: in case of using a different processor than a JAVA XSLT, you can unable the Java functionality
+         (i.e. debugging time and encoding chapter names for the content-table as href and anchors ) -->
+    <xsl:param name="isJavaDisabled" select="false()"/>
+
+    <!-- OPTIONAL: user-agent will be differntiated by this parameter given by application (e.g. java servlet)-->
+    <xsl:param name="outputType" select="'WML'"/>
+
+    <!-- OPTIONAL: for activating the debug mode set the variable here to 'true()' or give any value from outside -->
+    <xsl:param name="isDebugMode"   select="false()"/>
+
+    <!-- not tested for WML -->
+    <xsl:param name="disableLinkedTableOfContent" select="true()"/>
+
+    <!-- following variables are not used for WML transformation, but have to be declared -->
+    <xsl:param name="precedingChapterLevel1"  select="0"/>
+    <xsl:param name="precedingChapterLevel2"  select="0"/>
+    <xsl:param name="precedingChapterLevel3"  select="0"/>
+    <xsl:param name="precedingChapterLevel4"  select="0"/>
+    <xsl:param name="precedingChapterLevel5"  select="0"/>
+    <xsl:param name="precedingChapterLevel6"  select="0"/>
+    <xsl:param name="precedingChapterLevel7"  select="0"/>
+    <xsl:param name="precedingChapterLevel8"  select="0"/>
+    <xsl:param name="precedingChapterLevel9"  select="0"/>
+    <xsl:param name="precedingChapterLevel10" select="0"/>
+    <xsl:param name="contentTableURL"/>
+
+
+
+    <!-- works for normal separated zipped xml files as for flat filter single xml file format as well -->
+    <xsl:variable name="office:meta-file"           select="document($metaFileURL)"/>
+    <xsl:variable name="office:styles-file"         select="document($stylesFileURL)"/>
+    <xsl:variable name="office:font-decls"          select="$office:styles-file/*/office:font-decls"/>
+    <xsl:variable name="office:styles"              select="$office:styles-file/*/office:styles"/>
+    <!-- office:automatic-styles may occure in two different files (i.d. content.xml and styles.xml). Furthermore the top level tag is different in a flat xml file -->
+    <xsl:variable name="office:automatic-styles"    select="/*/office:automatic-styles"/>
+
+
+    <!--    AVOID NESTING PARAGRAPHS IN WML:
+            The list of all office tags, which map to a paragraph. This is necessary as no nested
+            paragraph tags are allowed in WML1.1 so a parent check before open has to be done.
+            Checked in a table cell, the table row is ALWAYS an ancestor, so it have to be excluded -->
+    <xsl:variable name="wap-paragraph-elements-without-table-row" select="'text:p text:h text:span text:a text:section text:list-item draw:text-box draw:page table:sub-table'"/>
+    <xsl:variable name="wap-paragraph-elements"                   select="concat($wap-paragraph-elements-without-table-row, ' table:table-row ')"/>
+
+
+
+
+    <!-- ************************************* -->
+    <!-- *** build the propriate HTML file *** -->
+    <!-- ************************************* -->
+
+    <xsl:template match="/">
+        <!--    to access the variable like a node-set it is necessary to convert it
+                from a result-tree-fragment (RTF) to a node set using the James Clark extension-->
+        <xsl:variable name="collectedGlobalData-RTF">
+                <xsl:call-template name='create-all-inline-styles'/>
+        </xsl:variable>
+        <xsl:choose>
+            <xsl:when test="function-available('xt:node-set')">
+                <xsl:call-template name="start">
+                    <xsl:with-param name="collectedGlobalData" select="xt:node-set($collectedGlobalData-RTF)"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="function-available('xalan:nodeset')">
+                <xsl:call-template name="start">
+                    <xsl:with-param name="collectedGlobalData" select="xalan:nodeset($collectedGlobalData-RTF)"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:element name="NodeSetFunctionNotAvailable"/>
+                <xsl:call-template name="start"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="start">
+        <xsl:param name="collectedGlobalData"/>
+
+        <xsl:element name="wml">
+            <xsl:element name="card">
+                <!-- processing the content of the xml file -->
+                <xsl:apply-templates select="/*/office:body">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:apply-templates>
+            </xsl:element>
+        </xsl:element>
+    </xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/main_wml.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/palm.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/palm.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/palm.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,404 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+    <xsl:output cdata-section-elements="meta"/>
+
+
+    <!-- **************************** -->
+    <!-- *** specific palm header *** -->
+    <!-- **************************** -->
+
+    <xsl:template name='palm-header-properties'>
+        <xsl:element name="meta">
+            <xsl:attribute name="name">PalmComputingPlatform</xsl:attribute>
+            <xsl:attribute name="content">true</xsl:attribute>
+        </xsl:element>
+        <xsl:element name="meta">
+            <xsl:attribute name="name">HandheldFriendly</xsl:attribute>
+            <xsl:attribute name="content">true</xsl:attribute>
+        </xsl:element>
+        <xsl:element name="meta">
+            <xsl:attribute name="name">HistoryListText</xsl:attribute>
+            <xsl:attribute name="content">Dateimanager&#10;: &amp;date &amp;time</xsl:attribute>
+        </xsl:element>
+        <xsl:element name="meta">
+            <xsl:attribute name="name">description</xsl:attribute>
+            <xsl:attribute name="content">StarPortal</xsl:attribute>
+        </xsl:element>
+        <xsl:element name="meta">
+            <xsl:attribute name="name">keywords</xsl:attribute>
+            <xsl:attribute name="content">starportal, staroffice, software</xsl:attribute>
+        </xsl:element>
+        <xsl:element name="meta">
+            <xsl:attribute name="http-equiv">Content-Type</xsl:attribute>
+            <xsl:attribute name="content">text/html; charset=iso-8859-1</xsl:attribute>
+        </xsl:element>
+    </xsl:template>
+
+
+    <!-- ********************************* -->
+    <!-- *** creating table attributes *** -->
+    <!-- ********************************* -->
+
+    <!-- table data (td) and table header (th) attributes -->
+    <xsl:template name="create-attribute-ALIGN">
+        <xsl:param name="styleProperties"/>
+
+        <xsl:if test="contains($styleProperties, 'align')">
+            <xsl:attribute name="align">
+                 <xsl:choose>
+                    <xsl:when test="contains($styleProperties, 'align:left')">
+                        <xsl:text>left</xsl:text>
+                    </xsl:when>
+                    <xsl:when test="contains($styleProperties, 'align:right')">
+                        <xsl:text>right</xsl:text>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:text>center</xsl:text>
+                    </xsl:otherwise>
+                 </xsl:choose>
+            </xsl:attribute>
+        </xsl:if>
+    </xsl:template>
+
+
+    <!-- ********************************* -->
+    <!-- *** creating List attributes  *** -->
+    <!-- ********************************* -->
+<!--
+    <xsl:template name="create-list-attributes">
+        <xsl:param name="styleProperties"/>
+
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+2 be implemented
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+
+    </xsl:template>
+-->
+
+    <!-- ************************************************ -->
+    <!-- *** creating nested format tags (PALM & WML) *** -->
+    <!-- ************************************************ -->
+
+    <!-- Italic -->
+    <xsl:template name="create-nested-format-tags">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="styleProperties"/>
+        <xsl:choose>
+            <xsl:when test="contains($styleProperties, 'italic')">
+                <xsl:element name="i">
+                    <xsl:call-template name="bold">
+                        <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:call-template name="bold">
+                    <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- Bold -->
+    <xsl:template name="bold">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="styleProperties"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($styleProperties, 'bold')">
+                <xsl:element name="b">
+                    <xsl:call-template name="underline">
+                        <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:call-template name="underline">
+                    <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- Underline : last format attribute, which is also used from WML - WML ends here! -->
+    <xsl:template name="underline">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="styleProperties"/>
+
+        <xsl:choose>
+            <xsl:when test="$outputType = 'PALM'">
+                <xsl:choose>
+                    <xsl:when test="contains($styleProperties, 'underline')">
+                        <xsl:element name="u">
+                            <xsl:call-template name="strikethrough">
+                                <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:call-template>
+                        </xsl:element>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:call-template name="strikethrough">
+                            <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:choose>
+                    <xsl:when test="contains($styleProperties, 'underline')">
+                        <xsl:element name="u">
+                            <xsl:apply-templates>
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:apply-templates>
+                        </xsl:element>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:apply-templates>
+                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        </xsl:apply-templates>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- strikethrough -->
+    <xsl:template name="strikethrough">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="styleProperties"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($styleProperties, 'strike')">
+                <xsl:element name="strike">
+                    <xsl:call-template name="align">
+                        <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:call-template name="align">
+                    <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- Alignment -->
+    <xsl:template name="align">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="styleProperties"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($styleProperties, 'align')">
+                <xsl:element name="div">
+                    <xsl:attribute name="align">
+                         <xsl:choose>
+                            <xsl:when test="contains($styleProperties, 'align:left')">
+                                <xsl:text>left</xsl:text>
+                            </xsl:when>
+                            <xsl:when test="contains($styleProperties, 'align:right')">
+                                <xsl:text>right</xsl:text>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:text>center</xsl:text>
+                            </xsl:otherwise>
+                         </xsl:choose>
+                    </xsl:attribute>
+                    <xsl:call-template name="font_combined">
+                        <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:call-template>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:call-template name="font_combined">
+                    <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- Both size and Color for font -->
+    <xsl:template name="font_combined">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="styleProperties"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($styleProperties, 'color') and contains($styleProperties, 'size')">
+                <xsl:element name="font">
+
+                    <xsl:attribute name="color">
+                         <xsl:choose>
+                            <xsl:when test="contains($styleProperties, 'color:#000000')">
+                                <xsl:text>#000000</xsl:text>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:text>#FFFFFF</xsl:text>
+                            </xsl:otherwise>
+                         </xsl:choose>
+                    </xsl:attribute>
+
+                    <xsl:attribute name="size">
+                        <xsl:value-of select="substring-after(substring-before($styleProperties ,':size'), 'size:')"/>
+                    </xsl:attribute>
+
+                    <!-- get the embedded content -->
+                    <xsl:apply-templates>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:apply-templates>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:call-template name="font_simple">
+                    <xsl:with-param name="styleProperties" select="$styleProperties"/>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- size or Color for font -->
+    <xsl:template name="font_simple">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="styleProperties"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($styleProperties, 'color')">
+                <xsl:element name="font">
+                    <xsl:attribute name="color">
+                         <xsl:choose>
+                            <xsl:when test="contains($styleProperties, 'color:#000000')">
+                                <xsl:text>#000000</xsl:text>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:text>#FFFFFF</xsl:text>
+                            </xsl:otherwise>
+                         </xsl:choose>
+                    </xsl:attribute>
+
+                    <!-- get the embedded content -->
+                    <xsl:apply-templates>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:apply-templates>
+                </xsl:element>
+            </xsl:when>
+
+            <xsl:when test="contains($styleProperties, 'size')">
+                <xsl:element name="font">
+                    <xsl:attribute name="size">
+                        <xsl:value-of select="substring-after(substring-before($styleProperties ,':size'), 'size:')"/>
+                    </xsl:attribute>
+
+                    <!-- get the embedded content -->
+                    <xsl:apply-templates>
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    </xsl:apply-templates>
+                </xsl:element>
+            </xsl:when>
+
+            <xsl:otherwise>
+                <!-- get the embedded content -->
+                <xsl:apply-templates>
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                </xsl:apply-templates>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/palm.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_header.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_header.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_header.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,379 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+
+    <!-- ****************************** -->
+    <!-- *** style sheet processing *** -->
+    <!-- ****************************** -->
+
+
+    <xsl:template name='create-css-styleheader'>
+        <xsl:comment>
+            <xsl:text>The CSS style header method for setting styles</xsl:text>
+        </xsl:comment>
+        <xsl:element name="style">
+            <xsl:attribute name="type">text/css</xsl:attribute>
+            <xsl:comment>
+                <xsl:text>
+
+        </xsl:text>
+                <xsl:call-template name="write-default-styles"/>
+
+                <!-- THE STYLE PROPERTIES OF THE FIRST WRITTEN STYLE (PARENT) IS GIVEN OUT -->
+
+                <!-- 1) styles from office:styles are possible parent from all (itself or office:automatic-styles).
+                     Therefore they are created first.
+                     Beginning with the top-level parents (the styles without any parent). -->
+                <xsl:for-each select="$office:styles/style:style[not(@style:parent-style-name)]">
+
+                    <xsl:call-template name="write-styleproperty-line"/>
+                    <xsl:call-template name="write-styleproperty-lines-for-children"/>
+                </xsl:for-each>
+
+                <xsl:text> </xsl:text>
+
+                <!-- 2) styles from office:automatic-styles can only be parent of styles from the office:automatic-styles section.
+                     Beginning with top-level styles, again, all children style will be recursivly traversed -->
+                <xsl:for-each select="$office:automatic-styles/style:style[not(@style:parent-style-name)]">
+                    <xsl:call-template name="write-styleproperty-line">
+                        <xsl:with-param name="searchOnlyInAutomaticStyles" select="true()"/>
+                    </xsl:call-template>
+                    <xsl:call-template name="write-styleproperty-lines-for-children">
+                        <xsl:with-param name="searchOnlyInAutomaticStyles"/>
+                    </xsl:call-template>
+                </xsl:for-each>
+            //</xsl:comment>
+        </xsl:element>
+    </xsl:template>
+
+
+    <xsl:template name='write-styleproperty-line'>
+        <xsl:param name="searchOnlyInAutomaticStyles"/>
+
+        <xsl:variable name="styleProperties">
+            <xsl:call-template name="write-style-properties">
+                <xsl:with-param name="styleAttributePath"   select="current()/style:properties/@*"/>
+            </xsl:call-template>
+        </xsl:variable>
+
+        <!-- do not write styles with no css property -->
+        <xsl:if test="not(string-length($styleProperties) = 0)">
+            <!-- write out the name of the current (parent) style in the CSS headersection (e.g. "span.myStyle") -->
+            <xsl:call-template name="write-style-name">
+                <xsl:with-param name="is-parent-style" select="true()"/>
+            </xsl:call-template>
+
+            <!-- the names of all styles children will be written out(office:style AND office:automatic-style) -->
+            <xsl:call-template name="write-children-style-names">
+                <xsl:with-param name="parentStyleName"          select="@style:name"/>
+                <xsl:with-param name="parentStyleFamily"        select="@style:family"/>
+                <xsl:with-param name="searchOnlyInAutomaticStyles"/>
+            </xsl:call-template>
+
+        <!-- the style properties of the first written style (parent) is given out -->
+        <xsl:text> {
+                </xsl:text>
+                <xsl:value-of select="$styleProperties"/>
+        <xsl:text>}
+        </xsl:text>
+
+        </xsl:if>
+
+
+
+    </xsl:template>
+
+
+
+
+    <!-- RECURSION WITH ENDCONDITON: adding style classes for all existing childs -->
+    <xsl:template name='write-styleproperty-lines-for-children'>
+        <xsl:param name="searchOnlyInAutomaticStyles"/>
+
+        <xsl:variable name="parentStyleName"    select="@style:name"/>
+        <xsl:variable name="parentStyleFamily"  select="@style:family"/>
+
+        <xsl:if test="not(searchOnlyInAutomaticStyles)">
+            <xsl:for-each select="../style:style[@style:family=$parentStyleFamily and @style:parent-style-name=$parentStyleName]">
+                <xsl:call-template name="write-styleproperty-line"/>
+                <xsl:call-template name="write-styleproperty-lines-for-children"/>
+            </xsl:for-each>
+        </xsl:if>
+        <xsl:for-each select="$office:automatic-styles/style:style[@style:family=$parentStyleFamily and @style:parent-style-name=$parentStyleName]">
+            <xsl:call-template name="write-styleproperty-line">
+                <xsl:with-param name="searchOnlyInAutomaticStyles"/>
+            </xsl:call-template>
+            <xsl:call-template name="write-styleproperty-lines-for-children">
+                <xsl:with-param name="searchOnlyInAutomaticStyles"/>
+            </xsl:call-template>
+        </xsl:for-each>
+    </xsl:template>
+
+
+    <xsl:template name="write-default-styles">
+
+        <!-- some default attributes in xml have to be explicitly set in HTML (e.g. margin-top="0") -->
+        <xsl:text>*.OOo_defaults</xsl:text>
+
+                <xsl:for-each select="$office:styles/style:style">
+                    <xsl:text>, </xsl:text>
+                    <xsl:value-of select="concat('*.', translate(@style:name, '. %()/\', ''))"/>
+                </xsl:for-each>
+
+                <xsl:for-each select="$office:automatic-styles/style:style">
+                    <xsl:text>, </xsl:text>
+                    <xsl:value-of select="concat('*.', translate(@style:name, '. %()/\', ''))"/>
+                </xsl:for-each>
+        <!-- 2DO: the defaults might be better collected and written in a separated (XML) file -->
+<xsl:text> {
+                margin-top:0cm; margin-bottom:0cm; }
+        </xsl:text>
+
+        <xsl:for-each select="$office:styles/style:default-style">
+            <xsl:call-template name="write-default-style"/>
+        </xsl:for-each>
+
+        <xsl:for-each select="$office:automatic-styles/style:default-style">
+            <xsl:call-template name="write-default-style"/>
+        </xsl:for-each>
+
+    </xsl:template>
+
+
+
+    <xsl:template name="write-default-style">
+        <xsl:variable name="family-style" select="@style:family"/>
+
+        <!-- some default attributes for format families (e.g. graphics, paragraphs, etc.) written as style:default-style -->
+        <xsl:value-of select="concat('*.', translate($family-style, '. %()/\', ''), '_defaults')"/>
+
+        <xsl:for-each select="$office:styles/style:style[@style:family = $family-style]">
+            <xsl:text>, </xsl:text>
+            <xsl:value-of select="concat('*.', translate(@style:name, '. %()/\', ''))"/>
+        </xsl:for-each>
+
+        <xsl:for-each select="$office:automatic-styles/style:style[@style:family = $family-style]">
+            <xsl:text>, </xsl:text>
+            <xsl:value-of select="concat('*.', translate(@style:name, '. %()/\', ''))"/>
+        </xsl:for-each>
+
+
+        <xsl:variable name="styleProperties">
+            <xsl:call-template name="write-style-properties">
+                <xsl:with-param name="styleAttributePath"   select="current()/style:properties/@*"/>
+            </xsl:call-template>
+        </xsl:variable>
+
+        <!-- do not write styles with no css property -->
+        <xsl:if test="not(string-length($styleProperties) = 0)">
+        <!-- the style properties of the first written style (parent) is given out -->
+        <xsl:text> {
+                </xsl:text>
+                <xsl:value-of select="$styleProperties"/>
+        <xsl:text>}
+        </xsl:text>
+        </xsl:if>
+
+    </xsl:template>
+
+
+    <!--++
+          The parent style will be written out!
+          For each Style:family a prefix must be added
+            <!ENTITY % styleFamily
+            "(paragraph|text|section|table|table-column|table-row|table-cell|table-page|chart|graphics|default|drawing-page|presentation|control)">
+        ++-->
+    <xsl:template name="write-style-name">
+        <xsl:param name="is-parent-style"/>
+
+        <!-- This construct is for list elements. Whenever a paragraph element is being used as child of a list element the name paragraph style is been used for
+            the list item. This can be switched as the paragaph style-name and the list-style-name are in the same element.
+            Otherwise there would be formatting errors (e.g. margin-left will be used for the content in the list elment and not for the list element itself). -->
+        <xsl:variable name="style-name">
+            <xsl:choose>
+                <xsl:when test="@style:list-style-name">
+                    <xsl:value-of select="@style:list-style-name"/>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:value-of select="@style:name"/>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+
+        <xsl:if test="not($is-parent-style)">
+            <xsl:text>, </xsl:text>
+        </xsl:if>
+
+        <xsl:choose>
+            <!-- normally 'p.' would be used as CSS element,
+                 but header (h1, h2,...) are also from the style:family paragraph -->
+            <xsl:when test="@style:family='paragraph'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='text'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='section'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='table'">
+                <xsl:value-of select="concat('table.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='table-column'">
+            <!-- as column styles have to be included as span styles AFTER the table (no two class attributes in TD allowed -->
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='table-row'">
+                <xsl:value-of select="concat('tr.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='table-cell'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='table-page'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='chart'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='graphics'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='default'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='drawing-page'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='presentation'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+            <xsl:when test="@style:family='control'">
+                <xsl:value-of select="concat('*.', translate($style-name, '. %()/\', ''))"/>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- finding all style child of a section and give their styleIdentifier to the output -->
+    <xsl:template name='write-children-style-names'>
+        <xsl:param name="parentStyleName" select="@style:name"/>
+        <xsl:param name="parentStyleFamily" select="@style:family"/>
+        <xsl:param name="searchOnlyInAutomaticStyles"/>
+
+
+        <!--** the names of all office:styles children will be written out
+            ** (a automatic style can only have children in the office:automatic-style section) -->
+
+        <!-- if NOT called from a office:automatic-style parent -->
+        <xsl:if test="not(searchOnlyInAutomaticStyles)">
+            <!-- for all children in the office:style section -->
+            <xsl:for-each select="../style:style[@style:family=$parentStyleFamily and @style:parent-style-name=$parentStyleName]">
+                <!-- write the style name in the css header -->
+                <xsl:call-template name="write-style-name"/>
+
+                <!-- search for child styles -->
+                <xsl:call-template name="write-children-style-names">
+                    <xsl:with-param name="parentStyleName" select="@style:name"/>
+                    <xsl:with-param name="parentStyleFamily" select="@style:family"/>
+                </xsl:call-template>
+
+            </xsl:for-each>
+        </xsl:if>
+
+        <!--** the names of all office:automatic-styles children will be written out -->
+
+        <!-- for all children in the office:automatic-style section -->
+        <xsl:for-each select="$office:automatic-styles/style:style[@style:family=$parentStyleFamily and @style:parent-style-name=$parentStyleName]">
+            <!-- write the style name in the css header -->
+            <xsl:call-template name="write-style-name"/>
+
+            <!-- search for child styles -->
+            <xsl:call-template name="write-children-style-names">
+                <xsl:with-param name="parentStyleName" select="@style:name"/>
+                <xsl:with-param name="parentStyleFamily" select="@style:family"/>
+                <xsl:with-param name="searchOnlyInAutomaticStyles"/>
+            </xsl:call-template>
+
+        </xsl:for-each>
+    </xsl:template>
+
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_header.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_inlined.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_inlined.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_inlined.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,398 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+
+    <!-- ********************************************* -->
+    <!-- *** hard attributed (inlined) properties  *** -->
+    <!-- ********************************************* -->
+
+
+    <!-- RESTRICTIONS:
+            1)  As the styles-node-variables are NOT global, the style variables are not global, either!!
+            2)  As a list of elements can only be added to a variable as a result tree fragment the
+                extension is neccessary!!
+    -->
+
+    <!-- 2DO: Inline styles do not inherit from XML office defaults nor font:family defaults as the style header does
+              (cp. stylesheet 'style_header.xsl' and the 'write-default-styles' template) -->
+
+    <xsl:template name='create-all-inline-styles'>
+
+        <!--** traversee all style trees and their branches collecting style properties **-->
+        <xsl:element name="allstyles">
+        <!--** traversee all office:styles trees beginning with the top-level styles**-->
+            <xsl:for-each select="$office:styles/style:style[not(@style:parent-style-name)]">
+
+                <!--** give out the style properties of the parent node **-->
+                <xsl:call-template name='write-current-and-inherited-style-properties'>
+                    <xsl:with-param name="styles-node"                  select="$office:styles"/>
+                    <xsl:with-param name="style-family"                 select="@style:family"/>
+                    <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+                </xsl:call-template>
+
+                <!--** all office:styles children of the current top-level office:styles **-->
+                <xsl:call-template name='for-all-templates-child-styles'>
+                    <xsl:with-param name="parentStyleName"              select="@style:name"/>
+                    <xsl:with-param name="parentStyleFamily"            select="@style:family"/>
+                    <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+                </xsl:call-template>
+
+                <!--** all office:automatic-styles children of the current top-level style **-->
+                <xsl:call-template name='for-all-automatic-child-styles'>
+                    <xsl:with-param name="parentStyleName"              select="@style:name"/>
+                    <xsl:with-param name="parentStyleFamily"            select="@style:family"/>
+                    <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+                </xsl:call-template>
+            </xsl:for-each>
+
+        <!--** traversee all office:automatic-styles trees beginning with the top-level styles **-->
+            <xsl:for-each select="$office:automatic-styles/style:style[not(@style:parent-style-name)]">
+                <!--** give out the style properties of the parent node **-->
+                <xsl:call-template name='write-current-and-inherited-style-properties'>
+                    <xsl:with-param name="styles-node"                  select="$office:automatic-styles"/>
+                    <xsl:with-param name="style-family"                 select="@style:family"/>
+                    <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+                </xsl:call-template>
+
+                <!--** all children of the top-level office:automatic-styless  **-->
+                <xsl:call-template name='for-all-automatic-child-styles'>
+                    <xsl:with-param name="parentStyleName"              select="@style:name"/>
+                    <xsl:with-param name="parentStyleFamily"            select="@style:family"/>
+                    <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+                </xsl:call-template>
+            </xsl:for-each>
+        </xsl:element>
+    </xsl:template>
+
+
+
+    <xsl:template name='for-all-templates-child-styles'>
+        <xsl:param name="parentStyleName"/>
+        <xsl:param name="parentStyleFamily"/>
+        <xsl:param name="style-name-tokenized"/>
+
+        <xsl:for-each select="../style:style[@style:family=$parentStyleFamily and @style:parent-style-name=$parentStyleName]">
+            <!--** give out the style properties of the current node **-->
+            <xsl:element name="{$style-name-tokenized}">
+                <xsl:call-template name='write-current-and-inherited-style-properties'>
+                    <xsl:with-param name="styles-node"                  select="$office:styles"/>
+                    <xsl:with-param name="style-family"                 select="@style:family"/>
+                    <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+                </xsl:call-template>
+            </xsl:element>
+
+            <!--** for all template-children of the current office:styles  **-->
+            <xsl:call-template name='for-all-templates-child-styles'>
+                <xsl:with-param name="styles-node"                  select="$office:styles"/>
+                <xsl:with-param name="parentStyleName"              select="@style:name"/>
+                <xsl:with-param name="parentStyleFamily"            select="@style:family"/>
+                <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+            </xsl:call-template>
+
+            <!--** for all automatic-children of the current office:styles  **-->
+            <xsl:call-template name='for-all-automatic-child-styles'>
+                <xsl:with-param name="styles-node"                  select="$office:automatic-styles"/>
+                <xsl:with-param name="parentStyleName"              select="@style:name"/>
+                <xsl:with-param name="parentStyleFamily"            select="@style:family"/>
+                <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+            </xsl:call-template>
+
+        </xsl:for-each>
+    </xsl:template>
+
+
+
+    <xsl:template name='for-all-automatic-child-styles'>
+        <xsl:param name="styles-node"/>
+        <xsl:param name="parentStyleName"/>
+        <xsl:param name="parentStyleFamily"/>
+        <xsl:param name="style-name-tokenized"/>
+
+        <xsl:for-each select="$office:automatic-styles/style:style[@style:family=$parentStyleFamily and @style:parent-style-name=$parentStyleName]">
+            <!--** give out the style properties of the current node **-->
+            <xsl:element name="{$style-name-tokenized}">
+                <xsl:call-template name='write-current-and-inherited-style-properties'>
+                    <xsl:with-param name="styles-node"                  select="$office:automatic-styles"/>
+                    <xsl:with-param name="style-family"                 select="@style:family"/>
+                    <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+                </xsl:call-template>
+            </xsl:element>
+
+            <!--** for all automatic-children of the current office:automatic-styles  **-->
+            <xsl:call-template name='for-all-automatic-child-styles'>
+                <xsl:with-param name="styles-node"                  select="$office:automatic-styles"/>
+                <xsl:with-param name="parentStyleName"              select="@style:name"/>
+                <xsl:with-param name="parentStyleFamily"            select="@style:family"/>
+                <xsl:with-param name="style-name-tokenized"         select="translate(@style:name, '. %()/\', '')"/>
+            </xsl:call-template>
+        </xsl:for-each>
+    </xsl:template>
+
+
+    <xsl:template name='write-current-and-inherited-style-properties'>
+        <xsl:param name="style-family"/>
+        <xsl:param name="styles-node"/>
+        <xsl:param name="style-name-tokenized"/>
+
+        <xsl:element name="{$style-name-tokenized}">
+            <xsl:variable name="current-style-name" select="@style:name"/>
+            <xsl:variable name="parent-style-name" select="@style:parent-style-name"/>
+
+            <xsl:variable name="new-property-list">
+                <!--*** COLLECT STYLE ATTRIBUTES (only toplevel) ***-->
+                <xsl:call-template name="write-style-properties">
+                    <xsl:with-param name="styleAttributePath"   select="$styles-node/style:style[@style:family=$style-family and @style:name=$current-style-name]/style:properties/@*"/>
+                </xsl:call-template>
+            </xsl:variable>
+            <xsl:choose>
+                <!--*** @End: GIVE OUT All COLLECTED STYLE ATTRIBUTES (only toplevel) ***-->
+                <xsl:when test="string-length($parent-style-name)=0">
+                <!--** if no styleParent is given, the properties are given out at once **-->
+                    <xsl:value-of select="normalize-space($new-property-list)"/>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:variable name="new-property-names">
+                        <xsl:for-each select="$styles-node/style:style[@style:family=$style-family and @style:name=$current-style-name]/style:properties/@*">
+                            <xsl:value-of select="name()"/>
+                        </xsl:for-each>
+                    </xsl:variable>
+                    <!--** further attributes of the parent style must be collected **-->
+                    <xsl:call-template name="add-parent-style-attributes">
+                        <xsl:with-param name="property-name-list"       select="$new-property-names"/>
+                        <xsl:with-param name="complete-property-list"   select="normalize-space($new-property-list)"/>
+                        <xsl:with-param name="current-style-name"       select="$current-style-name"/>
+                        <xsl:with-param name="parent-style-name"        select="$parent-style-name"/>
+                        <xsl:with-param name="style-family"             select="$style-family"/>
+                    </xsl:call-template>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:element>
+    </xsl:template>
+
+
+
+    <xsl:template name="add-parent-style-attributes">
+        <xsl:param name="property-name-list"/>
+        <xsl:param name="complete-property-list"/>
+        <xsl:param name="current-style-name"/>
+        <xsl:param name="parent-style-name"/>
+        <xsl:param name="style-family"/>
+
+        <!--*** New two be added property names will be collected (only one variable per template) ***-->
+        <xsl:variable name="new-property-names">
+            <xsl:call-template name="get-new-style-names">
+                <xsl:with-param name="property-name-list"       select="$property-name-list"/>
+                <xsl:with-param name="parent-style-name"        select="$parent-style-name"/>
+                <xsl:with-param name="current-style-name"       select="$current-style-name"/>
+            </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:choose>
+            <!--*** check if the new parent style exist in the office:automatic-styles section (defined by name and family) ***-->
+            <xsl:when test="$office:automatic-styles/style:style[@style:family='paragraph' and @style:name=$current-style-name]">
+                <!--*** RECURSION: adding new parent style attributes to the current style ***-->
+                <xsl:variable name="new-property-attributes">
+                    <xsl:call-template name="get-new-style-attributes">
+                        <xsl:with-param name="new-property-names"           select="$new-property-names"/>
+                        <xsl:with-param name="current-style-name"           select="$current-style-name"/>
+                        <xsl:with-param name="parent-style-name"            select="$parent-style-name"/>
+                    </xsl:call-template>
+                </xsl:variable>
+                <!--*** End CONDITION: the last style parent has already been executed ***-->
+                <xsl:variable name="new-parent-style-name"  select="$office:automatic-styles/style:style[@style:family='paragraph' and @style:name=$parent-style-name]/@style:parent-style-name"/>
+                <xsl:choose>
+                    <xsl:when test="string-length($new-parent-style-name)=0">
+                    <!--** no further parent is found, the given parameter property-node is the final style -->
+                        <xsl:value-of select="concat($complete-property-list,$new-property-attributes)"/>
+                    </xsl:when>
+                    <xsl:otherwise>
+                    <!--** further attributes of the parent style must be collected **-->
+                        <xsl:call-template name="add-parent-style-attributes">
+                            <xsl:with-param name="property-name-list"       select="concat($property-name-list, $new-property-names)"/>
+                            <xsl:with-param name="complete-property-list"   select="concat($complete-property-list,$new-property-attributes)"/>
+                            <xsl:with-param name="current-style-name"       select="$parent-style-name"/>
+                            <xsl:with-param name="parent-style-name"        select="$new-parent-style-name"/>
+                            <xsl:with-param name="style-family"             select="$style-family"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+
+            <!--** the specific style (defined by name and family) must be found in the office:styles section -->
+            <xsl:otherwise>
+                <!--*** RECURSION: adding new parent style attributes to the current style ***-->
+                <!--*** adding new parent style attributes to the current style ***-->
+                <xsl:variable name="new-property-attributes">
+                    <xsl:call-template name="get-new-style-attributes">
+                        <xsl:with-param name="new-property-names"           select="$new-property-names"/>
+                        <xsl:with-param name="current-style-name"           select="$current-style-name"/>
+                        <xsl:with-param name="parent-style-name"            select="$parent-style-name"/>
+                    </xsl:call-template>
+                </xsl:variable>
+                <!--*** End CONDITION: the last style parent has already been executed ***-->
+                <xsl:variable name="new-parent-style-name"  select="$office:styles/style:style[@style:family='paragraph' and @style:name=$parent-style-name]/@style:parent-style-name"/>
+                <xsl:choose>
+                    <xsl:when test="string-length($new-parent-style-name)=0">
+                    <!--** no further parent is found, the given parameter property-node is the final style -->
+                        <xsl:value-of select="concat($complete-property-list,$new-property-attributes)"/>
+                    </xsl:when>
+                    <xsl:otherwise>
+                    <!--** further attributes of the parent style must be collected **  -->
+                        <xsl:call-template name="add-parent-style-attributes">
+                            <xsl:with-param name="property-name-list"       select="concat($property-name-list, $new-property-names)"/>
+                            <xsl:with-param name="complete-property-list"   select="concat($complete-property-list,$new-property-attributes)"/>
+                            <xsl:with-param name="current-style-name"       select="$parent-style-name"/>
+                            <xsl:with-param name="parent-style-name"        select="$new-parent-style-name"/>
+                            <xsl:with-param name="style-family"             select="$style-family"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <xsl:template name="get-new-style-names">
+        <xsl:param name="property-name-list"/>
+        <xsl:param name="parent-style-name"/>
+        <xsl:param name="current-style-name"/>
+        <!--** where to find the specific style (defined by name and family) wheter in office:automatic-styles or office:styles section -->
+        <xsl:choose>
+            <!--** if the specific style (defined by name and family) can be found in the office:automatic-styles section -->
+            <xsl:when test="$office:automatic-styles/style:style[@style:family='paragraph' and @style:name=$parent-style-name]">
+                <xsl:variable name="parent-property-node" select="$office:automatic-styles/style:style[@style:family='paragraph' and @style:name=$parent-style-name]/style:properties"/>
+
+                <xsl:variable name="new-property-name-list">
+                    <xsl:for-each select="$parent-property-node/@*[not(contains($property-name-list, name()))]">
+                        <xsl:value-of select="name()"/>
+                    </xsl:for-each>
+                </xsl:variable>
+                <xsl:value-of select="$new-property-name-list"/>
+            </xsl:when>
+            <!--** the specific style (defined by name and family) should be found in the office:styles section -->
+            <xsl:otherwise>
+                <xsl:variable name="parent-property-node" select="$office:styles/style:style[@style:family='paragraph' and @style:name=$parent-style-name]/style:properties"/>
+                <xsl:variable name="new-property-name-list">
+                    <xsl:for-each select="$parent-property-node/@*[not(contains($property-name-list, name()))]">
+                        <xsl:value-of select="name()"/>
+                    </xsl:for-each>
+                </xsl:variable>
+                <xsl:value-of select="$new-property-name-list"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <xsl:template name="get-new-style-attributes">
+        <xsl:param name="new-property-names"/>
+        <xsl:param name="current-style-name"/>
+        <xsl:param name="parent-style-name"/>
+
+        <!--** where to find the specific style (defined by name and family) whether in office:automatic-styles or office:styles section -->
+        <xsl:choose>
+            <!--** if the specific style (defined by name and family) can be found in the office:automatic-styles section -->
+            <xsl:when test="$office:automatic-styles/style:style[@style:family='paragraph' and @style:name=$parent-style-name]">
+                <xsl:variable name="parent-property-node" select="$office:automatic-styles/style:style[@style:family='paragraph' and @style:name=$parent-style-name]/style:properties"/>
+                <xsl:variable name="new-property-name-list">
+                    <xsl:call-template name="write-style-properties">
+                        <xsl:with-param name="styleAttributePath"   select="$parent-property-node/@*[contains($new-property-names, name())]"/>
+                    </xsl:call-template>
+                </xsl:variable>
+                <xsl:value-of select="normalize-space($new-property-name-list)"/>
+            </xsl:when>
+            <!--** otherwise the specific style (defined by name and family) should be found in the office:styles section -->
+            <xsl:otherwise>
+                <xsl:variable name="parent-property-node" select="$office:styles/style:style[@style:family='paragraph' and @style:name=$parent-style-name]/style:properties"/>
+                <xsl:variable name="new-property-name-list">
+                    <xsl:call-template name="write-style-properties">
+                        <xsl:with-param name="styleAttributePath"   select="$parent-property-node/@*[contains($new-property-names, name())]"/>
+                    </xsl:call-template>
+                </xsl:variable>
+                <xsl:value-of select="normalize-space($new-property-name-list)"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_inlined.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_mapping.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_mapping.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_mapping.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,660 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+    <xsl:template name="write-style-properties">
+        <xsl:param name="styleAttributePath"/>
+
+        <xsl:choose>
+            <!--+++++ CSS PROPERTIES  +++++-->
+            <xsl:when test="$outputType = 'CSS_HEADER' or $outputType = 'CSS_INLINED'">
+
+                <xsl:for-each select="$styleAttributePath">
+                <!-- isDebugModeMESSAGE:
+                    <xsl:message> Name:<xsl:value-of select="name()"/> Value:<xsl:value-of select="."/></xsl:message>      -->
+
+
+                    <!-- <!ATTLIST style:properties style:horizontal-pos (from-left|left|center|right|from-inside|inside|outside)#IMPLIED>-->
+                    <!-- 2DO: is inside/from-inside also better showable ? -->
+                    <!-- !!!! 2DO: Still there have to be placed a <br clear='all'/> to disable the flow!!!!-->
+                    <!--           The OOo attribute 'style:number-wrapped-paragraphs' is currently ignored -->
+                    <xsl:choose>
+                        <xsl:when test='name(.)="style:wrap"'>
+                            <xsl:choose>
+                                <xsl:when test='.="left"'>
+                                    <xsl:text>float: right; </xsl:text>
+                                </xsl:when>
+                                <xsl:when test='.="right"'>
+                                    <xsl:text>float: left; </xsl:text>
+                                </xsl:when>
+                            </xsl:choose>
+                        </xsl:when>
+
+                        <xsl:when test='name(.) = "style:horizontal-pos"'>
+                            <xsl:choose>
+                                <xsl:when test='.="left"'>
+                                    <xsl:text>align: left; </xsl:text>
+                                </xsl:when>
+                                <xsl:when test='.="right"'>
+                                    <xsl:text>align: right; </xsl:text>
+                                </xsl:when>
+                                <xsl:when test='.="center"'>
+                                    <xsl:text>align: center; </xsl:text>
+                                </xsl:when>
+                            </xsl:choose>
+                        </xsl:when>
+<!-- results into a bad view (overlapped) in Mozilla 1.0
+                        <xsl:when test='name(.) = "table:align"'>
+                            <xsl:choose>
+                                <xsl:when test='.="left"'>
+                                    <xsl:text>float: right; </xsl:text>
+                                </xsl:when>
+                                <xsl:when test='.="right"'>
+                                    <xsl:text>float: left; </xsl:text>
+                                </xsl:when>
+                            </xsl:choose>
+                        </xsl:when>
+-->
+
+                        <!-- PADDING for all variations: fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left, fo:padding-right -->
+                        <xsl:when test='contains(name(.),"fo:padding")'>
+                            <xsl:text>padding: </xsl:text>
+                            <xsl:value-of select="."/>
+                            <xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <!--
+                        fo:border
+                        fo:border-top
+                        fo:border-bottom
+                        fo:border-left
+                        fo:border-right
+
+                            At present, all four borders must be set simultaneously by using either
+                            the fo:border property or by attaching all four of the other border
+                            properties to an item set element. In the latter case, if one or more
+                            of the properties is missing their values are assumed to be none. The
+                            only border styles supported are none or hidden, solid, and double. Any
+                            other border style specified is displayed as solid. Transparent borders
+                            are not supported and the border widths thin, medium, and thick are
+                            mapped to lengths. In addition, only some distinct border widths are
+                            supported. Unsupported widths are rounded up to the next supported
+                            width.
+                            If there are no padding properties specified within the same
+                            item set element, a default padding is used for sides that have a
+                            border. A value of 0cm is used for sides without a border.
+                            (cp. wd-so-xml-text.sdw)
+                        -->
+
+<!--2DO START: change measurement equally -->
+                        <xsl:when test='name(.)="fo:border"'>
+                            <xsl:choose>
+                                <!-- changing the distance measure: inch to in -->
+                                <xsl:when test="contains(., 'ch')">
+                                    <xsl:text>border-width:</xsl:text><xsl:value-of select="substring-before(.,'ch ')"/><xsl:text>; </xsl:text>
+                                    <xsl:text>border-style:</xsl:text><xsl:value-of select="substring-before(substring-after(.,'ch '), ' ')"/><xsl:text>; </xsl:text>
+                                    <xsl:text>border-color:</xsl:text><xsl:value-of select="substring-after(substring-after(.,'ch '), ' ')"/><xsl:text>; </xsl:text>
+                                </xsl:when>
+                                <xsl:when test="contains(., 'cm')">
+                                    <xsl:text>border-width:</xsl:text><xsl:value-of select="substring-before(.,' ')"/><xsl:text>; </xsl:text>
+                                    <xsl:text>border-style:</xsl:text><xsl:value-of select="substring-before(substring-after(.,'cm '), ' ')"/><xsl:text>; </xsl:text>
+                                    <xsl:text>border-color:</xsl:text><xsl:value-of select="substring-after(substring-after(.,'cm '), ' ')"/><xsl:text>; </xsl:text>
+                                </xsl:when>
+                                <xsl:when test="contains(., 'pt')">
+                                    <xsl:text>border-width:</xsl:text><xsl:value-of select="substring-before(.,' ')"/><xsl:text>; </xsl:text>
+                                    <xsl:text>border-style:</xsl:text><xsl:value-of select="substring-before(substring-after(.,'pt '), ' ')"/><xsl:text>; </xsl:text>
+                                    <xsl:text>border-color:</xsl:text><xsl:value-of select="substring-after(substring-after(.,'pt '), ' ')"/><xsl:text>; </xsl:text>
+                                </xsl:when>
+                            </xsl:choose>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:border-top"'>
+                            <xsl:text>border-top: </xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:border-bottom"'>
+                            <xsl:text>border-bottom: </xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:border-left"'>
+                            <xsl:text>border-left: </xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:border-right"'>
+                            <xsl:text>border-right: </xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:column-width"'>
+                            <xsl:choose>
+                                <!-- changing the distance measure: inch to in -->
+                                <xsl:when test="contains(., 'ch')">
+                                    <xsl:text>width:</xsl:text><xsl:value-of select="substring-before(.,'ch')"/><xsl:text>; </xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>width:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:row-height"'>
+                            <xsl:choose>
+                                <!-- changing the distance measure: inch to in -->
+                                <xsl:when test="contains(., 'ch')">
+                                    <xsl:text>height:</xsl:text><xsl:value-of select="substring-before(.,'ch')"/><xsl:text>; </xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>height:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:width"'>
+                            <xsl:choose>
+                                <!-- changing the distance measure: inch to in -->
+                                <xsl:when test="contains(., 'ch')">
+                                    <xsl:text>width:</xsl:text><xsl:value-of select="substring-before(.,'ch')"/><xsl:text>; </xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>width:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+<!--2DO END: change measurement equally -->
+                        <xsl:when test='name(.)="fo:font-style"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:font-name"'>
+                            <xsl:text>font-family:</xsl:text>
+                                <xsl:variable name="content" select="."/>
+                                <xsl:value-of select="$office:font-decls/style:font-decl[@style:name=$content]/@fo:font-family"/>
+                            <xsl:text>; </xsl:text>
+                            <xsl:if test="contains($office:font-decls/style:font-decl[@style:name=$content]/@style:font-style-name, 'Italic')">
+                                <xsl:text>font-style:italic; </xsl:text>
+                            </xsl:if>
+                            <xsl:if test="contains($office:font-decls/style:font-decl[@style:name=$content]/@style:font-style-name, 'Bold')">
+                                <xsl:text>font-weight:bold; </xsl:text>
+                            </xsl:if>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:font-weight"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:font-size"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:font-family"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:color"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:margin-left"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:margin-right"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:margin-top"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:margin-bottom"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:line-height"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:text-align"'>
+                            <!-- IMPORTANT is necessary as table cell value alignment is decided by runtime over the valuetype
+                                 Otherwise a table cell style-class will ALWAYS be overwritten by the run-time value -->
+                             <xsl:choose>
+                                <xsl:when test="contains(., 'start')">
+                                    <xsl:text>text-align:left ! important; </xsl:text>
+                                </xsl:when>
+                                <xsl:when test="contains(., 'end')">
+                                    <xsl:text>text-align:right ! important; </xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>text-align:</xsl:text><xsl:value-of select='.'/><xsl:text> ! important; </xsl:text>
+                                </xsl:otherwise>
+                             </xsl:choose>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:text-indent"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:text-background-color"'>
+                            <xsl:text>background-color:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="fo:background-color"'>
+                            <xsl:text>background-color:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:background-image"'>
+                            <xsl:text>background-image:url(</xsl:text><xsl:value-of select="@xlink:href"/><xsl:text>); </xsl:text>
+                            <xsl:choose>
+                                <xsl:when test="@style:repeat = 'repeat'">
+                                    <xsl:text>background-repeat:repeat; </xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>background-repeat:no-repeat; </xsl:text>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+                        <!-- text-shadow is a CSS2 feature and yet not common used in user-agents -->
+                        <xsl:when test='name(.)="fo:text-shadow"'>
+                            <xsl:value-of select="substring-after(name(.), ':')"/><xsl:text>:</xsl:text><xsl:value-of select="."/><xsl:text>; </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:text-crossing-out"'>
+                            <xsl:if test='not(.="none")'>
+                                <xsl:text>text-decoration:line-through; </xsl:text>
+                            </xsl:if>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:text-underline"'>
+                            <xsl:if test='not(.="none")'>
+                                <xsl:text>text-decoration:underline; </xsl:text>
+                            </xsl:if>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:text-position"'>
+                            <xsl:if test='contains(., "sub")'>
+                                <xsl:text>vertical-align:sub; </xsl:text>
+                            </xsl:if>
+                            <xsl:if test='contains(., "sup")'>
+                                <xsl:text>vertical-align:sup; </xsl:text>
+                            </xsl:if>
+                        </xsl:when>
+                        <!-- isDebugModeMESSAGE:
+                        <xsl:otherwise>
+                                <xsl:message>No transformation implemented for attribute-typ <xsl:value-of select="name(.)"/></xsl:message>
+                        </xsl:otherwise>-->
+                    </xsl:choose>
+                </xsl:for-each>
+            </xsl:when>
+            <!--+++++ PALM 3.2 SUBSET AND WAP PROPERTIES  +++++-->
+            <xsl:otherwise>
+                <xsl:for-each select="$styleAttributePath">
+                    <!-- isDebugModeMESSAGE:
+                    <xsl:message> Name:<xsl:value-of select="name()"/> Value:<xsl:value-of select="."/></xsl:message>      -->
+
+                    <!-- BUG WORK AROUND:
+                    Due to a bug in the XT Processor, it is not possible to create serveral elements in variable and search over them,
+                    after explicit conversion to nodeset
+                    This generated sting identifier shall be later changed back to a set of elements
+                    -->
+                    <xsl:choose>
+                        <!--*** FORMAT ATTRIBUTES ***-->
+
+                        <!-- Italic -->
+                        <xsl:when test='name(.)="fo:font-style"'>
+                            <xsl:if test="contains(., 'italic') or contains(., 'oblique')">
+                                <xsl:text>italic, </xsl:text>
+                            </xsl:if>
+                        </xsl:when>
+
+                        <!-- Boldface -->
+                        <xsl:when test='name(.)="fo:font-weight"'>
+                            <xsl:if test="contains(., 'bold') or contains(., 'bolder')">
+                                <xsl:text>bold, </xsl:text>
+                            </xsl:if>
+                        </xsl:when>
+
+                        <!-- Underline -->
+                        <xsl:when test='name(.)="style:text-underline"'>
+                            <xsl:text>underline, </xsl:text>
+                        </xsl:when>
+
+                        <!-- Alignment -->
+                        <xsl:when test='name(.)="fo:text-align"'>
+                             <xsl:choose>
+                                <xsl:when test="contains(., 'start')">
+                                    <xsl:text>align:left, </xsl:text>
+                                </xsl:when>
+                                <xsl:when test="contains(., 'end')">
+                                    <xsl:text>align:right, </xsl:text>
+                                </xsl:when>
+                                <xsl:when test="contains(., 'center')">
+                                    <xsl:text>align:center, </xsl:text>
+                                </xsl:when>
+                             </xsl:choose>
+                        </xsl:when>
+
+                        <!-- strikethrough -->
+                        <xsl:when test='name(.)="style:text-crossing-out"'>
+                            <xsl:text>strike, </xsl:text>
+                        </xsl:when>
+
+                        <!-- Font - size (Palm: emulator transformed sizes to available set (e.g. 30 to (probably) 9)-->
+                        <xsl:when test='name(.)="fo:font-size"'>
+                            <xsl:text>size:</xsl:text><xsl:value-of select="."/><xsl:text>:size, </xsl:text>
+                        </xsl:when>
+
+                        <!-- Font - Color (PALM: but mostly only 2 available)
+                            black (#000000)
+                            gray (#808080)(rendered as dark gray)
+                            silver (#C0C0C0)(rendered as light gray)
+                            white (#FFFFFF)-->
+                        <xsl:when test='name(.)="fo:color"'>
+                            <xsl:choose>
+                                <xsl:when test="contains(. , '#FFFFFF') or contains(. , '#ffffff') or contains(. , 'white') or contains(. , 'WHITE')">
+                                    <xsl:text>color:#FFFFFF, </xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>color:#000000, </xsl:text>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+
+
+                        <!--*** TABLE ATTRIBUTES ***-->
+                        <xsl:when test='name(.)="fo:font-size"'>
+                            <xsl:text>size:</xsl:text><xsl:value-of select="."/><xsl:text>:size, </xsl:text>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:column-width"'>
+                            <xsl:choose>
+                                <!-- changing the distance measure: inch to in -->
+                                <xsl:when test="contains(., 'ch')">
+                                    <xsl:text>width:</xsl:text><xsl:value-of select="substring-before(.,'ch')"/><xsl:text>:width, </xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>width:</xsl:text><xsl:value-of select="."/><xsl:text>:width; </xsl:text>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:row-height"'>
+                            <xsl:choose>
+                                <!-- changing the distance measure: inch to in -->
+                                <xsl:when test="contains(., 'ch')">
+                                    <xsl:text>height:</xsl:text><xsl:value-of select="substring-before(.,'ch')"/><xsl:text>:height; </xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>height:</xsl:text><xsl:value-of select="."/><xsl:text>:height; </xsl:text>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+                        <xsl:when test='name(.)="style:width"'> <!--earlier fo:width-->
+                            <xsl:choose>
+                                <!-- changing the distance measure: inch to in -->
+                                <xsl:when test="contains(., 'ch')">
+                                    <xsl:text>width:</xsl:text><xsl:value-of select="substring-before(.,'ch')"/><xsl:text>:width; </xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:text>width:</xsl:text><xsl:value-of select="."/><xsl:text>:width; </xsl:text>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:when>
+                    </xsl:choose>
+                </xsl:for-each>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+<!-- 2DO: NAMING CONVENTION variable are written with '-' instead of case-sensitive writing -->
+
+
+
+    <!-- ***** MEASUREMENT CONVERSIONS *****
+
+     * 1 centimeter = 10 mm
+
+     * 1 inch = 25.4 mm
+        While the English have already seen the light (read: the metric system), the US
+        remains loyal to this medieval system.
+
+     * 1 didot point = 0.376065 mm
+            The didot system originated in France but was used in most of Europe
+
+     * 1 pica point = 0.35146 mm
+            The Pica points system was developed in England and is used in Great-Britain and the US.
+
+     * 1 PostScript point = 0.35277138 mm
+            When Adobe created PostScript, they added their own system of points.
+            There are exactly 72 PostScript points in 1 inch.
+
+     * 1 pixel = 0.26458333.. mm   (by 96 dpi)
+            Most pictures have the 96 dpi resolution, but the dpi variable may vary by stylesheet parameter
+    -->
+
+
+    <!-- changing measure to mm -->
+    <xsl:template name="convert2mm">
+        <xsl:param name="value"/>
+
+        <xsl:param name="centimeter-in-mm"          select="10"/>
+        <xsl:param name="inch-in-mm"                select="25.4"/>
+        <xsl:param name="didot-point-in-mm"         select="0.376065"/>
+        <xsl:param name="pica-point-in-mm"          select="0.35146"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round(number(substring-before($value,'cm' )) * $centimeter-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round(number(substring-before($value,'in' )) * $inch-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round(number(substring-before($value,'dpt')) * $didot-point-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'ppt')">
+                <xsl:value-of select="round(number(substring-before($value,'ppt')) * $pica-point-in-mm)"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- changing measure to cm -->
+    <xsl:template name="convert2cm">
+        <xsl:param name="value"/>
+
+        <xsl:param name="centimeter-in-mm"          select="10"/>
+        <xsl:param name="inch-in-mm"                select="25.4"/>
+        <xsl:param name="didot-point-in-mm"         select="0.376065"/>
+        <xsl:param name="pica-point-in-mm"          select="0.35146"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round(number(substring-before($value, 'mm')) div $centimeter-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round(number(substring-before($value, 'in')) div $centimeter-in-mm * $inch-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round(number(substring-before($value,'dpt')) div $centimeter-in-mm * $didot-point-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'ppt')">
+                <xsl:value-of select="round(number(substring-before($value,'ppt')) div $centimeter-in-mm * $pica-point-in-mm)"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+    <!-- changing measure to inch (cp. section comment) -->
+    <xsl:template name="convert2inch">
+        <xsl:param name="value"/>
+
+        <xsl:param name="centimeter-in-mm"          select="10"/>
+        <xsl:param name="inch-in-mm"                select="25.4"/>
+        <xsl:param name="didot-point-in-mm"         select="0.376065"/>
+        <xsl:param name="pica-point-in-mm"          select="0.35146"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round(number(substring-before($value, 'mm')) div $inch-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round(number(substring-before($value, 'cm')) div $inch-in-mm * $centimeter-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round(number(substring-before($value,'dpt')) div $inch-in-mm * $didot-point-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'ppt')">
+                <xsl:value-of select="round(number(substring-before($value,'ppt')) div $inch-in-mm * $pica-point-in-mm)"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- changing measure to dpt (cp. section comment) -->
+    <xsl:template name="convert2dpt">
+        <xsl:param name="value"/>
+
+        <xsl:param name="centimeter-in-mm"          select="10"/>
+        <xsl:param name="inch-in-mm"                select="25.4"/>
+        <xsl:param name="didot-point-in-mm"         select="0.376065"/>
+        <xsl:param name="pica-point-in-mm"          select="0.35146"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round(number(substring-before($value, 'mm')) div $didot-point-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round(number(substring-before($value, 'cm')) div $didot-point-in-mm * $centimeter-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round(number(substring-before($value, 'in')) div $didot-point-in-mm * $inch-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'ppt')">
+                <xsl:value-of select="round(number(substring-before($value,'ppt')) div $didot-point-in-mm * $pica-point-in-mm)"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+
+    </xsl:template>
+
+
+    <!-- changing measure to ppt (cp. section comment) -->
+    <xsl:template name="convert2ppt">
+        <xsl:param name="value"/>
+
+        <xsl:param name="centimeter-in-mm"          select="10"/>
+        <xsl:param name="inch-in-mm"                select="25.4"/>
+        <xsl:param name="didot-point-in-mm"         select="0.376065"/>
+        <xsl:param name="pica-point-in-mm"          select="0.35146"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round(number(substring-before($value, 'mm')) div $pica-point-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round(number(substring-before($value, 'cm')) div $pica-point-in-mm * $centimeter-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round(number(substring-before($value, 'in')) div $pica-point-in-mm * $inch-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round(number(substring-before($value,'dpt')) div $pica-point-in-mm * $didot-point-in-mm)"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- changing measure to pixel by via parameter provided dpi (dots per inch) standard factor (cp. section comment) -->
+    <xsl:template name="convert2pixel">
+        <xsl:param name="value"/>
+
+        <xsl:param name="centimeter-in-mm"          select="10"/>
+        <xsl:param name="inch-in-mm"                select="25.4"/>
+        <xsl:param name="didot-point-in-mm"         select="0.376065"/>
+        <xsl:param name="pica-point-in-mm"          select="0.35146"/>
+        <xsl:param name="pixel-in-mm"               select="$inch-in-mm div $dpi"/>
+
+        <xsl:choose>
+            <xsl:when test="contains($value, 'mm')">
+                <xsl:value-of select="round(number(substring-before($value, 'mm')) div $pixel-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'cm')">
+                <xsl:value-of select="round(number(substring-before($value, 'cm')) div $pixel-in-mm * $centimeter-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'in')">
+                <xsl:value-of select="round(number(substring-before($value, 'in')) div $pixel-in-mm * $inch-in-mm)"/>
+            </xsl:when>
+            <xsl:when test="contains($value, 'dpt')">
+                <xsl:value-of select="round(number(substring-before($value,'dpt')) div $pixel-in-mm * $didot-point-in-mm)"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$value"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/style_mapping.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,328 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+    <!-- table row handling -->
+    <xsl:include href="table_rows.xsl"/>
+    <!-- table column handling -->
+    <xsl:include href="table_columns.xsl"/>
+    <!-- table cell handling -->
+    <xsl:include href="table_cells.xsl"/>
+
+
+
+    <!-- ******************* -->
+    <!-- *** main table  *** -->
+    <!-- ******************* -->
+
+    <xsl:template match="table:table | table:sub-table">
+        <xsl:param name="collectedGlobalData"/>
+
+        <!-- a table will only be created if the "scenario" is active -->
+        <xsl:if test="string-length(table:scenario/@table:is-active) = 0">
+            <!-- collecting all visible "table:table-row" elements of the table -->
+            <xsl:variable name="allVisibleTableRows" select="table:table-row[not(@table:visibility = 'collapse' or @table:visibility = 'filter')]
+                    |    table:table-header-rows/descendant::table:table-row[not(@table:visibility = 'collapse' or @table:visibility = 'filter')]
+                    |    table:table-row-group/descendant::table:table-row[not(@table:visibility = 'collapse' or @table:visibility = 'filter')]"/>
+            <xsl:choose>
+                <!-- for all but WAP/WML devices a table border check is done (cp. "check-for-table-border") -->
+                <xsl:when test="not($outputType = 'WML')">
+
+                    <!-- As the alignment of a table is by 'align' attribut is deprecated and as the CSS 'float' attribute not well displayed,
+                         we do a little trick by encapsulating the table with a aligned 'div' element-->
+                    <xsl:variable name="table-alignment" select="$office:automatic-styles/style:style[@style:name = current()/@table:style-name]/style:properties/@table:align"/>
+
+                    <xsl:choose>
+                        <xsl:when test="string-length($table-alignment) != 0">
+                            <xsl:element name="div">
+                                <xsl:attribute name="align">
+                                    <xsl:choose>
+                                        <xsl:when test='$table-alignment="left" or $table-alignment="margins"'>
+                                                <xsl:text>left</xsl:text>
+                                        </xsl:when>
+                                        <xsl:when test='$table-alignment="right"'>
+                                            <xsl:text>right</xsl:text>
+                                        </xsl:when>
+                                        <xsl:when test='$table-alignment="center"'>
+                                            <xsl:text>center</xsl:text>
+                                        </xsl:when>
+                                    </xsl:choose>
+                                </xsl:attribute>
+                                <xsl:element name="table">
+
+                                    <xsl:apply-templates select="@table:style-name">
+                                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                    </xsl:apply-templates>
+
+                                    <!-- workaround, set table border attribut if any cell-border exists
+                                    <xsl:call-template name="check-for-table-border">
+                                        <xsl:with-param name="allVisibleTableRows" select="$allVisibleTableRows"/>
+                                    </xsl:call-template> -->
+                                    <xsl:call-template name="create-column-style-variable">
+                                        <xsl:with-param name="allVisibleTableRows" select="$allVisibleTableRows"/>
+                                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                    </xsl:call-template>
+                                </xsl:element>
+                            </xsl:element>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:element name="table">
+                                <xsl:apply-templates select="@table:style-name">
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:apply-templates>
+
+                                <!-- workaround, set table border attribut if any cell-border exists
+                                <xsl:call-template name="check-for-table-border">
+                                    <xsl:with-param name="allVisibleTableRows" select="$allVisibleTableRows"/>
+                                </xsl:call-template>  -->
+                                <xsl:call-template name="create-column-style-variable">
+                                    <xsl:with-param name="allVisibleTableRows" select="$allVisibleTableRows"/>
+                                     <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:call-template>
+                            </xsl:element>
+                        </xsl:otherwise>
+                    </xsl:choose>
+
+                </xsl:when>
+                <xsl:otherwise>
+                <!-- for WML devices only ASCII table are written as tables are not implemented widley.
+                     Beginning from 'repeat-write-row' the templates are handled by the table_wml.xsl stylesheet -->
+                    <xsl:call-template name="create-column-style-variable">
+                        <xsl:with-param name="collectedGlobalData"   select="$collectedGlobalData"/>
+                        <xsl:with-param name="allVisibleTableRows"  select="$allVisibleTableRows"/>
+                    </xsl:call-template>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:if>
+    </xsl:template>
+
+
+
+    <xsl:template name="create-column-style-variable">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allVisibleTableRows"/>
+
+        <!-- all columns of the table -->
+        <xsl:variable name="allTableColumns" select="table:table-column |
+                                                     table:table-column-group/descendant::table:table-column |
+                                                     table:table-header-columns/descendant::table:table-column"/>
+        <!-- allColumnStyleEntries: Containing all columns of the table, hidden and viewed.
+            - if a column is hidden, it contains the hidden attribute, otherwise the style-properties will be stored
+            - if a column is being repeated, each repeated column is explicitly written as entry in this variable.
+              Later (during template "write-cell") the style of the column will be mixed with the cell-style by using
+              the position() of the column entry and comparing it with the iterating cell number. -->
+        <xsl:variable name="allColumnStyleEntries-RTF">
+            <xsl:call-template name="adding-column-styles-entries">
+                <xsl:with-param name="collectedGlobalData"   select="$collectedGlobalData"/>
+                <xsl:with-param name="allTableColumns"      select="$allTableColumns"/>
+            </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:choose>
+            <xsl:when test="function-available('xt:node-set')">
+                <xsl:call-template name="create-table">
+                    <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                    <xsl:with-param name="allVisibleTableRows"      select="$allVisibleTableRows"/>
+                    <xsl:with-param name="allColumnStyleEntries"    select="xt:node-set($allColumnStyleEntries-RTF)"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="function-available('xalan:nodeset')">
+                <xsl:call-template name="create-table">
+                    <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                    <xsl:with-param name="allVisibleTableRows"      select="$allVisibleTableRows"/>
+                    <xsl:with-param name="allColumnStyleEntries"    select="xalan:nodeset($allColumnStyleEntries-RTF)"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+
+    </xsl:template>
+
+
+
+    <xsl:template name="create-table">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allVisibleTableRows"/>
+        <xsl:param name="allColumnStyleEntries"/>
+
+
+        <!-- Some Office Calc documents simulate a background by repeating the last cell until end of space
+             (The value of "table:number-columns-repeated" is enourmous). Writing out all these cells would be fatal.
+             Therefore, this global variable shows us the longest row with content.
+
+        Earlier only the viewable columns were listed, but it is easier to handle with all columns:
+        <xsl:variable name="maxRowLength" select="count($allColumnStyleEntries/column-style-entry[not(@column-hidden-flag)])"/> -->
+        <xsl:variable name="maxRowLength" select="count($allColumnStyleEntries/column-style-entry)"/>
+
+
+        <!--isDebugMode-START-->
+        <xsl:if test="$isDebugMode">
+            <xsl:message>maxRowLength: <xsl:value-of select="$maxRowLength"/></xsl:message>
+            <xsl:variable name="numberOfHiddenColumns" select="count($allColumnStyleEntries/column-style-entry[@column-hidden-flag])"/>
+            <xsl:message>numberOfHiddenColumns: <xsl:value-of select="$numberOfHiddenColumns"/></xsl:message>
+            <xsl:call-template name="table-debug-allColumnStyleEntries">
+                <xsl:with-param name="allColumnStyleEntries" select="$allColumnStyleEntries"/>
+            </xsl:call-template>
+        </xsl:if>
+        <!--isDebugMode-END-->
+        <xsl:choose>
+            <xsl:when test="$outputType = 'WML'">
+                <!-- matching all rows - we can not use xsl:apply-template with a node-set parameter as by a bug in XT (James Clark)
+                     (here: allColumnStyleEntries) will be interpreted as a result tree fragment, where no search expression (XPath) can be used
+                     2DO:CHECK WITH XALAN-->
+                <xsl:for-each select="$allVisibleTableRows">
+                    <xsl:call-template name="wml-repeat-write-row">
+                        <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                        <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                        <xsl:with-param name="number-rows-repeated"     select="@table:number-rows-repeated"/>
+                        <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    </xsl:call-template>
+                </xsl:for-each>
+            </xsl:when>
+            <xsl:otherwise>
+                <!-- matching all rows - we can not use xsl:apply-template with a node-set parameter as by a bug in XT (James Clark)
+                     (here: allColumnStyleEntries) will be interpreted as a result tree fragment, where no search expression (XPath) can be used
+                     2DO:CHECK WITH XALAN -->
+                <xsl:for-each select="$allVisibleTableRows">
+                    <xsl:call-template name="repeat-write-row">
+                        <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                        <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                        <xsl:with-param name="number-rows-repeated"     select="@table:number-rows-repeated"/>
+                        <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    </xsl:call-template>
+                </xsl:for-each>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+
+
+    <!-- **************************** -->
+    <!-- *** HELPER: table border *** -->
+    <!-- **************************** -->
+
+    <!-- only one table border for HTML4 or CSS devices which contain one or more 'fo:border-top' attributes (pars pro toto, if one exist the other usually exist, too) -->
+    <!-- this was a work-around for the netscape 4.xx but not longer necessary for Mozilla -->
+    <xsl:template name="check-for-table-border">
+        <xsl:param name="allVisibleTableRows"/>
+
+        <xsl:variable name="startTime">
+            <xsl:if test="$isDebugMode and not($isJavaDisabled)">
+                <xsl:choose>
+                    <xsl:when test="function-available('system:current-time-millis')">
+                        <xsl:value-of select="system:current-time-millis()"/>
+                    </xsl:when>
+                    <xsl:when test="function-available('java:java.lang.System.currentTimeMillis')">
+                        <xsl:value-of select="java:java.lang.System.currentTimeMillis()"/>
+                    </xsl:when>
+                </xsl:choose>
+            </xsl:if>
+        </xsl:variable>
+
+        <!-- checks if one cell (table:table-cell) of the rows of this table (allVisibleTableRows) contains a border style (i.e. fo:border-top)
+             If only one single border element exist, the whole table will gets pre-defined borders (simple heuristic for better browser display) -->
+        <xsl:if test="$allVisibleTableRows/table:table-cell[@table:style-name=/*/*/style:style[style:properties/@fo:border-top]/@style:name]">
+            <xsl:attribute name="border">1</xsl:attribute>
+            <xsl:attribute name="bordercolor">#000000</xsl:attribute>
+            <xsl:attribute name="cellpadding">2</xsl:attribute>
+            <xsl:attribute name="cellspacing">0</xsl:attribute>
+            <xsl:attribute name="page-break-inside">page-break-inside:avoid</xsl:attribute>
+        </xsl:if>
+
+
+        <!-- check the time for borderchecking (debug)-->
+        <xsl:if test="$isDebugMode and not($isJavaDisabled)">
+            <xsl:variable name="endTime">
+                <xsl:choose>
+                    <xsl:when test="function-available('system:current-time-millis')">
+                        <xsl:value-of select="system:current-time-millis()"/>
+                    </xsl:when>
+                    <xsl:when test="function-available('java:java.lang.System.currentTimeMillis')">
+                        <xsl:value-of select="java:java.lang.System.currentTimeMillis()"/>
+                    </xsl:when>
+                </xsl:choose>
+            </xsl:variable>
+            <xsl:message>Time for checking BorderStyle: <xsl:value-of select="($endTime - $startTime)"/> ms</xsl:message>
+        </xsl:if>
+    </xsl:template>
+
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_cells.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_cells.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_cells.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,484 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+    <!-- *********************************** -->
+    <!-- *** write repeating table cells *** -->
+    <!-- *********************************** -->
+
+
+    <!-- matching cells to give out -> covered table cells are not written out -->
+    <xsl:template match="table:table-cell">
+        <xsl:param name="collectedGlobalData"/>
+        <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="maxRowLength"/>
+
+        <xsl:if test="$isDebugMode">
+            <xsl:message>
+--------------> table:table-cell has been entered with node value: <xsl:value-of select="."/></xsl:message>
+            <xsl:message>table:number-columns-repeated: -<xsl:value-of select="@table:number-columns-repeated"/>-</xsl:message>
+        </xsl:if>
+
+        <xsl:call-template name="create-column-position-variable">
+            <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+            <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+            <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+            <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+        </xsl:call-template>
+
+    </xsl:template>
+
+
+
+    <xsl:template name="create-column-position-variable">
+        <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="maxRowLength"/>
+
+        <!-- column position needed for styles, esp. for column-hidden-flag -->
+        <xsl:variable name="preceding-columns">
+            <xsl:for-each select="preceding-sibling::*">
+                <xsl:element name="quantity">
+                    <xsl:choose>
+                        <xsl:when test="string-length(@table:number-columns-repeated) = 0">1</xsl:when>
+                        <xsl:otherwise><xsl:value-of select="@table:number-columns-repeated"/></xsl:otherwise>
+                    </xsl:choose>
+                </xsl:element>
+            </xsl:for-each>
+        </xsl:variable>
+
+        <xsl:choose>
+            <xsl:when test="function-available('xt:node-set')">
+                <xsl:call-template name="create-table-cell">
+                    <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+                    <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                    <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    <xsl:with-param name="column-position"          select="sum(xt:node-set($preceding-columns)/quantity) + 1"/>
+                    <xsl:with-param name="collectedGlobalData"      select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="function-available('xalan:nodeset')">
+                <xsl:call-template name="create-table-cell">
+                    <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+                    <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                    <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    <xsl:with-param name="column-position"          select="sum(xalan:nodeset($preceding-columns)/quantity) + 1"/>
+                    <xsl:with-param name="collectedGlobalData"      select="$collectedGlobalData"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:element name="NodeSetFunctionNotAvailable"/>
+                <xsl:call-template name="create-table-cell"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <xsl:template name="create-table-cell">
+        <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="maxRowLength"/>
+        <xsl:param name="column-position"/>
+
+
+        <xsl:if test="$isDebugMode">
+            <xsl:message>NEW VALUE: column-position: -<xsl:value-of select="$column-position"/>-</xsl:message>
+        </xsl:if>
+
+
+        <!-- a hidden column will give out nothing -->
+        <xsl:if test="not($allColumnStyleEntries/column-style-entry[position() = $column-position]/@column-hidden-flag)">
+            <xsl:choose>
+                <!-- when the columns are not repeated the next column-positions raises up to 1, otherwise up to the amount of repeated columns -->
+                <xsl:when test="@table:number-columns-repeated">
+                    <!-- writes multiple entries of a cell -->
+                    <xsl:call-template name="repeat-write-cell">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                        <xsl:with-param name="column-position"          select="$column-position"/>
+                        <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                        <xsl:with-param name="number-columns-repeated"  select="@table:number-columns-repeated"/>
+                    </xsl:call-template>
+                </xsl:when>
+                <xsl:otherwise>
+                    <!-- writes an entry of a cell -->
+                    <xsl:call-template name="write-cell">
+                        <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                        <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                        <xsl:with-param name="column-position"          select="$column-position"/>
+                        <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    </xsl:call-template>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:if>
+
+    </xsl:template>
+
+
+
+    <xsl:template name="repeat-write-cell">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="column-position"/>
+        <xsl:param name="maxRowLength"/>
+        <xsl:param name="number-columns-repeated"/>
+
+        <xsl:choose>
+            <!-- 2DO: This is the current workaround against the background simulation by an 'endless' repeating cell -->
+            <xsl:when test="$number-columns-repeated > 1 and $maxRowLength > $column-position">
+
+                <xsl:if test="$isDebugMode">
+                    <xsl:message>+++++++++ starting cell writing +++++++++</xsl:message>
+                    <xsl:message>number-columns-repeated: -<xsl:value-of select="$number-columns-repeated"/>-</xsl:message>
+                    <xsl:message>maxRowLength: -<xsl:value-of select="$maxRowLength"/>-</xsl:message>
+                    <xsl:message>column-position: -<xsl:value-of select="$column-position"/>-</xsl:message>
+                </xsl:if>
+
+                <!-- writes an entry of a cell -->
+                <xsl:call-template name="write-cell">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                    <xsl:with-param name="column-position"          select="$column-position"/>
+                    <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                </xsl:call-template>
+                <!-- repeat calling this method until all elements written out -->
+                <xsl:if test="$isDebugMode">
+                    <xsl:message>+++++++++ cell repetition +++++++++</xsl:message>
+                </xsl:if>
+                <xsl:call-template name="repeat-write-cell">
+                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                    <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                    <xsl:with-param name="column-position"          select="$column-position + 1"/>
+                    <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    <xsl:with-param name="number-columns-repeated"  select="$number-columns-repeated - 1"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <!-- 2DO: This is the current workaround against the background simulation by an 'endless' repeating cell -->
+                <!--      When the maxRowLength is reached a last entry of a cell is written -->
+                <xsl:call-template name="write-cell">
+                    <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                    <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                    <xsl:with-param name="column-position"          select="$column-position"/>
+                    <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <xsl:template name="write-cell">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="column-position"/>
+        <xsl:param name="maxRowLength"/>
+
+
+        <xsl:if test="$isDebugMode">
+            <xsl:message>WriteTest -> If nothing between '-' write cell -<xsl:value-of select="$allColumnStyleEntries/column-style-entry[position() = $column-position]/@column-hidden-flag"/>-</xsl:message>
+        </xsl:if>
+
+            <xsl:if test="$allColumnStyleEntries/column-style-entry[position() = $column-position]/@column-hidden-flag">
+                <xsl:if test="$isDebugMode">
+                    <xsl:message>TABLE COLUMN is hidden!</xsl:message>
+                </xsl:if>
+            </xsl:if>
+
+        <xsl:choose>
+            <!-- a hidden column will give out nothing -->
+            <xsl:when test="$allColumnStyleEntries/column-style-entry[position() = $column-position]/@column-hidden-flag">
+                <xsl:if test="$isDebugMode">
+                    <xsl:message>TABLE COLUMN is hidden!</xsl:message>
+                </xsl:if>
+            </xsl:when>
+
+            <!-- NOT a hidden column -->
+            <xsl:otherwise>
+
+                <!-- a table is a table header, when it has a "table:table-header-rows" ancestor -->
+                <xsl:variable name="tableDataType">
+                    <xsl:choose>
+                        <xsl:when test="ancestor::table:table-header-rows">
+                            <xsl:text>th</xsl:text>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:text>td</xsl:text>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:variable>
+
+                <xsl:choose>
+                    <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+                    <xsl:when test="$outputType = 'CSS_HEADER'">
+                        <xsl:element name="{$tableDataType}">
+
+                            <xsl:if test="$isDebugMode">
+                                <xsl:message>
+*****************************************'<xsl:value-of select="$tableDataType"/>' element has been added!</xsl:message>
+                            </xsl:if>
+
+                            <xsl:if test="@table:number-columns-spanned">
+                                <xsl:attribute name="colspan">
+                                    <xsl:value-of select="@table:number-columns-spanned"/>
+                                </xsl:attribute>
+                            </xsl:if>
+                            <xsl:if test="@table:number-rows-spanned">
+                                <xsl:attribute name="rowspan">
+                                    <xsl:value-of select="@table:number-rows-spanned"/>
+                                </xsl:attribute>
+                            </xsl:if>
+
+
+
+                            <!-- *** the cell-style *** -->
+                            <!-- The cell style has no conclusion with the column style, so we switch the order/priorities due to browser issues
+
+                                The cell-style depends on two attributes:
+
+                                1) table:style-name - the style properties of cell. When they exist, a default alignement (cp. below) will be added for the
+                                                      case of no alignment in the style exist.
+
+                                2) table:value-type - the value type of the table-cell giving the default alignments.
+                                                      By default a string value is left aligned, all other are aligned:right.
+                            -->
+                            <xsl:choose>
+                                <xsl:when test="@table:style-name">
+                                    <xsl:attribute name="style">
+
+                                        <!-- CELL-STYLE: alignment by table:value-type (without existing table:style-name)-->
+                                        <xsl:variable name="cellStyle" select="$collectedGlobalData/allstyles/*[name()=current()/@table:style-name]"/>
+                                        <xsl:choose>
+                                            <xsl:when test="string-length($cellStyle) > 0 and not(contains($cellStyle, 'text-align'))">
+                                                <!-- CELL-STYLE: alignment by table:value-type -->
+                                                <!-- no alignment in the cell style, the alignment based on the table:value-type will be added -->
+                                                <xsl:choose>
+                                                    <xsl:when test="@table:value-type and not(@table:value-type = 'string')">
+                                                        <xsl:value-of select="concat($collectedGlobalData/allstyles/*[name()=current()/@table:style-name], 'text-align:right; ')"/>
+                                                    </xsl:when>
+                                                    <xsl:otherwise>
+                                                        <xsl:value-of select="concat($collectedGlobalData/allstyles/*[name()=current()/@table:style-name], 'text-align:left; ')"/>
+                                                    </xsl:otherwise>
+                                                </xsl:choose>
+                                            </xsl:when>
+                                            <xsl:otherwise>
+                                                <!-- CELL-STYLE: alignment by table:value-type -->
+                                                <!-- no CSS style properties exist, only alignment from the table:value-type will be used -->
+                                                <xsl:choose>
+                                                    <xsl:when test="@table:value-type and not(@table:value-type = 'string')">text-align:right; </xsl:when>
+                                                    <xsl:otherwise>text-align:left; </xsl:otherwise>
+                                                </xsl:choose>
+                                            </xsl:otherwise>
+                                        </xsl:choose>
+
+                                         <!-- column-style (disjunct of cell style -->
+                                         <!-- 2DO: only absolut styles are supported, relative styles (i.e. 'style:rel-column-width' e.g. with value "8933*" are ignored.
+                                              Issue: browsers (not sure if CSS) does not support the '*' relationship, only the '%', where the sum is always '100'!
+                                              For this, it is easier to work on with the absolute values, instead of calculating the values for 100% -->
+                                         <xsl:value-of select="$allColumnStyleEntries/column-style-entry[position()=$column-position]"/>
+                                    </xsl:attribute>
+                                    <!-- CELL-STYLE: table:style-name -->
+                                    <xsl:attribute name="class">
+                                        <xsl:value-of select="translate(@table:style-name, '. %()/\', '')"/>
+                                    </xsl:attribute>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <xsl:attribute name="style">
+                                        <!-- CELL-STYLE: alignment by table:value-type (without existing table:style-name)-->
+                                        <!-- no table:style-name exist, only alignment from the table:value-type will be used -->
+                                        <xsl:choose>
+                                            <xsl:when test="@table:value-type and not(@table:value-type = 'string')">
+                                                text-align:right;
+                                            </xsl:when>
+                                            <xsl:otherwise>
+                                                text-align:left;
+                                            </xsl:otherwise>
+                                        </xsl:choose>
+                                    </xsl:attribute>
+                                </xsl:otherwise>
+                            </xsl:choose>
+
+                            <xsl:choose>
+                                <!-- In case of no cell content a non-breakable space will be inserted
+                                     to make the browser show the table-cell grid -->
+                                <xsl:when test="not(child::text()) and not(child::*)">
+                                    <xsl:text> &#160;</xsl:text>
+                                </xsl:when>
+                                <xsl:otherwise>
+                                    <!-- *** the column-style *** -->
+                                    <!--  the column style has no conclusion with the cell style, so we switch the order/priorities due to browser issues-->
+                                    <xsl:element name="span">
+                                        <xsl:attribute name="class">
+                                            <xsl:value-of select="$allColumnStyleEntries/column-style-entry[position() = $column-position]/@style-name"/>
+                                        </xsl:attribute>
+                                        <xsl:apply-templates>
+                                            <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                        </xsl:apply-templates>
+                                    </xsl:element>
+                                </xsl:otherwise>
+                            </xsl:choose>
+                        </xsl:element>
+                    </xsl:when>
+
+                    <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+                    <xsl:when test="$outputType = 'CSS_INLINED'">
+                        <xsl:element name="{$tableDataType}">
+
+                            <xsl:if test="@table:number-columns-spanned">
+                                <xsl:attribute name="colspan">
+                                    <xsl:value-of select="@table:number-columns-spanned"/>
+                                </xsl:attribute>
+                            </xsl:if>
+                            <xsl:if test="@table:number-rows-spanned">
+                                <xsl:attribute name="rowspan">
+                                    <xsl:value-of select="@table:number-rows-spanned"/>
+                                </xsl:attribute>
+                            </xsl:if>
+
+                            <xsl:attribute name="style">
+                                <!-- cell-style -->
+                                <xsl:value-of select="$collectedGlobalData/allstyles/*[name()=current()/@table:style-name]"/>
+                                <!-- column-style -->
+                                <xsl:value-of select="$allColumnStyleEntries/column-style-entry[position()=$column-position]"/>
+                                <!-- TABLE:VALUE-TYPE - the value of a table-cell will be aligned left by default only exlicit non-string is aligned:right-->
+                                <xsl:choose>
+                                    <xsl:when test="@table:value-type and not(@table:value-type = 'string')">
+                                        <xsl:text>text-align:right;</xsl:text>
+                                    </xsl:when>
+                                    <xsl:otherwise>
+                                        <xsl:text>text-align:left;</xsl:text>
+                                    </xsl:otherwise>
+                                </xsl:choose>
+                            </xsl:attribute>
+
+                            <!-- &#160 is a non-breakable space, necessary to make to the browser show the table-cell grid -->
+                            <xsl:if test="not(child::text()) and not(child::*)"> &#160;</xsl:if>
+                            <xsl:apply-templates>
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:apply-templates>
+                        </xsl:element>
+                    </xsl:when>
+                    <!--+++++ PALM INLINED WAY  +++++-->
+                    <xsl:when test="$outputType = 'PALM'">
+                        <xsl:element name="{$tableDataType}">
+                            <xsl:if test="@table:number-columns-spanned">
+                                <xsl:attribute name="colspan">
+                                    <xsl:value-of select="@table:number-columns-spanned"/>
+                                </xsl:attribute>
+                            </xsl:if>
+
+                            <xsl:if test="@table:number-rows-spanned">
+                                <xsl:attribute name="rowspan">
+                                    <xsl:value-of select="@table:number-rows-spanned"/>
+                                </xsl:attribute>
+                            </xsl:if>
+                            <xsl:apply-templates>
+                                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                            </xsl:apply-templates>
+                        </xsl:element>
+                    </xsl:when>
+                    <!--+++++ WML WAY  +++++-->
+                    <xsl:when test="$outputType = 'WML'">
+                        <xsl:choose>
+                            <xsl:when test="not($allColumnStyleEntries/column-style-entry[last() = $column-position])">
+                                <xsl:apply-templates>
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:apply-templates>
+                                <xsl:text>, </xsl:text>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:apply-templates>
+                                    <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+                                </xsl:apply-templates>
+                                <xsl:text>; </xsl:text>
+                                <xsl:element name="br"/>
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:when>
+                </xsl:choose>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_cells.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_columns.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_columns.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_columns.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,215 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+    <!-- ******************************************** -->
+    <!-- *** Create table columns style variable  *** -->
+    <!-- ******************************************** -->
+
+    <xsl:template name="adding-column-styles-entries">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allTableColumns"/>
+
+        <xsl:for-each select="$allTableColumns">
+
+            <xsl:variable name="column-style-entry" select="$collectedGlobalData/allstyles/*[name() = translate(current()/@table:style-name, '. %()/\', '')]"/>
+            <xsl:choose>
+                <xsl:when test="not(@table:number-columns-repeated)">
+                    <!-- writes an entry of a column in the columns-variable -->
+                    <xsl:call-template name="adding-column-style-entry">
+                        <xsl:with-param name="column-style-entry" select="$column-style-entry"/>
+                    </xsl:call-template>
+                </xsl:when>
+                <!-- No higher repetition of cells greater than 4 for the last and second last column -->
+                <!-- a hack for the sample document 'Waehrungsumrechner.sxc having 230 repeated columns in the second last column -->
+                <!-- ??? <xsl:when test="(position() = last() or (position() = (last() - 1)) and @table:number-columns-repeated &lt; 5)"> ???-->
+                <xsl:when test="position() = last() or position() = (last() - 1)">
+                    <xsl:if test="@table:number-columns-repeated &lt; 5">
+                        <!-- writes an entry of a column in the columns-variable -->
+                        <xsl:call-template name="repeat-adding-column-style-entry">
+                            <xsl:with-param name="column-style-entry"       select="$column-style-entry"/>
+                            <xsl:with-param name="number-columns-repeated"  select="1"/>
+                        </xsl:call-template>
+                    </xsl:if>
+                </xsl:when>
+                <xsl:otherwise>
+                    <!-- repeated colums will be written explicit several times in the variable-->
+                    <xsl:call-template name="repeat-adding-column-style-entry">
+                        <xsl:with-param name="column-style-entry"           select="$column-style-entry"/>
+                        <xsl:with-param name="number-columns-repeated"      select="@table:number-columns-repeated"/>
+                    </xsl:call-template>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:for-each>
+     </xsl:template>
+
+
+    <!-- WRITES THE REPEATED COLUMN STYLE EXPLICIT AS AN ELEMENT IN THE COLUMNS-VARIABLE -->
+    <xsl:template name="repeat-adding-column-style-entry">
+        <xsl:param name="column-style-entry"/>
+        <xsl:param name="number-columns-repeated"/>
+
+        <xsl:choose>
+            <xsl:when test="$number-columns-repeated > 1">
+                <!-- writes an entry of a column in the columns-variable -->
+                <xsl:call-template name="adding-column-style-entry">
+                    <xsl:with-param name="column-style-entry"   select="$column-style-entry"/>
+                </xsl:call-template>
+                <!-- repeat calling this method until all elements written out -->
+                <xsl:call-template name="repeat-adding-column-style-entry">
+                    <xsl:with-param name="column-style-entry"       select="$column-style-entry"/>
+                    <xsl:with-param name="number-columns-repeated"  select="$number-columns-repeated - 1"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <!-- writes an entry of a column in the columns-variable -->
+                <xsl:call-template name="adding-column-style-entry">
+                    <xsl:with-param name="column-style-entry"   select="$column-style-entry"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+    <!-- THE COLUMN-STYLE WRITE-PATTERN FOR EACH COLUMN WRITTEN IN A VARIABLE -->
+    <xsl:template name="adding-column-style-entry">
+        <xsl:param name="column-style-entry"/>
+
+        <xsl:element name="column-style-entry">
+            <xsl:choose>
+                <xsl:when test="@table:visibility = 'collapse' or @table:visibility = 'filter'">
+                    <xsl:attribute name="column-hidden-flag">true</xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:variable  name="table:style-name"         select="translate(@table:style-name, '. %()/\', '')"/>
+                    <xsl:attribute name="style-name"><xsl:value-of select="$table:style-name"/></xsl:attribute>
+                    <xsl:value-of select="$column-style-entry"/>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:element>
+    </xsl:template>
+
+
+
+    <!--isDebugMode-START-->
+    <!-- giving out the 'allColumnStyle' variable:
+        For each 'column-style-entry' of the 'allColumnStyleEntries' variable the style-name is given out.
+        In case of 'column-hidden-flag' attribute the text 'Column is hidden is given out.-->
+    <xsl:template name="table-debug-allColumnStyleEntries">
+        <xsl:param name="allColumnStyleEntries"/>
+
+        <!-- debug output as table summary attribut in html -->
+        <xsl:attribute name="summary">
+            <xsl:call-template name="table-debug-column-out">
+                <xsl:with-param name="allColumnStyleEntries" select="$allColumnStyleEntries"/>
+            </xsl:call-template>
+        </xsl:attribute>
+        <!-- debug output to console -->
+        <xsl:message>
+            <xsl:call-template name="table-debug-column-out">
+                <xsl:with-param name="allColumnStyleEntries" select="$allColumnStyleEntries"/>
+            </xsl:call-template>
+        </xsl:message>
+    </xsl:template>
+
+
+    <xsl:template name="table-debug-column-out">
+        <xsl:param name="allColumnStyleEntries"/>
+            <xsl:text>
+            DebugInformation: For each 'column-style-entry' of the 'allColumnStyleEntries' variable the style-name is given out.
+                              In case of 'column-hidden-flag' attribute the text 'column is hidden' is given out.
+            </xsl:text>
+                <xsl:for-each select="$allColumnStyleEntries/column-style-entry">
+                <xsl:choose>
+                <xsl:when test="@column-hidden-flag">
+            <xsl:text>  </xsl:text><xsl:value-of select="@style-name"/><xsl:text>column is hidden</xsl:text><xsl:text>
+            </xsl:text>
+                </xsl:when>
+                <xsl:otherwise>
+            <xsl:text>  </xsl:text><xsl:value-of select="@style-name"/><xsl:text> = </xsl:text><xsl:value-of select="."/><xsl:text>
+            </xsl:text>
+                </xsl:otherwise>
+                </xsl:choose>
+                           </xsl:for-each>
+    </xsl:template>
+    <!--isDebugMode-END-->
+
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_columns.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_rows.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_rows.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_rows.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,177 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+
+    <!-- ********************************************* -->
+    <!-- *** write (explicit) repeating table rows *** -->
+    <!-- ********************************************* -->
+
+    <xsl:template name="repeat-write-row">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="number-rows-repeated" select="1"/>
+        <xsl:param name="maxRowLength"/>
+
+        <xsl:choose>
+            <!-- write an entry of a row and repeat calling this method until all elements are written out -->
+            <xsl:when test="$number-rows-repeated > 1 and (table:table-cell/text() or table:table-cell/*)">
+                <xsl:call-template name="write-row">
+                    <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                    <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                    <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                </xsl:call-template>
+
+                <!-- 2DO: take variable from the output of repeated write-row and iterate giving out the variable -->
+                <xsl:call-template name="repeat-write-row">
+                    <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                    <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                    <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    <xsl:with-param name="number-rows-repeated"     select="$number-rows-repeated - 1"/>
+                </xsl:call-template>
+            </xsl:when>
+            <!-- write a single entry of a row -->
+            <xsl:otherwise>
+                <xsl:call-template name="write-row">
+                    <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                    <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                    <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                </xsl:call-template>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+
+
+    <xsl:template name="write-row">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="maxRowLength"/>
+
+
+        <xsl:element name="tr">
+            <!-- writing the style of the row -->
+            <xsl:call-template name='add-style-properties'>
+                <xsl:with-param name="collectedGlobalData" select="$collectedGlobalData"/>
+            </xsl:call-template>
+
+            <xsl:if test="$isDebugMode">
+                <xsl:message>
+*************************'tr' element has been added!</xsl:message>
+            </xsl:if>
+
+            <xsl:apply-templates select="table:table-cell">
+                <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+            </xsl:apply-templates>
+
+        </xsl:element>
+    </xsl:template>
+
+
+    <!-- **************************** -->
+    <!-- *** HELPER: table styles *** -->
+    <!-- **************************** -->
+
+    <xsl:template name="add-style-properties">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="node-position"/>
+
+        <xsl:choose>
+            <!--+++++ CSS (CASCADING STLYE SHEET) HEADER STYLE WAY +++++-->
+            <xsl:when test="$outputType = 'CSS_HEADER'">
+                <xsl:attribute name="class">
+                    <xsl:value-of select="translate(@table:style-name, '. %()/\', '')"/>
+                </xsl:attribute>
+            </xsl:when>
+
+            <!--+++++ HTML 4.0 INLINED WAY  +++++-->
+            <xsl:when test="$outputType = 'CSS_INLINED'">
+                <xsl:attribute name="style">
+                    <xsl:value-of select="$collectedGlobalData/allstyles/*[name()=current()/@table:style-name]"/>
+                </xsl:attribute>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+</xsl:stylesheet>


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_rows.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_wml.xsl
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_wml.xsl	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_wml.xsl	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,163 @@
+<!--
+
+   The Contents of this file are made available subject to the terms of
+   either of the following licenses
+
+          - GNU Lesser General Public License Version 2.1
+          - Sun Industry Standards Source License Version 1.1
+
+   Sun Microsystems Inc., October, 2000
+
+   GNU Lesser General Public License Version 2.1
+   =============================================
+   Copyright 2000 by Sun Microsystems, Inc.
+   901 San Antonio Road, Palo Alto, CA 94303, USA
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License version 2.1, as published by the Free Software Foundation.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+   MA  02111-1307  USA
+
+
+   Sun Industry Standards Source License Version 1.1
+   =================================================
+   The contents of this file are subject to the Sun Industry Standards
+   Source License Version 1.1 (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.openoffice.org/license.html.
+
+   Software provided under this License is provided on an "AS IS" basis,
+   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+   See the License for the specific provisions governing your rights and
+   obligations concerning the Software.
+
+   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+   Copyright © 2002 by Sun Microsystems, Inc.
+
+   All Rights Reserved.
+
+   Contributor(s): _______________________________________
+
+-->
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:office="http://openoffice.org/2000/office"
+                xmlns:style="http://openoffice.org/2000/style"
+                xmlns:text="http://openoffice.org/2000/text"
+                xmlns:table="http://openoffice.org/2000/table"
+                xmlns:draw="http://openoffice.org/2000/drawing"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:number="http://openoffice.org/2000/datastyle"
+                xmlns:svg="http://www.w3.org/2000/svg"
+                xmlns:chart="http://openoffice.org/2000/chart"
+                xmlns:dr3d="http://openoffice.org/2000/dr3d"
+                xmlns:math="http://www.w3.org/1998/Math/MathML"
+                xmlns:form="http://openoffice.org/2000/form"
+                xmlns:script="http://openoffice.org/2000/script"
+                office:class="text"
+                office:version="1.0"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                xmlns:meta="http://openoffice.org/2000/meta"
+                xmlns:config="http://openoffice.org/2001/config"
+                xmlns:help="http://openoffice.org/2000/help"
+                xmlns:xt="http://www.jclark.com/xt"
+                xmlns:system="http://www.jclark.com/xt/java/java.lang.System"
+                xmlns:xalan="http://xml.apache.org/xalan"
+                xmlns:java="http://xml.apache.org/xslt/java"
+                exclude-result-prefixes="java">
+
+
+
+    <!-- *********************************** -->
+    <!-- *** build WML / WAP ASCII TABLE *** -->
+    <!-- *********************************** -->
+
+
+    <!--  templates from table.xsl has been dublicated for wml
+          instead a condition-check for every cell               -->
+
+
+    <!-- ********************************************* -->
+    <!-- *** write (explicit) repeating table rows *** -->
+    <!-- ********************************************* -->
+
+    <xsl:template name="wml-repeat-write-row">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="number-rows-repeated" select="1"/>
+        <xsl:param name="maxRowLength"/>
+
+        <!-- soffice bug workaround for not showing empty cell repeated multiple times [not(child::*)]-->
+        <xsl:if test="not(table:table-cell[last()=1])">
+            <xsl:choose>
+                <!-- write an entry of a row and repeat calling this method until all elements are written out -->
+                <xsl:when test="$number-rows-repeated > 1 and (table:table-cell/text() or table:table-cell/*)">
+                    <xsl:call-template name="wml-write-row">
+                        <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                        <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                        <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    </xsl:call-template>
+
+                    <xsl:call-template name="wml-repeat-write-row">
+                        <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                        <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                        <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                        <xsl:with-param name="number-rows-repeated"     select="$number-rows-repeated - 1"/>
+                    </xsl:call-template>
+                </xsl:when>
+                <!-- write an entry of a row -->
+                <xsl:otherwise>
+                    <xsl:call-template name="wml-write-row">
+                        <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                        <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                        <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    </xsl:call-template>
+                </xsl:otherwise>
+            </xsl:choose>
+       </xsl:if>
+    </xsl:template>
+
+
+
+    <xsl:template name="wml-write-row">
+        <xsl:param name="collectedGlobalData"/>
+        <xsl:param name="allColumnStyleEntries"/>
+        <xsl:param name="maxRowLength"/>
+
+        <xsl:choose>
+            <xsl:when test="ancestor::*[contains($wap-paragraph-elements-without-table-row, name())]">
+                <!-- the first cell of the row, as a row has only cells <!ELEMENT table:table-row %table-cells;> -->
+                <xsl:apply-templates select="table:table-cell">
+                    <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                    <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                    <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:element name="p">
+                    <!-- the first cell of the row, as a row has only cells <!ELEMENT table:table-row %table-cells;> -->
+                    <xsl:apply-templates select="table:table-cell">
+                        <xsl:with-param name="collectedGlobalData"       select="$collectedGlobalData"/>
+                        <xsl:with-param name="allColumnStyleEntries"    select="$allColumnStyleEntries"/>
+                        <xsl:with-param name="maxRowLength"             select="$maxRowLength"/>
+                    </xsl:apply-templates>
+                </xsl:element>
+            </xsl:otherwise>
+        </xsl:choose>
+
+    </xsl:template>
+</xsl:stylesheet>
+


Property changes on: zope-attachmentfield/branches/upstream/current/converters/OpenOffice/sx2ml/table_wml.xsl
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/RTF/win32/README.orig
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/RTF/win32/README.orig	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/RTF/win32/README.orig	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,26 @@
+Greetings,
+
+UnRTF is a moderately complicated converter from RTF to other
+formats, including HTML, LaTeX, text, and PostScript. Converting
+to HTML, it supports tables, fonts, colors, embedded images, 
+hyperlinks, paragraph alignment among other things. All other
+conversions are "alpha"--just begun.
+
+Compiling with GCC: type "make all", and assuming you have GCC
+and GNU make, it should compile without any warnings or errors 
+under Linux, BSD, and DOS (using DJGPP). Amiga/GCC users
+should utilize the build.amiga file. Please let me know of 
+any compilation problems.
+
+This program includes no warranty whatsoever. It is provided
+"AS IS". For more information please read the COPYING
+document, which should be included with the source code.
+It describes the GNU Public License, which covers UnRTF.
+
+Enjoy.
+
+Zachary Thayer Smith
+  tuorfa at yahoo.com
+
+22 Sept 01
+

Added: zope-attachmentfield/branches/upstream/current/converters/RTF/win32/readme.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/RTF/win32/readme.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/RTF/win32/readme.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,103 @@
+
+ GNU UnRTF (using Cygwin 1.3.10)          v.1.1           27 March 2002
+
+ Copyright (c) 2001 Zachary Thayer Smith
+
+ DESCRIPTION
+ -----------
+ GNU UnRTF is a moderately complicated converter from RTF to other 
+ formats, including HTML, LaTeX, text, and PostScript.  Converting 
+ to HTML, it supports tables, fonts, colors, embedded images, 
+ hyperlinks, paragraph alignment among other things.
+
+ We added some patches to both fix, err, bugs and to add further 
+ capabilities.  Our patches were applied to GNU UnRTF version 0.18.1 
+ and can be found on our web site (www.lymeware.com/download_fw.html).
+ 
+ Cygwin is an awesome (and huge) set of tools and a single dll, which 
+ allows a user trapped on a win32 machine access to most of the
+ GNU and open-source tools available to the rest of us Unix
+ developers.  RedHat provides this wonderful tool-set FREE of charge
+ and we heavily endorse it.  RedHat is also the source of RedHat Linux
+ and other wonderful goodies - check them out at sources.redhat.com.
+
+ THE LICENSE
+ -----------
+ We are hereby releasing this information and binary in to the public
+ domain, as much as we can.
+
+ Because we used the Cygwin development environment, and because
+ Cygwin uses all kinds of GNU code and products, we try to do the
+ right thing and include every possible license, including the 
+ non-restrictive ones.
+ 
+ The source for GNU UnRTF can be found at Zach Smith's site
+ (http://www.geocities.com/tuorfa/) and as of two days ago
+ was still available (don't forget, this is the "amazing land of
+ dissappearing hyper-links" Internet).
+
+ Please see http://sources.redhat.com/cygnus for the appropriate 
+ Cygwin  licensing terms and conditions and also visit 
+ http://www.gnu.org (for good measure) and familiarize yourself with 
+ the GPL in its many versions.
+
+
+ CONTENTS
+ --------
+ The zip file includes:
+
+ unrtf.exe:
+     This program REQUIRES the cygwin1.dll (version 1.3.10), which must
+     exist either in your local directory or in your PATH.
+     NOTE: Cygwin does NOT need to be installed for this executible
+     to work, if you have the necessary dll.
+
+ unrtf.1:
+     A "MAN" page for GNU UnRTF.  You can use the man command in 
+     Cygwin, if you installed it.
+
+ README.orig: Original UnRTF readme file.
+
+ unrtf.html: More documentation from the original source 
+     distribution.
+
+ readme.txt:
+     This file.
+
+
+ REQUIREMENTS
+ ------------
+ None, except a win32 machine/OS.
+
+
+ INSTALLATION
+ ------------
+ 1. Un-zip the unrtf_Win32 (Cygwin) binary release.  We would suggest using winzip (only cause we like it).
+
+ You did it.  Now the fun begins . . .
+
+
+ SUPPORT
+ -------
+ If you wish to report a problem with this binary release then please 
+ include  all of the following information in any bug report:
+
+    Cygwin.dll Version (we have only tested this release with 1.3.10)
+    Operating System Details
+    - OS Name, Version
+    - Hardware platform
+    Problem Description
+    - include steps that will reproduce the problem (if known)
+
+ You may report the, ahem, bug to Lymeware at: freeware at lymeware.com
+ but I'll warn you ahead of time - we only actively support Solaris
+ and Red Hat Linux environments.  Our capacity (inclination AND
+ resources) to support Cygwin is limited, to say the least.  If you
+ have a problem with other environments we strongly suggest reporting
+ the bug to Zach directly at tuorfa at yahoo.com
+
+ Happy un-RTF converting
+
+
+This document is Copyright (c) 2002 Lymeware Corporation
+ - please don't change it.   http://www.lymeware.com

Added: zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.1
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.1	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.1	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,72 @@
+.\" Copyright (C) Zachary Thayer Smith 2001
+.\"
+.\" This file may be copied under the conditions described
+.\" in the GNU GENERAL PUBLIC LICENSE, Version 2, June 1991
+.\" that should have been distributed together with this file.
+.\"
+.TH UNRTF "GNU UnRTF 0.18.1"
+.SH NAME
+UnRTF \- converts document in RTF format to other formats
+.SH SYNOPSIS
+.BI "unrtf [" options "] [" file... ]
+.br
+.sp
+Options: 
+.BI [\-\-nopict]
+.BI [\-\-html]
+.BI [\-\-text]
+.BI [\-\-vt]
+.BI [\-\-latex]
+.BI [\-\-ps]
+.BI [\-\-wpml]
+.BI [\-\-help]
+.BI [\-\-version]
+.br
+.SH DESCRIPTION
+The program
+.B unrtf
+is a converter from Rich Text Format (RTF) to a growing number
+of document formats. At present it supports
+Hypertext Markup Language (HTML), plain text, text with VT100 codes,
+LaTeX, and PostScript.
+All output formats except HTML are "alpha" i.e. limited and development
+has just begun.
+However with HTML, the program supports tables, fonts, embedded images,
+hyperlinks, and paragraph alignment. Font support includes
+face and size changes, as well as 
+typical attributes such as italic, bold, 
+underlining, strikethrough, smallcaps, allcaps, expand, compress
+and both foreground and background colors.
+Images are always stored to separate files in the current
+directory, or they can be ignored.
+.SH OPTIONS
+.TP
+\-\-nopict 
+disables the automatic storing of embedded pictures to
+the current directory.
+.TP
+\-\-html
+selects HTML output (default).
+.TP
+\-\-text
+selects plain ASCII text output.
+.TP
+\-\-vt
+selects text output with VT100 escape codes.
+.TP
+\-\-latex
+selects output of a LaTeX document.
+.TP
+\-\-ps
+selects PostScript output.
+.TP
+\-\-wpml
+selects WPML output.
+.TP
+\-\-version 
+prints the program version.
+.SH WEBSITE
+http://www.geocities.com/tuorfa
+.SH NOTES
+Mail corrections and additions to tuorfa at yahoo.com.
+Report bugs in the program to unrtf at gnu.ai.mit.edu.

Added: zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.html
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.html	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/RTF/win32/unrtf.html	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,371 @@
+<html>
+<head>
+<title>GNU UnRTF User's Manual</title>
+</head>
+<body>
+<big>
+<center>
+<big>
+<big>
+<b>
+GNU UnRTF User's Manual
+</br>
+</big>
+</b>
+For program version 0.18.1
+<br>
+</big>
+(A work in progress.)
+</center>
+<br>
+<br>
+
+</big>
+Copyright (C) 2001<br>
+by Zachary Thayer Smith.<br>
+All rights reserved.<br>
+
+<br>
+Document begun 18 Sept 01.
+<br>
+Last updated 02 Oct 01.
+</big>
+
+<h2>Preface</h2>
+
+Once upon a time, GNU UnRTF was a program that I wrote called
+"rtf2htm". This seemed too generic a name, since many free programs
+of varying quality exist with that name. So I finally settled on
+a new name, UnRTF. This name reflects a desire to convert <i>away</i>
+from the RTF format, to various other formats.
+When it came time to include the program into the GNU software suite, 
+the program name was changed to GNU UnRTF.
+
+This document is also provided AS-IS and without any warranty of any kind.
+
+The user shall utilize the program and/or this document
+at his or her own risk.
+
+<p>
+
+I am the primary engineer behind UnRTF, however I have
+received comments and bug reports from various people.
+These contributors are identified in the source code,
+when they desired to be mentioned.
+
+<h2>Program License</h2>
+
+<pre>
+<small>
+   UnRTF, a command-line program to convert RTF documents to other formats.
+   Copyright (C) 2000,2001 Zachary Thayer Smith
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+   The author is reachable by electronic mail at tuorfa at yahoo.com.
+</small>
+</pre>
+
+
+<h2>Introduction</h2>
+
+UnRTF is a program to convert RTF (Rich Text) documents to 
+other formats. At present, conversion to HTML is the most
+complete. I am presently adding LaTeX, plain text, 
+text with VT100 codes, and PostScript conversion.
+I will later add my own format, WPML (word processor markup language),
+to that list; that format is described at
+<a href=http://www.geocities.com/tuorfa/wpml.html>
+http://www.geocities.com/tuorfa/wpml.html</a>.
+
+<h2>Converting to HTML</h2>
+
+The program supports many features of the current RTF standard
+when converting to HTML.
+
+<h3>Character Attributes</h3>
+
+<table border=2>
+<tr> <th>Feature Name</th><th>Supported?</th></tr>
+<tr><td>Text font change</td><td>yes</td></tr>
+<tr><td>Text font sizes</td><td>yes</td></tr>
+<tr><td>Text bold, italic</td><td>yes</td></tr>
+<tr><td>Text single-underline</td><td>yes</td></tr>
+<tr><td>Other text underlining modes (double, dashed etc)</td><td>converted to basic underline</td></tr>
+<tr><td>Text shadow, outline, emboss, engrave</td><td>converted to bold or italic</td></tr>
+<tr><td>Text (single-line) strikethrough</td><td>yes</td></tr>
+<tr><td>Text double-strikethrough</td><td>converted to single-strikethrough</td></tr>
+<tr><td>Text all-caps</td><td>yes</td></tr>
+<tr><td>Text small-caps</td><td>yes</td></tr>
+<tr><td>Text superscript, subscript</td><td>yes</td></tr>
+<tr><td>Text expand/condense</td><td>yes (not all browsers supported)</td></tr>
+<tr><td>Text foreground color change</td><td>yes</td></tr>
+<tr><td>Text background color change</td><td>yes</td></tr>
+
+</table>
+
+<h3>Character Sets</h3>
+
+RTF supports at least four character sets, probably more. 
+These four are: ANSI, Macintosh(TM), PC codepage 437, and PC codepage 850.
+In order to be able to read each of these, a converter can use one
+of two strategies: either have conversion tables from each of
+these four to each potential output format, or convert from
+each of these four to an intermediate, and then have one conversion
+table from the intermediate to each output format. 
+The first approach requires 2<sup>n</sup> tables, whereas 
+the second requires 4+n tables where n is the number of output
+formats.
+Obviously the second approach is
+better, but implementing it requires research to find
+out what the maximal set of characters is. I haven't gotten around to
+that, so for the time being,
+UnRTF uses the first approach.
+In addition, existing open source software may already
+be available to perform such conversions based on a larger
+library of character sets. If so, it would be wiser to
+utilize an existing system such as that.
+
+<h3>Text Blocks</h3>
+
+<table border=2>
+<tr> <th>Feature Name</th><th>Supported?</th></tr>
+<tr><td>Tables</td><td>yes</td></tr>
+<tr><td>Table cell background patterns e.g. diagonal lines</td><td>no</td></tr>
+<tr><td>Paragraph left-align</td><td>yes</td></tr>
+<tr><td>Paragraph right-align</td><td>yes</td></tr>
+<tr><td>Paragraph centered</td><td>yes</td></tr>
+<tr><td>Paragraph justify</td><td>yes</td></tr>
+<tr><td>Paragraph center within table</td><td>buggy?</td></tr>
+</table>
+
+<h2>Converting to LaTeX</h2>
+
+LaTeX is a tricky format to convert to, for several reasons.
+It's a very specialized system of macros. One could argue that it
+would be easier to convert to raw TeX than bother with the
+idiosyncrices of LaTeX. It has its own character set and fonts. It has
+some commands which are unstable, such as <tt>\underline</tt>.
+Some commonplace items are not for use outside of equations,
+e.g. superscripting.  I've made an initial effort at getting
+the converter to work, with improvements later.
+
+<h3>Character Attributes</h3>
+
+<table border=2>
+<tr> <th>Feature Name</th><th>Supported?</th></tr>
+<tr><td>Text font change</td><td>not yet</td></tr>
+<tr><td>Text font sizes</td><td>yes</td></tr>
+<tr><td>Text bold, italic</td><td>yes</td></tr>
+<tr><td>Text single-underline</td><td>no</td></tr>
+<tr><td>Other text underlining modes (double, dashed etc)</td><td>no</td></tr>
+<tr><td>Text shadow, outline, emboss, engrave</td><td>no</td></tr>
+<tr><td>Text (single-line) strikethrough</td><td>no</td></tr>
+<tr><td>Text double-strikethrough</td><td>no</td></tr>
+<tr><td>Text all-caps</td><td>yes</td></tr>
+<tr><td>Text small-caps</td><td>yes</td></tr>
+<tr><td>Text superscript, subscript</td><td>yes</td></tr>
+<tr><td>Text expand/condense</td><td>no</td></tr>
+<tr><td>Text foreground color change</td><td>no</td></tr>
+<tr><td>Text background color change</td><td>no</td></tr>
+
+</table>
+
+<h3>Character Sets</h3>
+
+Under construction.
+
+<h3>Text Blocks</h3>
+
+<table border=2>
+<tr> <th>Feature Name</th><th>Supported?</th></tr>
+<tr><td>Tables</td><td>yes</td></tr>
+<tr><td>Table cell background patterns e.g. diagonal lines</td><td>no</td></tr>
+<tr><td>Paragraph left-align</td><td>yes?</td></tr>
+<tr><td>Paragraph right-align</td><td>no</td></tr>
+<tr><td>Paragraph centered</td><td>yes?</td></tr>
+<tr><td>Paragraph justify</td><td>yes</td></tr>
+<tr><td>Paragraph center within table</td><td>no</td></tr>
+</table>
+
+<h2>Converting to PostScript</h2>
+
+Converting to PostScript is a tricky because it is not actually
+a document format. PostScript is in fact a stack-based programming
+language that is executed in the printer.
+It lacks such concepts are paragraphs and tables or anything document-related
+really, but it does have drawing primitives, mechanisms for accessing
+built-in fonts, and can print pages.
+Still, at first it would that conversion to this format is a very large
+obstacle. Actually, PostScript
+is a robust and enjoyable programming language and I am enjoying
+the task of writing the PostScript code. Presently my
+text renderer is limited, since it is quite new. I will be improving it soon.
+
+
+<h3>Character Attributes</h3>
+
+<table border=2>
+<tr> <th>Feature Name</th><th>Supported?</th></tr>
+<tr><td>Text font change</td><td>not yet</td></tr>
+<tr><td>Text font sizes</td><td>yes</td></tr>
+<tr><td>Text bold, italic</td><td>yes</td></tr>
+<tr><td>Text single-underline</td><td>yes</td></tr>
+<tr><td>Other text underlining modes (double, dashed etc)</td><td>converted to basic underline</td></tr>
+<tr><td>Text shadow, outline, emboss, engrave</td><td>shadow only</td></tr>
+<tr><td>Text (single-line) strikethrough</td><td>yes</td></tr>
+<tr><td>Text double-strikethrough</td><td>converted to single-strikethrough</td></tr>
+<tr><td>Text all-caps</td><td>yes</td></tr>
+<tr><td>Text small-caps</td><td>not yet</td></tr>
+<tr><td>Text superscript, subscript</td><td>not yet</td></tr>
+<tr><td>Text expand/condense</td><td>yes<td></tr>
+<tr><td>Text foreground color change</td><td>not yet</td></tr>
+<tr><td>Text background color change</td><td>not yet</td></tr>
+
+</table>
+
+<h3>Character Sets</h3>
+
+Under construction.
+
+<h3>Text Blocks</h3>
+
+Paragraph alignment and tables are not yet supported for PostScript
+output.
+
+<h3>Extra Features</h3>
+
+None yet.
+
+<h2>Converting to Plain Text</h2>
+
+Under construction.
+
+<h2>Converting to Text with VT100 control codes</h2>
+
+Under construction.
+
+<h2>Converting to WPML</h2>
+
+Under construction.
+
+<h2>Features Not Yet Supported</h2>
+
+As development continues, I will try to add support
+for other features. Some that I know are not
+covered but that I would like to address include:
+
+<ul>
+<li>numbered lists and point lists
+<li>shapes (objects composed of lines, circles etc)
+<li>index entries and index generation
+<li>tables of contents entries and generation
+<li>automatic conversion of embedded images to PNG
+</ul>
+
+
+<h2>Using UnRTF</h2>
+
+Please refer to the manual page (unrtf.1).
+
+<h2>Compilation</h2>
+
+Please see the README file.
+
+<h2>Theory of Operation</h2>
+
+This  program essentially reads the entire
+RTF file into memory and works on it.
+Because of this, it may require that you run
+the program on a computer that has virtual 
+memory enabled. With smaller input files
+it should be possible to use the program under DOS,
+so long as it is compiled with the
+DOS version of GCC, called DJGPP. 
+
+<p>
+The program operates by dealing with each
+RTF word in order, and interpreting those
+which are commands. Some RTF command words
+have parameters in a subtree. The command
+\info is an example. The program has separate
+routines to handle such cases. In fact,
+most commands have separate functions which
+handle their execution.
+
+<p>
+When the program was called rtf2htm (up through
+version 0.17 or so), the output mechanism was 
+based on the production of HTML exclusively.
+This has now changed, and the abstraction of an
+OutputPersonality is used allow other output
+formats. Each format has its own C file,
+in which all the basic strings for producing
+text are stored, as well as character conversion
+tables. Note, RTF itself allows several character
+sets to be used, so for each output personality
+there are that many conversion tables.
+
+<p>
+One or two things that UnRTF does are fairly
+tricky, such as the conversion of tabular data.
+RTF encodes tables in an odd way compared
+to HTML or LaTeX, so the code is accordingly
+complicated. Suffice it to say that it works,
+so don't touch it. Do note, PostScript does not
+have concept of a table, since it is not
+a document format but a programming language.
+I will eventually get tables working under PS
+anyway, by porting my table rendering code
+over from my HTML viewer, Beest.
+
+<p>
+I have implemented at least three optimizations to 
+reduce the amount of memory required
+by the program and the time used for the conversion.
+
+<ol>
+<li>Text words and RTF command-words are stored in a 
+hash table. This has the effect of saving memory
+since commonly occurring words such as "the" and "\par"
+are not repeated in memory. When the program
+finishes doing the conversion, it reports the
+number of words hashed.
+<li>RTF command-words and pointers to the functions 
+that interpret them are stored in a static hash
+so that execution can be speedy. This replaces the
+long if-else sequence once used and greatly speeds
+up the program.
+<li>Input data are buffered, to eliminate the large
+number of calls to the fgetc function. In a modern
+OS such as Linux this has only a small impact, but
+under DOS it can really help.
+</ol>
+
+<h2>Notes</h2>
+
+<ol>
+<li>
+LaTeX is a system of macros for TeX originated by Leslie Lamport
+<li>
+WPML is a tentative document format by Zachary Thayer Smith
+<li>
+PostScript is a stack-based programming language for printers.
+</ol>
+
+</body>
+</html>
+
+

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/ANNOUNCE
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/ANNOUNCE	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/ANNOUNCE	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,33 @@
+Subject: ANNOUNCE: Xpdf 3.00 - a PDF viewer for X
+
+
+Glyph & Cog, LLC is pleased to announce a new version of Xpdf, the
+open source Portable Document Format (PDF) viewer for X.  The Xpdf
+project also includes a PDF text extractor, PDF-to-PostScript
+converter, and various other utilities.
+
+Xpdf runs under the X Window System on Unix, VMS, and OS/2.  The non-X
+components (pdftops, pdftotext, etc.) also run on Win32 systems and
+should run on pretty much any system with a decent C++ compiler.
+
+Major changes:
+* New PDF rasterizer ("Splash").
+* Added support for PDF 1.5.
+* Replaced pdftopbm with pdftoppm (which can generate PBM, PGM, and PPM
+  files).
+
+See the `CHANGES' file for a complete list of changes.
+
+Source (C++ and C) is available, and it should be fairly easy to
+compile for UNIX, VMS, OS/2, and Win32.
+
+More information, source code, and precompiled binaries are on the
+xpdf web page and ftp site:
+
+    http://www.foolabs.com/xpdf/
+    ftp://ftp.foolabs.com/pub/xpdf/
+
+For information on commercial licensing and consulting, please see the
+Glyph & Cog web site:
+
+    http://www.glyphandcog.com/


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/ANNOUNCE
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/CHANGES
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/CHANGES	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/CHANGES	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,1565 @@
+0.2 (95-dec-12)
+---------------
+First public release.
+
+
+0.3 (96-jan-13)
+---------------
+LZW patent workaround.
+Implemented inline images.
+Fixed (mostly) disjoint polygon fills.
+Added remote server stuff.
+Added page number on command line.
+Fixed problem with font encodings which caused character misalignment.
+Fixed inverted CCITT decoding and inverted image mask drawing.
+Now compiles under gcc 2.7.x (ignore those stupid 'unused parameter'
+  warnings).
+Many minor bug fixes and optimizations.
+
+
+0.4 (96-apr-24)
+---------------
+Implemented DCT filter.
+Implemented PostScript output; wrote pdftops program.
+Implemented links.
+Implemented font rotation -- I was wrong: X11R6 servers *do* support
+  font rotation (by specifying a matrix in place of a size).
+Added bindings for Home/End, Page Up/Down, arrow keys.
+Added initialZoom resource and -z option.
+Added geometry resource and -g option.
+Fixed image size off-by-one bug.
+Fixed bug where page content is reference to an array of streams.
+Cleaned up uninitialized variables which were causing random problems
+  on various platforms.
+Manually skip whitespace before calling atoi() for startxref.
+Replaced calls to XrmCombineFileDatabase() with calls to
+  XrmGetFileDatabase() and XrmMergeDatabases() so it will work under
+  older versions of X.
+Fixed problem with reading multiple xref tables in updated PDF files.
+Check for encryption and print appropriate error message.
+Rudimentary dithering of images.
+Fixed bug in CCITTFax filter (pass mode followed by horizontal mode).
+Optimized drawImage() and drawImageMask().
+Changed several things to ease porting:
+  - changed '__inline' to 'inline' (to adhere to the ANSI standard)
+  - surrounded interface/implementation pragmas with #ifdef _GNUC__
+  - got rid of empty array initializer lists
+  - moved Operator type definition from Gfx.cc to Gfx.h
+  - renamed String, uint, etc.
+  - ability to uncompress to file (NO_POPEN and USE_GZIP flags)
+  - added definitions of XK_Page_Up/Down and XPointer for old versions
+    of X
+For VMS port:
+  - use correct Xdefaults name for VMS, get rid of ltkGetHomeDir()
+  - added '#include <stddef.h>' before all X includes
+  - renamed files with multiple periods in their names
+Fixed window resizing infinite oscillation bug.
+Fixed problem with string-type (as opposed to stream-type) indexed
+  color space lookup tables (which are used in inline images).
+If an X font is not found, try smaller and then larger sizes (this is
+  useful for old or broken X servers which can't scale bitmap fonts).
+Added -rgb (color cube size) option.
+Various minor bug fixes.
+
+
+0.5 (96-may-23)
+---------------
+Fixed bug in LTKWindow which broke the remote server mode.
+Fixed PostScript output:
+  - doesn't seg fault if file is unwritable.
+  - incorrect DSC comment - need colon in '%%Page:'.
+  - use 'imagemask' command for masks.
+  - output filters in the correct order.
+  - Stream::isBinary() checks the next-to-bottom, not top, stream.
+  - if page width > height, rotate it 90 degrees.
+  - if page is larger than paper size, scale it down.
+Set default MediaBox to 8.5" x 11" to deal with non-compliant PDF
+  files which don't specify a MediaBox.
+Added DEBUG_MEM stuff in gmem.c and gmempp.cc.
+Fixed memory leaks:
+  - LTKWindow didn't delete the LTKBox.
+  - LinkAction needs a virtual destructor.
+Use $(RANLIB) variable in goo/Makefile and ltk/Makefile.
+Allocate image data after calling XCreateImage, using
+  image->bytes_per_line -- works in 24-bit mode now.
+DCTStream rounds width of rowBuf lines up to the next multiple of
+  mcuWidth, so last MCU doesn't run off end of buffer.
+Increase size of block (from 255 to 1024 bytes) read at end of file to
+  search for 'startxref'.
+Skip past garbage at start of file, look for '%PDF'.
+Moved more compiler options out of Makefiles into Makefile.config.
+Top-level Makefile uses '$(MAKE)' instead of 'make' for making
+  subdirectories.
+Space/PageDown/Next and Backspace/PageUp/Previous now moves to
+  next/previous page if already scrolled to bottom/top of current
+  page.
+
+
+0.5a (96-jul-09)
+----------------
+[not a public release]
+For PDF 1.2 (a.k.a. Amber, a.k.a. Acrobat 3) support:
+  - look for trailer after first xref instead of at end of file.
+Deal with font subsets by converting character names of the form
+  'Cnnnn' to the appropriate character from the standard encoding.
+Extract encoding from embedded Type 1 fonts.
+Kludge to fill one-pixel thick polygons.
+Changed X font encoding to use endash for hyphen (gets rid of too-long
+  hyphens).
+Handle Resources key in Pages dictionaries (needed for pstoedit
+  output).
+Fix comment handling in Parser (needed for pstoedit output).
+Move Bezier curve conversion from GfxState to XOutputDev; look at
+  flatness parameter in GfxState.
+Change all of the path functions in XOutputDev (stroke, fill, clip) to
+  use the same path transformation/conversion function.
+Rewrote PostScript output driver as a subclass of OutputDev; removed
+  duplicated code (ps_ functions) from Gfx.
+Fixed bug in xref code with small (< 1024 bytes) PDF files.
+Implemented BX/EX operators.
+Added PDFDoc class.
+
+
+0.6 (96-nov-12)
+---------------
+Add support for PostScript output to stdout (-) and to a command
+  (|lpr); added -ps option and psFile resource.
+Decryption is implemented but not included in the distribution due to
+  legal restrictions: the decryption algorithm is a trade secret of
+  RSA, Inc., and the U.S.A. still has bogus export controls on
+  cryptography software.
+Added .xpdfrc config file:
+  - Added fontmap parameter: user can map PDF font names to X fonts.
+  - Added fontpath parameter: search for Type 1 font if encoding is
+    not in PDF file.
+Incremental display: display is updated after every 200 commands.
+Added forward and backward by-10-page buttons.
+Links:
+  - Implement links with "Launch" actions that point to PDF files.
+  - Draw borders around links.
+  - Handle links with named destinations.
+  - GoToR links specify a page number instead of a page reference.
+Optimizations:
+  - Rewrote Stream to use buffering, and added lookChar() functions;
+    rewrote Lexer to take advantage of this.
+  - Use hash tables for name->code mapping in font encodings.
+  - Made XOutputDev::doCurve() iterative, changed /2 to *0.5, and
+    changed the flatness test.
+Added file name to window title.
+Implemented RunLength filter.
+Implemented forms.
+Convert ObjType to an enum.
+Changed isDict("Pages") to isDict() (in Catalog.cc) to deal with
+  incorrect PDF files.
+Changed color selection so that very pale colors don't map to white.
+Fixed bug in CCITTFax filter (multiple make-up codes).
+In GString::clear(): need to set length to 0 before calling resize().
+Base initial window size on first displayed page, not page 1; deal
+  correctly with rotated pages.
+Added ltkGetIntResource() and LTKApp::getIntResource().
+PostScript output fixes:
+  - Escape backslashes in strings.
+  - When doing ASCII85 encoding, keep both chars of EOF marker ('~>')
+    on same line.
+  - Add extra line '%-EOD-' after image data streams; call wrapper
+    functions for image and imagemask which look for this line -- this
+    should fix the 'too much data in stream' bug.
+  - Font tags can be reused for different fonts on different pages --
+    so use font object reference (number/generation) instead.
+Initialize character widths to zero (this caused crashes on OSF/1).
+Handle image masks which go outside of pixmap.
+Makefile.config changes:
+  - Remove -o in C++ compile rule.
+  - Add $(AR) variable.
+Code which read char widths from font dictionary read all but the last
+  width.
+Add 'return 0;' to main() in xpdf and pdftops.
+Allow fonts to use StandardEncoding.
+Convert man pages to VMS help files.
+
+0.7 (97-may-28)
+---------------
+Implemented FlateDecode filter (for PDF 1.2).
+Basic xref table reconstruction for damaged files
+New pdftotext program converts PDF to plain text.
+Implemented menus in LTK; added a menu to xpdf.
+Added open and save functions; allow xpdf to start without any PDF
+  file.
+Implemented text find.
+Implemented text select/copy.
+Change mouse cursor when it's over a link.
+Embed Type 1 fonts in PostScript output.
+Moved rotate functions to menu; added quit to menu.
+Fixed stroke color bug in PostScript output (was using fill color
+  instead of stroke color; this sometimes caused lines to be missing
+  (white) in PostScript output).
+Support Launch-type links -- pops up a dialog before executing
+  anything.  Expects the A (action) dictionary to contain a Unix
+  dictionary with F (file) and P (paremeter) keys just like the Win
+  dictionary.
+A moveto op all by itself should just be discarded, instead of
+  generating a subpath with one point (this was causing seg faults).
+Balanced parentheses in strings don't need to be escaped.
+Tj operator in PostScript prolog didn't check for zero when dividing
+  by length of string.
+Implemented selection in LTK; TextIn widgets support dragging/copy/
+  paste.
+Handle font subsets that use hex character codes.
+Added icon pixmap; added the XPMLIB and NO_XPM variables to
+  Makefile.config.
+Fixed subtle bug in use of horizontal scaling parameter (it affects
+  only the width of drawn characters, not positioning done in text
+  space).
+Memory testing (with DEBUG_MEM):
+  - gmalloc now fills memory blocks with garbage to catch unitialized
+    fields.
+  - gfree fills memory blocks with garbage to catch uses of freed
+    blocks.
+Handle image masks which go off the pixmap on the top and/or left.
+Fixed inline functions which had two return statements (to make the
+  HP, SCO, and other cfront-based compilers happy).
+Fixed bug which caused seg faults when following a link to a different
+  file (info in LinkGoto object was used after link was deleted by
+  loadFile).
+If page content is an array of streams, the streams are concatenated;
+  objects and commands can span multiple streams.
+If file open fails, try lower-casing and upper-casing the file name.
+Commands should end when lexer sees a '/' character.
+GString::append(char *, int) was broken.
+Changed LTKScrollingCanvas redraw to be more efficient: copy as much
+  as possible from window before copying from off-screen pixmap.
+Ignore gs (set extended graphics state) operator.
+Handle colorspaces (CalGray/RGB are treated as DeviceGray/RGB; the
+  weird colorspaces are not yet implemented).
+Named destinations (for links) can be strings as well as names; deal
+  with the names tree in the catalog.
+Clip to the page CropBox.
+Added '-q' to gzip options (to suppress warnings, in case user has -v
+  in GZIP env var).
+Added 'include Makefile.config' to top-level Makefile.
+Added INSTALL variable to Makefile.config; used in top-level
+  Makefile.
+Always initialize LinkDest left/bottom/top/right/zoom fields (bogus
+  floating point values were causing crashes on Alpha).
+Added Makefile.config options for Digital Unix (DEC compilers), HP-UX
+  (HP compilers), SCO Unix, and Evans & Sutherland ES/OS.
+Added flag to set stream mode in fopen call for VMS.
+Rewrote Link module.
+Pages with no contents shouldn't cause an error message.
+In PostScript output: pdfImM needs to set fill color before doing
+  imagemask.
+If font doesn't specify character widths, use widths from built-in
+  font, based on font flags.
+Fixed LTK scrollbar to delay before repeating and to control the
+  period between repeats.
+Removed window/widget copy() methods (they were untested and unused).
+Unknown filter types produce a single error message instead of a
+  stream of errors.
+Added a dummy target in top-level Makefile so making individual
+  executables (e.g., 'make pdftops') should now work.
+Added optional xpdf-flip.ltk with buttons on right side instead of
+  bottom of window.
+
+0.7a (98-feb-22)
+----------------
+Moved find command from menu to toolbar button ('f' key still works).
+Support TrueColor visuals.
+Added a -cmap option and a installCmap resource to install a private
+  colormap.
+Mouse button 2 pans the window.
+Selecting a URI link now executes a configurable command (from the
+  urlCommand resource).
+Added a "link info" display which shows the URL or file for the link
+  under the mouse.
+Don't draw (or convert to PostScript) text drawn in render modes 3 and
+  7 -- this is invisible text, used by Acrobat Capture; this text is
+  still passed to the TextPage object so that selection works.
+Recognize (and quietly ignore) marked content operators (BMC, BDC,
+  EMC, MP, DP).
+Recognize new color-setting operators (scn, SCN).
+Added A4_PAPER option.
+Embed external Type 1 font files (this currently only works with PFA
+  files).
+Added "-level1" option (in xpdf and pdftops) to generate Level 1
+  PostScript.
+Setup autoconf -- replaced Makefile.config.  Added SELECT_TAKES_INT
+  flag, and use configure to autodetect (for HP-UX).
+Fixed appendToPath() to behave reasonably when appending ".." to root
+  directory.
+Fixed array size in FlateStream::compHuffmanCodes() (was causing xpdf
+  to crash under OSF/1).
+ASCII85Stream, ASCIIHexStream, and DCTStream didn't check for EOF and
+  could run past the end of the stream in damaged files.
+Handle hex escapes (#xx) in names.  Still allow the name /# for
+  backward-compatibility.
+Check for NULL characters in encoding array in GfxFont.cc (was calling
+  strcmp() with NULL which crashed under Solaris).
+PageAttrs::PageAttrs() didn't initialize crop box boundaries.
+Changed uses of lookup() to lookupNF() in XRef.cc.
+Fixed type checking of operators which take a variable number of
+  args.
+Gfx::buildImageStream() doesn't need to check for parser (since I got
+  rid of the bogus array-of-command thing).
+XOutputFont matches on font reference instead of font tag (similar to
+  PSOutputDev fix).
+Fixed bug in position calculation for multi-char substitutions in
+  XOutputDev.
+Cleaned up local variables which hid class variables.
+Optimized variable length decoding in CCITTFaxStream.
+Set link border width to zero if Border dictionary entry is missing.
+Throw away zero-length strings in TextOutputDev -- they don't have
+  valid xMin/xMax values.
+Swapped order of XLIBS and XPMLIB in xpdf/Makefile.
+Deleted 'LTKApp::' in function declaration in LTKApp.h.
+Changed '(XKeyEvent *)&event' to '&event.xkey' in LTKApp.cc.
+Check that the link rectangle coordinates are in the correct order,
+  and swap if necessary.
+TextOutputDev didn't set text to NULL, which caused pdftotext to
+  segfault if it couldn't open it's output file.
+Fixed a hash table search bug in GfxFontEncoding::getCharCode().
+Cleaned up colorspace code: rewrote GfxColorSpace and added
+  GfxImageColorMap; cleaned up PSOutputDev::doImage.
+Handle named colorspaces in images.
+Correctly set the default color after a colorspace change.
+Old setcolor operators now set the colorspace.
+Fixed bug with uncompressed blocks in FlateStream.
+Fixed bug with fixed Huffman code table in FlateStream.
+Added hash table of X windows (for LTKWindow and LTKWidget) to LTKApp
+  and replaced calls to XQueryTree with hash table searches -- this
+  avoids a roundtrip to the server for each event and also fixes the
+  problem where XQueryTree crashed if the window no longer existed
+  (with leftover events from a destroyed window).  (Thanks to Yair
+  Lenga for the suggestion.)
+Create a new GC for selection -- xor black and white (instead of LTK
+  foreground and background).
+Fixed crash with blank lines in .xpdfrc.
+Allow spaces in font descriptors in fontmap lines in .xpdfrc.
+Check for bogus object number in XRef::fetch().
+Use MacRomanEncoding for TrueType fonts that don't specify an
+  encoding.
+Certain PDF generators apparently don't include FontDescriptors for
+  Arial, TimesNewRoman, and CourierNew -- set GfxFont flags
+  appropriately.
+Fixed a bug in width guessing in GfxFont -- sans serif and serif were
+  swapped.
+Rewrote XRef::readXRef() to avoid using a parser to read the xref
+  entries.
+Added NO_TEXT_SELECT option.
+Ignore APPn/COM/etc. markers in DCT streams.
+Replaced select() with XMultiplexInput() in LTKApp.cc for VMS.
+Handle WM_DELETE_WINDOW protocol -- if you ask the window manager to
+  delete the xpdf window, xpdf will exit cleanly; other
+  windows/dialogs are simply closed.
+Optimized DCT decoder; switched to integer arithmetic.
+The "/Type /Annots" field in an annotation dictionary is optional.
+Check for null nameTree in Catalog::findDest().
+In XOutputDev, search user font map before default font map.
+Added "normal" SETWIDTH parameter to all font descriptors in
+  XOutputDev (some systems have a narrow-width Helvetica font).
+Added FOPEN_READ_BIN and FOPEN_WRITE_BIN to support Win32.
+Added a hack which allows better font substitution for some Type 3
+  fonts.  Also allow character names of the form /nn and /nnn.
+Added <strings.h> and <bstring.h> to LTKApp.cc (needed by AIX and IRIX
+  for bzero() declaration for FD_ZERO).
+
+0.80 (98-nov-27)
+----------------
+Support for some Japanese fonts (Type 0 fonts using the Adobe-Japan1-2
+  character collection, horizontal only).
+Added pdfinfo application.
+Added pdftopbm application.
+Added pdfimages application.
+Added -papercolor option and .paperColor resource.
+Fixed divide-by-zero problem in XOutputDev Type 3 font matrix kludge.
+Font subset char names can be 'Bxx' as well as 'Cxx' and 'Gxx'.
+Fixed bug in color space conversion in DCTStream filter (YCC->RGB was
+  correct, YCCK->CMYK was broken).
+Added XRef::getDocInfo() and PDFDoc::getDocInfo() to support pdfinfo.
+Optimized GfxImageColorMap.
+Lexer::getStream(), getPos(), and setPos() check for null stream.
+Decryption code now does strings as well as streams.
+ASCII85 decoder rounds short tuples up instead of down.
+CropBox and MediaBox can be non-integers.
+PostScript output:
+  - Use a rectangle operator.
+  - Call setpagedevice with page size.
+  - Insert %%PageOrientation comments.
+  - Add paper size flags (-paperw and -paperh) to xpdf and pdftops.
+  - If HAVE_POPEN is not defined, and user tries to print to '|...',
+    the PSOutputDev destructor tried to write to the PS file.
+  - Added support for forms (pdftops -form).
+Removed error messages for empty paths in stroke, fill, etc. operators.
+Don't allow flatnesses less than 1 in XOutputDev (this speeds up
+  rendering a little bit when there are lots of tiny curves).
+Moved the font subset character name guessing from GfxFont to
+  XOutputDev and TextOutputDev - now these files print correctly.
+Cast argument to XFree() to XPointer; add XPointer definition where
+  necessary (portability fixes).
+Various minor VMS fixes.
+Changes to configure script and Makefiles:
+  - Print a warning if X is missing.
+  - Use C++ when checking select() argument type (HP-UX).
+  - Use 0 instead of NULL when checking select().
+  - Default to gcc instead of c++.
+  - Get rid of AC_C_INLINE -- this is meant for C, not C++.
+  - Changed -USE_GZIP to -DUSE_GZIP.
+  - Added ability to compile ouside of the source tree.
+  - Added .cc.o rule to {goo,ltk,xpdf}/Makefile.in.
+  - Added @LIBS@ to XLIBS in xpdf/Makefile.in.
+  - In top-level Makefile.in: added '-' to clean commands; added
+    distclean rule.
+  - Create install directories.
+  - Use INSTALL_DATA (instead of INSTALL) for man pages.
+  - Changed xpdf-ltk.h rule to avoid leaving an empty file when
+    ltkbuild fails.
+  - Change things so that by default, ltkbuild is not built and
+    xpdf-ltk.h is not rebuilt.
+  - Use AM_PROG_CC_STDC to add compiler flags for ANSI C.
+  - Modify autoconf's builtin macros to check for xlC.
+  - Use Steve Robbins' smr_CHECK_LIB to test for pixmap library (Xpm)
+    -- this should fix the problems on systems that have the library
+    but not the include file.
+  - Added better test for sys/select.h, sys/bsdtypes.h, strings.h,
+    bstring.h.
+  - New VMS make scripts from Martin P.J. Zinser.
+  - Moved dependences into Makefile.in -- this gets rid of problems
+    with 'cc -MM' (which is gcc-specific) and 'include Makefile.dep'
+    (which isn't supported by all make implementations).  Also changed
+    all non-system include files to '#include "..."' (from '<...>').
+Tweaked the TextOutputDev heuristics slightly.
+Modify Gfx to use a stack of resources -- this is necessary for Form
+  XObjects, which can define their own local resources; also modified
+  PSOutputDev to dump fonts used by forms.
+Look for excessively large MediaBox (compared to CropBox) and shrink
+  it to CropBox.
+Minor fix to scrolling when dragging a selection.
+Various patches for pdftex and Win32 support.
+Deal with Separation colorspaces by using their alternate colorspace
+  entry.
+Added PBMOutputDev for pdftopbm application.
+Added ImageOutputDev for pdfimages application.
+Separated XOutputDev into LTKOutputDev + XOutputDev.
+Added support for 1-D and mixed 1-D/2-D (Group 3) decoding to
+  CCITTDecode filter.
+Added resetImage(), getImagePixel(), and skipImageLine() to Stream
+  class; used these in XOutputDev, PSOutputDev, and ImageOutputDev.
+Implemented predictor for LZW and Flate filters.
+In pdfImM1 in PSOutputDev prolog: div should be idiv.
+Changed output from printUsage() function in parseargs to look nicer.
+
+0.90 (99-aug-02)
+----------------
+Added Type 1/1C font rendering, using t1lib.
+Added "backward" and "forward" buttons.
+Added fit-page and fit-page-width zoom factors; replaced zoom-in and
+  zoom-out buttons with a zoom popup menu.
+Type 1C fonts are converted to Type 1 and embedded in PostScript.
+Support vertical Japanese text.
+Added Japanese text support (EUC-JP) to pdftotext.
+Bumped PDF version to 1.3.  Added stub functions for ri and sh
+  operators. (But there are still some missing 1.3 features.)
+Added -raw option to pdftotext.
+Minor changes to allow compiling under MS Visual C++ 5.0.
+Top-level makefile: changed 'mkdir -p' to '-mkdir -p'.
+Configure script: added X_CFLAGS to smr_CHECK_LIB(Xpm).
+Added Xpm_CFLAGS to xpdf/Makefile.in (this is needed to get the -I for
+  the xpm includes).
+Rewrote code that handles font encodings; added support for Type 1C
+  fonts.
+In the setpagedevice dictionary in PostScript output - added a
+  /Policies entry which tells the PS interpreter to scale the page to
+  fit the available paper.
+Changed PageUp behavior slightly: move to bottom (instead of top) of
+  previous page.
+TextPage used character's dx (width + char space) instead of just its
+  width.
+Read base URI from document Catalog (for URI-type links).
+Minor change to configure script to avoid using 'unset'.
+Fixed bugs in CropBox inheritance.
+Fixed a bug in resource stack handling for form objects.
+Display forms even if they have a missing/incorrect FormType.
+Fixed a bug in stream predictors -- the predictor parameters (width,
+  comps, bits) don't need to match the actual image parameters.
+  Completely rearranged the predictor code.
+Fixed PostScript output to correctly handle stream predictors.
+Don't segfault on empty (zero-page) documents.
+Added the xpdf.viKeys feature.
+Added the ffi and ffl ligatures to XOutputDev and TextOutputDev.
+Pdftotext and pdfimages now check okToCopy().
+Added a '-q' flag to all programs (except pdfinfo) to suppress
+  messages and errors.
+Deal with DeviceN colorspaces by using their alternate colorspace
+  entry.
+Change PostScript output so setpagedevice is only called once, at the
+  very beginning of the document (to avoid problems on duplex
+  printers).
+Changes to configure script and makefiles for DOS/DJGPP.
+FontEncoding::getCharCode() looked for (code>0) instead of (code>=0).
+Added keypad arrow keys, etc. to xpdf.
+Minor changes to gfile.{h,cpp} (<windows.h>) to compile under VC++.
+Fixed CCITTFaxStream to correctly handle all parameters.
+Modifications to gfile.{h,cc} for Acorn.
+Some minor changes for OS/2.
+Added 'SHELL = /bin/sh' to Makefiles.
+Compare file version to pdfVersionNum+0.0001 to avoid floating point
+  precision problems.
+Added LDFLAGS to Makefiles.
+Removed strip entirely from configure and Makefiles.
+Fixed a bug in choosing the correct DCTStream color transform.
+
+0.91 (2000-aug-14)
+------------------
+Added TrueType font rendering, using FreeType.
+Support for Chinese fonts (Type 0 fonts using the Adobe-GB1-2
+  character collection).
+Decryption code is included with the main distribution (now that the
+  US export regulations are a little bit less irrational).
+Added (very basic) support for generating PostScript with Japanese
+  fonts -- only tested with ghostscript so far.
+Added support for generating EPS files (pdftops -eps).
+Much-improved image filtering in xpdf (for downsampling and for
+  transforms other than 0/90/180/270-degree rotations).
+Implemented a basic full-screen (presentation) mode (xpdf
+  -fullscreen).  (There is currently no way to switch between window
+  and full-screen modes on the fly -- this will be fixed in a later
+  release.)
+Added "reload" menu item.
+Do a better job with anti-aliased Type 1 fonts on non-white
+  backgrounds.
+Handle Lab color spaces.
+Handle non-null user passwords.
+Avoid security hole with tmpnam()/fopen() -- added openTempFile() in
+  goo/gfile.cc.  [Thanks to Joseph S. Myers for pointing this out.]
+Filter out quote marks (' and ") in URLs before running urlCommand to
+  avoid a potential security hole.  [Thanks to Frank Doepper for
+  pointing this out.]
+Fixed TrueColor detection to look at the complete list of available
+  visuals, not just the default visual.
+In gfile.h, changed NAMLEN(dirent) macro to NAMLEN(d).
+Removed copyright character from start-up banners.
+In the open and save dialogs, if the open/save button is pressed with
+  no file name, the dialog is not canceled.
+Added Xpm_CFLAGS to ltk/Makefile.
+XOutputDev::updateLineAttrs was using dashLength before it was
+  defined.
+In top-level Makefile.in, use INSTALL_PROGRAM instead of INSTALL.
+In man page, recommend -q instead of -err in .mailcap.
+Changes for GNOME / Bonobo support:
+  - Separated Stream classes into BaseStream and FilterStream trees.
+  - Got rid of all FileStream-specific stuff.
+  - Added a PDFDoc constructor that takes a BaseStream* instead of a
+    file name.
+Allow newlines inside strings (Photoshop does this).
+Don't require whitespace between tokens in consecutive content
+  streams (for pages that specify an array of streams).
+Look at MissingWidth when constructing font character widths array.
+Fixed a bug that caused incorrect PostScript output for images that
+  use 8-bit indexed color spaces with < 256 colors in the palette.
+Handle case where embedded font file is bad (this was seg faulting).
+Minor changes for Windows/pdftex.
+Work around a bug in PDF files from the IBM patent server.
+Fixed bugs in PostScript form generation: use pdfStartPage instead of
+  pdfSetup; problem with inline images.
+Minor bug fix in FlateStream::loadFixedCodes().
+Added %%DocumentMedia and %%PageMedia comments to the PostScript so
+  that gsview (a Windows frontend for ghostscript) gets the right
+  paper size.
+Draw AcroForm fields that have appearance annotations.
+Bounds check gray, CMYK, and RGB values (in GfxColor).
+Moved the link border drawing code into Page (from PDFDoc).
+Minor modifications for pdftohtml.
+PSOutputDev: use the Type 3 font scaling kludge from XOutputDev.
+Separation color spaces were handled incorrectly in images.
+Fixed a bug with form bounding boxes.
+Modified the t1lib support -- replace libt1x code with my own code.
+  Type 1 and TrueType fonts are now handled similarly, and clipping
+  works on Type 1 fonts.
+Don't print copyright banner (xpdf); add -v switch to get copyright
+  and version info (all apps); get rid of -err switch (xpdf).
+Automatically reload the PDF file if it has been changed, i.e., if the
+  modification time is different.
+Fixed a memory (malloc size) bug in CCITTFaxStream.
+Fixed two bugs in FontEncoding::hash() -- handle zero-length character
+  names (which were found in a (buggy?) PDF file), and handle
+  character names with high-bit-set characters (use unsigned ints).
+Added PDFDoc::isLinearized() and corresponding code in pdfinfo.cc.
+Handle files with an incorrect page count in the Pages dictionary
+  (FOP, from the Apache project produces a page count of 0).
+Handle TrueType equivalents to the Base14 fonts (Arial, TimesNewRoman,
+  CourierNew) -- Adobe's tools use these names without embedding the
+  fonts.
+Tweaked the Type 3 font sizing kludge.
+Changed pdfimages (ImageOutputDev) so it doesn't output JPEG files for
+  4-component color spaces, since these seem to confuse most image
+  viewers.
+Added support for generating OPI comments (pdftops -opi).
+In XOutputDev::drawImage() and drawImageMask(), check for images that
+  are completely off-page.
+Use the provided alternate or a default (DeviceGray/RGB/CMYK) color
+  space for ICCBased color spaces.
+Incorporated MacOS-specific code from Leonard Rosenthol.
+Configure script switches to C++ for the strings.h/bstring.h test.
+Gfx::opRestore() calls clearPath() to handle (apparently) buggy PDF
+  files produced by FreeHand.
+The /Type field in most dictionaries is optional (PDF 1.3 change).
+Move printCommands variable definition into Gfx.cc.
+If page is smaller than paper, center the PostScript output.
+Fix a minor bug in the SELECT_TAKES_INT detection in the configure
+  script.
+TextOutputDev filters out control characters.
+Changed enough occurrences of 'char *' to 'const char *' to keep gcc
+  2.95 from barfing.
+Support for Latin-2 and Latin-5 in pdftotext (however, this will only
+  work if the PDF file contains correct font encodings, which seems to
+  be rare).
+TextOutputDev converts "eightoldstyle" to "eight", etc.
+Don't use the return value from sprintf() -- most systems return the
+  length, but some return the string.
+Minor fixes for SunOS 4.
+Configure script looks for both select() and fd_set in sys/select.h.
+Configure script checks for gethostbyname() in -lbsd (for LynxOS).
+Fix missing closepath bug in PostScript output.
+Change PostScript portrait/landscape mode selection so it only uses
+  landscape if the page width is greater than the paper width.
+Tweaked the VMS code in makePathAbsolute().
+
+0.91a (2000-oct-11)
+-------------------
+Implemented separable CMYK PostScript output (the -level1sep switch to
+  pdftops).
+Implemented Pattern color spaces with tiling patterns (polygon fills
+  only).
+Implemented Stamp annotations.
+Implemented Named link actions.
+Fixed a really dumb bug in the TrueColor code in SFont (which affects
+  both Type 1 and TrueType font rendering on 16-bit displays).
+Rewrote the GfxColorSpace / GfxColor code.
+Switched from djgppcfg to dj_make.bat (from Michael Richmond).
+Bug in the Type 1 encoding parser -- couldn't handle lines of the form
+  'dup NNN/name put' (with no space between the code and the name).
+Fixed the mkstemp() test in configure.in -- switched from
+  AC_TRY_COMPILE to AC_TRY_LINK and added <unistd.h>.
+Added DESTDIR to top-level Makefile.in.
+Fixed an incorrect OPI comment in PSOutputDev.
+Minor tweak to the CCITTFax code to avoid writing past the end of an
+  array on an invalid data stream.
+Xpdf crashed if the user selected 'reload' when no document was
+  loaded.
+Look for character names of the form "xx" (two hex digits with no
+  leading alphabetic char) and 'cNNN' (decimal digits with a leading
+  alphabetic char that happens to be a hex digit).
+FlateStream didn't correctly handle zero-length streams.
+Xref reconstruction didn't handle the case where the opening "<<"
+  immediately followed "trailer" with no intervening whitespace.
+Fix the %%DocumentSuppliedResources comment in EPS output.
+Scale annotations to fit their rectangles.
+Added Stream::close() to handle cases (e.g., patterns) where a Stream
+  object is used multiple times before it is deleted.
+Added the topLevel arg to Gfx::go() so it doesn't call out->dump() for
+  every pattern element (and form).
+Rearranged the GfxResources class.
+Clean up white space handling in Lexer.
+Make the dpi parameter to PDFDoc::displayPage etc. a double - this
+  avoids margin gaps with fit-page and fit-width.
+Fix a rounding problem in xpdf.cc that was causing the window to
+  sometimes be one pixel too small.
+Fixed a minor bug in dealing with Base-14 TrueType font names.
+Fixed Lab -> RGB color space conversion.
+Added support for opacity values (from PDF 1.4) to GfxState and
+  OutputDev.  [Thanks to Leonard Rosenthol.]
+Implemented type 2 functions; rearranged the Function class
+  hierarchy.
+
+0.91b (2000-oct-29)
+-------------------
+Print a warning about Type 3 fonts (XOutputDev, PSOutputDev).
+Added the scroll lock behavior to 'n' and 'p' keys in xpdf.
+Change FileStream buffer size to a #define'd constant.
+Renamed Pattern to GfxPattern to avoid clashes with Windows and MacOS
+  types.
+Added CNS (Big5) Chinese font support (CHINESE_CNS_SUPPORT); renamed
+  CHINESE_SUPPORT to CHINESE_GB_SUPPORT.
+
+0.91c (2000-nov-19)
+-------------------
+Fix an endianness problem in the Type 1 font code which resulted in an
+  incorrect display with "-t1lib plain" on big-endian systems.
+CCITTFax stream decoder will skip over extra zero bits at end of line,
+  even if EncodedByteAlign flag wasn't set.
+Added Big5 support to pdftotext (with CHINESE_CNS_SUPPORT enabled).
+Fixed a typo in the CNS/Big5 encoding translation table.
+Change the form code in PSOutputDev to store images in arrays of
+  strings.
+The xref reconstruction (for damaged files) now also looks for
+  'endstream' tags, and the parser uses this information when setting
+  up stream objects.
+In pdfinfo, convert Unicode chars in the 00xx range into 8-bit chars;
+  print a warning if there are any other Unicode chars.
+
+0.92 (2000-dec-03)
+------------------
+Fixed %%BeginResource comment (for xpdf procset) in PostScript
+  output.
+Added "-title" switch and "xpdf.title" resource to set the window
+  title.
+Check for <freetype.h> in addition to <freetype/freetype.h>.
+Upgraded the configure script to smr_macros 0.2.4 - this should fix a
+  bug where configure wasn't correctly finding t1lib.
+
+0.92a (2000-dec-17)
+-------------------
+Added 'extern "C" { ... }' in various places for ANSI C++ compliance.
+Tweaked the code that figures out DPI for fit-to-page and fit-to-width
+  modes.
+Fixed the image transformation code in XOutputDev -- no more missing
+  lines.
+Implemented color key image masking in XOutputDev.
+
+0.92b (2001-jan-07)
+-------------------
+Fixed a bug in the error-checking code in the Separation/DeviceN color
+  space parsing functions.  [Thanks to Lidia Mirkin.]
+Added wheel mouse support (mouse buttons 4 and 5).  [Thanks to
+  Thorsten Schreiner.]
+Added preliminary support for FreeType 2 (disabled by default).
+
+0.92c (2001-jun-04)
+-------------------
+Fixed a bug in the new image transformation code.
+Look for character names of the form "<letter><digit><digit>", instead
+  of looking for names beginning with a few specific letters.
+T1FontFile::T1FontFile wasn't initializing vars, and ~T1FontFile
+  wasn't checking before calling T1_DeleteFont -- this caused crashes
+  if it tried to open a nonexistent font file.
+Catalog::Catalog didn't set baseURI to NULL early enough.
+Tweak the check for strings.h in the configure script.
+Yet another fix for the image rotation code in XOutputDev --
+  off-by-one problem when upsampling.
+Handle Type 1/1C encodings when using FreeType 2.
+Allow FreeType2 to render user-supplied Type 1 base fonts.
+Opening a new file from full-screen mode tried to scroll.
+Fixed a bug in GfxFont constructor (missing check for NULL base font
+  name).
+Don't crash if a Type 1 font's FontBBox is non-integer.
+Pdfinfo prints page size.
+Tweak for the alpha hack in T1Font/TTFont: sample the middle pixel
+  instead of the top-left pixel.
+Automatically activate the text input widget in the find window.
+Changed a Japanese char code mapping in XOutputDev and TextOutputDev:
+  period was being incorrectly mapped to small circle (end-of-sentence
+  character).
+Add the 0/+/-/z/w key bindings to control the zoom setting.
+Fixed ImageOutputDev (pdfimages) to correctly handle inline image
+  masks.
+Extract ascent/descent info from font descriptor.
+
+0.92d (2001-jun-26)
+-------------------
+Embed TrueType fonts in PostScript output.  (Added a "-noembtt" flag
+  to pdftops.)
+Extract encoding from TrueType fonts.
+Moved Function classes to a separate file (Function.h/cc).
+Implemented multi-dimensional sampled Functions.
+Implemented Type 4 (PostScript calculator) Functions.
+For Type 0 fonts, FontDescriptor is in descendant font, not parent.
+  [Thanks to Lidia Mirkin.]
+Added the "-htmlmeta" option to pdftotext.
+In TextOutputDev, when computing the number of blank lines to insert,
+  do a sanity check on the result.
+If both FlateDecode and some other filter (e.g., DCTDecode) were
+  applied to an image stream, getPSFilter() crashed instead of just
+  returning NULL.
+Handle the /Identity function.
+
+0.92e (2001-aug-23)
+-------------------
+Widths in font dict should override built-in font widths.
+Changed "rotate left/right" menu items to "rotate
+  clockwise/counterclockwise".
+The link parsing code choked if the Border array was incorrect (too
+  short).
+Modified PSOutputDev to output CMYK for fill/stroke colors.
+
+0.93 (2001-oct-25)
+------------------
+Implement PDF 1.4 (128-bit) decryption.
+Bump supported PDF version number to 1.4.
+Text output for Simplified Chinese.  [Thanks to Cheung Siu Fai.]
+Read an app-defaults file for Xpdf.
+Read a system-wide config file (<prefix>/etc/xpdfrc) if ~/.xpdfrc
+  doesn't exist.
+Accept and verify owner password; if correct, allow all actions.
+Added a "-level2sep" option to pdftops to generate Level 2 separable
+  PostScript.  The PostScript separation convention operators are used
+  to handle custom (spot) colors.  [Thanks to Thomas Freitag for help
+  on this.]
+Add support for FreeType 2 to the configure script.  Warning: this
+  requires FT 2.0.5 or newer.
+Fixed the bounding rectangle overlap test in the disconnected subpath
+  fill hack in XOutputDev.
+Stupid typo in font name table in PSOutputDev.
+Changing the zoom setting with a keyboard shortcut didn't update the
+  displayed setting.
+Modified the mouse wheel support and added the second wheel (mouse
+  buttons 6 and 7).  [Thanks to Michal Pasternak.]
+Character and word spacing is affected by horizontal scaling (display
+  and PS output).  [Thanks to Eddy Ng.]
+Rotation specified by the text matrix, character spacing, and
+  horizontal scaling interacted incorrectly (display and PS output).
+Some broken Type 1/1C fonts have a zero BBox -- kludge around this by
+  assuming a largeish BBox.
+Handle PDF files with an incorrect (too small) xref table size.
+Allow "-?" and "--help" as aliases for "-h" (all apps).
+Correctly handle unescaped parens in strings in Lexer.
+Fixed a bug in LTK where a menu got posted multiple times if you right
+  clicked while a page was being rendered.
+Removed a comma inside a string in configure.in.
+Kludge around broken PDF files that use char 32 but encode it as
+  .notdef instead of space.
+Clean up various compiler warnings: use constructor args like "fooA"
+  if there is a field named "foo".  Everything now compiles cleanly
+  under gcc 2.91.66, 2.95.2, and 3.0.1.
+Page objects now read all of the page rectangles (MediaBox, CropBox,
+  BleedBox, TrimBox, ArtBox), as requested by the pdfTeX folks.
+  Added a new PDFRectangle struct to hold these.
+Use XOutputDev's Type 3 font size hack in TextOutputDev too, so it
+  does a little better job of extracting text in Type 3 fonts.
+Modify pdfimages to write one-bit images as PBM files.
+Work around a bug in cygwin's implementation of fseek.
+
+0.93a (2001-nov-21)
+-------------------
+Implemented the sh (shaded fill) operator for the axial shading type.
+Minor fixes to avoid compiler warnings.
+Cleaned up global variables -- moved many into instance vars and
+  function args.
+Minor fixes for OS/2.
+Fix the system config file path for VMS.
+Fix an uninitialized var in XOutputDev that caused crashes on Alphas.
+Don't incrementally update the display in full-screen mode.
+For Type 1/1C fonts, use the FontBBox from the PDF FontDescriptor
+  (instead of the one in the font file) if present -- this avoids
+  problems with fonts that have non-standard FontMatrixes.
+Add the Euro character to WinAnsiEncoding.
+Track the bounding box of the clip region to make rendering patterns
+  more efficient.
+Fix openTempFile() for Win32.
+
+0.93b (2001-dec-11)
+-------------------
+Added a duplex option to PSOutputDev and a -duplex switch to pdftops.
+Added XRef::PDFgetDocInfoNF() for pdftex project.
+Updated the VMS build script.
+
+0.93c (2001-dec-12)
+-------------------
+Completely rewrote the code that handles font encodings:
+  - everything is Unicode-based
+  - 16-bit fonts are handled much more cleanly
+  - text output encoding can be set more flexibly
+New .xpdfrc config files.
+
+1.00 (2002-feb-01)
+------------------
+More work on the font encoding rewrite:
+  - use the ToUnicode font dict entry
+  - pdfinfo and pdftotext (with '-htmlmeta') convert info strings to
+    the selected text encoding
+Added key bindings for forward ('v') and backward ('b').
+Added the pdffonts program which lists the fonts used in a PDF file.
+Fixed several problems in the TrueType font embedding code (for
+  PostScript output).
+Accept named destination on command line.
+Added several new items to pdfinfo: file size, PDF version, tagged
+  (yes or no), XML metadata (with the -meta option).
+Pdftops didn't get the portrait/landscape setting correct for PDF
+  files with rotated pages.
+The TrueTypeFontFile class (including the Type 42 converter) now
+  understands cmap format 6.
+Improved the "about" window -- mention the GPL, add a list of key
+  bindings.
+Added Zcaron and zcaron characters to WinAnsiEncoding.
+The '0' keyboard shortcut didn't update the zoom popup menu.
+Handle the complete list of alternate names for the Base14 fonts.
+Fixed substitute font scaling in XOutputDev - scale only the width,
+  not the height.
+Implemented stitching (type 3) functions.
+Handle the case of moveto/closepath/clip, which defines an empty
+  clipping region.
+Move dependences into separate Makefile.dep files; get rid of the
+  distdepend target.
+Move all of the configure-script-generated -D options out of the
+  Makefiles and into a top-level .h file (aconf.h).
+Cleaned up the FreeType 1/2 detection code in the configure script.
+Pdfinfo prints dates in a more readable format.
+Fixed a bug in the Paeth image predictor.
+Handle annotations with multiple states.
+Another workaround for buggy X servers: clip points that are way out
+  of bounds.
+Added libpaper support (for Debian).
+Generate PostScript DSC resource comments for PS (not just EPS)
+  files.
+The save and restore (q/Q) operators shouldn't save/restore the path.
+Performance optimization: disable pattern drawing in TextOutputDev.
+
+1.00a (2002-feb-25)
+-------------------
+Added an optimized special case for one-bit images in XOutputDev.
+Implemented CID TrueType font embedding; added a psEmbedCIDTrueType
+  option.
+The initialZoom X resource was broken.
+The reverse MacRoman encoding should return 32 for "space" (not 202,
+  which is an alternate encoding).
+Tweaks to the FreeType 2 support: only disable hinting if the bytecode
+  interpreter is disabled (i.e., disable autohinting but not bytecode
+  hinting); add some padding to the glyph cache for CJK fonts.
+Added level3 and level3Sep options for the psLevel setting and
+  corresponding -level3 and -level3Sep options to pdftops.
+Added a -level2 option to pdftops for consistency.
+Avoid a divide by zero in pdftotext.  [Thanks to William Bader.]
+Added a Greek language support package.  [Thanks to Alexandros
+  Diamantidis and Maria Adaloglou.]
+Don't bother trying to extract a "builtin" encoding from a TrueType
+  font.
+Accept either a page number or a page reference in a link
+  destination.
+Update the fontFixedWidth flag in GfxFont after reading the char
+  widths (used by the Acorn RiscOS port).
+Removed yet another (illegal but not caught by gcc) class specified
+  from a .h file.
+Avoid using snprintf - it's not available everywhere.
+Improved the CMYK->RGB transform.
+Use mkstemps where available.
+
+1.01 (2002-may-20)
+------------------
+Implemented Type 3 fonts.
+Implemented PostScript CID font embedding; added a
+  psEmbedCIDPostScriptFonts option.
+Implemented PostScript 16-bit font substitution; added psNamedFont16
+  and psFont16 options.
+Moved the initialZoom setting from X resources to the xpdfrc file.
+Implemented the radial shading type in the sh (shaded fill) operator.
+  [Thanks to Mike Sweet.]
+Added an 'include' command to the xpdfrc format.
+Added the displayNamedCIDFontX option so different fonts can be used
+  within one character collection.
+Added a simple reverse video mode (-rv switch, xpdf.reverseVideo
+  resource).
+Implemented stroked text in XOutputDev (with t1lib and FreeType2).
+  [Thanks to Leonard Rosenthol.]
+Implemented stroked text in PSOutputDev.
+Added a built-in Unicode map for UCS-2.
+New key binding in xpdf: 'g' activates the page number text field.
+PSOutputDev will now embed external TrueType fonts in addition to
+  external Type 1 fonts.
+The psEmbedType1Fonts and psEmbedTrueTypeFonts options were missing
+  the "Fonts" suffix.
+Documentation in xpdf.1 for -freetype option was wrong.
+Added the Big5ascii Unicode map to the Chinese-traditional support
+  package (maps 7-bit ASCII straight through).  [Thanks to Lawrence
+  Lai.]
+Modified the EUC-CN and EUC-JP encodings to pass 7-bit ASCII straight
+  through.  [Thanks to Lawrence Lai.]
+Avoid a divide by zero in XOutputDev.  [Thanks to Simon Burge.]
+Remove old code in openTempFile that removed an extension from the
+  name returned by tmpnam.
+Tweak the scrolling behavior when switching pages.  [Thanks to Case
+  Jones.]
+In the code that guesses character names (for font subsets), also
+  handle names of the form 'ABnnn'.  [Thanks to Colin Granville.]
+Fix the transform code for annotations.
+Improved the CMap file parser to handle more general PostScript
+  lexical conventions.
+Added '-enc' option to pdfinfo.
+Added the small caps and oldstyle numbers from Adobe's Unicode
+  corporate use area to the Latin1 and ASCII7 Unicode maps.
+The code in TextOutputDev that guesses Type 3 font size could generate
+  a zero size, which resulted in div-by-zero errors.
+Various tools (including Adobe's) occasionally embed Type 1 fonts but
+  label them Type 1C - so check for a '%!' at the start.
+Some tools embed Type 1C fonts with an extra whitespace char at the
+  beginning - just skip over it.
+Fixed a typo in the Simplified Chinese add-to-xpdfrc file.
+Updates to dj_make.bat and the djgpp build instructions.
+Added a Turkish language support package.
+Updated VMS build scripts.  [Thanks to Martin Zinser.]
+Modify the incremental display update code to redraw less often if
+  most of the commands are vector graphics, as opposed to text and
+  images.
+Tweak the Type 1 font bbox code to look at the bboxes in both the PDF
+  font object and the embedded font file.
+Fixed the ETenms-B5-H CMap file (for traditional Chinese) to map the
+  Latin characters to their proportional versions.
+Added an optional displayCIDFontX entry for one of the Arphic TrueType
+  fonts in the traditional Chinese 'add-to-xpdfrc' file.
+Remove leading '-' on include statements in Makefiles.
+Added psASCIIHex parameter.
+Added the GBK Unicode map to the simplified Chinese language pack.
+Pdftotext now opens the text file in binary mode to avoid Microsoft's
+  annoying automatic end-of-line translation stuff.
+Added an executeCommand function in goo/gfile.cc.  [Thanks to Mikhail
+  Kruk.]
+The %ALDImagePosition OPI comment was wrong if the page was scaled to
+  a different paper size.
+The OPI code was saving the default transform matrix before calling
+  setpagedevice, which can change the matrix.
+Fixed a crash when an inline image dictionary contains garbage.
+Upgraded to autoconf 2.53.
+Use unsigned int file offsets, to allow access to PDF files in the 2-4
+  GB size range; use fseek64/ftell64 if available.
+Fixed two floating point exception cases that came up with broken PDF
+  files.
+Avoid a crash when printing an error message regarding an unnamed
+  font.
+Default link border width should be 1.  [Thanks to Michael Pfeiffer.]
+Minor tweak to build with FreeType 2.1.0.
+Handle "weird" characters in PostScript font names.
+PSOutputDev now handles PostScript XObjects.
+Added several more page attributes for the pdftex project.
+Transferred the copyright to Glyph & Cog, LLC.
+
+2.00 (2002-nov-04)
+------------------
+Switched to the Motif toolkit.
+Support multiple open documents (in separate windows).
+Added document outlines to the viewer.
+Modified the text extraction (placement) algorithm.
+Implemented the JBIG2 decoder.
+Added a Latin2 language support package.
+Added support for movie annotations.
+Switched back to native LZW decompression code.
+Text extraction from Type 3 fonts was (partly) broken.
+The owner password checking code was missing a step in the case of
+  128-bit encryption.
+Added the 'printCommands' option to the xpdfrc file.
+Added key binding for '?' to bring up the about/help dialog.
+In TextOutputDev, ignore any text that's outside the page bounding
+  box.
+Text extraction throws away "tiny" characters after the first 20000
+  per page, to avoid really slow runtimes with PDF files that use
+  special fonts to do shading or cross-hatching; added the
+  'textKeepTinyChars' option to disable this behavior.
+Text extraction discards duplicated text (fake boldface, shadow
+  effects).
+Added ctrl-F as a key binding for find.
+Added a "find next" function, bound to ctrl-G.
+Added ctrl-P as a key binding for print.
+Modified the DCT decoder to handle progressive and non-interleaved
+  JPEG streams.
+Added key bindings for ctrl-Home and ctrl-End.
+Allow the initialZoom setting to be made in either the xpdfrc file or
+  as an X resource.
+Added a Hebrew language support package.  [Thanks to Roy Arav.]
+The "make distclean" target now creates (empty) Makefile.dep files in
+  the three subdirectories.
+Initialize XRef::ownerPasswordOk.
+Correctly handle stroking of Type 3 fonts in PSOutputDev.
+Generate correct PostScript for fonts with "weird" character names
+  (e.g., "(").
+Generate correct PostScript for images using Indexed color spaces with
+  DeviceN base color spaces.
+Added lowercase Roman numerals to ISO-2022-CN.unicodeMap (simplified
+  Chinese support package).
+Tweak the image scaling code to better handle flipped (top-bottom
+  and/or left-right) images.
+Generate correct PostScript code for inline images and images in Type
+  3 fonts which are too large for a single PS string.
+Correctly handle indexed color spaces whose base color spaces have
+  component ranges other than [0,1].
+Optimized the DCT decoder.
+Fixed mistakes in the list of key bindings in the about/help dialog.
+Optimized the Flate decoder.
+Add literal names for punctuation and digits to the Unicode name
+  table.
+Cygwin's popen wants mode "r", not "rb".
+Fixed a bug in the Type 4 function parser (the "if" operator wasn't
+  parsed correctly).
+Fix a bug in PS output for TrueType fonts with no PDF encoding.
+Make the bbox size in FTFont more liberal (to avoid problems with
+  fonts that have incorrect bboxes).
+Reverse the colors in PBM files generated by pdfimages, so the common
+  case (an image mask filled with black) comes out correct.
+Add fseeko/ftello support which is basically identical to
+  fseek64/ftell64.  [Thanks to Nassib Nassar.]
+Modified column assignment in text extractor to account for characters
+  that convert to multiple characters in the output encoding.
+Fix TrueType fonts which have an incorrect cmap table length.
+Work around a pragma bug in the version of gcc that ships with MacOS X
+  10.2.  [Thanks to Frank Siegert and Andrew Stone.]
+Fix a problem that was causing an infinite loop when a damaged content
+  stream contains an 'ID' command inside a dictionary.
+Handle the case where systempapername() returns NULL (libpaper
+  support).
+Handle fonts which are defined directly in the font resource
+  dictionary rather than as separate objects.
+Track process colors in Level 1 separable PostScript.
+Pdfinfo now checks the return value from mktime to avoid seg faults in
+  flakey strftime implementations.
+If duplex is not enabled in PostScript output, leave the duplex
+  setting alone, allowing the spooler to insert its own setting.
+Added three missing fclose calls.
+Change the default encoding for TrueType fonts (used when the PDF file
+  doesn't specify an encoding) from MacRomanEncoding to
+  WinAnsiEncoding.
+Move X_CFLAGS to the end of the list in CXXFLAGS (in Makefile.in) to
+  avoid some of the FreeType2 include path problems.
+Fixed an obscure bug in the LZW decoder.  [Thanks to Martin
+  Schroeder.]
+Fixed a bug in decryption when using the newer (PDF 1.4) algorithm
+  with shorter-than-128-bit keys.
+Minor optimization for image data streams: the ImageStream class can
+  return an entire buffered line.
+
+2.01 (2002-dec-05)
+------------------
+Redesigned the text extraction process:
+  - process the text into "reading order"
+  - added a "-layout" flag to pdftotext to switch back to the old
+    style, where physical layout is maintained
+  - use of the "-raw" flag is no longer recommended
+Added the -reload option for xpdf (in remote mode).
+Added support for external CID fonts; added the displayCIDFontT1 and
+  displayNamedCIDFontT1 commands to the xpdfrc file.
+Handle the case of moveto/newpath/clip, which defines an empty
+  clipping region (just like moveto/closepath/clip).
+Accept XYZ link destinations with missing array elements.
+Fix some problems with state save/restore triggered by Type 3 fonts
+  that reference other fonts.
+Accept bogus font names based on "Symbol": Symbol,{Bold,Italic,
+  BoldItalic}.
+Fixed color and font resource names in the xpdf man page.
+Was using delete instead of gfree in OutlineItem::~OutlineItem.
+Set the busy cursor in the find dialog while searching.
+Map variants of the copyright, trademark, and registered trademark
+  symbols to the proper Unicode codes, not to Adobe's corporate use
+  area codes.
+Fixed a floating point exception bug in TextOutputDev (check for a
+  too-small denominator).
+Fixed a typo in TextOutputDev, in the code that generating blank lines
+  to add vertical whitespace.
+Config files whose last line didn't end with a LF (or CR+LF) weren't
+  being handled correctly.
+The code that handled CIDToGIDMaps in Type 2 CIDFonts was broken.
+Check the per-glyph bounding box in Type 3 fonts, and don't try to
+  cache glyphs with bogus bboxes.
+Allow ToUnicode CMaps to use fewer than four hex digits in the Unicode
+  char indexes.
+Added multithreading protection to the GlobalParams class.
+Fixed a bug in end-of-stream detection with the TIFF predictor.
+Added some characters to MacRomanEncoding to match up with Apple's
+  definition.
+
+2.02 (2003-mar-24)
+------------------
+Rewrote the text extractor code that assembles words into lines to
+  better handle vertically overlapping lines.
+Add the "match" option for paper size (in PostScript output).
+Added support for external 16-bit TrueType fonts; added the
+  displayCIDFontTT and displayNamedCIDFontTT commands to the xpdfrc
+  file.
+Added an Arabic language support package.
+Added the Windows-1255 encoding to the Hebrew language package.
+A missing NULL check was causing a crash when closing the file in a
+  single window (which clears out the window, but leaves it open).
+Deal with TrueType fonts whose glyph data is out of order - this
+  affected both FreeType rasterization and PostScript generation.
+Munge font names in PSOutputDev to avoid names that are problematic
+  for ghostscript because they start with an out-of-limits number
+  (e.g., 1e999foo).
+Modify the TrueType font encoding deciphering algorithm in yet another
+  attempt to match up with Acrobat's behavior.
+Bounds check the indexHigh value in indexed color spaces.
+The text extractor no longer bothers trying to get an average
+  character width for Type 3 fonts, since it generally doesn't work
+  very well (because Type 3 metrics are unreliable).
+Don't crash if the user hits ctrl-G ("find again") before doing a
+  find.
+Set the button pixmap foreground color correctly.
+Handle text drawn backward on 180 degree rotated pages.
+Added a magic call to XtUngrabButton after calling XmCreatePopupMenu
+  which appears to prevent some very odd problems (idea taken from the
+  DDD source code).
+Fix the MacOS X fix (needed to include <AvailabilityMacros.h>).
+Fixed a bunch of Motif 1.x / X11R5 incompatibilities.  [Thanks to
+  William Bader and Albert Chin-A-Young.]
+Fixed various bugs in previously untested code in the JBIG2 decoder.
+Modify the XPDFCore destructor to avoid a bogus warning message from
+  OpenMotif 2.2.
+Modified the Type 1C font parser to do proper bounds checking.
+Fixed the bounds checking in the TrueType font parser.
+Text extractor shouldn't do block merging in physical layout mode.
+Fixed a problem in PSOutputDev in level2sep mode with images in a
+  Separation color space and with a non-default Decode array.
+Text extraction with "-raw" was concatenating lines from the bottom of
+  one column and the top of the next.
+Handle Type 1C subroutines in the font converters.
+Correctly handle progressive JPEG images whose scans are slightly
+  different sizes (e.g., the Y scan rounds up to a multiple of 8
+  pixels and the Cb/Cr scans round up to 16 pixels).
+Avoid a potential divide-by-zero problem in TextOutputDev.
+Modified the T1Font and FTFont modules to correctly handle glyphs that
+  are larger than the font's claimed bounding box.
+Tweak dupMaxDeltaX parameter in TextOutputDev to avoid triggering on
+  double characters.
+Improved detection in pdfinfo for ISO paper sizes.  [Thanks to Hartmut
+  Henkel.]
+Xpdf wasn't responding to the TARGETS atom, which prevented pasting
+  the selection into various applications.  [Thanks to Phillip Ezolt.]
+Handle XObjects with recursive references in their Resources
+  dictionaries (in PSOutputDev).
+Change PSOutputDev to deal with invalid PDF files that use
+  non-embedded TrueType fonts with no encoding.
+Check for undersized Widths arrays in fonts.
+Add bounds checking code to Array class.
+Updated VMS build scripts.  [Thanks to Martin Zinser.]
+Tweak the TrueType font handling code (again):
+  - char codes in symbolic fonts may or may not be offset by 0xf000
+  - discard empty tables because they sometimes confuse FreeType
+Fixed bounds checking in the Flate decoder.
+Removed a bogus error message for exponential functions without
+  explicit C0/C1 values.  [Thanks to Hartmut Henkel.]
+Handle the other Unicode cmap type (platform=0) in TrueType fonts.
+Added support for the SGI Motif horizontal paned window widget.
+  [Thanks to Felix Ritter.]
+Ignore extra elements in link destination arrays.
+Accept external Type 1 font files with a suffix of ".ps" or no suffix
+  at all.
+Add a bounds check in the DCT decoder.
+Added instructions for building xpdf.exe under cygwin/XFree86.
+Tweaked the word separation parameter for raw-mode text extraction.
+
+2.03 (2003-oct-10)
+------------------
+Rewrote the text extractor to:
+  - do a better job with rotated text;
+  - handle right-to-left scripts;
+  - be faster.
+Changed the zoom setting to use a percentage (relative to 72 dpi)
+  instead of a zoom "factor".
+If the PDF file has an outline, open the outline pane initially.
+Added -f and -l options to pdfinfo; print multiple page sizes.
+The HAVE_XTAPPSETEXITFLAG test in XPDFApp.cc was backwards.
+The BitsPerComponent entry is optional in image mask objects.
+Render any annotation with an appearance stream, instead of just
+  Widget and Stamp annotations.
+Fix a bug in the TrueType font checker: the test for an unsorted
+  'loca' table was wrong.
+Modify the TrueType cmap selection algorithm yet again to try to match
+  Adobe's behavior.
+Changed sqrt(2) to sqrt(2.0) in pdfinfo.cc to make various compilers
+  happy.
+Fixed a deadlock problem (when MULTITHREADING is set); cleaned up some
+  other problems with the locking code.
+Fixed a bug in the interpolation code for type 0 (sampled) functions.
+Implemented type 1 (function-based) shaded fills.
+Fixed some stupid bugs in the JBIG2 decoder (introduced with the
+  previous optimization work).
+Fixed a typo in the code that parses vertical font metrics for CID
+  fonts that was causing a seg fault.
+Fixed a couple of bugs that were causing seg faults with badly damaged
+  PDF files.
+Limit the number of nested Forms to avoid infinite recursion (in buggy
+  PDF files).
+Add a special case for rectangular clip regions - make sure these
+  don't drop pixels on the right and bottom edges.
+Tell FreeType not to use glyph bitmaps when in anti-aliased mode.
+Read all of the border style info for links.
+All of the shaded fill types now do at least one bisection to avoid
+  problems when the colors at the endpoints of the domain are the
+  same.
+If the Length2 parameter for an embedded Type 1 font was incorrect
+  (too small), pdftops was losing font data.
+Deal with (broken) DCT streams that use the same component ID number
+  for different components.
+The MediaBox page attribute was not being inherited correctly.
+Fixed a bug in the Type 1C font converter related to local
+  subroutines.
+The Type 1C -> Type 1 font converter was allocating the font dictionary
+  one slot too small.
+Added a missing private dictionary entry to Type 1 fonts generated by
+  the Type 1C converter.  [Thanks to Michael Shell.]
+Fixed bugs in the tiling pattern fill code.
+Try the TrueType 0xf000 char code offset hack for the MacRoman
+  encoding too (in addition to MS Symbol).
+Update the font metrics info for the Base 14 fonts to include the Euro
+  character.
+SECURITY HOLE: Escape various characters in URLs before running a web
+  browser (or movie viewer).  [Fixed in 2.02p11]
+SECURITY HOLE: In the dialog used to verify "launch" links, provide a
+  scrolling view if the command to be run is excessively long.  [Fixed
+  in 2.02p11]
+Added an option to disable insertion of page breaks (form feed
+  characters) in extracted text (pdftotext -nopgbrk; xpdfrc
+  "textPageBreaks" option).
+Check for 8-bit fonts that specify an out-of-range FirstChar or
+  LastChar.
+Correctly handle an obsolete Type 2 charstring op (in the Type
+  1C-to-Type 1 font converter).  [Thanks to Helge Blischke.]
+Use the font encoding info to fill in holes in the ToUnicode map.
+Added character names for Bulgarian (in the Cyrillic support pacakage)
+  and Greek.
+Handle clipping to text in xpdf and pdftops.
+Fix color space detection in DCT decoder.  [Thanks to Dwight Kelly.]
+Added the "unicodeToUnicode" xpdfrc option, intended (initially) for
+  Arabic support.
+Handle the case in PSOutputDev where two font objects refer to the
+  same embedded TrueType font, but with different encodings.  [Thanks
+  to Frank Siegert.]
+Kill any pre-existing path before drawing a form (or annotation).
+Save state before rendering page content; restore state afterward.
+Fix Stream::reset/close to work correctly with encoder streams; fix
+  PSOutputDev to use Stream::close consistently.
+Fix a seg fault when hitting the 'back' button after closing a file.
+GfxState::getStrokeGray was returning the fill gray value (this only
+  affected Level 1 PS output).
+Change PSOutputDev to reuse dictionaries in Level 1 mode (since Level
+  1 PS interpreters don't do garbage collection).  [Thanks to Frank
+  Siegert.]
+PSOutputDev was generating incorrect translations for landscape-mode
+  pages.
+Implemented shading pattern color spaces.
+PSOutputDev wasn't correctly handling Type 3 fonts which used image
+  resources (as opposed to inline images).  [Thanks to Frank Siegert.]
+The fix from 1.00 which clipped out-of-bounds points was a bit too
+  aggressive.
+Do proper Floyd-Steinberg dithering in XOutputDev.
+Don't automatically check for a null owner password (to match Adobe's
+  behavior).
+Allow the FlateDecode filter in Level 3 PostScript output.
+Fixed small bugs in the Type 1C -> Type 1 converter and Type 1C ->
+  Type 0 converter.  [Thanks to Tom Kacvinsky.]
+Work around another weird Motif problem with the right button menu
+  (which was sometimes causing the menu to not be displayed).
+Make the code that handles fonts defined directly in the resource dict
+  more robust.
+Add a brief description of the outline pane to the xpdf man page.
+Ignore extra operands to content stream operators.
+Fixed a bug in the CCITTFax decoder.
+Allow the Count entry in a Pages dictionary to be a real number
+  (because some PDF generators actually do this).
+Shading pattern fills weren't being clipped correctly.
+Incorrect shallow copies in GfxRadialShading and StitchingFunction.
+The StitchingFunction destructor wasn't checking for funcs being
+  NULL.
+Change the TrueType code-to-GID mapping code so it looks at the
+  TrueType 'post' table.
+Set the print command in the print dialog once at startup, don't
+  change it each time a file is (re)loaded.
+Generate the %%BoundingBox comment in regular PostScript files (not
+  just EPS files).
+Fixed a bug in the Unicode CMap parser.
+
+3.00 (2004-jan-22)
+------------------
+New PDF rasterizer ("Splash").
+Added support for PDF 1.5:
+  - JPX (JPEG 2000) decoder
+  - XRef streams
+  - object streams
+  - DeviceN color spaces with up to 32 components
+  - Added new CMaps to the CJK language support packages
+Replaced pdftopbm with pdftoppm (which can generate PBM, PGM, and PPM
+  files).
+Reorganized the font file parser code into a new library ("Fofi").
+Removed support for FreeType 1.x.
+Removed support for X server fonts - Xpdf (and pdftoppm) will now
+  search for the URW fonts (from ghostscript).
+Changed the "-t1lib" and "-freetype" switches; replaced the
+  "t1libControl" and "freetypeControl" config file options with
+  "enableT1lib", "enableFreeType", and "antialias".
+Added the "-box" option to pdfinfo.
+Added imageable area support to PSOutputDev (for CUPS); added the
+  "psImageableArea" config file option.
+Added the "-nocrop", "-expand", "-noshrink", and "-nocenter" switches
+  to pdftops; added the "psCrop", "psExpandSmaller", "psShrinkLarger",
+  and "psCenter" config file options.
+Dictionary size was in PostScript code generated for Type 3 fonts.
+The PS code generated for images in Type 3 characters was broken.
+Tweaked the text extractor.
+Accept xref entries that are one byte too short (matching Adobe's
+  behavior).
+Change things so "xpdf -h" and "xpdf -v" work if DISPLAY isn't set.
+Fix a problem in the damaged file repair code that handles the trailer
+  dictionary.
+Use the "Last" entries in "Outlines" objects - this avoids a problem
+  with PDF files generated by buggy software that, e.g., sets the last
+  item's Next pointer to point to itself.
+PSOutputDev was not handling DeviceN color spaces correctly in Level 2
+  images.
+Fixed a stupid little bug that broke PS output for JBIG2 images.
+Work around a Lesstif bug: set up an extra callback so hitting <Enter>
+  in the find dialog performs a search.  [Thanks to Elliott Hughes.]
+Pdftops was crashing on zero page PDF files.
+Add an AC_PREREQ call to configure.in.
+Change the 'find' dialog so the text entry box resizes with the
+  dialog.
+Skip extraneous zero bits at the start of a CCITTFax stream.
+The PostScript text clipping operator was missing a 'newpath'.
+  [Thanks to Frank Siegert.]
+Fix a bug in tiling patterns with bboxes that don't start at (0,0).
+Fix a bug in Type 3 font handling with rotated text.
+The tiled pattern fill code was destroying the current path, which
+  broke the fill+stroke operators when the fill color space was a
+  tiled pattern.
+ICCBased color spaces don't always set their Ranges values correctly,
+  so just use the values from the alternate color space.
+Modified GHash to accept int or void* - this avoids some conversion
+  warnings.
+Check for missing Type 3 CharProcs - avoid a segfault.
+Pdffonts now marks all Type 3 fonts as embedded.
+Outline entries with no Title string weren't being handled correctly,
+  resulting in segfaults.
+PSOutputDev now forces the text horizontal scale factor to be non-zero
+  to avoid singular font matrices in the PS code.
+Tweaked the error recovery in the CCITTFax decoder.
+The LZW/Flate predictor should treat any Predictor value (in the
+  stream dictionary) >= 10 identically.
+PSOutputDev and pdffonts check for NULL font objects (which can
+  happen, e.g., because of missing CMap files).
+Swap the left and right mouse wheel button numbers.
+EPS output ("pdftops -eps") now uses the CropBox instead of the
+  MediaBox as the EPS bounding box.
+
+3.01 (2004-???-??)
+------------------
+Add support to DCTStream for 16-bit quant tables.
+Don't segfault if the user clicks on an outline entry with a broken
+  destination.
+Changed the makefiles and configure script to skip building pdftoppm
+  (in addition to xpdf) if X, Motif, or FreeType is not found; changed
+  the error message in the configure script to match.
+Move an inline function in JArithmeticDecoder.cc to avoid compiler
+  errors.
+Fixed a bug in the rasterizer that was sometimes causing infinite
+  loops with round line caps on vertical lines.
+Various rasterizer optimizations.
+Look for intermediate resize events - try to avoid lagging when the
+  user is doing an opaque resize.
+The FormType key in Form XObjects is optional.
+Handle external 16-bit TrueType fonts correctly, using the Unicode
+  cmap.
+Add class declarations to TextOutputDev.h to work with stricter C++
+  compilers.
+Support FreeType's weird include file stuff (ft2build.h, etc.).
+Fixed a bug handling empty paths.
+Fixed a text positioning problem in PostScript output.
+Handle TrueType collections in FoFiTrueType.cc.
+FoFiTrueType constructor was reporting a failure if the post table was
+  bad - this should be non-fatal.
+Type 1 font parser was missing a NULL test.
+Mask chars passed to isdigit in goo/parseargs.c to avoid problems with
+  signed chars.
+Added more error checking to the CCITTFax decoder.
+Fixed a bug (computing the MCU size) in the DCT decoder.
+Change a test in the Splash stroke code to avoid x86 floating point
+  weirdness.
+Reorganized the decryption code to allow security handler plugins;
+  removed the NO_DECRYPTION #ifdefs.
+Added a plugin interface, initially just for security handlers.
+Support color key masked images and explicitly masked images in PS
+  output (Level 2 only).
+When checking for aliases of the Base 14 fonts, ignore spaces in the
+  specified font name.
+Handle encrypted PDF files that are missing the file ID string.
+Handle tiling patterns more efficiently in the PostScript output.
+Rewrote the code that handles color spaces in PostScript output.
+Fixed a bug in the Type 1C font parser - zero-length indexes (and
+  zero-length names) weren't handled correctly.
+Handle shaded fills more efficiently in the PostScript output.
+Implement the remaining shading types (4-7).
+Rearranged the Splash color modes.
+Add the EarlyChange parameter to LZWStream when generating PostScript.
+Check for zero values in line dash arrays in PSOutputDev.
+Fixed an uninitialized variable in JArithmeticDecoder which was
+  causing crashes.
+Treat unknown CMap names as identity mappings (to match Adobe's
+  behavior).
+Fixed bugs in the XRef parser related to XRef streams in updated
+  files.
+Added a missing call to FT_Done_Glyph which was causing a memory leak.
+  [Thanks to Dave Formanek.]
+Fixed a bug in text copying that was causing the last word to be
+  dropped on some pages.
+Tweaked the image width/height computation in Splash::drawImage and
+  Splash::fillImageMask to make striped images work better.
+Ignore minus signs in the middle of numbers (to match Adobe's
+  behavior).
+Missing '%s' in format strings for dates in pdftotext '-htmlmeta'
+  mode.
+Change the TrueType code-to-GID mapping code so it looks at the
+  standard name-to-Unicode mapping before the ToUnicode mapping
+  defined in the font object.
+Added the continuous view mode.
+At high zoom levels, don't rasterize the entire page - this avoids
+  problems running out of memory.
+Added a matteColor setting (command line option and X resource).
+Tweaked the CMYK->RGB transform.
+Fix some problems in tracking the character position (to match up with
+  Adobe's highlight file format).
+Handle moveto/closepath/stroke correctly.
+Check for singular text matrices and font size of zero in PSOutputDev.
+Clip PS output to the size of the page (avoiding any gibberish that
+  lies outside the MediaBox, in the case where the MediaBox is smaller
+  than the paper).
+If the line dash element in an annotation's Border array is of an
+  invalid type (i.e., not an array), don't draw the link at all (this
+  matches Adobe's behavior).
+Don't remap small caps and oldstyle glyphs in the name-to-Unicode
+  table - it messes up TrueType font encodings.
+Pdftoppm wasn't setting the paper color correctly in mono and gray
+  modes (this only showed up on big-endian machines).
+Missing NULL check was causing crashes when attempting to read non-PDF
+  files that happened to contain the string '%PDF'.
+Fixed a problem in the text extractor that was breaking up words.
+Handle vertical text (CJK fonts) in PS output with TrueType fonts that
+  are missing the vertical metrics tables.
+Handle the case where a font object and the corresponding embedded
+  font are different types.
+Handle basic crypt filter functionality.
+Added more value checking in the XRef parser, to avoid potential
+  security problems.
+Updated the CJK language support packages: replaced the
+  displayCIDFontX references with displayCIDFontTT; added pointers to
+  free TrueType fonts.
+Added a missing error message when SplashOutputDev can't parse an
+  embedded TrueType font file.
+PDFCore and TextOutputDev now correctly handle searching for Unicode
+  strings, including real Unicode case-folding.
+Throw away tiling pattern fills that are completely outside the clip
+  region.
+The JPEG 2000 inverse reversible multiple component transform code was
+  wrong.
+Fixed some bugs in shading pattern fills: clipping was wrong, and
+  background color was not implemented.
+Added tool tips for the toolbar buttons.
+Added "search backward" and "match case" options to the find dialog.
+Decrease the max depth of recursive patch mesh filling if the pattern
+  has a large number of patches.
+Highlight the find text whenever the find dialog is mapped.
+Handle page boundary boxes with reversed coordinates.
+Fixed a bug in the text extractor code that handles duplicated text.
+Optimization work on SampledFunction::transform().
+Use the CropBox instead of the MediaBox as the display region.
+Dither for PseudoColor (8-bit) displays.
+Support explicitly masked images and soft masked images.
+Fix a bug in DCTStream that was causing an infinite loop with
+  corrupted DCT image data.
+Fix a bug in the ToUnicode CMap parser.
+Fix a bug in the text extractor - negative font sizes weren't being
+  handled correctly.
+Fix a bug in the text extractor - in certain cases, out-of-bounds text
+  could cause crashes (generally only in damaged PDF files).
+Fix a read-past-end-of-array bug in the JBIG2 decoder.
+Fix a case where pdftops was generating lines longer than 255 chars.
+Optimize redraws - don't regenerate the XImage every time redrawRect
+  is called.
+The ASCII85 decoder wasn't skipping whitespace properly.
+Optimize text extraction: skip (non-inline) image setup entirely.
+Added initial transparency support (stroke/fill alpha and blend mode).
+Added support for the overprint setting in PostScript output.
+Fixed various buffer overflow bugs.
+Handle negative font sizes and horizontal scaling correctly in
+  PSOutputDev.
+Fixed a buffer overflow in the CCITTFax decoder.
+Fixed an out-of-order entry in the list of font name aliases.


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/CHANGES
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/COPYING
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/COPYING	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/COPYING	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,339 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                          675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	Appendix: How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) 19yy  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) 19yy name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/COPYING
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/INSTALL
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/INSTALL	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/INSTALL	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,17 @@
+Xpdf - Win32 binaries
+=====================
+
+The Xpdf software and documentation are
+copyright 1996-2003 Glyph & Cog, LLC.
+
+Email: derekn at foolabs.com
+WWW: http://www.foolabs.com/xpdf/
+
+
+To install this binary package:
+
+1. Copy everything to an installation directory, e.g.,
+   C:/Program Files/Xpdf
+
+2. Edit the xpdfrc file (as distributed, everything is commented out)
+   -- see xpdfrc.txt for details.


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/INSTALL
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/README
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/README	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/README	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,377 @@
+Xpdf
+====
+
+version 3.00
+2004-jan-22
+
+The Xpdf software and documentation are
+copyright 1996-2004 Glyph & Cog, LLC.
+
+Email: derekn at foolabs.com
+WWW: http://www.foolabs.com/xpdf/
+
+The PDF data structures, operators, and specification are
+copyright 1985-2003 Adobe Systems Inc.
+
+
+What is Xpdf?
+-------------
+
+Xpdf is an open source viewer for Portable Document Format (PDF)
+files.  (These are also sometimes also called 'Acrobat' files, from
+the name of Adobe's PDF software.)  The Xpdf project also includes a
+PDF text extractor, PDF-to-PostScript converter, and various other
+utilities.
+
+Xpdf runs under the X Window System on UNIX, VMS, and OS/2.  The non-X
+components (pdftops, pdftotext, etc.) also run on Win32 systems and
+should run on pretty much any system with a decent C++ compiler.
+
+Xpdf is designed to be small and efficient.  It can use Type 1 or
+TrueType fonts.
+
+
+Distribution
+------------
+
+Xpdf is licensed under the GNU General Public License (GPL), version
+2.  In my opinion, the GPL is a convoluted, confusing, ambiguous mess.
+But it's also pervasive, and I'm sick of arguing.  And even if it is
+confusing, the basic idea is good.
+
+In order to cut down on the confusion a little bit, here are some
+informal clarifications:
+
+- I don't mind if you redistribute Xpdf in source and/or binary form,
+  as long as you include all of the documentation: README, man pages
+  (or help files), and COPYING.  (Note that the README file contains a
+  pointer to a web page with the source code.)
+
+- Selling a CD-ROM that contains Xpdf is fine with me, as long as it
+  includes the documentation.  I wouldn't mind receiving a sample
+  copy, but it's not necessary.
+
+- If you make useful changes to Xpdf, please make the source code
+  available -- post it on a web site, email it to me, whatever.
+
+If you're interested in commercial licensing, please see the Glyph &
+Cog web site:
+
+    http://www.glyphandcog.com/
+
+
+Compatibility
+-------------
+
+Xpdf is developed and tested on a Linux 2.4 x86 system.
+
+In addition, it has been compiled by others on Solaris, AIX, HP-UX,
+Digital Unix, Irix, and numerous other Unix implementations, as well
+as VMS and OS/2.  It should work on pretty much any system which runs
+X11 and has Unix-like libraries.  You'll need ANSI C++ and C compilers
+to compile it.
+
+The non-X components of Xpdf (pdftops, pdftotext, pdfinfo, pdffonts,
+pdftoppm, and pdfimages) can also be compiled on Win32 systems.  See
+the Xpdf web page for details.
+
+If you compile Xpdf for a system not listed on the web page, please
+let me know.  If you're willing to make your binary available by ftp
+or on the web, I'll be happy to add a link from the Xpdf web page.  I
+have decided not to host any binaries I didn't compile myself (for
+disk space and support reasons).
+
+If you can't get Xpdf to compile on your system, send me email and
+I'll try to help.
+
+Xpdf has been ported to the Acorn, Amiga, BeOS, and EPOC.  See the
+Xpdf web page for links.
+
+
+Getting Xpdf
+------------
+
+The latest version is available from:
+
+  http://www.foolabs.com/xpdf/
+
+or:
+
+  ftp://ftp.foolabs.com/pub/xpdf/
+
+Source code and several precompiled executables are available.
+
+Announcements of new versions are posted to several newsgroups
+(comp.text.pdf, comp.os.linux.announce, and others) and emailed to a
+list of people.  If you'd like to receive email notification of new
+versions, just let me know.
+
+
+Running Xpdf
+------------
+
+To run xpdf, simply type:
+
+  xpdf file.pdf
+
+To generate a PostScript file, hit the "print" button in xpdf, or run
+pdftops:
+
+  pdftops file.pdf
+
+To generate a plain text file, run pdftotext:
+
+  pdftotext file.pdf
+
+There are four additional utilities (which are fully described in
+their man pages):
+
+  pdfinfo -- dumps a PDF file's Info dictionary (plus some other
+             useful information)
+  pdffonts -- lists the fonts used in a PDF file along with various
+              information for each font
+  pdftoppm -- converts a PDF file to a series of PPM/PGM/PBM-format
+              bitmaps
+  pdfimages -- extracts the images from a PDF file
+
+Command line options and many other details are described in the man
+pages (xpdf.1, etc.) and the VMS help files (xpdf.hlp, etc.).
+
+
+Upgrading from Xpdf 2.xx
+------------------------
+
+WARNING: Xpdf 3.00 switched to a new PDF rasterizer, which no longer
+uses X fonts.  You'll need a set of Base-14 fonts -- the URW fonts
+distributed with ghostscript can be used for this.  Xpdf will search
+for the URW fonts, but if you have them installed in a non-standard
+directory, you'll need to set up an xpdfrc config file to point to
+them.  For full details, please see the xpdfrc(5) man page.
+
+
+Compiling Xpdf
+--------------
+
+See the separate file, INSTALL.
+
+
+Bugs
+----
+
+If you find a bug in Xpdf, i.e., if it prints an error message,
+crashes, or incorrectly displays a document, and you don't see that
+bug listed here, please send me email, with a pointer (URL, ftp site,
+etc.) to the PDF file.
+
+
+Acknowledgments
+---------------
+
+Thanks to:
+
+* Patrick Voigt for help with the remote server code.
+* Patrick Moreau, Martin P.J. Zinser, and David Mathog for the VMS
+  port.
+* David Boldt and Rick Rodgers for sample man pages.
+* Brendan Miller for the icon idea.
+* Olly Betts for help testing pdftotext.
+* Peter Ganten for the OS/2 port.
+* Michael Richmond for the Win32 port of pdftops and pdftotext and the
+  xpdf/cygwin/XFree86 build instructions.
+* Frank M. Siegert for improvements in the PostScript code.
+* Leo Smiers for the decryption patches.
+* Rainer Menzner for creating t1lib, and for helping me adapt it to
+  xpdf.
+* Pine Tree Systems A/S for funding the OPI and EPS support in
+  pdftops.
+* Easy Software Products for funding several improvements to the
+  PostScript output code.
+* Tom Kacvinsky for help with FreeType and for being my interface to
+  the FreeType team.
+* Theppitak Karoonboonyanan for help with Thai support.
+* Leonard Rosenthol for help and contributions on a bunch of things.
+* Alexandros Diamantidis and Maria Adaloglou for help with Greek
+  support.
+* Lawrence Lai for help with the CJK Unicode maps.
+
+Various people have contributed modifications made for use by the
+pdftex project:
+
+* Han The Thanh
+* Martin Schröder of ArtCom GmbH
+
+
+References
+----------
+
+Adobe Systems Inc., _PDF Reference: Adobe Portable Document Format
+Version 1.5_.
+http://partners.adobe.com/asn/tech/pdf/specifications.jsp
+[The manual for PDF version 1.5.]
+
+Adobe Systems Inc., _PostScript Language Reference_, 3rd ed.
+Addison-Wesley, 1999, ISBN 0-201-37922-8.
+[The official PostScript manual.]
+
+Adobe Systems, Inc., _The Type 42 Font Format Specification_,
+Adobe Developer Support Technical Specification #5012.  1998.
+http://partners.adobe.com/asn/developer/pdfs/tn/5012.Type42_Spec.pdf
+[Type 42 is the format used to embed TrueType fonts in PostScript
+files.]
+
+Adobe Systems, Inc., _Adobe CMap and CIDFont Files Specification_,
+Adobe Developer Support Technical Specification #5014.  1995.
+http://www.adobe.com/supportservice/devrelations/PDFS/TN/5014.CIDFont_Spec.pdf
+[CMap file format needed for Japanese and Chinese font support.]
+
+Adobe Systems, Inc., _Adobe-Japan1-4 Character Collection for
+CID-Keyed Fonts_, Adobe Developer Support Technical Note #5078.
+2000.
+http://partners.adobe.com/asn/developer/PDFS/TN/5078.CID_Glyph.pdf
+[The Adobe Japanese character set.]
+
+Adobe Systems, Inc., _Adobe-GB1-4 Character Collection for
+CID-Keyed Fonts_, Adobe Developer Support Technical Note #5079.
+2000.
+http://partners.adobe.com/asn/developer/pdfs/tn/5079.Adobe-GB1-4.pdf
+[The Adobe Chinese GB (simplified) character set.]
+
+Adobe Systems, Inc., _Adobe-CNS1-3 Character Collection for
+CID-Keyed Fonts_, Adobe Developer Support Technical Note #5080.
+2000.
+http://partners.adobe.com/asn/developer/PDFS/TN/5080.CNS_CharColl.pdf
+[The Adobe Chinese CNS (traditional) character set.]
+
+Adobe Systems Inc., _Supporting the DCT Filters in PostScript Level
+2_, Adobe Developer Support Technical Note #5116.  1992.
+http://www.adobe.com/supportservice/devrelations/PDFS/TN/5116.PS2_DCT.PDF
+[Description of the DCTDecode filter parameters.]
+
+Adobe Systems Inc., _Open Prepress Interface (OPI) Specification -
+Version 2.0_, Adobe Developer Support Technical Note #5660.  2000.
+http://partners.adobe.com/asn/developer/PDFS/TN/5660.OPI_2.0.pdf
+
+Adobe Systems Inc., CMap files.
+ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/
+[The actual CMap files for the 16-bit CJK encodings.]
+
+Adobe Systems Inc., Unicode glyph lists.
+http://partners.adobe.com/asn/developer/type/unicodegn.html
+http://partners.adobe.com/asn/developer/type/glyphlist.txt
+http://partners.adobe.com/asn/developer/type/corporateuse.txt
+http://partners.adobe.com/asn/developer/type/zapfdingbats.txt
+[Mappings between character names to Unicode.]
+
+Aldus Corp., _OPI: Open Prepress Interface Specification 1.3_.  1993.
+http://partners.adobe.com/asn/developer/PDFS/TN/OPI_13.pdf
+
+Anonymous, RC4 source code.
+ftp://ftp.ox.ac.uk/pub/crypto/misc/rc4.tar.gz
+ftp://idea.sec.dsi.unimi.it/pub/crypt/code/rc4.tar.gz
+[This is the algorithm used to encrypt PDF files.]
+
+T. Boutell, et al., "PNG (Portable Network Graphics) Specification,
+Version 1.0.  RFC 2083.
+[PDF uses the PNG filter algorithms.]
+
+CCITT, "Information Technology - Digital Compression and Coding of
+Continuous-tone Still Images - Requirements and Guidelines", CCITT
+Recommendation T.81.
+http://www.w3.org/Graphics/JPEG/
+[The official JPEG spec.]
+
+A. Chernov, "Registration of a Cyrillic Character Set".  RFC 1489.
+[Documentation for the KOI8-R Cyrillic encoding.]
+
+Roman Czyborra, "The ISO 8859 Alphabet Soup".
+http://czyborra.com/charsets/iso8859.html
+[Documentation on the various ISO 859 encodings.]
+
+L. Peter Deutsch, "ZLIB Compressed Data Format Specification version
+3.3".  RFC 1950.
+[Information on the general format used in FlateDecode streams.]
+
+L. Peter Deutsch, "DEFLATE Compressed Data Format Specification
+version 1.3".  RFC 1951.
+[The definition of the compression algorithm used in FlateDecode
+streams.]
+
+Jim Flowers, "X Logical Font Description Conventions", Version 1.5, X
+Consortium Standard, X Version 11, Release 6.1.
+ftp://ftp.x.org/pub/R6.1/xc/doc/hardcopy/XLFD/xlfd.PS.Z
+[The official specification of X font descriptors, including font
+transformation matrices.]
+
+Foley, van Dam, Feiner, and Hughes, _Computer Graphics: Principles and
+Practice_, 2nd ed.  Addison-Wesley, 1990, ISBN 0-201-12110-7.
+[Colorspace conversion functions, Bezier spline math.]
+
+Robert L. Hummel, _Programmer's Technical Reference: Data and Fax
+Communications_.  Ziff-Davis Press, 1993, ISBN 1-56276-077-7.
+[CCITT Group 3 and 4 fax decoding.]
+
+ISO/IEC, _Information technology -- Lossy/lossless coding of bi-level
+images_.  ISO/IEC 14492, First edition (2001-12-15).
+http://webstore.ansi.org/
+[The official JBIG2 standard.  The final draft of this spec is
+available from http://www.jpeg.org/jbighomepage.html.]
+
+ISO/IEC, _Information technology -- JPEG 2000 image coding system --
+Part 1: Core coding system_.  ISO/IEC 15444-1, First edition
+(2000-12-15).
+http://webstore.ansi.org/
+[The official JPEG 2000 standard.  The final committee draft of this
+spec is available from http://www.jpeg.org/JPEG2000.html, but there
+were changes made to the bitstream format between that draft and the
+published spec.]
+
+ITU, "Standardization of Group 3 facsimile terminals for document
+transmission", ITU-T Recommendation T.4, 1999.
+ITU, "Facsimile coding schemes and coding control functions for Group 4
+facsimile apparatus", ITU-T Recommendation T.6, 1993.
+http://www.itu.int/
+[The official Group 3 and 4 fax standards - used by the CCITTFaxDecode
+stream, as well as the JBIG2Decode stream.]
+
+Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz, "Practical
+Fast 1-D DCT Algorithms with 11 Multiplications".  IEEE Intl. Conf. on
+Acoustics, Speech & Signal Processing, 1989, 988-991.
+[The fast IDCT algorithm used in the DCTDecode filter.]
+
+Microsoft, _TrueType 1.0 Font Files_, rev. 1.66.  1995.
+http://www.microsoft.com/typography/tt/tt.htm
+[The TrueType font spec (in MS Word format, naturally).]
+
+Thai Industrial Standard, "Standard for Thai Character Codes for
+Computers", TIS-620-2533 (1990).
+http://www.nectec.or.th/it-standards/std620/std620.htm
+[The TIS-620 Thai encoding.]
+
+P. Peterlin, "ISO 8859-2 (Latin 2) Resources".
+http://sizif.mf.uni-lj.si/linux/cee/iso8859-2.html
+[This is a web page with all sorts of useful Latin-2 character set and
+font information.]
+
+Charles Poynton, "Color FAQ".
+http://www.inforamp.net/~poynton/ColorFAQ.html
+[The mapping from the CIE 1931 (XYZ) color space to RGB.]
+
+R. Rivest, "The MD5 Message-Digest Algorithm".  RFC 1321.
+[MD5 is used in PDF document encryption.]
+
+Unicode Consortium, "Unicode Home Page".
+http://www.unicode.org/
+[Online copy of the Unicode spec.]
+
+W3C Recommendation, "PNG (Portable Network Graphics) Specification
+Version 1.0".
+http://www.w3.org/Graphics/PNG/
+[Defines the PNG image predictor.]
+
+Gregory K. Wallace, "The JPEG Still Picture Compression Standard".
+ftp://ftp.uu.net/graphics/jpeg/wallace.ps.gz
+[Good description of the JPEG standard.  Also published in CACM, April
+1991, and submitted to IEEE Transactions on Consumer Electronics.]
+
+F. Yergeau, "UTF-8, a transformation format of ISO 10646".  RFC 2279.
+[A commonly used Unicode encoding.]


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/README
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdffonts.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdffonts.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdffonts.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/pdffonts.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/pdffonts.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,107 @@
+pdffonts(1)                                           pdffonts(1)
+
+
+
+NAME
+       pdffonts  -  Portable  Document Format (PDF) font analyzer
+       (version 3.00)
+
+SYNOPSIS
+       pdffonts [options] [PDF-file]
+
+DESCRIPTION
+       Pdffonts lists the fonts used in a Portable Document  For-
+       mat  (PDF)  file  along  with various information for each
+       font.
+
+       The following information is listed for each font:
+
+       name   the font name, exactly as given  in  the  PDF  file
+              (potentially including a subset prefix)
+
+       type   the font type -- see below for details
+
+       emb    "yes" if the font is embedded in the PDF file
+
+       sub    "yes" if the font is a subset
+
+       uni    "yes"  if  there  is an explicit "ToUnicode" map in
+              the PDF  file  (the  absence  of  a  ToUnicode  map
+              doesn't  necessarily  mean  that  the text can't be
+              converted to Unicode)
+
+       object ID
+              the font dictionary object ID (number  and  genera-
+              tion)
+
+       PDF files can contain the following types of fonts:
+
+              Type 1
+              Type 1C -- aka Compact Font Format (CFF)
+              Type 3
+              TrueType
+              CID Type 0 -- 16-bit font with no specified type
+              CID Type 0C -- 16-bit PostScript CFF font
+              CID TrueType -- 16-bit TrueType font
+
+CONFIGURATION FILE
+       Pdffonts  reads a configuration file at startup.  It first
+       tries to find the user's private config  file,  ~/.xpdfrc.
+       If  that  doesn't exist, it looks for a system-wide config
+       file, typically /usr/local/etc/xpdfrc (but  this  location
+       can be changed when pdffonts is built).  See the xpdfrc(5)
+       man page for details.
+
+OPTIONS
+       Many of the following options can be set  with  configura-
+       tion  file  commands.  These are listed in square brackets
+       with the description of  the  corresponding  command  line
+       option.
+
+       -f number
+              Specifies the first page to analyze.
+
+       -l number
+              Specifies the last page to analyze.
+
+       -opw password
+              Specify  the owner password for the PDF file.  Pro-
+              viding this will bypass all security  restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -cfg config-file
+              Read  config-file in place of ~/.xpdfrc or the sys-
+              tem-wide config file.
+
+       -v     Print copyright and version information.
+
+       -h     Print usage information.   (-help  and  --help  are
+              equivalent.)
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdffonts  software  and  documentation  are copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),     pdftops(1),     pdftotext(1),     pdfinfo(1),
+       pdftoppm(1), pdfimages(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004              pdffonts(1)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdffonts.txt
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdfimages.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdfimages.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdfimages.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/pdfimages.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/pdfimages.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,87 @@
+pdfimages(1)                                         pdfimages(1)
+
+
+
+NAME
+       pdfimages - Portable Document Format (PDF) image extractor
+       (version 3.00)
+
+SYNOPSIS
+       pdfimages [options] PDF-file image-root
+
+DESCRIPTION
+       Pdfimages saves images from  a  Portable  Document  Format
+       (PDF)  file  as  Portable  Pixmap  (PPM),  Portable Bitmap
+       (PBM), or JPEG files.
+
+       Pdfimages reads the PDF file, scans  one  or  more  pages,
+       PDF-file,  and  writes one PPM, PBM, or JPEG file for each
+       image, image-root-nnn.xxx, where nnn is the  image  number
+       and xxx is the image type (.ppm, .pbm, .jpg).
+
+CONFIGURATION FILE
+       Pdfimages reads a configuration file at startup.  It first
+       tries to find the user's private config  file,  ~/.xpdfrc.
+       If  that  doesn't exist, it looks for a system-wide config
+       file, typically /usr/local/etc/xpdfrc (but  this  location
+       can   be  changed  when  pdfimages  is  built).   See  the
+       xpdfrc(5) man page for details.
+
+OPTIONS
+       Many of the following options can be set  with  configura-
+       tion  file  commands.  These are listed in square brackets
+       with the description of  the  corresponding  command  line
+       option.
+
+       -f number
+              Specifies the first page to scan.
+
+       -l number
+              Specifies the last page to scan.
+
+       -j     Normally,  all  images  are  written  as  PBM  (for
+              monochrome  images)  or  PPM  (for   non-monochrome
+              images)  files.   With  this  option, images in DCT
+              format are saved as JPEG files.  All non-DCT images
+              are saved in PBM/PPM format as usual.
+
+       -opw password
+              Specify  the owner password for the PDF file.  Pro-
+              viding this will bypass all security  restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -q     Don't  print any messages or errors.  [config file:
+              errQuiet]
+
+       -v     Print copyright and version information.
+
+       -h     Print usage information.   (-help  and  --help  are
+              equivalent.)
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdfimages  software  and  documentation are copyright
+       1998-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),  pdftops(1),   pdftotext(1),   pdfinfo(1),   pdf-
+       fonts(1), pdftoppm(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004             pdfimages(1)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdfimages.txt
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdfinfo.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdfinfo.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdfinfo.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/pdfinfo.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/pdfinfo.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,119 @@
+pdfinfo(1)                                             pdfinfo(1)
+
+
+
+NAME
+       pdfinfo - Portable Document Format (PDF) document informa-
+       tion extractor (version 3.00)
+
+SYNOPSIS
+       pdfinfo [options] [PDF-file]
+
+DESCRIPTION
+       Pdfinfo prints the contents of the 'Info' dictionary (plus
+       some  other  useful  information) from a Portable Document
+       Format (PDF) file.
+
+       The 'Info' dictionary contains the following values:
+
+              title
+              subject
+              keywords
+              author
+              creator
+              producer
+              creation date
+              modification date
+
+       In addition, the following information is printed:
+
+              tagged (yes/no)
+              page count
+              encrypted flag (yes/no)
+              print and copy permissions (if encrypted)
+              page size
+              file size
+              linearized (yes/no)
+              PDF version
+              metadata (only if requested)
+
+CONFIGURATION FILE
+       Pdfinfo reads a configuration file at startup.   It  first
+       tries  to  find the user's private config file, ~/.xpdfrc.
+       If that doesn't exist, it looks for a  system-wide  config
+       file,  typically  /usr/local/etc/xpdfrc (but this location
+       can be changed when pdfinfo is built).  See the  xpdfrc(5)
+       man page for details.
+
+OPTIONS
+       Many  of  the following options can be set with configura-
+       tion file commands.  These are listed in  square  brackets
+       with  the  description  of  the corresponding command line
+       option.
+
+       -f number
+              Specifies the first page to examine.   If  multiple
+              pages   are  requested  using  the  "-f"  and  "-l"
+              options, the size  of  each  requested  page  (and,
+              optionally,  the  bounding boxes for each requested
+              page) are printed.  Otherwise,  only  page  one  is
+              examined.
+
+       -l number
+              Specifies the last page to examine.
+
+       -box   Prints the page box bounding boxes: MediaBox, Crop-
+              Box, BleedBox, TrimBox, and ArtBox.
+
+       -meta  Prints  document-level  metadata.   (This  is   the
+              "Metadata"  stream  from  the  PDF  file's  Catalog
+              object.)
+
+       -enc encoding-name
+              Sets the encoding to  use  for  text  output.   The
+              encoding-name  must  be defined with the unicodeMap
+              command (see xpdfrc(5)).  This defaults to "Latin1"
+              (which is a built-in encoding).  [config file: tex-
+              tEncoding]
+
+       -opw password
+              Specify the owner password for the PDF file.   Pro-
+              viding  this will bypass all security restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -cfg config-file
+              Read config-file in place of ~/.xpdfrc or the  sys-
+              tem-wide config file.
+
+       -v     Print copyright and version information.
+
+       -h     Print  usage  information.   (-help  and --help are
+              equivalent.)
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdfinfo  software  and  documentation  are  copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),     pdftops(1),     pdftotext(1),    pdffonts(1),
+       pdftoppm(1), pdfimages(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004               pdfinfo(1)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdfinfo.txt
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdftops.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdftops.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdftops.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/pdftops.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/pdftops.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,217 @@
+pdftops(1)                                             pdftops(1)
+
+
+
+NAME
+       pdftops  -  Portable  Document  Format (PDF) to PostScript
+       converter (version 3.00)
+
+SYNOPSIS
+       pdftops [options] [PDF-file [PS-file]]
+
+DESCRIPTION
+       Pdftops converts Portable Document Format (PDF)  files  to
+       PostScript so they can be printed.
+
+       Pdftops  reads  the  PDF  file,  PDF-file,  and  writes  a
+       PostScript file, PS-file.  If PS-file  is  not  specified,
+       pdftops converts file.pdf to file.ps (or file.eps with the
+       -eps option).  If PS-file is '-', the PostScript  is  sent
+       to stdout.
+
+CONFIGURATION FILE
+       Pdftops  reads  a configuration file at startup.  It first
+       tries to find the user's private config  file,  ~/.xpdfrc.
+       If  that  doesn't exist, it looks for a system-wide config
+       file, typically /usr/local/etc/xpdfrc (but  this  location
+       can  be changed when pdftops is built).  See the xpdfrc(5)
+       man page for details.
+
+OPTIONS
+       Many of the following options can be set  with  configura-
+       tion  file  commands.  These are listed in square brackets
+       with the description of  the  corresponding  command  line
+       option.
+
+       -f number
+              Specifies the first page to print.
+
+       -l number
+              Specifies the last page to print.
+
+       -level1
+              Generate   Level   1   PostScript.   The  resulting
+              PostScript files will be significantly  larger  (if
+              they  contain  images),  but  will print on Level 1
+              printers.  This also converts all images  to  black
+              and  white.   No  more  than  one of the PostScript
+              level  options   (-level1,   -level1sep,   -level2,
+              -level2sep,  -level3,  -level3Sep)  may  be  given.
+              [config file: psLevel]
+
+       -level1sep
+              Generate Level 1 separable PostScript.  All  colors
+              are  converted  to  CMYK.   Images are written with
+              separate  stream  data  for  the  four  components.
+              [config file: psLevel]
+
+       -level2
+              Generate  Level  2  PostScript.   Level  2 supports
+              color images and image compression.   This  is  the
+              default setting.  [config file: psLevel]
+
+       -level2sep
+              Generate  Level 2 separable PostScript.  All colors
+              are converted to CMYK.  The  PostScript  separation
+              convention  operators  are  used  to  handle custom
+              (spot) colors.  [config file: psLevel]
+
+       -level3
+              Generate Level  3  PostScript.   This  enables  all
+              Level  2 features plus CID font embedding.  [config
+              file: psLevel]
+
+       -level3Sep
+              Generate Level 3 separable PostScript.  The separa-
+              tion handling is the same as for -level2Sep.  [con-
+              fig file: psLevel]
+
+       -eps   Generate an Encapsulated PostScript (EPS) file.  An
+              EPS  file  contains  a  single image, so if you use
+              this option with a multi-page PDF  file,  you  must
+              use  -f  and  -l to specify a single page.  No more
+              than one of the mode options (-eps, -form)  may  be
+              given.
+
+       -form  Generate a PostScript form which can be imported by
+              software that understands forms.  A form contains a
+              single  page,  so  if  you  use  this option with a
+              multi-page PDF file, you must  use  -f  and  -l  to
+              specify  a  single page.  The -level1 option cannot
+              be used with -form.
+
+       -opi   Generate OPI comments  for  all  images  and  forms
+              which  have  OPI information.  (This option is only
+              available if pdftops was  compiled  with  OPI  sup-
+              port.)  [config file: psOPI]
+
+       -noembt1
+              By  default, any Type 1 fonts which are embedded in
+              the PDF file are copied into the  PostScript  file.
+              This option causes pdftops to substitute base fonts
+              instead.   Embedded  fonts  make  PostScript  files
+              larger,  but  may be necessary for readable output.
+              [config file: psEmbedType1Fonts]
+
+       -noembtt
+              By default, any TrueType fonts which  are  embedded
+              in  the  PDF  file  are  copied into the PostScript
+              file.  This option  causes  pdftops  to  substitute
+              base fonts instead.  Embedded fonts make PostScript
+              files larger, but may  be  necessary  for  readable
+              output.   Also, some PostScript interpreters do not
+              have TrueType  rasterizers.   [config  file:  psEm-
+              bedTrueTypeFonts]
+
+       -noembcidps
+              By  default,  any  CID  PostScript  fonts which are
+              embedded in  the  PDF  file  are  copied  into  the
+              PostScript  file.  This option disables that embed-
+              ding.  No attempt is made to  substitute  for  non-
+              embedded CID PostScript fonts.  [config file: psEm-
+              bedCIDPostScriptFonts]
+
+       -noembcidtt
+              By default, any CID TrueType fonts which are embed-
+              ded  in the PDF file are copied into the PostScript
+              file.  This option  disables  that  embedding.   No
+              attempt  is made to substitute for non-embedded CID
+              TrueType fonts.  [config file:  psEmbedCIDTrueType-
+              Fonts]
+
+       -paper size
+              Set  the  paper  size  to one of "letter", "legal",
+              "A4", or "A3".  This can also be  set  to  "match",
+              which  will  set  the  paper size to match the size
+              specified in the PDF file.  [config file:  psPaper-
+              Size]
+
+       -paperw size
+              Set  the  paper  width,  in  points.  [config file:
+              psPaperSize]
+
+       -paperh size
+              Set the paper height,  in  points.   [config  file:
+              psPaperSize]
+
+       -nocrop
+              By default, output is cropped to the CropBox speci-
+              fied in the PDF file.  This option  disables  crop-
+              ping.  [config file: psCrop]
+
+       -expand
+              Expand PDF pages smaller than the paper to fill the
+              paper.  By default, these  pages  are  not  scaled.
+              [config file: psExpandSmaller]
+
+       -noshrink
+              Don't  scale  PDF  pages  which are larger than the
+              paper.  By default, pages larger than the paper are
+              shrunk to fit.  [config file: psShrinkLarger]
+
+       -nocenter
+              By default, PDF pages smaller than the paper (after
+              any scaling)  are  centered  on  the  paper.   This
+              option  causes them to be aligned to the lower-left
+              corner of the paper instead.  [config file:  psCen-
+              ter]
+
+       -duplex
+              Set  the  Duplex pagedevice entry in the PostScript
+              file.  This tells duplex-capable printers to enable
+              duplexing.  [config file: psDuplex]
+
+       -opw password
+              Specify  the owner password for the PDF file.  Pro-
+              viding this will bypass all security  restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -q     Don't  print any messages or errors.  [config file:
+              errQuiet]
+
+       -cfg config-file
+              Read config-file in place of ~/.xpdfrc or the  sys-
+              tem-wide config file.
+
+       -v     Print copyright and version information.
+
+       -h     Print  usage  information.   (-help  and --help are
+              equivalent.)
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdftops  software  and  documentation  are  copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),     pdftotext(1),     pdfinfo(1),    pdffonts(1),
+       pdftoppm(1), pdfimages(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004               pdftops(1)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdftops.txt
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdftotext.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdftotext.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/pdftotext.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/pdftotext.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/pdftotext.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,120 @@
+pdftotext(1)                                         pdftotext(1)
+
+
+
+NAME
+       pdftotext  -  Portable  Document Format (PDF) to text con-
+       verter (version 3.00)
+
+SYNOPSIS
+       pdftotext [options] [PDF-file [text-file]]
+
+DESCRIPTION
+       Pdftotext converts Portable Document Format (PDF) files to
+       plain text.
+
+       Pdftotext  reads the PDF file, PDF-file, and writes a text
+       file, text-file.  If text-file is not specified, pdftotext
+       converts  file.pdf  to file.txt.  If text-file is '-', the
+       text is sent to stdout.
+
+CONFIGURATION FILE
+       Pdftotext reads a configuration file at startup.  It first
+       tries  to  find the user's private config file, ~/.xpdfrc.
+       If that doesn't exist, it looks for a  system-wide  config
+       file,  typically  /usr/local/etc/xpdfrc (but this location
+       can  be  changed  when  pdftotext  is  built).   See   the
+       xpdfrc(5) man page for details.
+
+OPTIONS
+       Many  of  the following options can be set with configura-
+       tion file commands.  These are listed in  square  brackets
+       with  the  description  of  the corresponding command line
+       option.
+
+       -f number
+              Specifies the first page to convert.
+
+       -l number
+              Specifies the last page to convert.
+
+       -layout
+              Maintain (as best as possible) the original  physi-
+              cal  layout  of the text.  The default is to 'undo'
+              physical layout (columns,  hyphenation,  etc.)  and
+              output the text in reading order.
+
+       -raw   Keep  the  text in content stream order.  This is a
+              hack which often "undoes" column  formatting,  etc.
+              Use of raw mode is no longer recommended.
+
+       -htmlmeta
+              Generate  a  simple  HTML  file, including the meta
+              information.  This simply wraps the text  in  <pre>
+              and </pre> and prepends the meta headers.
+
+       -enc encoding-name
+              Sets  the  encoding  to  use  for text output.  The
+              encoding-name must be defined with  the  unicodeMap
+              command  (see  xpdfrc(5)).   The  encoding  name is
+              case-sensitive.  This defaults to  "Latin1"  (which
+              is  a built-in encoding).  [config file: textEncod-
+              ing]
+
+       -eol unix | dos | mac
+              Sets the end-of-line convention  to  use  for  text
+              output.  [config file: textEOL]
+
+       -nopgbrk
+              Don't  insert  page  breaks  (form feed characters)
+              between pages.  [config file: textPageBreaks]
+
+       -opw password
+              Specify the owner password for the PDF file.   Pro-
+              viding  this will bypass all security restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -q     Don't print any messages or errors.  [config  file:
+              errQuiet]
+
+       -cfg config-file
+              Read  config-file in place of ~/.xpdfrc or the sys-
+              tem-wide config file.
+
+       -v     Print copyright and version information.
+
+       -h     Print usage information.   (-help  and  --help  are
+              equivalent.)
+
+BUGS
+       Some  PDF  files  contain  fonts whose encodings have been
+       mangled beyond recognition.  There is  no  way  (short  of
+       OCR) to extract text from these files.
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdftotext  software  and  documentation are copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1), pdftops(1), pdfinfo(1), pdffonts(1), pdftoppm(1),
+       pdfimages(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004             pdftotext(1)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/pdftotext.txt
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/sample-xpdfrc
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/sample-xpdfrc	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/sample-xpdfrc	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,91 @@
+#========================================================================
+#
+# Sample xpdfrc file
+#
+# The Xpdf tools look for a config file in two places:
+# 1. ~/.xpdfrc
+# 2. in a system-wide directory, typically /usr/local/etc/xpdfrc
+#
+# This sample config file demonstrates some of the more common
+# configuration options.  Everything here is commented out.  You
+# should edit things (especially the file/directory paths, since
+# they'll likely be different on your system), and uncomment whichever
+# options you want to use.  For complete details on config file syntax
+# and available options, please see the xpdfrc(5) man page.
+#
+# Also, the Xpdf language support packages each include a set of
+# options to be added to the xpdfrc file.
+#
+# http://www.foolabs.com/xpdf/
+#
+#========================================================================
+
+#----- display fonts
+
+# These map the Base-14 fonts to the Type 1 fonts that ship with
+# ghostscript.  You'll almost certainly want to use something like
+# this, but you'll need to adjust this to point to wherever
+# ghostscript is installed on your system.  (But if the fonts are
+# installed in a "standard" location, xpdf will find them
+# automatically.)
+
+#displayFontT1 Times-Roman		/usr/local/share/ghostscript/fonts/n021003l.pfb
+#displayFontT1 Times-Italic		/usr/local/share/ghostscript/fonts/n021023l.pfb
+#displayFontT1 Times-Bold		/usr/local/share/ghostscript/fonts/n021004l.pfb
+#displayFontT1 Times-BoldItalic		/usr/local/share/ghostscript/fonts/n021024l.pfb
+#displayFontT1 Helvetica		/usr/local/share/ghostscript/fonts/n019003l.pfb
+#displayFontT1 Helvetica-Oblique	/usr/local/share/ghostscript/fonts/n019023l.pfb
+#displayFontT1 Helvetica-Bold		/usr/local/share/ghostscript/fonts/n019004l.pfb
+#displayFontT1 Helvetica-BoldOblique	/usr/local/share/ghostscript/fonts/n019024l.pfb
+#displayFontT1 Courier			/usr/local/share/ghostscript/fonts/n022003l.pfb
+#displayFontT1 Courier-Oblique		/usr/local/share/ghostscript/fonts/n022023l.pfb
+#displayFontT1 Courier-Bold		/usr/local/share/ghostscript/fonts/n022004l.pfb
+#displayFontT1 Courier-BoldOblique	/usr/local/share/ghostscript/fonts/n022024l.pfb
+#displayFontT1 Symbol			/usr/local/share/ghostscript/fonts/s050000l.pfb
+#displayFontT1 ZapfDingbats		/usr/local/share/ghostscript/fonts/d050000l.pfb
+
+# If you need to display PDF files that refer to non-embedded fonts,
+# you should add one or more fontDir options to point to the
+# directories containing the font files.  Xpdf will only look at .pfa,
+# .pfb, and .ttf files in those directories (other files will simply
+# be ignored).
+
+#fontDir		/usr/local/fonts/bakoma
+
+#----- PostScript output control
+
+# Set the default PostScript file or command.
+
+#psFile			"|lpr -Pmyprinter"
+
+# Set the default PostScript paper size -- this can be letter, legal,
+# A4, or A3.  You can also specify a paper size as width and height
+# (in points).
+
+#psPaperSize		letter
+
+#----- text output control
+
+# Choose a text encoding for copy-and-paste and for pdftotext output.
+# The Latin1, ASCII7, and UTF-8 encodings are built into Xpdf.  Other
+# encodings are available in the language support packages.
+
+#textEncoding		UTF-8
+
+# Choose the end-of-line convention for multi-line copy-and-past and
+# for pdftotext output.  The available options are unix, mac, and dos.
+
+#textEOL		unix
+
+#----- misc settings
+
+# Enable t1lib, FreeType, and anti-aliased text.
+
+#enableT1lib		yes
+#enableFreeType		yes
+#antialias		yes
+
+# Set the command used to run a web browser when a URL hyperlink is
+# clicked.
+
+#urlCommand	"netscape -remote 'openURL(%s)'"


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/sample-xpdfrc
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/ANNOUNCE
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/ANNOUNCE	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/ANNOUNCE	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,33 @@
+Subject: ANNOUNCE: Xpdf 3.00 - a PDF viewer for X
+
+
+Glyph & Cog, LLC is pleased to announce a new version of Xpdf, the
+open source Portable Document Format (PDF) viewer for X.  The Xpdf
+project also includes a PDF text extractor, PDF-to-PostScript
+converter, and various other utilities.
+
+Xpdf runs under the X Window System on Unix, VMS, and OS/2.  The non-X
+components (pdftops, pdftotext, etc.) also run on Win32 systems and
+should run on pretty much any system with a decent C++ compiler.
+
+Major changes:
+* New PDF rasterizer ("Splash").
+* Added support for PDF 1.5.
+* Replaced pdftopbm with pdftoppm (which can generate PBM, PGM, and PPM
+  files).
+
+See the `CHANGES' file for a complete list of changes.
+
+Source (C++ and C) is available, and it should be fairly easy to
+compile for UNIX, VMS, OS/2, and Win32.
+
+More information, source code, and precompiled binaries are on the
+xpdf web page and ftp site:
+
+    http://www.foolabs.com/xpdf/
+    ftp://ftp.foolabs.com/pub/xpdf/
+
+For information on commercial licensing and consulting, please see the
+Glyph & Cog web site:
+
+    http://www.glyphandcog.com/

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/CHANGES
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/CHANGES	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/CHANGES	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,1565 @@
+0.2 (95-dec-12)
+---------------
+First public release.
+
+
+0.3 (96-jan-13)
+---------------
+LZW patent workaround.
+Implemented inline images.
+Fixed (mostly) disjoint polygon fills.
+Added remote server stuff.
+Added page number on command line.
+Fixed problem with font encodings which caused character misalignment.
+Fixed inverted CCITT decoding and inverted image mask drawing.
+Now compiles under gcc 2.7.x (ignore those stupid 'unused parameter'
+  warnings).
+Many minor bug fixes and optimizations.
+
+
+0.4 (96-apr-24)
+---------------
+Implemented DCT filter.
+Implemented PostScript output; wrote pdftops program.
+Implemented links.
+Implemented font rotation -- I was wrong: X11R6 servers *do* support
+  font rotation (by specifying a matrix in place of a size).
+Added bindings for Home/End, Page Up/Down, arrow keys.
+Added initialZoom resource and -z option.
+Added geometry resource and -g option.
+Fixed image size off-by-one bug.
+Fixed bug where page content is reference to an array of streams.
+Cleaned up uninitialized variables which were causing random problems
+  on various platforms.
+Manually skip whitespace before calling atoi() for startxref.
+Replaced calls to XrmCombineFileDatabase() with calls to
+  XrmGetFileDatabase() and XrmMergeDatabases() so it will work under
+  older versions of X.
+Fixed problem with reading multiple xref tables in updated PDF files.
+Check for encryption and print appropriate error message.
+Rudimentary dithering of images.
+Fixed bug in CCITTFax filter (pass mode followed by horizontal mode).
+Optimized drawImage() and drawImageMask().
+Changed several things to ease porting:
+  - changed '__inline' to 'inline' (to adhere to the ANSI standard)
+  - surrounded interface/implementation pragmas with #ifdef _GNUC__
+  - got rid of empty array initializer lists
+  - moved Operator type definition from Gfx.cc to Gfx.h
+  - renamed String, uint, etc.
+  - ability to uncompress to file (NO_POPEN and USE_GZIP flags)
+  - added definitions of XK_Page_Up/Down and XPointer for old versions
+    of X
+For VMS port:
+  - use correct Xdefaults name for VMS, get rid of ltkGetHomeDir()
+  - added '#include <stddef.h>' before all X includes
+  - renamed files with multiple periods in their names
+Fixed window resizing infinite oscillation bug.
+Fixed problem with string-type (as opposed to stream-type) indexed
+  color space lookup tables (which are used in inline images).
+If an X font is not found, try smaller and then larger sizes (this is
+  useful for old or broken X servers which can't scale bitmap fonts).
+Added -rgb (color cube size) option.
+Various minor bug fixes.
+
+
+0.5 (96-may-23)
+---------------
+Fixed bug in LTKWindow which broke the remote server mode.
+Fixed PostScript output:
+  - doesn't seg fault if file is unwritable.
+  - incorrect DSC comment - need colon in '%%Page:'.
+  - use 'imagemask' command for masks.
+  - output filters in the correct order.
+  - Stream::isBinary() checks the next-to-bottom, not top, stream.
+  - if page width > height, rotate it 90 degrees.
+  - if page is larger than paper size, scale it down.
+Set default MediaBox to 8.5" x 11" to deal with non-compliant PDF
+  files which don't specify a MediaBox.
+Added DEBUG_MEM stuff in gmem.c and gmempp.cc.
+Fixed memory leaks:
+  - LTKWindow didn't delete the LTKBox.
+  - LinkAction needs a virtual destructor.
+Use $(RANLIB) variable in goo/Makefile and ltk/Makefile.
+Allocate image data after calling XCreateImage, using
+  image->bytes_per_line -- works in 24-bit mode now.
+DCTStream rounds width of rowBuf lines up to the next multiple of
+  mcuWidth, so last MCU doesn't run off end of buffer.
+Increase size of block (from 255 to 1024 bytes) read at end of file to
+  search for 'startxref'.
+Skip past garbage at start of file, look for '%PDF'.
+Moved more compiler options out of Makefiles into Makefile.config.
+Top-level Makefile uses '$(MAKE)' instead of 'make' for making
+  subdirectories.
+Space/PageDown/Next and Backspace/PageUp/Previous now moves to
+  next/previous page if already scrolled to bottom/top of current
+  page.
+
+
+0.5a (96-jul-09)
+----------------
+[not a public release]
+For PDF 1.2 (a.k.a. Amber, a.k.a. Acrobat 3) support:
+  - look for trailer after first xref instead of at end of file.
+Deal with font subsets by converting character names of the form
+  'Cnnnn' to the appropriate character from the standard encoding.
+Extract encoding from embedded Type 1 fonts.
+Kludge to fill one-pixel thick polygons.
+Changed X font encoding to use endash for hyphen (gets rid of too-long
+  hyphens).
+Handle Resources key in Pages dictionaries (needed for pstoedit
+  output).
+Fix comment handling in Parser (needed for pstoedit output).
+Move Bezier curve conversion from GfxState to XOutputDev; look at
+  flatness parameter in GfxState.
+Change all of the path functions in XOutputDev (stroke, fill, clip) to
+  use the same path transformation/conversion function.
+Rewrote PostScript output driver as a subclass of OutputDev; removed
+  duplicated code (ps_ functions) from Gfx.
+Fixed bug in xref code with small (< 1024 bytes) PDF files.
+Implemented BX/EX operators.
+Added PDFDoc class.
+
+
+0.6 (96-nov-12)
+---------------
+Add support for PostScript output to stdout (-) and to a command
+  (|lpr); added -ps option and psFile resource.
+Decryption is implemented but not included in the distribution due to
+  legal restrictions: the decryption algorithm is a trade secret of
+  RSA, Inc., and the U.S.A. still has bogus export controls on
+  cryptography software.
+Added .xpdfrc config file:
+  - Added fontmap parameter: user can map PDF font names to X fonts.
+  - Added fontpath parameter: search for Type 1 font if encoding is
+    not in PDF file.
+Incremental display: display is updated after every 200 commands.
+Added forward and backward by-10-page buttons.
+Links:
+  - Implement links with "Launch" actions that point to PDF files.
+  - Draw borders around links.
+  - Handle links with named destinations.
+  - GoToR links specify a page number instead of a page reference.
+Optimizations:
+  - Rewrote Stream to use buffering, and added lookChar() functions;
+    rewrote Lexer to take advantage of this.
+  - Use hash tables for name->code mapping in font encodings.
+  - Made XOutputDev::doCurve() iterative, changed /2 to *0.5, and
+    changed the flatness test.
+Added file name to window title.
+Implemented RunLength filter.
+Implemented forms.
+Convert ObjType to an enum.
+Changed isDict("Pages") to isDict() (in Catalog.cc) to deal with
+  incorrect PDF files.
+Changed color selection so that very pale colors don't map to white.
+Fixed bug in CCITTFax filter (multiple make-up codes).
+In GString::clear(): need to set length to 0 before calling resize().
+Base initial window size on first displayed page, not page 1; deal
+  correctly with rotated pages.
+Added ltkGetIntResource() and LTKApp::getIntResource().
+PostScript output fixes:
+  - Escape backslashes in strings.
+  - When doing ASCII85 encoding, keep both chars of EOF marker ('~>')
+    on same line.
+  - Add extra line '%-EOD-' after image data streams; call wrapper
+    functions for image and imagemask which look for this line -- this
+    should fix the 'too much data in stream' bug.
+  - Font tags can be reused for different fonts on different pages --
+    so use font object reference (number/generation) instead.
+Initialize character widths to zero (this caused crashes on OSF/1).
+Handle image masks which go outside of pixmap.
+Makefile.config changes:
+  - Remove -o in C++ compile rule.
+  - Add $(AR) variable.
+Code which read char widths from font dictionary read all but the last
+  width.
+Add 'return 0;' to main() in xpdf and pdftops.
+Allow fonts to use StandardEncoding.
+Convert man pages to VMS help files.
+
+0.7 (97-may-28)
+---------------
+Implemented FlateDecode filter (for PDF 1.2).
+Basic xref table reconstruction for damaged files
+New pdftotext program converts PDF to plain text.
+Implemented menus in LTK; added a menu to xpdf.
+Added open and save functions; allow xpdf to start without any PDF
+  file.
+Implemented text find.
+Implemented text select/copy.
+Change mouse cursor when it's over a link.
+Embed Type 1 fonts in PostScript output.
+Moved rotate functions to menu; added quit to menu.
+Fixed stroke color bug in PostScript output (was using fill color
+  instead of stroke color; this sometimes caused lines to be missing
+  (white) in PostScript output).
+Support Launch-type links -- pops up a dialog before executing
+  anything.  Expects the A (action) dictionary to contain a Unix
+  dictionary with F (file) and P (paremeter) keys just like the Win
+  dictionary.
+A moveto op all by itself should just be discarded, instead of
+  generating a subpath with one point (this was causing seg faults).
+Balanced parentheses in strings don't need to be escaped.
+Tj operator in PostScript prolog didn't check for zero when dividing
+  by length of string.
+Implemented selection in LTK; TextIn widgets support dragging/copy/
+  paste.
+Handle font subsets that use hex character codes.
+Added icon pixmap; added the XPMLIB and NO_XPM variables to
+  Makefile.config.
+Fixed subtle bug in use of horizontal scaling parameter (it affects
+  only the width of drawn characters, not positioning done in text
+  space).
+Memory testing (with DEBUG_MEM):
+  - gmalloc now fills memory blocks with garbage to catch unitialized
+    fields.
+  - gfree fills memory blocks with garbage to catch uses of freed
+    blocks.
+Handle image masks which go off the pixmap on the top and/or left.
+Fixed inline functions which had two return statements (to make the
+  HP, SCO, and other cfront-based compilers happy).
+Fixed bug which caused seg faults when following a link to a different
+  file (info in LinkGoto object was used after link was deleted by
+  loadFile).
+If page content is an array of streams, the streams are concatenated;
+  objects and commands can span multiple streams.
+If file open fails, try lower-casing and upper-casing the file name.
+Commands should end when lexer sees a '/' character.
+GString::append(char *, int) was broken.
+Changed LTKScrollingCanvas redraw to be more efficient: copy as much
+  as possible from window before copying from off-screen pixmap.
+Ignore gs (set extended graphics state) operator.
+Handle colorspaces (CalGray/RGB are treated as DeviceGray/RGB; the
+  weird colorspaces are not yet implemented).
+Named destinations (for links) can be strings as well as names; deal
+  with the names tree in the catalog.
+Clip to the page CropBox.
+Added '-q' to gzip options (to suppress warnings, in case user has -v
+  in GZIP env var).
+Added 'include Makefile.config' to top-level Makefile.
+Added INSTALL variable to Makefile.config; used in top-level
+  Makefile.
+Always initialize LinkDest left/bottom/top/right/zoom fields (bogus
+  floating point values were causing crashes on Alpha).
+Added Makefile.config options for Digital Unix (DEC compilers), HP-UX
+  (HP compilers), SCO Unix, and Evans & Sutherland ES/OS.
+Added flag to set stream mode in fopen call for VMS.
+Rewrote Link module.
+Pages with no contents shouldn't cause an error message.
+In PostScript output: pdfImM needs to set fill color before doing
+  imagemask.
+If font doesn't specify character widths, use widths from built-in
+  font, based on font flags.
+Fixed LTK scrollbar to delay before repeating and to control the
+  period between repeats.
+Removed window/widget copy() methods (they were untested and unused).
+Unknown filter types produce a single error message instead of a
+  stream of errors.
+Added a dummy target in top-level Makefile so making individual
+  executables (e.g., 'make pdftops') should now work.
+Added optional xpdf-flip.ltk with buttons on right side instead of
+  bottom of window.
+
+0.7a (98-feb-22)
+----------------
+Moved find command from menu to toolbar button ('f' key still works).
+Support TrueColor visuals.
+Added a -cmap option and a installCmap resource to install a private
+  colormap.
+Mouse button 2 pans the window.
+Selecting a URI link now executes a configurable command (from the
+  urlCommand resource).
+Added a "link info" display which shows the URL or file for the link
+  under the mouse.
+Don't draw (or convert to PostScript) text drawn in render modes 3 and
+  7 -- this is invisible text, used by Acrobat Capture; this text is
+  still passed to the TextPage object so that selection works.
+Recognize (and quietly ignore) marked content operators (BMC, BDC,
+  EMC, MP, DP).
+Recognize new color-setting operators (scn, SCN).
+Added A4_PAPER option.
+Embed external Type 1 font files (this currently only works with PFA
+  files).
+Added "-level1" option (in xpdf and pdftops) to generate Level 1
+  PostScript.
+Setup autoconf -- replaced Makefile.config.  Added SELECT_TAKES_INT
+  flag, and use configure to autodetect (for HP-UX).
+Fixed appendToPath() to behave reasonably when appending ".." to root
+  directory.
+Fixed array size in FlateStream::compHuffmanCodes() (was causing xpdf
+  to crash under OSF/1).
+ASCII85Stream, ASCIIHexStream, and DCTStream didn't check for EOF and
+  could run past the end of the stream in damaged files.
+Handle hex escapes (#xx) in names.  Still allow the name /# for
+  backward-compatibility.
+Check for NULL characters in encoding array in GfxFont.cc (was calling
+  strcmp() with NULL which crashed under Solaris).
+PageAttrs::PageAttrs() didn't initialize crop box boundaries.
+Changed uses of lookup() to lookupNF() in XRef.cc.
+Fixed type checking of operators which take a variable number of
+  args.
+Gfx::buildImageStream() doesn't need to check for parser (since I got
+  rid of the bogus array-of-command thing).
+XOutputFont matches on font reference instead of font tag (similar to
+  PSOutputDev fix).
+Fixed bug in position calculation for multi-char substitutions in
+  XOutputDev.
+Cleaned up local variables which hid class variables.
+Optimized variable length decoding in CCITTFaxStream.
+Set link border width to zero if Border dictionary entry is missing.
+Throw away zero-length strings in TextOutputDev -- they don't have
+  valid xMin/xMax values.
+Swapped order of XLIBS and XPMLIB in xpdf/Makefile.
+Deleted 'LTKApp::' in function declaration in LTKApp.h.
+Changed '(XKeyEvent *)&event' to '&event.xkey' in LTKApp.cc.
+Check that the link rectangle coordinates are in the correct order,
+  and swap if necessary.
+TextOutputDev didn't set text to NULL, which caused pdftotext to
+  segfault if it couldn't open it's output file.
+Fixed a hash table search bug in GfxFontEncoding::getCharCode().
+Cleaned up colorspace code: rewrote GfxColorSpace and added
+  GfxImageColorMap; cleaned up PSOutputDev::doImage.
+Handle named colorspaces in images.
+Correctly set the default color after a colorspace change.
+Old setcolor operators now set the colorspace.
+Fixed bug with uncompressed blocks in FlateStream.
+Fixed bug with fixed Huffman code table in FlateStream.
+Added hash table of X windows (for LTKWindow and LTKWidget) to LTKApp
+  and replaced calls to XQueryTree with hash table searches -- this
+  avoids a roundtrip to the server for each event and also fixes the
+  problem where XQueryTree crashed if the window no longer existed
+  (with leftover events from a destroyed window).  (Thanks to Yair
+  Lenga for the suggestion.)
+Create a new GC for selection -- xor black and white (instead of LTK
+  foreground and background).
+Fixed crash with blank lines in .xpdfrc.
+Allow spaces in font descriptors in fontmap lines in .xpdfrc.
+Check for bogus object number in XRef::fetch().
+Use MacRomanEncoding for TrueType fonts that don't specify an
+  encoding.
+Certain PDF generators apparently don't include FontDescriptors for
+  Arial, TimesNewRoman, and CourierNew -- set GfxFont flags
+  appropriately.
+Fixed a bug in width guessing in GfxFont -- sans serif and serif were
+  swapped.
+Rewrote XRef::readXRef() to avoid using a parser to read the xref
+  entries.
+Added NO_TEXT_SELECT option.
+Ignore APPn/COM/etc. markers in DCT streams.
+Replaced select() with XMultiplexInput() in LTKApp.cc for VMS.
+Handle WM_DELETE_WINDOW protocol -- if you ask the window manager to
+  delete the xpdf window, xpdf will exit cleanly; other
+  windows/dialogs are simply closed.
+Optimized DCT decoder; switched to integer arithmetic.
+The "/Type /Annots" field in an annotation dictionary is optional.
+Check for null nameTree in Catalog::findDest().
+In XOutputDev, search user font map before default font map.
+Added "normal" SETWIDTH parameter to all font descriptors in
+  XOutputDev (some systems have a narrow-width Helvetica font).
+Added FOPEN_READ_BIN and FOPEN_WRITE_BIN to support Win32.
+Added a hack which allows better font substitution for some Type 3
+  fonts.  Also allow character names of the form /nn and /nnn.
+Added <strings.h> and <bstring.h> to LTKApp.cc (needed by AIX and IRIX
+  for bzero() declaration for FD_ZERO).
+
+0.80 (98-nov-27)
+----------------
+Support for some Japanese fonts (Type 0 fonts using the Adobe-Japan1-2
+  character collection, horizontal only).
+Added pdfinfo application.
+Added pdftopbm application.
+Added pdfimages application.
+Added -papercolor option and .paperColor resource.
+Fixed divide-by-zero problem in XOutputDev Type 3 font matrix kludge.
+Font subset char names can be 'Bxx' as well as 'Cxx' and 'Gxx'.
+Fixed bug in color space conversion in DCTStream filter (YCC->RGB was
+  correct, YCCK->CMYK was broken).
+Added XRef::getDocInfo() and PDFDoc::getDocInfo() to support pdfinfo.
+Optimized GfxImageColorMap.
+Lexer::getStream(), getPos(), and setPos() check for null stream.
+Decryption code now does strings as well as streams.
+ASCII85 decoder rounds short tuples up instead of down.
+CropBox and MediaBox can be non-integers.
+PostScript output:
+  - Use a rectangle operator.
+  - Call setpagedevice with page size.
+  - Insert %%PageOrientation comments.
+  - Add paper size flags (-paperw and -paperh) to xpdf and pdftops.
+  - If HAVE_POPEN is not defined, and user tries to print to '|...',
+    the PSOutputDev destructor tried to write to the PS file.
+  - Added support for forms (pdftops -form).
+Removed error messages for empty paths in stroke, fill, etc. operators.
+Don't allow flatnesses less than 1 in XOutputDev (this speeds up
+  rendering a little bit when there are lots of tiny curves).
+Moved the font subset character name guessing from GfxFont to
+  XOutputDev and TextOutputDev - now these files print correctly.
+Cast argument to XFree() to XPointer; add XPointer definition where
+  necessary (portability fixes).
+Various minor VMS fixes.
+Changes to configure script and Makefiles:
+  - Print a warning if X is missing.
+  - Use C++ when checking select() argument type (HP-UX).
+  - Use 0 instead of NULL when checking select().
+  - Default to gcc instead of c++.
+  - Get rid of AC_C_INLINE -- this is meant for C, not C++.
+  - Changed -USE_GZIP to -DUSE_GZIP.
+  - Added ability to compile ouside of the source tree.
+  - Added .cc.o rule to {goo,ltk,xpdf}/Makefile.in.
+  - Added @LIBS@ to XLIBS in xpdf/Makefile.in.
+  - In top-level Makefile.in: added '-' to clean commands; added
+    distclean rule.
+  - Create install directories.
+  - Use INSTALL_DATA (instead of INSTALL) for man pages.
+  - Changed xpdf-ltk.h rule to avoid leaving an empty file when
+    ltkbuild fails.
+  - Change things so that by default, ltkbuild is not built and
+    xpdf-ltk.h is not rebuilt.
+  - Use AM_PROG_CC_STDC to add compiler flags for ANSI C.
+  - Modify autoconf's builtin macros to check for xlC.
+  - Use Steve Robbins' smr_CHECK_LIB to test for pixmap library (Xpm)
+    -- this should fix the problems on systems that have the library
+    but not the include file.
+  - Added better test for sys/select.h, sys/bsdtypes.h, strings.h,
+    bstring.h.
+  - New VMS make scripts from Martin P.J. Zinser.
+  - Moved dependences into Makefile.in -- this gets rid of problems
+    with 'cc -MM' (which is gcc-specific) and 'include Makefile.dep'
+    (which isn't supported by all make implementations).  Also changed
+    all non-system include files to '#include "..."' (from '<...>').
+Tweaked the TextOutputDev heuristics slightly.
+Modify Gfx to use a stack of resources -- this is necessary for Form
+  XObjects, which can define their own local resources; also modified
+  PSOutputDev to dump fonts used by forms.
+Look for excessively large MediaBox (compared to CropBox) and shrink
+  it to CropBox.
+Minor fix to scrolling when dragging a selection.
+Various patches for pdftex and Win32 support.
+Deal with Separation colorspaces by using their alternate colorspace
+  entry.
+Added PBMOutputDev for pdftopbm application.
+Added ImageOutputDev for pdfimages application.
+Separated XOutputDev into LTKOutputDev + XOutputDev.
+Added support for 1-D and mixed 1-D/2-D (Group 3) decoding to
+  CCITTDecode filter.
+Added resetImage(), getImagePixel(), and skipImageLine() to Stream
+  class; used these in XOutputDev, PSOutputDev, and ImageOutputDev.
+Implemented predictor for LZW and Flate filters.
+In pdfImM1 in PSOutputDev prolog: div should be idiv.
+Changed output from printUsage() function in parseargs to look nicer.
+
+0.90 (99-aug-02)
+----------------
+Added Type 1/1C font rendering, using t1lib.
+Added "backward" and "forward" buttons.
+Added fit-page and fit-page-width zoom factors; replaced zoom-in and
+  zoom-out buttons with a zoom popup menu.
+Type 1C fonts are converted to Type 1 and embedded in PostScript.
+Support vertical Japanese text.
+Added Japanese text support (EUC-JP) to pdftotext.
+Bumped PDF version to 1.3.  Added stub functions for ri and sh
+  operators. (But there are still some missing 1.3 features.)
+Added -raw option to pdftotext.
+Minor changes to allow compiling under MS Visual C++ 5.0.
+Top-level makefile: changed 'mkdir -p' to '-mkdir -p'.
+Configure script: added X_CFLAGS to smr_CHECK_LIB(Xpm).
+Added Xpm_CFLAGS to xpdf/Makefile.in (this is needed to get the -I for
+  the xpm includes).
+Rewrote code that handles font encodings; added support for Type 1C
+  fonts.
+In the setpagedevice dictionary in PostScript output - added a
+  /Policies entry which tells the PS interpreter to scale the page to
+  fit the available paper.
+Changed PageUp behavior slightly: move to bottom (instead of top) of
+  previous page.
+TextPage used character's dx (width + char space) instead of just its
+  width.
+Read base URI from document Catalog (for URI-type links).
+Minor change to configure script to avoid using 'unset'.
+Fixed bugs in CropBox inheritance.
+Fixed a bug in resource stack handling for form objects.
+Display forms even if they have a missing/incorrect FormType.
+Fixed a bug in stream predictors -- the predictor parameters (width,
+  comps, bits) don't need to match the actual image parameters.
+  Completely rearranged the predictor code.
+Fixed PostScript output to correctly handle stream predictors.
+Don't segfault on empty (zero-page) documents.
+Added the xpdf.viKeys feature.
+Added the ffi and ffl ligatures to XOutputDev and TextOutputDev.
+Pdftotext and pdfimages now check okToCopy().
+Added a '-q' flag to all programs (except pdfinfo) to suppress
+  messages and errors.
+Deal with DeviceN colorspaces by using their alternate colorspace
+  entry.
+Change PostScript output so setpagedevice is only called once, at the
+  very beginning of the document (to avoid problems on duplex
+  printers).
+Changes to configure script and makefiles for DOS/DJGPP.
+FontEncoding::getCharCode() looked for (code>0) instead of (code>=0).
+Added keypad arrow keys, etc. to xpdf.
+Minor changes to gfile.{h,cpp} (<windows.h>) to compile under VC++.
+Fixed CCITTFaxStream to correctly handle all parameters.
+Modifications to gfile.{h,cc} for Acorn.
+Some minor changes for OS/2.
+Added 'SHELL = /bin/sh' to Makefiles.
+Compare file version to pdfVersionNum+0.0001 to avoid floating point
+  precision problems.
+Added LDFLAGS to Makefiles.
+Removed strip entirely from configure and Makefiles.
+Fixed a bug in choosing the correct DCTStream color transform.
+
+0.91 (2000-aug-14)
+------------------
+Added TrueType font rendering, using FreeType.
+Support for Chinese fonts (Type 0 fonts using the Adobe-GB1-2
+  character collection).
+Decryption code is included with the main distribution (now that the
+  US export regulations are a little bit less irrational).
+Added (very basic) support for generating PostScript with Japanese
+  fonts -- only tested with ghostscript so far.
+Added support for generating EPS files (pdftops -eps).
+Much-improved image filtering in xpdf (for downsampling and for
+  transforms other than 0/90/180/270-degree rotations).
+Implemented a basic full-screen (presentation) mode (xpdf
+  -fullscreen).  (There is currently no way to switch between window
+  and full-screen modes on the fly -- this will be fixed in a later
+  release.)
+Added "reload" menu item.
+Do a better job with anti-aliased Type 1 fonts on non-white
+  backgrounds.
+Handle Lab color spaces.
+Handle non-null user passwords.
+Avoid security hole with tmpnam()/fopen() -- added openTempFile() in
+  goo/gfile.cc.  [Thanks to Joseph S. Myers for pointing this out.]
+Filter out quote marks (' and ") in URLs before running urlCommand to
+  avoid a potential security hole.  [Thanks to Frank Doepper for
+  pointing this out.]
+Fixed TrueColor detection to look at the complete list of available
+  visuals, not just the default visual.
+In gfile.h, changed NAMLEN(dirent) macro to NAMLEN(d).
+Removed copyright character from start-up banners.
+In the open and save dialogs, if the open/save button is pressed with
+  no file name, the dialog is not canceled.
+Added Xpm_CFLAGS to ltk/Makefile.
+XOutputDev::updateLineAttrs was using dashLength before it was
+  defined.
+In top-level Makefile.in, use INSTALL_PROGRAM instead of INSTALL.
+In man page, recommend -q instead of -err in .mailcap.
+Changes for GNOME / Bonobo support:
+  - Separated Stream classes into BaseStream and FilterStream trees.
+  - Got rid of all FileStream-specific stuff.
+  - Added a PDFDoc constructor that takes a BaseStream* instead of a
+    file name.
+Allow newlines inside strings (Photoshop does this).
+Don't require whitespace between tokens in consecutive content
+  streams (for pages that specify an array of streams).
+Look at MissingWidth when constructing font character widths array.
+Fixed a bug that caused incorrect PostScript output for images that
+  use 8-bit indexed color spaces with < 256 colors in the palette.
+Handle case where embedded font file is bad (this was seg faulting).
+Minor changes for Windows/pdftex.
+Work around a bug in PDF files from the IBM patent server.
+Fixed bugs in PostScript form generation: use pdfStartPage instead of
+  pdfSetup; problem with inline images.
+Minor bug fix in FlateStream::loadFixedCodes().
+Added %%DocumentMedia and %%PageMedia comments to the PostScript so
+  that gsview (a Windows frontend for ghostscript) gets the right
+  paper size.
+Draw AcroForm fields that have appearance annotations.
+Bounds check gray, CMYK, and RGB values (in GfxColor).
+Moved the link border drawing code into Page (from PDFDoc).
+Minor modifications for pdftohtml.
+PSOutputDev: use the Type 3 font scaling kludge from XOutputDev.
+Separation color spaces were handled incorrectly in images.
+Fixed a bug with form bounding boxes.
+Modified the t1lib support -- replace libt1x code with my own code.
+  Type 1 and TrueType fonts are now handled similarly, and clipping
+  works on Type 1 fonts.
+Don't print copyright banner (xpdf); add -v switch to get copyright
+  and version info (all apps); get rid of -err switch (xpdf).
+Automatically reload the PDF file if it has been changed, i.e., if the
+  modification time is different.
+Fixed a memory (malloc size) bug in CCITTFaxStream.
+Fixed two bugs in FontEncoding::hash() -- handle zero-length character
+  names (which were found in a (buggy?) PDF file), and handle
+  character names with high-bit-set characters (use unsigned ints).
+Added PDFDoc::isLinearized() and corresponding code in pdfinfo.cc.
+Handle files with an incorrect page count in the Pages dictionary
+  (FOP, from the Apache project produces a page count of 0).
+Handle TrueType equivalents to the Base14 fonts (Arial, TimesNewRoman,
+  CourierNew) -- Adobe's tools use these names without embedding the
+  fonts.
+Tweaked the Type 3 font sizing kludge.
+Changed pdfimages (ImageOutputDev) so it doesn't output JPEG files for
+  4-component color spaces, since these seem to confuse most image
+  viewers.
+Added support for generating OPI comments (pdftops -opi).
+In XOutputDev::drawImage() and drawImageMask(), check for images that
+  are completely off-page.
+Use the provided alternate or a default (DeviceGray/RGB/CMYK) color
+  space for ICCBased color spaces.
+Incorporated MacOS-specific code from Leonard Rosenthol.
+Configure script switches to C++ for the strings.h/bstring.h test.
+Gfx::opRestore() calls clearPath() to handle (apparently) buggy PDF
+  files produced by FreeHand.
+The /Type field in most dictionaries is optional (PDF 1.3 change).
+Move printCommands variable definition into Gfx.cc.
+If page is smaller than paper, center the PostScript output.
+Fix a minor bug in the SELECT_TAKES_INT detection in the configure
+  script.
+TextOutputDev filters out control characters.
+Changed enough occurrences of 'char *' to 'const char *' to keep gcc
+  2.95 from barfing.
+Support for Latin-2 and Latin-5 in pdftotext (however, this will only
+  work if the PDF file contains correct font encodings, which seems to
+  be rare).
+TextOutputDev converts "eightoldstyle" to "eight", etc.
+Don't use the return value from sprintf() -- most systems return the
+  length, but some return the string.
+Minor fixes for SunOS 4.
+Configure script looks for both select() and fd_set in sys/select.h.
+Configure script checks for gethostbyname() in -lbsd (for LynxOS).
+Fix missing closepath bug in PostScript output.
+Change PostScript portrait/landscape mode selection so it only uses
+  landscape if the page width is greater than the paper width.
+Tweaked the VMS code in makePathAbsolute().
+
+0.91a (2000-oct-11)
+-------------------
+Implemented separable CMYK PostScript output (the -level1sep switch to
+  pdftops).
+Implemented Pattern color spaces with tiling patterns (polygon fills
+  only).
+Implemented Stamp annotations.
+Implemented Named link actions.
+Fixed a really dumb bug in the TrueColor code in SFont (which affects
+  both Type 1 and TrueType font rendering on 16-bit displays).
+Rewrote the GfxColorSpace / GfxColor code.
+Switched from djgppcfg to dj_make.bat (from Michael Richmond).
+Bug in the Type 1 encoding parser -- couldn't handle lines of the form
+  'dup NNN/name put' (with no space between the code and the name).
+Fixed the mkstemp() test in configure.in -- switched from
+  AC_TRY_COMPILE to AC_TRY_LINK and added <unistd.h>.
+Added DESTDIR to top-level Makefile.in.
+Fixed an incorrect OPI comment in PSOutputDev.
+Minor tweak to the CCITTFax code to avoid writing past the end of an
+  array on an invalid data stream.
+Xpdf crashed if the user selected 'reload' when no document was
+  loaded.
+Look for character names of the form "xx" (two hex digits with no
+  leading alphabetic char) and 'cNNN' (decimal digits with a leading
+  alphabetic char that happens to be a hex digit).
+FlateStream didn't correctly handle zero-length streams.
+Xref reconstruction didn't handle the case where the opening "<<"
+  immediately followed "trailer" with no intervening whitespace.
+Fix the %%DocumentSuppliedResources comment in EPS output.
+Scale annotations to fit their rectangles.
+Added Stream::close() to handle cases (e.g., patterns) where a Stream
+  object is used multiple times before it is deleted.
+Added the topLevel arg to Gfx::go() so it doesn't call out->dump() for
+  every pattern element (and form).
+Rearranged the GfxResources class.
+Clean up white space handling in Lexer.
+Make the dpi parameter to PDFDoc::displayPage etc. a double - this
+  avoids margin gaps with fit-page and fit-width.
+Fix a rounding problem in xpdf.cc that was causing the window to
+  sometimes be one pixel too small.
+Fixed a minor bug in dealing with Base-14 TrueType font names.
+Fixed Lab -> RGB color space conversion.
+Added support for opacity values (from PDF 1.4) to GfxState and
+  OutputDev.  [Thanks to Leonard Rosenthol.]
+Implemented type 2 functions; rearranged the Function class
+  hierarchy.
+
+0.91b (2000-oct-29)
+-------------------
+Print a warning about Type 3 fonts (XOutputDev, PSOutputDev).
+Added the scroll lock behavior to 'n' and 'p' keys in xpdf.
+Change FileStream buffer size to a #define'd constant.
+Renamed Pattern to GfxPattern to avoid clashes with Windows and MacOS
+  types.
+Added CNS (Big5) Chinese font support (CHINESE_CNS_SUPPORT); renamed
+  CHINESE_SUPPORT to CHINESE_GB_SUPPORT.
+
+0.91c (2000-nov-19)
+-------------------
+Fix an endianness problem in the Type 1 font code which resulted in an
+  incorrect display with "-t1lib plain" on big-endian systems.
+CCITTFax stream decoder will skip over extra zero bits at end of line,
+  even if EncodedByteAlign flag wasn't set.
+Added Big5 support to pdftotext (with CHINESE_CNS_SUPPORT enabled).
+Fixed a typo in the CNS/Big5 encoding translation table.
+Change the form code in PSOutputDev to store images in arrays of
+  strings.
+The xref reconstruction (for damaged files) now also looks for
+  'endstream' tags, and the parser uses this information when setting
+  up stream objects.
+In pdfinfo, convert Unicode chars in the 00xx range into 8-bit chars;
+  print a warning if there are any other Unicode chars.
+
+0.92 (2000-dec-03)
+------------------
+Fixed %%BeginResource comment (for xpdf procset) in PostScript
+  output.
+Added "-title" switch and "xpdf.title" resource to set the window
+  title.
+Check for <freetype.h> in addition to <freetype/freetype.h>.
+Upgraded the configure script to smr_macros 0.2.4 - this should fix a
+  bug where configure wasn't correctly finding t1lib.
+
+0.92a (2000-dec-17)
+-------------------
+Added 'extern "C" { ... }' in various places for ANSI C++ compliance.
+Tweaked the code that figures out DPI for fit-to-page and fit-to-width
+  modes.
+Fixed the image transformation code in XOutputDev -- no more missing
+  lines.
+Implemented color key image masking in XOutputDev.
+
+0.92b (2001-jan-07)
+-------------------
+Fixed a bug in the error-checking code in the Separation/DeviceN color
+  space parsing functions.  [Thanks to Lidia Mirkin.]
+Added wheel mouse support (mouse buttons 4 and 5).  [Thanks to
+  Thorsten Schreiner.]
+Added preliminary support for FreeType 2 (disabled by default).
+
+0.92c (2001-jun-04)
+-------------------
+Fixed a bug in the new image transformation code.
+Look for character names of the form "<letter><digit><digit>", instead
+  of looking for names beginning with a few specific letters.
+T1FontFile::T1FontFile wasn't initializing vars, and ~T1FontFile
+  wasn't checking before calling T1_DeleteFont -- this caused crashes
+  if it tried to open a nonexistent font file.
+Catalog::Catalog didn't set baseURI to NULL early enough.
+Tweak the check for strings.h in the configure script.
+Yet another fix for the image rotation code in XOutputDev --
+  off-by-one problem when upsampling.
+Handle Type 1/1C encodings when using FreeType 2.
+Allow FreeType2 to render user-supplied Type 1 base fonts.
+Opening a new file from full-screen mode tried to scroll.
+Fixed a bug in GfxFont constructor (missing check for NULL base font
+  name).
+Don't crash if a Type 1 font's FontBBox is non-integer.
+Pdfinfo prints page size.
+Tweak for the alpha hack in T1Font/TTFont: sample the middle pixel
+  instead of the top-left pixel.
+Automatically activate the text input widget in the find window.
+Changed a Japanese char code mapping in XOutputDev and TextOutputDev:
+  period was being incorrectly mapped to small circle (end-of-sentence
+  character).
+Add the 0/+/-/z/w key bindings to control the zoom setting.
+Fixed ImageOutputDev (pdfimages) to correctly handle inline image
+  masks.
+Extract ascent/descent info from font descriptor.
+
+0.92d (2001-jun-26)
+-------------------
+Embed TrueType fonts in PostScript output.  (Added a "-noembtt" flag
+  to pdftops.)
+Extract encoding from TrueType fonts.
+Moved Function classes to a separate file (Function.h/cc).
+Implemented multi-dimensional sampled Functions.
+Implemented Type 4 (PostScript calculator) Functions.
+For Type 0 fonts, FontDescriptor is in descendant font, not parent.
+  [Thanks to Lidia Mirkin.]
+Added the "-htmlmeta" option to pdftotext.
+In TextOutputDev, when computing the number of blank lines to insert,
+  do a sanity check on the result.
+If both FlateDecode and some other filter (e.g., DCTDecode) were
+  applied to an image stream, getPSFilter() crashed instead of just
+  returning NULL.
+Handle the /Identity function.
+
+0.92e (2001-aug-23)
+-------------------
+Widths in font dict should override built-in font widths.
+Changed "rotate left/right" menu items to "rotate
+  clockwise/counterclockwise".
+The link parsing code choked if the Border array was incorrect (too
+  short).
+Modified PSOutputDev to output CMYK for fill/stroke colors.
+
+0.93 (2001-oct-25)
+------------------
+Implement PDF 1.4 (128-bit) decryption.
+Bump supported PDF version number to 1.4.
+Text output for Simplified Chinese.  [Thanks to Cheung Siu Fai.]
+Read an app-defaults file for Xpdf.
+Read a system-wide config file (<prefix>/etc/xpdfrc) if ~/.xpdfrc
+  doesn't exist.
+Accept and verify owner password; if correct, allow all actions.
+Added a "-level2sep" option to pdftops to generate Level 2 separable
+  PostScript.  The PostScript separation convention operators are used
+  to handle custom (spot) colors.  [Thanks to Thomas Freitag for help
+  on this.]
+Add support for FreeType 2 to the configure script.  Warning: this
+  requires FT 2.0.5 or newer.
+Fixed the bounding rectangle overlap test in the disconnected subpath
+  fill hack in XOutputDev.
+Stupid typo in font name table in PSOutputDev.
+Changing the zoom setting with a keyboard shortcut didn't update the
+  displayed setting.
+Modified the mouse wheel support and added the second wheel (mouse
+  buttons 6 and 7).  [Thanks to Michal Pasternak.]
+Character and word spacing is affected by horizontal scaling (display
+  and PS output).  [Thanks to Eddy Ng.]
+Rotation specified by the text matrix, character spacing, and
+  horizontal scaling interacted incorrectly (display and PS output).
+Some broken Type 1/1C fonts have a zero BBox -- kludge around this by
+  assuming a largeish BBox.
+Handle PDF files with an incorrect (too small) xref table size.
+Allow "-?" and "--help" as aliases for "-h" (all apps).
+Correctly handle unescaped parens in strings in Lexer.
+Fixed a bug in LTK where a menu got posted multiple times if you right
+  clicked while a page was being rendered.
+Removed a comma inside a string in configure.in.
+Kludge around broken PDF files that use char 32 but encode it as
+  .notdef instead of space.
+Clean up various compiler warnings: use constructor args like "fooA"
+  if there is a field named "foo".  Everything now compiles cleanly
+  under gcc 2.91.66, 2.95.2, and 3.0.1.
+Page objects now read all of the page rectangles (MediaBox, CropBox,
+  BleedBox, TrimBox, ArtBox), as requested by the pdfTeX folks.
+  Added a new PDFRectangle struct to hold these.
+Use XOutputDev's Type 3 font size hack in TextOutputDev too, so it
+  does a little better job of extracting text in Type 3 fonts.
+Modify pdfimages to write one-bit images as PBM files.
+Work around a bug in cygwin's implementation of fseek.
+
+0.93a (2001-nov-21)
+-------------------
+Implemented the sh (shaded fill) operator for the axial shading type.
+Minor fixes to avoid compiler warnings.
+Cleaned up global variables -- moved many into instance vars and
+  function args.
+Minor fixes for OS/2.
+Fix the system config file path for VMS.
+Fix an uninitialized var in XOutputDev that caused crashes on Alphas.
+Don't incrementally update the display in full-screen mode.
+For Type 1/1C fonts, use the FontBBox from the PDF FontDescriptor
+  (instead of the one in the font file) if present -- this avoids
+  problems with fonts that have non-standard FontMatrixes.
+Add the Euro character to WinAnsiEncoding.
+Track the bounding box of the clip region to make rendering patterns
+  more efficient.
+Fix openTempFile() for Win32.
+
+0.93b (2001-dec-11)
+-------------------
+Added a duplex option to PSOutputDev and a -duplex switch to pdftops.
+Added XRef::PDFgetDocInfoNF() for pdftex project.
+Updated the VMS build script.
+
+0.93c (2001-dec-12)
+-------------------
+Completely rewrote the code that handles font encodings:
+  - everything is Unicode-based
+  - 16-bit fonts are handled much more cleanly
+  - text output encoding can be set more flexibly
+New .xpdfrc config files.
+
+1.00 (2002-feb-01)
+------------------
+More work on the font encoding rewrite:
+  - use the ToUnicode font dict entry
+  - pdfinfo and pdftotext (with '-htmlmeta') convert info strings to
+    the selected text encoding
+Added key bindings for forward ('v') and backward ('b').
+Added the pdffonts program which lists the fonts used in a PDF file.
+Fixed several problems in the TrueType font embedding code (for
+  PostScript output).
+Accept named destination on command line.
+Added several new items to pdfinfo: file size, PDF version, tagged
+  (yes or no), XML metadata (with the -meta option).
+Pdftops didn't get the portrait/landscape setting correct for PDF
+  files with rotated pages.
+The TrueTypeFontFile class (including the Type 42 converter) now
+  understands cmap format 6.
+Improved the "about" window -- mention the GPL, add a list of key
+  bindings.
+Added Zcaron and zcaron characters to WinAnsiEncoding.
+The '0' keyboard shortcut didn't update the zoom popup menu.
+Handle the complete list of alternate names for the Base14 fonts.
+Fixed substitute font scaling in XOutputDev - scale only the width,
+  not the height.
+Implemented stitching (type 3) functions.
+Handle the case of moveto/closepath/clip, which defines an empty
+  clipping region.
+Move dependences into separate Makefile.dep files; get rid of the
+  distdepend target.
+Move all of the configure-script-generated -D options out of the
+  Makefiles and into a top-level .h file (aconf.h).
+Cleaned up the FreeType 1/2 detection code in the configure script.
+Pdfinfo prints dates in a more readable format.
+Fixed a bug in the Paeth image predictor.
+Handle annotations with multiple states.
+Another workaround for buggy X servers: clip points that are way out
+  of bounds.
+Added libpaper support (for Debian).
+Generate PostScript DSC resource comments for PS (not just EPS)
+  files.
+The save and restore (q/Q) operators shouldn't save/restore the path.
+Performance optimization: disable pattern drawing in TextOutputDev.
+
+1.00a (2002-feb-25)
+-------------------
+Added an optimized special case for one-bit images in XOutputDev.
+Implemented CID TrueType font embedding; added a psEmbedCIDTrueType
+  option.
+The initialZoom X resource was broken.
+The reverse MacRoman encoding should return 32 for "space" (not 202,
+  which is an alternate encoding).
+Tweaks to the FreeType 2 support: only disable hinting if the bytecode
+  interpreter is disabled (i.e., disable autohinting but not bytecode
+  hinting); add some padding to the glyph cache for CJK fonts.
+Added level3 and level3Sep options for the psLevel setting and
+  corresponding -level3 and -level3Sep options to pdftops.
+Added a -level2 option to pdftops for consistency.
+Avoid a divide by zero in pdftotext.  [Thanks to William Bader.]
+Added a Greek language support package.  [Thanks to Alexandros
+  Diamantidis and Maria Adaloglou.]
+Don't bother trying to extract a "builtin" encoding from a TrueType
+  font.
+Accept either a page number or a page reference in a link
+  destination.
+Update the fontFixedWidth flag in GfxFont after reading the char
+  widths (used by the Acorn RiscOS port).
+Removed yet another (illegal but not caught by gcc) class specified
+  from a .h file.
+Avoid using snprintf - it's not available everywhere.
+Improved the CMYK->RGB transform.
+Use mkstemps where available.
+
+1.01 (2002-may-20)
+------------------
+Implemented Type 3 fonts.
+Implemented PostScript CID font embedding; added a
+  psEmbedCIDPostScriptFonts option.
+Implemented PostScript 16-bit font substitution; added psNamedFont16
+  and psFont16 options.
+Moved the initialZoom setting from X resources to the xpdfrc file.
+Implemented the radial shading type in the sh (shaded fill) operator.
+  [Thanks to Mike Sweet.]
+Added an 'include' command to the xpdfrc format.
+Added the displayNamedCIDFontX option so different fonts can be used
+  within one character collection.
+Added a simple reverse video mode (-rv switch, xpdf.reverseVideo
+  resource).
+Implemented stroked text in XOutputDev (with t1lib and FreeType2).
+  [Thanks to Leonard Rosenthol.]
+Implemented stroked text in PSOutputDev.
+Added a built-in Unicode map for UCS-2.
+New key binding in xpdf: 'g' activates the page number text field.
+PSOutputDev will now embed external TrueType fonts in addition to
+  external Type 1 fonts.
+The psEmbedType1Fonts and psEmbedTrueTypeFonts options were missing
+  the "Fonts" suffix.
+Documentation in xpdf.1 for -freetype option was wrong.
+Added the Big5ascii Unicode map to the Chinese-traditional support
+  package (maps 7-bit ASCII straight through).  [Thanks to Lawrence
+  Lai.]
+Modified the EUC-CN and EUC-JP encodings to pass 7-bit ASCII straight
+  through.  [Thanks to Lawrence Lai.]
+Avoid a divide by zero in XOutputDev.  [Thanks to Simon Burge.]
+Remove old code in openTempFile that removed an extension from the
+  name returned by tmpnam.
+Tweak the scrolling behavior when switching pages.  [Thanks to Case
+  Jones.]
+In the code that guesses character names (for font subsets), also
+  handle names of the form 'ABnnn'.  [Thanks to Colin Granville.]
+Fix the transform code for annotations.
+Improved the CMap file parser to handle more general PostScript
+  lexical conventions.
+Added '-enc' option to pdfinfo.
+Added the small caps and oldstyle numbers from Adobe's Unicode
+  corporate use area to the Latin1 and ASCII7 Unicode maps.
+The code in TextOutputDev that guesses Type 3 font size could generate
+  a zero size, which resulted in div-by-zero errors.
+Various tools (including Adobe's) occasionally embed Type 1 fonts but
+  label them Type 1C - so check for a '%!' at the start.
+Some tools embed Type 1C fonts with an extra whitespace char at the
+  beginning - just skip over it.
+Fixed a typo in the Simplified Chinese add-to-xpdfrc file.
+Updates to dj_make.bat and the djgpp build instructions.
+Added a Turkish language support package.
+Updated VMS build scripts.  [Thanks to Martin Zinser.]
+Modify the incremental display update code to redraw less often if
+  most of the commands are vector graphics, as opposed to text and
+  images.
+Tweak the Type 1 font bbox code to look at the bboxes in both the PDF
+  font object and the embedded font file.
+Fixed the ETenms-B5-H CMap file (for traditional Chinese) to map the
+  Latin characters to their proportional versions.
+Added an optional displayCIDFontX entry for one of the Arphic TrueType
+  fonts in the traditional Chinese 'add-to-xpdfrc' file.
+Remove leading '-' on include statements in Makefiles.
+Added psASCIIHex parameter.
+Added the GBK Unicode map to the simplified Chinese language pack.
+Pdftotext now opens the text file in binary mode to avoid Microsoft's
+  annoying automatic end-of-line translation stuff.
+Added an executeCommand function in goo/gfile.cc.  [Thanks to Mikhail
+  Kruk.]
+The %ALDImagePosition OPI comment was wrong if the page was scaled to
+  a different paper size.
+The OPI code was saving the default transform matrix before calling
+  setpagedevice, which can change the matrix.
+Fixed a crash when an inline image dictionary contains garbage.
+Upgraded to autoconf 2.53.
+Use unsigned int file offsets, to allow access to PDF files in the 2-4
+  GB size range; use fseek64/ftell64 if available.
+Fixed two floating point exception cases that came up with broken PDF
+  files.
+Avoid a crash when printing an error message regarding an unnamed
+  font.
+Default link border width should be 1.  [Thanks to Michael Pfeiffer.]
+Minor tweak to build with FreeType 2.1.0.
+Handle "weird" characters in PostScript font names.
+PSOutputDev now handles PostScript XObjects.
+Added several more page attributes for the pdftex project.
+Transferred the copyright to Glyph & Cog, LLC.
+
+2.00 (2002-nov-04)
+------------------
+Switched to the Motif toolkit.
+Support multiple open documents (in separate windows).
+Added document outlines to the viewer.
+Modified the text extraction (placement) algorithm.
+Implemented the JBIG2 decoder.
+Added a Latin2 language support package.
+Added support for movie annotations.
+Switched back to native LZW decompression code.
+Text extraction from Type 3 fonts was (partly) broken.
+The owner password checking code was missing a step in the case of
+  128-bit encryption.
+Added the 'printCommands' option to the xpdfrc file.
+Added key binding for '?' to bring up the about/help dialog.
+In TextOutputDev, ignore any text that's outside the page bounding
+  box.
+Text extraction throws away "tiny" characters after the first 20000
+  per page, to avoid really slow runtimes with PDF files that use
+  special fonts to do shading or cross-hatching; added the
+  'textKeepTinyChars' option to disable this behavior.
+Text extraction discards duplicated text (fake boldface, shadow
+  effects).
+Added ctrl-F as a key binding for find.
+Added a "find next" function, bound to ctrl-G.
+Added ctrl-P as a key binding for print.
+Modified the DCT decoder to handle progressive and non-interleaved
+  JPEG streams.
+Added key bindings for ctrl-Home and ctrl-End.
+Allow the initialZoom setting to be made in either the xpdfrc file or
+  as an X resource.
+Added a Hebrew language support package.  [Thanks to Roy Arav.]
+The "make distclean" target now creates (empty) Makefile.dep files in
+  the three subdirectories.
+Initialize XRef::ownerPasswordOk.
+Correctly handle stroking of Type 3 fonts in PSOutputDev.
+Generate correct PostScript for fonts with "weird" character names
+  (e.g., "(").
+Generate correct PostScript for images using Indexed color spaces with
+  DeviceN base color spaces.
+Added lowercase Roman numerals to ISO-2022-CN.unicodeMap (simplified
+  Chinese support package).
+Tweak the image scaling code to better handle flipped (top-bottom
+  and/or left-right) images.
+Generate correct PostScript code for inline images and images in Type
+  3 fonts which are too large for a single PS string.
+Correctly handle indexed color spaces whose base color spaces have
+  component ranges other than [0,1].
+Optimized the DCT decoder.
+Fixed mistakes in the list of key bindings in the about/help dialog.
+Optimized the Flate decoder.
+Add literal names for punctuation and digits to the Unicode name
+  table.
+Cygwin's popen wants mode "r", not "rb".
+Fixed a bug in the Type 4 function parser (the "if" operator wasn't
+  parsed correctly).
+Fix a bug in PS output for TrueType fonts with no PDF encoding.
+Make the bbox size in FTFont more liberal (to avoid problems with
+  fonts that have incorrect bboxes).
+Reverse the colors in PBM files generated by pdfimages, so the common
+  case (an image mask filled with black) comes out correct.
+Add fseeko/ftello support which is basically identical to
+  fseek64/ftell64.  [Thanks to Nassib Nassar.]
+Modified column assignment in text extractor to account for characters
+  that convert to multiple characters in the output encoding.
+Fix TrueType fonts which have an incorrect cmap table length.
+Work around a pragma bug in the version of gcc that ships with MacOS X
+  10.2.  [Thanks to Frank Siegert and Andrew Stone.]
+Fix a problem that was causing an infinite loop when a damaged content
+  stream contains an 'ID' command inside a dictionary.
+Handle the case where systempapername() returns NULL (libpaper
+  support).
+Handle fonts which are defined directly in the font resource
+  dictionary rather than as separate objects.
+Track process colors in Level 1 separable PostScript.
+Pdfinfo now checks the return value from mktime to avoid seg faults in
+  flakey strftime implementations.
+If duplex is not enabled in PostScript output, leave the duplex
+  setting alone, allowing the spooler to insert its own setting.
+Added three missing fclose calls.
+Change the default encoding for TrueType fonts (used when the PDF file
+  doesn't specify an encoding) from MacRomanEncoding to
+  WinAnsiEncoding.
+Move X_CFLAGS to the end of the list in CXXFLAGS (in Makefile.in) to
+  avoid some of the FreeType2 include path problems.
+Fixed an obscure bug in the LZW decoder.  [Thanks to Martin
+  Schroeder.]
+Fixed a bug in decryption when using the newer (PDF 1.4) algorithm
+  with shorter-than-128-bit keys.
+Minor optimization for image data streams: the ImageStream class can
+  return an entire buffered line.
+
+2.01 (2002-dec-05)
+------------------
+Redesigned the text extraction process:
+  - process the text into "reading order"
+  - added a "-layout" flag to pdftotext to switch back to the old
+    style, where physical layout is maintained
+  - use of the "-raw" flag is no longer recommended
+Added the -reload option for xpdf (in remote mode).
+Added support for external CID fonts; added the displayCIDFontT1 and
+  displayNamedCIDFontT1 commands to the xpdfrc file.
+Handle the case of moveto/newpath/clip, which defines an empty
+  clipping region (just like moveto/closepath/clip).
+Accept XYZ link destinations with missing array elements.
+Fix some problems with state save/restore triggered by Type 3 fonts
+  that reference other fonts.
+Accept bogus font names based on "Symbol": Symbol,{Bold,Italic,
+  BoldItalic}.
+Fixed color and font resource names in the xpdf man page.
+Was using delete instead of gfree in OutlineItem::~OutlineItem.
+Set the busy cursor in the find dialog while searching.
+Map variants of the copyright, trademark, and registered trademark
+  symbols to the proper Unicode codes, not to Adobe's corporate use
+  area codes.
+Fixed a floating point exception bug in TextOutputDev (check for a
+  too-small denominator).
+Fixed a typo in TextOutputDev, in the code that generating blank lines
+  to add vertical whitespace.
+Config files whose last line didn't end with a LF (or CR+LF) weren't
+  being handled correctly.
+The code that handled CIDToGIDMaps in Type 2 CIDFonts was broken.
+Check the per-glyph bounding box in Type 3 fonts, and don't try to
+  cache glyphs with bogus bboxes.
+Allow ToUnicode CMaps to use fewer than four hex digits in the Unicode
+  char indexes.
+Added multithreading protection to the GlobalParams class.
+Fixed a bug in end-of-stream detection with the TIFF predictor.
+Added some characters to MacRomanEncoding to match up with Apple's
+  definition.
+
+2.02 (2003-mar-24)
+------------------
+Rewrote the text extractor code that assembles words into lines to
+  better handle vertically overlapping lines.
+Add the "match" option for paper size (in PostScript output).
+Added support for external 16-bit TrueType fonts; added the
+  displayCIDFontTT and displayNamedCIDFontTT commands to the xpdfrc
+  file.
+Added an Arabic language support package.
+Added the Windows-1255 encoding to the Hebrew language package.
+A missing NULL check was causing a crash when closing the file in a
+  single window (which clears out the window, but leaves it open).
+Deal with TrueType fonts whose glyph data is out of order - this
+  affected both FreeType rasterization and PostScript generation.
+Munge font names in PSOutputDev to avoid names that are problematic
+  for ghostscript because they start with an out-of-limits number
+  (e.g., 1e999foo).
+Modify the TrueType font encoding deciphering algorithm in yet another
+  attempt to match up with Acrobat's behavior.
+Bounds check the indexHigh value in indexed color spaces.
+The text extractor no longer bothers trying to get an average
+  character width for Type 3 fonts, since it generally doesn't work
+  very well (because Type 3 metrics are unreliable).
+Don't crash if the user hits ctrl-G ("find again") before doing a
+  find.
+Set the button pixmap foreground color correctly.
+Handle text drawn backward on 180 degree rotated pages.
+Added a magic call to XtUngrabButton after calling XmCreatePopupMenu
+  which appears to prevent some very odd problems (idea taken from the
+  DDD source code).
+Fix the MacOS X fix (needed to include <AvailabilityMacros.h>).
+Fixed a bunch of Motif 1.x / X11R5 incompatibilities.  [Thanks to
+  William Bader and Albert Chin-A-Young.]
+Fixed various bugs in previously untested code in the JBIG2 decoder.
+Modify the XPDFCore destructor to avoid a bogus warning message from
+  OpenMotif 2.2.
+Modified the Type 1C font parser to do proper bounds checking.
+Fixed the bounds checking in the TrueType font parser.
+Text extractor shouldn't do block merging in physical layout mode.
+Fixed a problem in PSOutputDev in level2sep mode with images in a
+  Separation color space and with a non-default Decode array.
+Text extraction with "-raw" was concatenating lines from the bottom of
+  one column and the top of the next.
+Handle Type 1C subroutines in the font converters.
+Correctly handle progressive JPEG images whose scans are slightly
+  different sizes (e.g., the Y scan rounds up to a multiple of 8
+  pixels and the Cb/Cr scans round up to 16 pixels).
+Avoid a potential divide-by-zero problem in TextOutputDev.
+Modified the T1Font and FTFont modules to correctly handle glyphs that
+  are larger than the font's claimed bounding box.
+Tweak dupMaxDeltaX parameter in TextOutputDev to avoid triggering on
+  double characters.
+Improved detection in pdfinfo for ISO paper sizes.  [Thanks to Hartmut
+  Henkel.]
+Xpdf wasn't responding to the TARGETS atom, which prevented pasting
+  the selection into various applications.  [Thanks to Phillip Ezolt.]
+Handle XObjects with recursive references in their Resources
+  dictionaries (in PSOutputDev).
+Change PSOutputDev to deal with invalid PDF files that use
+  non-embedded TrueType fonts with no encoding.
+Check for undersized Widths arrays in fonts.
+Add bounds checking code to Array class.
+Updated VMS build scripts.  [Thanks to Martin Zinser.]
+Tweak the TrueType font handling code (again):
+  - char codes in symbolic fonts may or may not be offset by 0xf000
+  - discard empty tables because they sometimes confuse FreeType
+Fixed bounds checking in the Flate decoder.
+Removed a bogus error message for exponential functions without
+  explicit C0/C1 values.  [Thanks to Hartmut Henkel.]
+Handle the other Unicode cmap type (platform=0) in TrueType fonts.
+Added support for the SGI Motif horizontal paned window widget.
+  [Thanks to Felix Ritter.]
+Ignore extra elements in link destination arrays.
+Accept external Type 1 font files with a suffix of ".ps" or no suffix
+  at all.
+Add a bounds check in the DCT decoder.
+Added instructions for building xpdf.exe under cygwin/XFree86.
+Tweaked the word separation parameter for raw-mode text extraction.
+
+2.03 (2003-oct-10)
+------------------
+Rewrote the text extractor to:
+  - do a better job with rotated text;
+  - handle right-to-left scripts;
+  - be faster.
+Changed the zoom setting to use a percentage (relative to 72 dpi)
+  instead of a zoom "factor".
+If the PDF file has an outline, open the outline pane initially.
+Added -f and -l options to pdfinfo; print multiple page sizes.
+The HAVE_XTAPPSETEXITFLAG test in XPDFApp.cc was backwards.
+The BitsPerComponent entry is optional in image mask objects.
+Render any annotation with an appearance stream, instead of just
+  Widget and Stamp annotations.
+Fix a bug in the TrueType font checker: the test for an unsorted
+  'loca' table was wrong.
+Modify the TrueType cmap selection algorithm yet again to try to match
+  Adobe's behavior.
+Changed sqrt(2) to sqrt(2.0) in pdfinfo.cc to make various compilers
+  happy.
+Fixed a deadlock problem (when MULTITHREADING is set); cleaned up some
+  other problems with the locking code.
+Fixed a bug in the interpolation code for type 0 (sampled) functions.
+Implemented type 1 (function-based) shaded fills.
+Fixed some stupid bugs in the JBIG2 decoder (introduced with the
+  previous optimization work).
+Fixed a typo in the code that parses vertical font metrics for CID
+  fonts that was causing a seg fault.
+Fixed a couple of bugs that were causing seg faults with badly damaged
+  PDF files.
+Limit the number of nested Forms to avoid infinite recursion (in buggy
+  PDF files).
+Add a special case for rectangular clip regions - make sure these
+  don't drop pixels on the right and bottom edges.
+Tell FreeType not to use glyph bitmaps when in anti-aliased mode.
+Read all of the border style info for links.
+All of the shaded fill types now do at least one bisection to avoid
+  problems when the colors at the endpoints of the domain are the
+  same.
+If the Length2 parameter for an embedded Type 1 font was incorrect
+  (too small), pdftops was losing font data.
+Deal with (broken) DCT streams that use the same component ID number
+  for different components.
+The MediaBox page attribute was not being inherited correctly.
+Fixed a bug in the Type 1C font converter related to local
+  subroutines.
+The Type 1C -> Type 1 font converter was allocating the font dictionary
+  one slot too small.
+Added a missing private dictionary entry to Type 1 fonts generated by
+  the Type 1C converter.  [Thanks to Michael Shell.]
+Fixed bugs in the tiling pattern fill code.
+Try the TrueType 0xf000 char code offset hack for the MacRoman
+  encoding too (in addition to MS Symbol).
+Update the font metrics info for the Base 14 fonts to include the Euro
+  character.
+SECURITY HOLE: Escape various characters in URLs before running a web
+  browser (or movie viewer).  [Fixed in 2.02p11]
+SECURITY HOLE: In the dialog used to verify "launch" links, provide a
+  scrolling view if the command to be run is excessively long.  [Fixed
+  in 2.02p11]
+Added an option to disable insertion of page breaks (form feed
+  characters) in extracted text (pdftotext -nopgbrk; xpdfrc
+  "textPageBreaks" option).
+Check for 8-bit fonts that specify an out-of-range FirstChar or
+  LastChar.
+Correctly handle an obsolete Type 2 charstring op (in the Type
+  1C-to-Type 1 font converter).  [Thanks to Helge Blischke.]
+Use the font encoding info to fill in holes in the ToUnicode map.
+Added character names for Bulgarian (in the Cyrillic support pacakage)
+  and Greek.
+Handle clipping to text in xpdf and pdftops.
+Fix color space detection in DCT decoder.  [Thanks to Dwight Kelly.]
+Added the "unicodeToUnicode" xpdfrc option, intended (initially) for
+  Arabic support.
+Handle the case in PSOutputDev where two font objects refer to the
+  same embedded TrueType font, but with different encodings.  [Thanks
+  to Frank Siegert.]
+Kill any pre-existing path before drawing a form (or annotation).
+Save state before rendering page content; restore state afterward.
+Fix Stream::reset/close to work correctly with encoder streams; fix
+  PSOutputDev to use Stream::close consistently.
+Fix a seg fault when hitting the 'back' button after closing a file.
+GfxState::getStrokeGray was returning the fill gray value (this only
+  affected Level 1 PS output).
+Change PSOutputDev to reuse dictionaries in Level 1 mode (since Level
+  1 PS interpreters don't do garbage collection).  [Thanks to Frank
+  Siegert.]
+PSOutputDev was generating incorrect translations for landscape-mode
+  pages.
+Implemented shading pattern color spaces.
+PSOutputDev wasn't correctly handling Type 3 fonts which used image
+  resources (as opposed to inline images).  [Thanks to Frank Siegert.]
+The fix from 1.00 which clipped out-of-bounds points was a bit too
+  aggressive.
+Do proper Floyd-Steinberg dithering in XOutputDev.
+Don't automatically check for a null owner password (to match Adobe's
+  behavior).
+Allow the FlateDecode filter in Level 3 PostScript output.
+Fixed small bugs in the Type 1C -> Type 1 converter and Type 1C ->
+  Type 0 converter.  [Thanks to Tom Kacvinsky.]
+Work around another weird Motif problem with the right button menu
+  (which was sometimes causing the menu to not be displayed).
+Make the code that handles fonts defined directly in the resource dict
+  more robust.
+Add a brief description of the outline pane to the xpdf man page.
+Ignore extra operands to content stream operators.
+Fixed a bug in the CCITTFax decoder.
+Allow the Count entry in a Pages dictionary to be a real number
+  (because some PDF generators actually do this).
+Shading pattern fills weren't being clipped correctly.
+Incorrect shallow copies in GfxRadialShading and StitchingFunction.
+The StitchingFunction destructor wasn't checking for funcs being
+  NULL.
+Change the TrueType code-to-GID mapping code so it looks at the
+  TrueType 'post' table.
+Set the print command in the print dialog once at startup, don't
+  change it each time a file is (re)loaded.
+Generate the %%BoundingBox comment in regular PostScript files (not
+  just EPS files).
+Fixed a bug in the Unicode CMap parser.
+
+3.00 (2004-jan-22)
+------------------
+New PDF rasterizer ("Splash").
+Added support for PDF 1.5:
+  - JPX (JPEG 2000) decoder
+  - XRef streams
+  - object streams
+  - DeviceN color spaces with up to 32 components
+  - Added new CMaps to the CJK language support packages
+Replaced pdftopbm with pdftoppm (which can generate PBM, PGM, and PPM
+  files).
+Reorganized the font file parser code into a new library ("Fofi").
+Removed support for FreeType 1.x.
+Removed support for X server fonts - Xpdf (and pdftoppm) will now
+  search for the URW fonts (from ghostscript).
+Changed the "-t1lib" and "-freetype" switches; replaced the
+  "t1libControl" and "freetypeControl" config file options with
+  "enableT1lib", "enableFreeType", and "antialias".
+Added the "-box" option to pdfinfo.
+Added imageable area support to PSOutputDev (for CUPS); added the
+  "psImageableArea" config file option.
+Added the "-nocrop", "-expand", "-noshrink", and "-nocenter" switches
+  to pdftops; added the "psCrop", "psExpandSmaller", "psShrinkLarger",
+  and "psCenter" config file options.
+Dictionary size was in PostScript code generated for Type 3 fonts.
+The PS code generated for images in Type 3 characters was broken.
+Tweaked the text extractor.
+Accept xref entries that are one byte too short (matching Adobe's
+  behavior).
+Change things so "xpdf -h" and "xpdf -v" work if DISPLAY isn't set.
+Fix a problem in the damaged file repair code that handles the trailer
+  dictionary.
+Use the "Last" entries in "Outlines" objects - this avoids a problem
+  with PDF files generated by buggy software that, e.g., sets the last
+  item's Next pointer to point to itself.
+PSOutputDev was not handling DeviceN color spaces correctly in Level 2
+  images.
+Fixed a stupid little bug that broke PS output for JBIG2 images.
+Work around a Lesstif bug: set up an extra callback so hitting <Enter>
+  in the find dialog performs a search.  [Thanks to Elliott Hughes.]
+Pdftops was crashing on zero page PDF files.
+Add an AC_PREREQ call to configure.in.
+Change the 'find' dialog so the text entry box resizes with the
+  dialog.
+Skip extraneous zero bits at the start of a CCITTFax stream.
+The PostScript text clipping operator was missing a 'newpath'.
+  [Thanks to Frank Siegert.]
+Fix a bug in tiling patterns with bboxes that don't start at (0,0).
+Fix a bug in Type 3 font handling with rotated text.
+The tiled pattern fill code was destroying the current path, which
+  broke the fill+stroke operators when the fill color space was a
+  tiled pattern.
+ICCBased color spaces don't always set their Ranges values correctly,
+  so just use the values from the alternate color space.
+Modified GHash to accept int or void* - this avoids some conversion
+  warnings.
+Check for missing Type 3 CharProcs - avoid a segfault.
+Pdffonts now marks all Type 3 fonts as embedded.
+Outline entries with no Title string weren't being handled correctly,
+  resulting in segfaults.
+PSOutputDev now forces the text horizontal scale factor to be non-zero
+  to avoid singular font matrices in the PS code.
+Tweaked the error recovery in the CCITTFax decoder.
+The LZW/Flate predictor should treat any Predictor value (in the
+  stream dictionary) >= 10 identically.
+PSOutputDev and pdffonts check for NULL font objects (which can
+  happen, e.g., because of missing CMap files).
+Swap the left and right mouse wheel button numbers.
+EPS output ("pdftops -eps") now uses the CropBox instead of the
+  MediaBox as the EPS bounding box.
+
+3.01 (2004-???-??)
+------------------
+Add support to DCTStream for 16-bit quant tables.
+Don't segfault if the user clicks on an outline entry with a broken
+  destination.
+Changed the makefiles and configure script to skip building pdftoppm
+  (in addition to xpdf) if X, Motif, or FreeType is not found; changed
+  the error message in the configure script to match.
+Move an inline function in JArithmeticDecoder.cc to avoid compiler
+  errors.
+Fixed a bug in the rasterizer that was sometimes causing infinite
+  loops with round line caps on vertical lines.
+Various rasterizer optimizations.
+Look for intermediate resize events - try to avoid lagging when the
+  user is doing an opaque resize.
+The FormType key in Form XObjects is optional.
+Handle external 16-bit TrueType fonts correctly, using the Unicode
+  cmap.
+Add class declarations to TextOutputDev.h to work with stricter C++
+  compilers.
+Support FreeType's weird include file stuff (ft2build.h, etc.).
+Fixed a bug handling empty paths.
+Fixed a text positioning problem in PostScript output.
+Handle TrueType collections in FoFiTrueType.cc.
+FoFiTrueType constructor was reporting a failure if the post table was
+  bad - this should be non-fatal.
+Type 1 font parser was missing a NULL test.
+Mask chars passed to isdigit in goo/parseargs.c to avoid problems with
+  signed chars.
+Added more error checking to the CCITTFax decoder.
+Fixed a bug (computing the MCU size) in the DCT decoder.
+Change a test in the Splash stroke code to avoid x86 floating point
+  weirdness.
+Reorganized the decryption code to allow security handler plugins;
+  removed the NO_DECRYPTION #ifdefs.
+Added a plugin interface, initially just for security handlers.
+Support color key masked images and explicitly masked images in PS
+  output (Level 2 only).
+When checking for aliases of the Base 14 fonts, ignore spaces in the
+  specified font name.
+Handle encrypted PDF files that are missing the file ID string.
+Handle tiling patterns more efficiently in the PostScript output.
+Rewrote the code that handles color spaces in PostScript output.
+Fixed a bug in the Type 1C font parser - zero-length indexes (and
+  zero-length names) weren't handled correctly.
+Handle shaded fills more efficiently in the PostScript output.
+Implement the remaining shading types (4-7).
+Rearranged the Splash color modes.
+Add the EarlyChange parameter to LZWStream when generating PostScript.
+Check for zero values in line dash arrays in PSOutputDev.
+Fixed an uninitialized variable in JArithmeticDecoder which was
+  causing crashes.
+Treat unknown CMap names as identity mappings (to match Adobe's
+  behavior).
+Fixed bugs in the XRef parser related to XRef streams in updated
+  files.
+Added a missing call to FT_Done_Glyph which was causing a memory leak.
+  [Thanks to Dave Formanek.]
+Fixed a bug in text copying that was causing the last word to be
+  dropped on some pages.
+Tweaked the image width/height computation in Splash::drawImage and
+  Splash::fillImageMask to make striped images work better.
+Ignore minus signs in the middle of numbers (to match Adobe's
+  behavior).
+Missing '%s' in format strings for dates in pdftotext '-htmlmeta'
+  mode.
+Change the TrueType code-to-GID mapping code so it looks at the
+  standard name-to-Unicode mapping before the ToUnicode mapping
+  defined in the font object.
+Added the continuous view mode.
+At high zoom levels, don't rasterize the entire page - this avoids
+  problems running out of memory.
+Added a matteColor setting (command line option and X resource).
+Tweaked the CMYK->RGB transform.
+Fix some problems in tracking the character position (to match up with
+  Adobe's highlight file format).
+Handle moveto/closepath/stroke correctly.
+Check for singular text matrices and font size of zero in PSOutputDev.
+Clip PS output to the size of the page (avoiding any gibberish that
+  lies outside the MediaBox, in the case where the MediaBox is smaller
+  than the paper).
+If the line dash element in an annotation's Border array is of an
+  invalid type (i.e., not an array), don't draw the link at all (this
+  matches Adobe's behavior).
+Don't remap small caps and oldstyle glyphs in the name-to-Unicode
+  table - it messes up TrueType font encodings.
+Pdftoppm wasn't setting the paper color correctly in mono and gray
+  modes (this only showed up on big-endian machines).
+Missing NULL check was causing crashes when attempting to read non-PDF
+  files that happened to contain the string '%PDF'.
+Fixed a problem in the text extractor that was breaking up words.
+Handle vertical text (CJK fonts) in PS output with TrueType fonts that
+  are missing the vertical metrics tables.
+Handle the case where a font object and the corresponding embedded
+  font are different types.
+Handle basic crypt filter functionality.
+Added more value checking in the XRef parser, to avoid potential
+  security problems.
+Updated the CJK language support packages: replaced the
+  displayCIDFontX references with displayCIDFontTT; added pointers to
+  free TrueType fonts.
+Added a missing error message when SplashOutputDev can't parse an
+  embedded TrueType font file.
+PDFCore and TextOutputDev now correctly handle searching for Unicode
+  strings, including real Unicode case-folding.
+Throw away tiling pattern fills that are completely outside the clip
+  region.
+The JPEG 2000 inverse reversible multiple component transform code was
+  wrong.
+Fixed some bugs in shading pattern fills: clipping was wrong, and
+  background color was not implemented.
+Added tool tips for the toolbar buttons.
+Added "search backward" and "match case" options to the find dialog.
+Decrease the max depth of recursive patch mesh filling if the pattern
+  has a large number of patches.
+Highlight the find text whenever the find dialog is mapped.
+Handle page boundary boxes with reversed coordinates.
+Fixed a bug in the text extractor code that handles duplicated text.
+Optimization work on SampledFunction::transform().
+Use the CropBox instead of the MediaBox as the display region.
+Dither for PseudoColor (8-bit) displays.
+Support explicitly masked images and soft masked images.
+Fix a bug in DCTStream that was causing an infinite loop with
+  corrupted DCT image data.
+Fix a bug in the ToUnicode CMap parser.
+Fix a bug in the text extractor - negative font sizes weren't being
+  handled correctly.
+Fix a bug in the text extractor - in certain cases, out-of-bounds text
+  could cause crashes (generally only in damaged PDF files).
+Fix a read-past-end-of-array bug in the JBIG2 decoder.
+Fix a case where pdftops was generating lines longer than 255 chars.
+Optimize redraws - don't regenerate the XImage every time redrawRect
+  is called.
+The ASCII85 decoder wasn't skipping whitespace properly.
+Optimize text extraction: skip (non-inline) image setup entirely.
+Added initial transparency support (stroke/fill alpha and blend mode).
+Added support for the overprint setting in PostScript output.
+Fixed various buffer overflow bugs.
+Handle negative font sizes and horizontal scaling correctly in
+  PSOutputDev.
+Fixed a buffer overflow in the CCITTFax decoder.
+Fixed an out-of-order entry in the list of font name aliases.

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/COPYING
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/COPYING	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/COPYING	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,339 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                          675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	Appendix: How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) 19yy  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) 19yy name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/INSTALL
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/INSTALL	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/INSTALL	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,17 @@
+Xpdf - Win32 binaries
+=====================
+
+The Xpdf software and documentation are
+copyright 1996-2003 Glyph & Cog, LLC.
+
+Email: derekn at foolabs.com
+WWW: http://www.foolabs.com/xpdf/
+
+
+To install this binary package:
+
+1. Copy everything to an installation directory, e.g.,
+   C:/Program Files/Xpdf
+
+2. Edit the xpdfrc file (as distributed, everything is commented out)
+   -- see xpdfrc.txt for details.

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/README
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/README	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/README	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,377 @@
+Xpdf
+====
+
+version 3.00
+2004-jan-22
+
+The Xpdf software and documentation are
+copyright 1996-2004 Glyph & Cog, LLC.
+
+Email: derekn at foolabs.com
+WWW: http://www.foolabs.com/xpdf/
+
+The PDF data structures, operators, and specification are
+copyright 1985-2003 Adobe Systems Inc.
+
+
+What is Xpdf?
+-------------
+
+Xpdf is an open source viewer for Portable Document Format (PDF)
+files.  (These are also sometimes also called 'Acrobat' files, from
+the name of Adobe's PDF software.)  The Xpdf project also includes a
+PDF text extractor, PDF-to-PostScript converter, and various other
+utilities.
+
+Xpdf runs under the X Window System on UNIX, VMS, and OS/2.  The non-X
+components (pdftops, pdftotext, etc.) also run on Win32 systems and
+should run on pretty much any system with a decent C++ compiler.
+
+Xpdf is designed to be small and efficient.  It can use Type 1 or
+TrueType fonts.
+
+
+Distribution
+------------
+
+Xpdf is licensed under the GNU General Public License (GPL), version
+2.  In my opinion, the GPL is a convoluted, confusing, ambiguous mess.
+But it's also pervasive, and I'm sick of arguing.  And even if it is
+confusing, the basic idea is good.
+
+In order to cut down on the confusion a little bit, here are some
+informal clarifications:
+
+- I don't mind if you redistribute Xpdf in source and/or binary form,
+  as long as you include all of the documentation: README, man pages
+  (or help files), and COPYING.  (Note that the README file contains a
+  pointer to a web page with the source code.)
+
+- Selling a CD-ROM that contains Xpdf is fine with me, as long as it
+  includes the documentation.  I wouldn't mind receiving a sample
+  copy, but it's not necessary.
+
+- If you make useful changes to Xpdf, please make the source code
+  available -- post it on a web site, email it to me, whatever.
+
+If you're interested in commercial licensing, please see the Glyph &
+Cog web site:
+
+    http://www.glyphandcog.com/
+
+
+Compatibility
+-------------
+
+Xpdf is developed and tested on a Linux 2.4 x86 system.
+
+In addition, it has been compiled by others on Solaris, AIX, HP-UX,
+Digital Unix, Irix, and numerous other Unix implementations, as well
+as VMS and OS/2.  It should work on pretty much any system which runs
+X11 and has Unix-like libraries.  You'll need ANSI C++ and C compilers
+to compile it.
+
+The non-X components of Xpdf (pdftops, pdftotext, pdfinfo, pdffonts,
+pdftoppm, and pdfimages) can also be compiled on Win32 systems.  See
+the Xpdf web page for details.
+
+If you compile Xpdf for a system not listed on the web page, please
+let me know.  If you're willing to make your binary available by ftp
+or on the web, I'll be happy to add a link from the Xpdf web page.  I
+have decided not to host any binaries I didn't compile myself (for
+disk space and support reasons).
+
+If you can't get Xpdf to compile on your system, send me email and
+I'll try to help.
+
+Xpdf has been ported to the Acorn, Amiga, BeOS, and EPOC.  See the
+Xpdf web page for links.
+
+
+Getting Xpdf
+------------
+
+The latest version is available from:
+
+  http://www.foolabs.com/xpdf/
+
+or:
+
+  ftp://ftp.foolabs.com/pub/xpdf/
+
+Source code and several precompiled executables are available.
+
+Announcements of new versions are posted to several newsgroups
+(comp.text.pdf, comp.os.linux.announce, and others) and emailed to a
+list of people.  If you'd like to receive email notification of new
+versions, just let me know.
+
+
+Running Xpdf
+------------
+
+To run xpdf, simply type:
+
+  xpdf file.pdf
+
+To generate a PostScript file, hit the "print" button in xpdf, or run
+pdftops:
+
+  pdftops file.pdf
+
+To generate a plain text file, run pdftotext:
+
+  pdftotext file.pdf
+
+There are four additional utilities (which are fully described in
+their man pages):
+
+  pdfinfo -- dumps a PDF file's Info dictionary (plus some other
+             useful information)
+  pdffonts -- lists the fonts used in a PDF file along with various
+              information for each font
+  pdftoppm -- converts a PDF file to a series of PPM/PGM/PBM-format
+              bitmaps
+  pdfimages -- extracts the images from a PDF file
+
+Command line options and many other details are described in the man
+pages (xpdf.1, etc.) and the VMS help files (xpdf.hlp, etc.).
+
+
+Upgrading from Xpdf 2.xx
+------------------------
+
+WARNING: Xpdf 3.00 switched to a new PDF rasterizer, which no longer
+uses X fonts.  You'll need a set of Base-14 fonts -- the URW fonts
+distributed with ghostscript can be used for this.  Xpdf will search
+for the URW fonts, but if you have them installed in a non-standard
+directory, you'll need to set up an xpdfrc config file to point to
+them.  For full details, please see the xpdfrc(5) man page.
+
+
+Compiling Xpdf
+--------------
+
+See the separate file, INSTALL.
+
+
+Bugs
+----
+
+If you find a bug in Xpdf, i.e., if it prints an error message,
+crashes, or incorrectly displays a document, and you don't see that
+bug listed here, please send me email, with a pointer (URL, ftp site,
+etc.) to the PDF file.
+
+
+Acknowledgments
+---------------
+
+Thanks to:
+
+* Patrick Voigt for help with the remote server code.
+* Patrick Moreau, Martin P.J. Zinser, and David Mathog for the VMS
+  port.
+* David Boldt and Rick Rodgers for sample man pages.
+* Brendan Miller for the icon idea.
+* Olly Betts for help testing pdftotext.
+* Peter Ganten for the OS/2 port.
+* Michael Richmond for the Win32 port of pdftops and pdftotext and the
+  xpdf/cygwin/XFree86 build instructions.
+* Frank M. Siegert for improvements in the PostScript code.
+* Leo Smiers for the decryption patches.
+* Rainer Menzner for creating t1lib, and for helping me adapt it to
+  xpdf.
+* Pine Tree Systems A/S for funding the OPI and EPS support in
+  pdftops.
+* Easy Software Products for funding several improvements to the
+  PostScript output code.
+* Tom Kacvinsky for help with FreeType and for being my interface to
+  the FreeType team.
+* Theppitak Karoonboonyanan for help with Thai support.
+* Leonard Rosenthol for help and contributions on a bunch of things.
+* Alexandros Diamantidis and Maria Adaloglou for help with Greek
+  support.
+* Lawrence Lai for help with the CJK Unicode maps.
+
+Various people have contributed modifications made for use by the
+pdftex project:
+
+* Han The Thanh
+* Martin Schröder of ArtCom GmbH
+
+
+References
+----------
+
+Adobe Systems Inc., _PDF Reference: Adobe Portable Document Format
+Version 1.5_.
+http://partners.adobe.com/asn/tech/pdf/specifications.jsp
+[The manual for PDF version 1.5.]
+
+Adobe Systems Inc., _PostScript Language Reference_, 3rd ed.
+Addison-Wesley, 1999, ISBN 0-201-37922-8.
+[The official PostScript manual.]
+
+Adobe Systems, Inc., _The Type 42 Font Format Specification_,
+Adobe Developer Support Technical Specification #5012.  1998.
+http://partners.adobe.com/asn/developer/pdfs/tn/5012.Type42_Spec.pdf
+[Type 42 is the format used to embed TrueType fonts in PostScript
+files.]
+
+Adobe Systems, Inc., _Adobe CMap and CIDFont Files Specification_,
+Adobe Developer Support Technical Specification #5014.  1995.
+http://www.adobe.com/supportservice/devrelations/PDFS/TN/5014.CIDFont_Spec.pdf
+[CMap file format needed for Japanese and Chinese font support.]
+
+Adobe Systems, Inc., _Adobe-Japan1-4 Character Collection for
+CID-Keyed Fonts_, Adobe Developer Support Technical Note #5078.
+2000.
+http://partners.adobe.com/asn/developer/PDFS/TN/5078.CID_Glyph.pdf
+[The Adobe Japanese character set.]
+
+Adobe Systems, Inc., _Adobe-GB1-4 Character Collection for
+CID-Keyed Fonts_, Adobe Developer Support Technical Note #5079.
+2000.
+http://partners.adobe.com/asn/developer/pdfs/tn/5079.Adobe-GB1-4.pdf
+[The Adobe Chinese GB (simplified) character set.]
+
+Adobe Systems, Inc., _Adobe-CNS1-3 Character Collection for
+CID-Keyed Fonts_, Adobe Developer Support Technical Note #5080.
+2000.
+http://partners.adobe.com/asn/developer/PDFS/TN/5080.CNS_CharColl.pdf
+[The Adobe Chinese CNS (traditional) character set.]
+
+Adobe Systems Inc., _Supporting the DCT Filters in PostScript Level
+2_, Adobe Developer Support Technical Note #5116.  1992.
+http://www.adobe.com/supportservice/devrelations/PDFS/TN/5116.PS2_DCT.PDF
+[Description of the DCTDecode filter parameters.]
+
+Adobe Systems Inc., _Open Prepress Interface (OPI) Specification -
+Version 2.0_, Adobe Developer Support Technical Note #5660.  2000.
+http://partners.adobe.com/asn/developer/PDFS/TN/5660.OPI_2.0.pdf
+
+Adobe Systems Inc., CMap files.
+ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/
+[The actual CMap files for the 16-bit CJK encodings.]
+
+Adobe Systems Inc., Unicode glyph lists.
+http://partners.adobe.com/asn/developer/type/unicodegn.html
+http://partners.adobe.com/asn/developer/type/glyphlist.txt
+http://partners.adobe.com/asn/developer/type/corporateuse.txt
+http://partners.adobe.com/asn/developer/type/zapfdingbats.txt
+[Mappings between character names to Unicode.]
+
+Aldus Corp., _OPI: Open Prepress Interface Specification 1.3_.  1993.
+http://partners.adobe.com/asn/developer/PDFS/TN/OPI_13.pdf
+
+Anonymous, RC4 source code.
+ftp://ftp.ox.ac.uk/pub/crypto/misc/rc4.tar.gz
+ftp://idea.sec.dsi.unimi.it/pub/crypt/code/rc4.tar.gz
+[This is the algorithm used to encrypt PDF files.]
+
+T. Boutell, et al., "PNG (Portable Network Graphics) Specification,
+Version 1.0.  RFC 2083.
+[PDF uses the PNG filter algorithms.]
+
+CCITT, "Information Technology - Digital Compression and Coding of
+Continuous-tone Still Images - Requirements and Guidelines", CCITT
+Recommendation T.81.
+http://www.w3.org/Graphics/JPEG/
+[The official JPEG spec.]
+
+A. Chernov, "Registration of a Cyrillic Character Set".  RFC 1489.
+[Documentation for the KOI8-R Cyrillic encoding.]
+
+Roman Czyborra, "The ISO 8859 Alphabet Soup".
+http://czyborra.com/charsets/iso8859.html
+[Documentation on the various ISO 859 encodings.]
+
+L. Peter Deutsch, "ZLIB Compressed Data Format Specification version
+3.3".  RFC 1950.
+[Information on the general format used in FlateDecode streams.]
+
+L. Peter Deutsch, "DEFLATE Compressed Data Format Specification
+version 1.3".  RFC 1951.
+[The definition of the compression algorithm used in FlateDecode
+streams.]
+
+Jim Flowers, "X Logical Font Description Conventions", Version 1.5, X
+Consortium Standard, X Version 11, Release 6.1.
+ftp://ftp.x.org/pub/R6.1/xc/doc/hardcopy/XLFD/xlfd.PS.Z
+[The official specification of X font descriptors, including font
+transformation matrices.]
+
+Foley, van Dam, Feiner, and Hughes, _Computer Graphics: Principles and
+Practice_, 2nd ed.  Addison-Wesley, 1990, ISBN 0-201-12110-7.
+[Colorspace conversion functions, Bezier spline math.]
+
+Robert L. Hummel, _Programmer's Technical Reference: Data and Fax
+Communications_.  Ziff-Davis Press, 1993, ISBN 1-56276-077-7.
+[CCITT Group 3 and 4 fax decoding.]
+
+ISO/IEC, _Information technology -- Lossy/lossless coding of bi-level
+images_.  ISO/IEC 14492, First edition (2001-12-15).
+http://webstore.ansi.org/
+[The official JBIG2 standard.  The final draft of this spec is
+available from http://www.jpeg.org/jbighomepage.html.]
+
+ISO/IEC, _Information technology -- JPEG 2000 image coding system --
+Part 1: Core coding system_.  ISO/IEC 15444-1, First edition
+(2000-12-15).
+http://webstore.ansi.org/
+[The official JPEG 2000 standard.  The final committee draft of this
+spec is available from http://www.jpeg.org/JPEG2000.html, but there
+were changes made to the bitstream format between that draft and the
+published spec.]
+
+ITU, "Standardization of Group 3 facsimile terminals for document
+transmission", ITU-T Recommendation T.4, 1999.
+ITU, "Facsimile coding schemes and coding control functions for Group 4
+facsimile apparatus", ITU-T Recommendation T.6, 1993.
+http://www.itu.int/
+[The official Group 3 and 4 fax standards - used by the CCITTFaxDecode
+stream, as well as the JBIG2Decode stream.]
+
+Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz, "Practical
+Fast 1-D DCT Algorithms with 11 Multiplications".  IEEE Intl. Conf. on
+Acoustics, Speech & Signal Processing, 1989, 988-991.
+[The fast IDCT algorithm used in the DCTDecode filter.]
+
+Microsoft, _TrueType 1.0 Font Files_, rev. 1.66.  1995.
+http://www.microsoft.com/typography/tt/tt.htm
+[The TrueType font spec (in MS Word format, naturally).]
+
+Thai Industrial Standard, "Standard for Thai Character Codes for
+Computers", TIS-620-2533 (1990).
+http://www.nectec.or.th/it-standards/std620/std620.htm
+[The TIS-620 Thai encoding.]
+
+P. Peterlin, "ISO 8859-2 (Latin 2) Resources".
+http://sizif.mf.uni-lj.si/linux/cee/iso8859-2.html
+[This is a web page with all sorts of useful Latin-2 character set and
+font information.]
+
+Charles Poynton, "Color FAQ".
+http://www.inforamp.net/~poynton/ColorFAQ.html
+[The mapping from the CIE 1931 (XYZ) color space to RGB.]
+
+R. Rivest, "The MD5 Message-Digest Algorithm".  RFC 1321.
+[MD5 is used in PDF document encryption.]
+
+Unicode Consortium, "Unicode Home Page".
+http://www.unicode.org/
+[Online copy of the Unicode spec.]
+
+W3C Recommendation, "PNG (Portable Network Graphics) Specification
+Version 1.0".
+http://www.w3.org/Graphics/PNG/
+[Defines the PNG image predictor.]
+
+Gregory K. Wallace, "The JPEG Still Picture Compression Standard".
+ftp://ftp.uu.net/graphics/jpeg/wallace.ps.gz
+[Good description of the JPEG standard.  Also published in CACM, April
+1991, and submitted to IEEE Transactions on Consumer Electronics.]
+
+F. Yergeau, "UTF-8, a transformation format of ISO 10646".  RFC 2279.
+[A commonly used Unicode encoding.]

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdffonts.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdffonts.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdffonts.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdffonts.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdffonts.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,107 @@
+pdffonts(1)                                           pdffonts(1)
+
+
+
+NAME
+       pdffonts  -  Portable  Document Format (PDF) font analyzer
+       (version 3.00)
+
+SYNOPSIS
+       pdffonts [options] [PDF-file]
+
+DESCRIPTION
+       Pdffonts lists the fonts used in a Portable Document  For-
+       mat  (PDF)  file  along  with various information for each
+       font.
+
+       The following information is listed for each font:
+
+       name   the font name, exactly as given  in  the  PDF  file
+              (potentially including a subset prefix)
+
+       type   the font type -- see below for details
+
+       emb    "yes" if the font is embedded in the PDF file
+
+       sub    "yes" if the font is a subset
+
+       uni    "yes"  if  there  is an explicit "ToUnicode" map in
+              the PDF  file  (the  absence  of  a  ToUnicode  map
+              doesn't  necessarily  mean  that  the text can't be
+              converted to Unicode)
+
+       object ID
+              the font dictionary object ID (number  and  genera-
+              tion)
+
+       PDF files can contain the following types of fonts:
+
+              Type 1
+              Type 1C -- aka Compact Font Format (CFF)
+              Type 3
+              TrueType
+              CID Type 0 -- 16-bit font with no specified type
+              CID Type 0C -- 16-bit PostScript CFF font
+              CID TrueType -- 16-bit TrueType font
+
+CONFIGURATION FILE
+       Pdffonts  reads a configuration file at startup.  It first
+       tries to find the user's private config  file,  ~/.xpdfrc.
+       If  that  doesn't exist, it looks for a system-wide config
+       file, typically /usr/local/etc/xpdfrc (but  this  location
+       can be changed when pdffonts is built).  See the xpdfrc(5)
+       man page for details.
+
+OPTIONS
+       Many of the following options can be set  with  configura-
+       tion  file  commands.  These are listed in square brackets
+       with the description of  the  corresponding  command  line
+       option.
+
+       -f number
+              Specifies the first page to analyze.
+
+       -l number
+              Specifies the last page to analyze.
+
+       -opw password
+              Specify  the owner password for the PDF file.  Pro-
+              viding this will bypass all security  restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -cfg config-file
+              Read  config-file in place of ~/.xpdfrc or the sys-
+              tem-wide config file.
+
+       -v     Print copyright and version information.
+
+       -h     Print usage information.   (-help  and  --help  are
+              equivalent.)
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdffonts  software  and  documentation  are copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),     pdftops(1),     pdftotext(1),     pdfinfo(1),
+       pdftoppm(1), pdfimages(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004              pdffonts(1)

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfimages.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfimages.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfimages.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfimages.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfimages.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,87 @@
+pdfimages(1)                                         pdfimages(1)
+
+
+
+NAME
+       pdfimages - Portable Document Format (PDF) image extractor
+       (version 3.00)
+
+SYNOPSIS
+       pdfimages [options] PDF-file image-root
+
+DESCRIPTION
+       Pdfimages saves images from  a  Portable  Document  Format
+       (PDF)  file  as  Portable  Pixmap  (PPM),  Portable Bitmap
+       (PBM), or JPEG files.
+
+       Pdfimages reads the PDF file, scans  one  or  more  pages,
+       PDF-file,  and  writes one PPM, PBM, or JPEG file for each
+       image, image-root-nnn.xxx, where nnn is the  image  number
+       and xxx is the image type (.ppm, .pbm, .jpg).
+
+CONFIGURATION FILE
+       Pdfimages reads a configuration file at startup.  It first
+       tries to find the user's private config  file,  ~/.xpdfrc.
+       If  that  doesn't exist, it looks for a system-wide config
+       file, typically /usr/local/etc/xpdfrc (but  this  location
+       can   be  changed  when  pdfimages  is  built).   See  the
+       xpdfrc(5) man page for details.
+
+OPTIONS
+       Many of the following options can be set  with  configura-
+       tion  file  commands.  These are listed in square brackets
+       with the description of  the  corresponding  command  line
+       option.
+
+       -f number
+              Specifies the first page to scan.
+
+       -l number
+              Specifies the last page to scan.
+
+       -j     Normally,  all  images  are  written  as  PBM  (for
+              monochrome  images)  or  PPM  (for   non-monochrome
+              images)  files.   With  this  option, images in DCT
+              format are saved as JPEG files.  All non-DCT images
+              are saved in PBM/PPM format as usual.
+
+       -opw password
+              Specify  the owner password for the PDF file.  Pro-
+              viding this will bypass all security  restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -q     Don't  print any messages or errors.  [config file:
+              errQuiet]
+
+       -v     Print copyright and version information.
+
+       -h     Print usage information.   (-help  and  --help  are
+              equivalent.)
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdfimages  software  and  documentation are copyright
+       1998-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),  pdftops(1),   pdftotext(1),   pdfinfo(1),   pdf-
+       fonts(1), pdftoppm(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004             pdfimages(1)

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfinfo.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfinfo.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfinfo.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfinfo.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdfinfo.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,119 @@
+pdfinfo(1)                                             pdfinfo(1)
+
+
+
+NAME
+       pdfinfo - Portable Document Format (PDF) document informa-
+       tion extractor (version 3.00)
+
+SYNOPSIS
+       pdfinfo [options] [PDF-file]
+
+DESCRIPTION
+       Pdfinfo prints the contents of the 'Info' dictionary (plus
+       some  other  useful  information) from a Portable Document
+       Format (PDF) file.
+
+       The 'Info' dictionary contains the following values:
+
+              title
+              subject
+              keywords
+              author
+              creator
+              producer
+              creation date
+              modification date
+
+       In addition, the following information is printed:
+
+              tagged (yes/no)
+              page count
+              encrypted flag (yes/no)
+              print and copy permissions (if encrypted)
+              page size
+              file size
+              linearized (yes/no)
+              PDF version
+              metadata (only if requested)
+
+CONFIGURATION FILE
+       Pdfinfo reads a configuration file at startup.   It  first
+       tries  to  find the user's private config file, ~/.xpdfrc.
+       If that doesn't exist, it looks for a  system-wide  config
+       file,  typically  /usr/local/etc/xpdfrc (but this location
+       can be changed when pdfinfo is built).  See the  xpdfrc(5)
+       man page for details.
+
+OPTIONS
+       Many  of  the following options can be set with configura-
+       tion file commands.  These are listed in  square  brackets
+       with  the  description  of  the corresponding command line
+       option.
+
+       -f number
+              Specifies the first page to examine.   If  multiple
+              pages   are  requested  using  the  "-f"  and  "-l"
+              options, the size  of  each  requested  page  (and,
+              optionally,  the  bounding boxes for each requested
+              page) are printed.  Otherwise,  only  page  one  is
+              examined.
+
+       -l number
+              Specifies the last page to examine.
+
+       -box   Prints the page box bounding boxes: MediaBox, Crop-
+              Box, BleedBox, TrimBox, and ArtBox.
+
+       -meta  Prints  document-level  metadata.   (This  is   the
+              "Metadata"  stream  from  the  PDF  file's  Catalog
+              object.)
+
+       -enc encoding-name
+              Sets the encoding to  use  for  text  output.   The
+              encoding-name  must  be defined with the unicodeMap
+              command (see xpdfrc(5)).  This defaults to "Latin1"
+              (which is a built-in encoding).  [config file: tex-
+              tEncoding]
+
+       -opw password
+              Specify the owner password for the PDF file.   Pro-
+              viding  this will bypass all security restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -cfg config-file
+              Read config-file in place of ~/.xpdfrc or the  sys-
+              tem-wide config file.
+
+       -v     Print copyright and version information.
+
+       -h     Print  usage  information.   (-help  and --help are
+              equivalent.)
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdfinfo  software  and  documentation  are  copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),     pdftops(1),     pdftotext(1),    pdffonts(1),
+       pdftoppm(1), pdfimages(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004               pdfinfo(1)

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftops.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftops.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftops.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftops.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftops.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,217 @@
+pdftops(1)                                             pdftops(1)
+
+
+
+NAME
+       pdftops  -  Portable  Document  Format (PDF) to PostScript
+       converter (version 3.00)
+
+SYNOPSIS
+       pdftops [options] [PDF-file [PS-file]]
+
+DESCRIPTION
+       Pdftops converts Portable Document Format (PDF)  files  to
+       PostScript so they can be printed.
+
+       Pdftops  reads  the  PDF  file,  PDF-file,  and  writes  a
+       PostScript file, PS-file.  If PS-file  is  not  specified,
+       pdftops converts file.pdf to file.ps (or file.eps with the
+       -eps option).  If PS-file is '-', the PostScript  is  sent
+       to stdout.
+
+CONFIGURATION FILE
+       Pdftops  reads  a configuration file at startup.  It first
+       tries to find the user's private config  file,  ~/.xpdfrc.
+       If  that  doesn't exist, it looks for a system-wide config
+       file, typically /usr/local/etc/xpdfrc (but  this  location
+       can  be changed when pdftops is built).  See the xpdfrc(5)
+       man page for details.
+
+OPTIONS
+       Many of the following options can be set  with  configura-
+       tion  file  commands.  These are listed in square brackets
+       with the description of  the  corresponding  command  line
+       option.
+
+       -f number
+              Specifies the first page to print.
+
+       -l number
+              Specifies the last page to print.
+
+       -level1
+              Generate   Level   1   PostScript.   The  resulting
+              PostScript files will be significantly  larger  (if
+              they  contain  images),  but  will print on Level 1
+              printers.  This also converts all images  to  black
+              and  white.   No  more  than  one of the PostScript
+              level  options   (-level1,   -level1sep,   -level2,
+              -level2sep,  -level3,  -level3Sep)  may  be  given.
+              [config file: psLevel]
+
+       -level1sep
+              Generate Level 1 separable PostScript.  All  colors
+              are  converted  to  CMYK.   Images are written with
+              separate  stream  data  for  the  four  components.
+              [config file: psLevel]
+
+       -level2
+              Generate  Level  2  PostScript.   Level  2 supports
+              color images and image compression.   This  is  the
+              default setting.  [config file: psLevel]
+
+       -level2sep
+              Generate  Level 2 separable PostScript.  All colors
+              are converted to CMYK.  The  PostScript  separation
+              convention  operators  are  used  to  handle custom
+              (spot) colors.  [config file: psLevel]
+
+       -level3
+              Generate Level  3  PostScript.   This  enables  all
+              Level  2 features plus CID font embedding.  [config
+              file: psLevel]
+
+       -level3Sep
+              Generate Level 3 separable PostScript.  The separa-
+              tion handling is the same as for -level2Sep.  [con-
+              fig file: psLevel]
+
+       -eps   Generate an Encapsulated PostScript (EPS) file.  An
+              EPS  file  contains  a  single image, so if you use
+              this option with a multi-page PDF  file,  you  must
+              use  -f  and  -l to specify a single page.  No more
+              than one of the mode options (-eps, -form)  may  be
+              given.
+
+       -form  Generate a PostScript form which can be imported by
+              software that understands forms.  A form contains a
+              single  page,  so  if  you  use  this option with a
+              multi-page PDF file, you must  use  -f  and  -l  to
+              specify  a  single page.  The -level1 option cannot
+              be used with -form.
+
+       -opi   Generate OPI comments  for  all  images  and  forms
+              which  have  OPI information.  (This option is only
+              available if pdftops was  compiled  with  OPI  sup-
+              port.)  [config file: psOPI]
+
+       -noembt1
+              By  default, any Type 1 fonts which are embedded in
+              the PDF file are copied into the  PostScript  file.
+              This option causes pdftops to substitute base fonts
+              instead.   Embedded  fonts  make  PostScript  files
+              larger,  but  may be necessary for readable output.
+              [config file: psEmbedType1Fonts]
+
+       -noembtt
+              By default, any TrueType fonts which  are  embedded
+              in  the  PDF  file  are  copied into the PostScript
+              file.  This option  causes  pdftops  to  substitute
+              base fonts instead.  Embedded fonts make PostScript
+              files larger, but may  be  necessary  for  readable
+              output.   Also, some PostScript interpreters do not
+              have TrueType  rasterizers.   [config  file:  psEm-
+              bedTrueTypeFonts]
+
+       -noembcidps
+              By  default,  any  CID  PostScript  fonts which are
+              embedded in  the  PDF  file  are  copied  into  the
+              PostScript  file.  This option disables that embed-
+              ding.  No attempt is made to  substitute  for  non-
+              embedded CID PostScript fonts.  [config file: psEm-
+              bedCIDPostScriptFonts]
+
+       -noembcidtt
+              By default, any CID TrueType fonts which are embed-
+              ded  in the PDF file are copied into the PostScript
+              file.  This option  disables  that  embedding.   No
+              attempt  is made to substitute for non-embedded CID
+              TrueType fonts.  [config file:  psEmbedCIDTrueType-
+              Fonts]
+
+       -paper size
+              Set  the  paper  size  to one of "letter", "legal",
+              "A4", or "A3".  This can also be  set  to  "match",
+              which  will  set  the  paper size to match the size
+              specified in the PDF file.  [config file:  psPaper-
+              Size]
+
+       -paperw size
+              Set  the  paper  width,  in  points.  [config file:
+              psPaperSize]
+
+       -paperh size
+              Set the paper height,  in  points.   [config  file:
+              psPaperSize]
+
+       -nocrop
+              By default, output is cropped to the CropBox speci-
+              fied in the PDF file.  This option  disables  crop-
+              ping.  [config file: psCrop]
+
+       -expand
+              Expand PDF pages smaller than the paper to fill the
+              paper.  By default, these  pages  are  not  scaled.
+              [config file: psExpandSmaller]
+
+       -noshrink
+              Don't  scale  PDF  pages  which are larger than the
+              paper.  By default, pages larger than the paper are
+              shrunk to fit.  [config file: psShrinkLarger]
+
+       -nocenter
+              By default, PDF pages smaller than the paper (after
+              any scaling)  are  centered  on  the  paper.   This
+              option  causes them to be aligned to the lower-left
+              corner of the paper instead.  [config file:  psCen-
+              ter]
+
+       -duplex
+              Set  the  Duplex pagedevice entry in the PostScript
+              file.  This tells duplex-capable printers to enable
+              duplexing.  [config file: psDuplex]
+
+       -opw password
+              Specify  the owner password for the PDF file.  Pro-
+              viding this will bypass all security  restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -q     Don't  print any messages or errors.  [config file:
+              errQuiet]
+
+       -cfg config-file
+              Read config-file in place of ~/.xpdfrc or the  sys-
+              tem-wide config file.
+
+       -v     Print copyright and version information.
+
+       -h     Print  usage  information.   (-help  and --help are
+              equivalent.)
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdftops  software  and  documentation  are  copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),     pdftotext(1),     pdfinfo(1),    pdffonts(1),
+       pdftoppm(1), pdfimages(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004               pdftops(1)

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftotext.exe
===================================================================
(Binary files differ)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftotext.exe
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftotext.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftotext.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/pdftotext.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,120 @@
+pdftotext(1)                                         pdftotext(1)
+
+
+
+NAME
+       pdftotext  -  Portable  Document Format (PDF) to text con-
+       verter (version 3.00)
+
+SYNOPSIS
+       pdftotext [options] [PDF-file [text-file]]
+
+DESCRIPTION
+       Pdftotext converts Portable Document Format (PDF) files to
+       plain text.
+
+       Pdftotext  reads the PDF file, PDF-file, and writes a text
+       file, text-file.  If text-file is not specified, pdftotext
+       converts  file.pdf  to file.txt.  If text-file is '-', the
+       text is sent to stdout.
+
+CONFIGURATION FILE
+       Pdftotext reads a configuration file at startup.  It first
+       tries  to  find the user's private config file, ~/.xpdfrc.
+       If that doesn't exist, it looks for a  system-wide  config
+       file,  typically  /usr/local/etc/xpdfrc (but this location
+       can  be  changed  when  pdftotext  is  built).   See   the
+       xpdfrc(5) man page for details.
+
+OPTIONS
+       Many  of  the following options can be set with configura-
+       tion file commands.  These are listed in  square  brackets
+       with  the  description  of  the corresponding command line
+       option.
+
+       -f number
+              Specifies the first page to convert.
+
+       -l number
+              Specifies the last page to convert.
+
+       -layout
+              Maintain (as best as possible) the original  physi-
+              cal  layout  of the text.  The default is to 'undo'
+              physical layout (columns,  hyphenation,  etc.)  and
+              output the text in reading order.
+
+       -raw   Keep  the  text in content stream order.  This is a
+              hack which often "undoes" column  formatting,  etc.
+              Use of raw mode is no longer recommended.
+
+       -htmlmeta
+              Generate  a  simple  HTML  file, including the meta
+              information.  This simply wraps the text  in  <pre>
+              and </pre> and prepends the meta headers.
+
+       -enc encoding-name
+              Sets  the  encoding  to  use  for text output.  The
+              encoding-name must be defined with  the  unicodeMap
+              command  (see  xpdfrc(5)).   The  encoding  name is
+              case-sensitive.  This defaults to  "Latin1"  (which
+              is  a built-in encoding).  [config file: textEncod-
+              ing]
+
+       -eol unix | dos | mac
+              Sets the end-of-line convention  to  use  for  text
+              output.  [config file: textEOL]
+
+       -nopgbrk
+              Don't  insert  page  breaks  (form feed characters)
+              between pages.  [config file: textPageBreaks]
+
+       -opw password
+              Specify the owner password for the PDF file.   Pro-
+              viding  this will bypass all security restrictions.
+
+       -upw password
+              Specify the user password for the PDF file.
+
+       -q     Don't print any messages or errors.  [config  file:
+              errQuiet]
+
+       -cfg config-file
+              Read  config-file in place of ~/.xpdfrc or the sys-
+              tem-wide config file.
+
+       -v     Print copyright and version information.
+
+       -h     Print usage information.   (-help  and  --help  are
+              equivalent.)
+
+BUGS
+       Some  PDF  files  contain  fonts whose encodings have been
+       mangled beyond recognition.  There is  no  way  (short  of
+       OCR) to extract text from these files.
+
+EXIT CODES
+       The Xpdf tools use the following exit codes:
+
+       0      No error.
+
+       1      Error opening a PDF file.
+
+       2      Error opening an output file.
+
+       3      Error related to PDF permissions.
+
+       99     Other error.
+
+AUTHOR
+       The  pdftotext  software  and  documentation are copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1), pdftops(1), pdfinfo(1), pdffonts(1), pdftoppm(1),
+       pdfimages(1), xpdfrc(5)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004             pdftotext(1)

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/sample-xpdfrc
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/sample-xpdfrc	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/sample-xpdfrc	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,91 @@
+#========================================================================
+#
+# Sample xpdfrc file
+#
+# The Xpdf tools look for a config file in two places:
+# 1. ~/.xpdfrc
+# 2. in a system-wide directory, typically /usr/local/etc/xpdfrc
+#
+# This sample config file demonstrates some of the more common
+# configuration options.  Everything here is commented out.  You
+# should edit things (especially the file/directory paths, since
+# they'll likely be different on your system), and uncomment whichever
+# options you want to use.  For complete details on config file syntax
+# and available options, please see the xpdfrc(5) man page.
+#
+# Also, the Xpdf language support packages each include a set of
+# options to be added to the xpdfrc file.
+#
+# http://www.foolabs.com/xpdf/
+#
+#========================================================================
+
+#----- display fonts
+
+# These map the Base-14 fonts to the Type 1 fonts that ship with
+# ghostscript.  You'll almost certainly want to use something like
+# this, but you'll need to adjust this to point to wherever
+# ghostscript is installed on your system.  (But if the fonts are
+# installed in a "standard" location, xpdf will find them
+# automatically.)
+
+#displayFontT1 Times-Roman		/usr/local/share/ghostscript/fonts/n021003l.pfb
+#displayFontT1 Times-Italic		/usr/local/share/ghostscript/fonts/n021023l.pfb
+#displayFontT1 Times-Bold		/usr/local/share/ghostscript/fonts/n021004l.pfb
+#displayFontT1 Times-BoldItalic		/usr/local/share/ghostscript/fonts/n021024l.pfb
+#displayFontT1 Helvetica		/usr/local/share/ghostscript/fonts/n019003l.pfb
+#displayFontT1 Helvetica-Oblique	/usr/local/share/ghostscript/fonts/n019023l.pfb
+#displayFontT1 Helvetica-Bold		/usr/local/share/ghostscript/fonts/n019004l.pfb
+#displayFontT1 Helvetica-BoldOblique	/usr/local/share/ghostscript/fonts/n019024l.pfb
+#displayFontT1 Courier			/usr/local/share/ghostscript/fonts/n022003l.pfb
+#displayFontT1 Courier-Oblique		/usr/local/share/ghostscript/fonts/n022023l.pfb
+#displayFontT1 Courier-Bold		/usr/local/share/ghostscript/fonts/n022004l.pfb
+#displayFontT1 Courier-BoldOblique	/usr/local/share/ghostscript/fonts/n022024l.pfb
+#displayFontT1 Symbol			/usr/local/share/ghostscript/fonts/s050000l.pfb
+#displayFontT1 ZapfDingbats		/usr/local/share/ghostscript/fonts/d050000l.pfb
+
+# If you need to display PDF files that refer to non-embedded fonts,
+# you should add one or more fontDir options to point to the
+# directories containing the font files.  Xpdf will only look at .pfa,
+# .pfb, and .ttf files in those directories (other files will simply
+# be ignored).
+
+#fontDir		/usr/local/fonts/bakoma
+
+#----- PostScript output control
+
+# Set the default PostScript file or command.
+
+#psFile			"|lpr -Pmyprinter"
+
+# Set the default PostScript paper size -- this can be letter, legal,
+# A4, or A3.  You can also specify a paper size as width and height
+# (in points).
+
+#psPaperSize		letter
+
+#----- text output control
+
+# Choose a text encoding for copy-and-paste and for pdftotext output.
+# The Latin1, ASCII7, and UTF-8 encodings are built into Xpdf.  Other
+# encodings are available in the language support packages.
+
+#textEncoding		UTF-8
+
+# Choose the end-of-line convention for multi-line copy-and-past and
+# for pdftotext output.  The available options are unix, mac, and dos.
+
+#textEOL		unix
+
+#----- misc settings
+
+# Enable t1lib, FreeType, and anti-aliased text.
+
+#enableT1lib		yes
+#enableFreeType		yes
+#antialias		yes
+
+# Set the command used to run a web browser when a URL hyperlink is
+# clicked.
+
+#urlCommand	"netscape -remote 'openURL(%s)'"

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/win32/xpdfrc.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/win32/xpdfrc.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/win32/xpdfrc.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,474 @@
+xpdfrc(5)                                               xpdfrc(5)
+
+
+
+NAME
+       xpdfrc - configuration file for Xpdf tools (version 3.00)
+
+DESCRIPTION
+       All  of  the  Xpdf tools read a single configuration file.
+       If you have a .xpdfrc file in your home directory, it will
+       be read.  Otherwise, a system-wide configuration file will
+       be read from /usr/local/etc/xpdfrc, if it  exists.   (This
+       is  its  default  location; depending on build options, it
+       may be placed elsewhere.)  On Win32  systems,  the  xpdfrc
+       file  should  be  placed in the same directory as the exe-
+       cutables.
+
+       The xpdfrc file consists  of  a  series  of  configuration
+       options,  one  per  line.   Blank lines and lines starting
+       with a '#' (comments) are ignored.
+
+       The following  sections  list  all  of  the  configuration
+       options, sorted into functional groups.  There is an exam-
+       ples section at the end.
+
+INCLUDE FILES
+       include config-file
+              Includes the specified config file.  The effect  of
+              this  is  equivalent  to  inserting the contents of
+              config-file directly into the parent config file in
+              place  of the include command.  Config files can be
+              nested arbitrarily deeply.
+
+CHARACTER MAPPING
+       nameToUnicode map-file
+              Specifies a file with the  mapping  from  character
+              names to Unicode.  This is used to handle PDF fonts
+              that have valid encodings but no  ToUnicode  entry.
+              Each line of a nameToUnicode file looks like this:
+
+                   hex-string name
+
+              The  hex-string  is  the  Unicode (UCS-2) character
+              index, and  name  is  the  corresponding  character
+              name.  Multiple nameToUnicode files can be used; if
+              a character name is given more than once, the  code
+              in  the  last  specified  file is used.  There is a
+              built-in default nameToUnicode table  with  all  of
+              Adobe's standard character names.
+
+       cidToUnicode registry-ordering map-file
+              Specifies  the file with the mapping from character
+              collection to Unicode.  Each line of a cidToUnicode
+              file represents one character:
+
+                   hex-string
+
+              The  hex-string  is  the  Unicode (UCS-2) index for
+              that character.  The first line  maps  CID  0,  the
+              second line CID 1, etc.  File size is determined by
+              size of the character collection.  Only one file is
+              allowed  per  character collection; the last speci-
+              fied file is used.  There are no built-in cidToUni-
+              code mappings.
+
+       unicodeToUnicode font-name-substring map-file
+              This  is  used  to work around PDF fonts which have
+              incorrect Unicode information.  It specifies a file
+              which  maps  from  the  given  (incorrect)  Unicode
+              indexes to the correct ones.  The mapping  will  be
+              used    for    any   font   whose   name   contains
+              font-name-substring.  Each line of a  unicodeToUni-
+              code file represents one Unicode character:
+
+                  in-hex out-hex1 out-hex2 ...
+
+              The  in-hex  field  is an input (incorrect) Unicode
+              index, and the rest of the fields are one  or  more
+              output  (correct) Unicode indexes.  Each occurrence
+              of in-hex will be converted to the specified output
+              sequence.
+
+       unicodeMap encoding-name map-file
+              Specifies  the  file  with  mapping from Unicode to
+              encoding-name.  These encodings are used for X dis-
+              play  fonts and text output (see below).  Each line
+              of a unicodeMap file represents a range of  one  or
+              more  Unicode  characters  which maps linearly to a
+              range in the output encoding:
+
+                   in-start-hex in-end-hex out-start-hex
+
+              Entries for single characters  can  be  abbreviated
+              to:
+
+                   in-hex out-hex
+
+              The in-start-hex and in-end-hex fields (or the sin-
+              gle in-hex field) specify the Unicode  range.   The
+              out-start-hex  field  (or the out-hex field) speci-
+              fies the start of the output encoding  range.   The
+              length  of  the  out-start-hex  (or out-hex) string
+              determines the  length  of  the  output  characters
+              (e.g.,  UTF-8  uses  different  numbers of bytes to
+              represent characters in different ranges).  Entries
+              must  be  given  in increasing Unicode order.  Only
+              one file is allowed per encoding; the  last  speci-
+              fied  file  is  used.   The Latin1, ASCII7, Symbol,
+              ZapfDingbats, UTF-8, and UCS-2 encodings are prede-
+              fined.
+
+       cMapDir registry-ordering dir
+              Specifies  a  search  directory, dir, for CMaps for
+              the registry-ordering character collection.   There
+              can  be  multiple directories for a particular col-
+              lection.  There are no default CMap directories.
+
+       toUnicodeDir dir
+              Specifies a search directory,  dir,  for  ToUnicode
+              CMaps.   There  can  be multiple ToUnicode directo-
+              ries.  There are no default ToUnicode  directories.
+
+DISPLAY FONTS
+       displayFontT1 PDF-font-name T1-file
+              Maps  a  PDF  font, PDF-font-name, to a Type 1 font
+              for display.  The Type 1 font file, T1-file, should
+              be a standard .pfa or .pfb file.
+
+       displayFontTT PDF-font-name TT-file
+              Maps  a PDF font, PDF-font-name, to a TrueType font
+              for display.   The  TrueType  font  file,  TT-file,
+              should be a standard .ttf file.
+
+       displayNamedCIDFontT1 PDF-font-name T1-file
+              Maps    a   specific   PDF   CID   (16-bit)   font,
+              PDF-font-name, to a  CID  font  (16-bit  PostScript
+              font),  for display.  There are no default CID font
+              mappings.
+
+       displayCIDFontT1 registry-ordering T1-file
+              Maps the registry-ordering character collection  to
+              a  CID  font (16-bit PostScript font), for display.
+              This mapping is used if the font name doesn't match
+              any of the fonts declared with displayNamedCIDFont*
+              commands.  There are no default CID font  mappings.
+
+       displayNamedCIDFontTT PDF-font-name TT-file
+              Maps    a   specific   PDF   CID   (16-bit)   font,
+              PDF-font-name, to a  (16-bit)  TrueType  font,  for
+              display.  There are no default CID font mappings.
+
+       displayCIDFontTT registry-ordering TT-file
+              Maps  the registry-ordering character collection to
+              a (16-bit) TrueType font, for display.   This  map-
+              ping  is used if the font name doesn't match any of
+              the fonts declared with  displayNamedCIDFont*  com-
+              mands.  There are no default CID font mappings.
+
+       fontDir dir
+              Specifies  a  search  directory  for  external font
+              files.  There can be multiple fontDir  directories.
+              If  a  PDF  file  uses a font but doesn't embed it,
+              these directories will be searched for  a  matching
+              font  file.  These fonts are used by both xpdf (for
+              display) and pdftops (for embedding in  the  gener-
+              ated  PostScript).  Type 1 fonts must have a suffix
+              of ".pfa", ".pfb", ".ps",  or  no  suffix  at  all.
+              TrueType  fonts  must  have a ".ttf" suffix.  Other
+              files in these directories will be ignored.   There
+              are no default fontDir directories.
+
+POSTSCRIPT CONTROL
+       psPaperSize width(pts) height(pts)
+              Sets  the  paper  size  for PostScript output.  The
+              width and height parameters give the paper size  in
+              PostScript points (1 point = 1/72 inch).
+
+       psPaperSize letter | legal | A4 | A3 | match
+              Sets  the  paper  size  for  PostScript output to a
+              standard size.  The default paper size is set  when
+              xpdf  and  pdftops are built, typically to "letter"
+              or "A4".  This can also be set  to  "match",  which
+              will set the paper size to match the size specified
+              in the PDF file.
+
+       psImageableArea llx lly urx ury
+              Sets the imageable area for PostScript output.  The
+              four integers are the coordinates of the lower-left
+              and upper-right corners of  the  imageable  region,
+              specified  in  points  (with  the  origin being the
+              lower-left corner of the paper).  This defaults  to
+              the  full  paper  size; the psPaperSize option will
+              reset the imageable area coordinates.
+
+       psCrop yes | no
+              If set to "yes", PostScript output  is  cropped  to
+              the CropBox specified in the PDF file; otherwise no
+              cropping is done.  This defaults to "yes".
+
+       psExpandSmaller yes | no
+              If  set  to  "yes",  PDF  pages  smaller  than  the
+              PostScript  imageable area are expanded to fill the
+              imageable area.  Otherwise, no scalling is done  on
+              smaller pages.  This defaults to "no".
+
+       psShrinkLarger yes | no
+              If set to yes, PDF pages larger than the PostScript
+              imageable area are  shrunk  to  fit  the  imageable
+              area.   Otherwise,  no  scaling  is  done on larger
+              pages.  This defaults to "yes".
+
+       psCenter yes | no
+              If  set  to  yes,  PDF  pages  smaller   than   the
+              PostScript  imageable  area (after any scaling) are
+              centered in the imageable  area.   Otherwise,  they
+              are  aligned at the lower-left corner of the image-
+              able area.  This defaults to "yes".
+
+       psDuplex yes | no
+              If set to "yes", the generated PostScript will  set
+              the  "Duplex" pagedevice entry.  This tells duplex-
+              capable  printers  to   enable   duplexing.    This
+              defaults to "no".
+
+       psLevel level1 | level1sep | level2 | level2sep | level3 |
+       level3Sep
+              Sets   the  PostScript  level  to  generate.   This
+              defaults to "level2".
+
+       psFont PDF-font-name PS-font-name
+              When the PDF-font-name font is used in a PDF  file,
+              it  will  be  translated  to  the  PostScript  font
+              PS-font-name, which is assumed to  be  resident  in
+              the    printer.    Typically,   PDF-font-name   and
+              PS-font-name are the same.  By  default,  only  the
+              Base-14 fonts are assumed to be resident.
+
+       psNamedFont16 PDF-font-name wMode PS-font-name encoding
+              When the 16-bit font PDF-font-name is used in a PDF
+              file with the wMode writing mode and is not  embed-
+              ded,  the  PS-font-name font is substituted for it.
+              The writing mode must be either 'H' for  horizontal
+              or  'V'  for  vertical.   The  PS-font-name font is
+              assumed to be resident in the printer  and  to  use
+              the   specified  encoding  (which  must  have  been
+              defined with the unicodeMap command).
+
+       psFont16 registry-ordering wMode PS-font-name encoding
+              When a  16-bit  font  using  the  registry-ordering
+              character  collection and wMode writing mode is not
+              embedded and  does  not  match  any  of  the  fonts
+              declared    in    psNamedFont16    commands,    the
+              PS-font-name font is substituted for it.  The writ-
+              ing  mode  must be either 'H' for horizontal or 'V'
+              for vertical.  The PS-font-name font is assumed  to
+              be resident in the printer and to use the specified
+              writing mode and encoding  (which  must  have  been
+              defined with the unicodeMap command).
+
+       psEmbedType1Fonts yes | no
+              If  set to "no", prevents embedding of Type 1 fonts
+              in generated PostScript.  This defaults to "yes".
+
+       psEmbedTrueTypeFonts yes | no
+              If set to  "no",  prevents  embedding  of  TrueType
+              fonts  in  generated  PostScript.  This defaults to
+              "yes".
+
+       psEmbedCIDTrueTypeFonts yes | no
+              If set to "no", prevents embedding of CID  TrueType
+              fonts   in   generated  PostScript.   For  Level  3
+              PostScript, this generates a CID  font,  for  lower
+              levels it generates a non-CID composite font.
+
+       psEmbedCIDPostScriptFonts yes | no
+              If   set   to   "no",  prevents  embedding  of  CID
+              PostScript  fonts  in  generated  PostScript.   For
+              Level  3 PostScript, this generates a CID font, for
+              lower levels it generates a non-CID composite font.
+
+       psOPI yes | no
+              If  set to "yes", generates PostScript OPI comments
+              for all images and forms which  have  OPI  informa-
+              tion.   This  option  is only available if the Xpdf
+              tools  were  compiled  with  OPI   support.    This
+              defaults to "no".
+
+       psASCIIHex yes | no
+              If  set to "yes", the ASCIIHexEncode filter will be
+              used instead  of  ASCII85Encode  for  binary  data.
+              This defaults to "no".
+
+       psFile file-or-command
+              Sets  the  default PostScript file or print command
+              for xpdf.  Commands start  with  a  '|'  character;
+              anything  else is a file.  If the file name or com-
+              mand contains  spaces  it  must  be  quoted.   This
+              defaults  to  unset, which tells xpdf to generate a
+              name  of  the  form  <file>.ps  for  a   PDF   file
+              <file>.pdf.
+
+       fontDir dir
+              See  the  description  above,  in the DISPLAY FONTS
+              section.
+
+TEXT CONTROL
+       textEncoding encoding-name
+              Sets the encoding to use for  text  output.   (This
+              can  be  overridden  with  the "-enc" switch on the
+              command line.)  The encoding-name must  be  defined
+              with  the  unicodeMap  command  (see  above).  This
+              defaults to "Latin1".
+
+       textEOL unix | dos | mac
+              Sets the end-of-line convention  to  use  for  text
+              output.  The options are:
+
+                  unix = LF
+                  dos  = CR+LF
+                  mac  = CR
+
+              (This  can  be overridden with the "-eol" switch on
+              the command line.)  The default value is  based  on
+              the OS where xpdf and pdftotext were built.
+
+       textPageBreaks yes | no
+              If  set  to "yes", text extraction will insert page
+              breaks (form feed characters) between pages.   This
+              defaults to "yes".
+
+       textKeepTinyChars yes | no
+              If  set  to  "yes",  text  extraction will keep all
+              characters.  If set to "no", text  extraction  will
+              discard  tiny  (smaller  than  3  point) characters
+              after the first 50000 per page, avoiding  extremely
+              slow run times for PDF files that use special fonts
+              to do shading or cross-hatching.  This defaults  to
+              "no".
+
+MISCELLANEOUS SETTINGS
+       initialZoom percentage | page | width
+              Sets the initial zoom factor.  A number specifies a
+              zoom percentage, where 100 means 72 dpi.   You  may
+              also  specify 'page', to fit the page to the window
+              size, or 'width', to fit the page width to the win-
+              dow width.
+
+       enableT1lib yes | no
+              Enables  or  disables  use  of t1lib (a Type 1 font
+              rasterizer).  This is only  relevant  if  the  Xpdf
+              tools    were    built    with    t1lib    support.
+              ("enableT1lib"  replaces  the  old   "t1libControl"
+              option.)  This option defaults to "yes".
+
+       enableFreeType yes | no
+              Enables  or  disables use of FreeType (a TrueType /
+              Type 1 font rasterizer).  This is only relevant  if
+              the  Xpdf  tools  were built with FreeType support.
+              ("enableFreeType" replaces  the  old  "freetypeCon-
+              trol" option.)  This option defaults to "yes".
+
+       antialias yes | no
+              Enables  or  disables font anti-aliasing in the PDF
+              rasterizer.  This option affects all font rasteriz-
+              ers.   ("antialias" replaces the anti-aliasing con-
+              trol  provided  by  the  old   "t1libControl"   and
+              "freetypeControl" options.)  This default to "yes".
+
+       urlCommand command
+              Sets the command executed when you click on  a  URL
+              link.   The  string  "%s" will be replaced with the
+              URL.  (See the example below.)  This has no default
+              value.
+
+       movieCommand command
+              Sets the command executed when you click on a movie
+              annotation.  The string "%s" will be replaced  with
+              the movie file name.  This has no default value.
+
+       mapNumericCharNames yes | no
+              If set to "yes", the Xpdf tools will attempt to map
+              various numeric character names sometimes  used  in
+              font  subsets.   In some cases this leads to usable
+              text, and in other cases it leads to  gibberish  --
+              there is no way for Xpdf to tell.  This defaults to
+              "yes".
+
+       printCommands yes | no
+              If set to "yes", drawing commands  are  printed  as
+              they're  executed  (useful  for  debugging).   This
+              defaults to "no".
+
+       errQuiet yes | no
+              If set to "yes",  this  suppresses  all  error  and
+              warning  messages from all of the Xpdf tools.  This
+              defaults to "no".
+
+EXAMPLES
+       The following is a sample xpdfrc file.
+
+       # from the Thai support package
+       nameToUnicode /usr/local/share/xpdf/Thai.nameToUnicode
+
+       # from the Japanese support package
+       cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/Adobe-Japan1.cidToUnicode
+       unicodeMap   JISX0208     /usr/local/share/xpdf/JISX0208.unicodeMap
+       cMapDir      Adobe-Japan1 /usr/local/share/xpdf/cmap/Adobe-Japan1
+
+       # use the Base-14 Type 1 fonts from ghostscript
+       displayFontT1 Times-Roman           /usr/local/share/ghostscript/fonts/n021003l.pfb
+       displayFontT1 Times-Italic          /usr/local/share/ghostscript/fonts/n021023l.pfb
+       displayFontT1 Times-Bold            /usr/local/share/ghostscript/fonts/n021004l.pfb
+       displayFontT1 Times-BoldItalic      /usr/local/share/ghostscript/fonts/n021024l.pfb
+       displayFontT1 Helvetica             /usr/local/share/ghostscript/fonts/n019003l.pfb
+       displayFontT1 Helvetica-Oblique     /usr/local/share/ghostscript/fonts/n019023l.pfb
+       displayFontT1 Helvetica-Bold        /usr/local/share/ghostscript/fonts/n019004l.pfb
+       displayFontT1 Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb
+       displayFontT1 Courier               /usr/local/share/ghostscript/fonts/n022003l.pfb
+       displayFontT1 Courier-Oblique       /usr/local/share/ghostscript/fonts/n022023l.pfb
+       displayFontT1 Courier-Bold          /usr/local/share/ghostscript/fonts/n022004l.pfb
+       displayFontT1 Courier-BoldOblique   /usr/local/share/ghostscript/fonts/n022024l.pfb
+       displayFontT1 Symbol                /usr/local/share/ghostscript/fonts/s050000l.pfb
+       displayFontT1 ZapfDingbats          /usr/local/share/ghostscript/fonts/d050000l.pfb
+
+       # use the Bakoma Type 1 fonts
+       # (this assumes they happen to be installed in /usr/local/fonts/bakoma)
+       fontDir /usr/local/fonts/bakoma
+
+       # set some PostScript options
+       psPaperSize          letter
+       psDuplex             no
+       psLevel              level2
+       psEmbedType1Fonts    yes
+       psEmbedTrueTypeFonts yes
+       psFile               "| lpr -Pprinter5"
+
+       # assume that the PostScript printer has the Univers and
+       # Univers-Bold fonts
+       psFont Univers      Univers
+       psFont Univers-Bold Univers-Bold
+
+       # set the text output options
+       textEncoding UTF-8
+       textEOL      unix
+
+       # misc options
+       t1libControl    low
+       freetypeControl low
+       urlCommand      "netscape -remote 'openURL(%s)'"
+
+
+FILES
+       /usr/local/etc/xpdfrc
+              This is the default location  for  the  system-wide
+              configuration file.  Depending on build options, it
+              may be placed elsewhere.
+
+       $HOME/.xpdfrc
+              This is  the  user's  configuration  file.   If  it
+              exists, it will be read in place of the system-wide
+              file.
+
+AUTHOR
+       The  Xpdf  software  and   documentation   are   copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),     pdftops(1),     pdftotext(1),     pdfinfo(1),
+       pdftoppm(1), pdfimages(1)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004                xpdfrc(5)

Added: zope-attachmentfield/branches/upstream/current/converters/pdf/xpdfrc.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/converters/pdf/xpdfrc.txt	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/converters/pdf/xpdfrc.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,474 @@
+xpdfrc(5)                                               xpdfrc(5)
+
+
+
+NAME
+       xpdfrc - configuration file for Xpdf tools (version 3.00)
+
+DESCRIPTION
+       All  of  the  Xpdf tools read a single configuration file.
+       If you have a .xpdfrc file in your home directory, it will
+       be read.  Otherwise, a system-wide configuration file will
+       be read from /usr/local/etc/xpdfrc, if it  exists.   (This
+       is  its  default  location; depending on build options, it
+       may be placed elsewhere.)  On Win32  systems,  the  xpdfrc
+       file  should  be  placed in the same directory as the exe-
+       cutables.
+
+       The xpdfrc file consists  of  a  series  of  configuration
+       options,  one  per  line.   Blank lines and lines starting
+       with a '#' (comments) are ignored.
+
+       The following  sections  list  all  of  the  configuration
+       options, sorted into functional groups.  There is an exam-
+       ples section at the end.
+
+INCLUDE FILES
+       include config-file
+              Includes the specified config file.  The effect  of
+              this  is  equivalent  to  inserting the contents of
+              config-file directly into the parent config file in
+              place  of the include command.  Config files can be
+              nested arbitrarily deeply.
+
+CHARACTER MAPPING
+       nameToUnicode map-file
+              Specifies a file with the  mapping  from  character
+              names to Unicode.  This is used to handle PDF fonts
+              that have valid encodings but no  ToUnicode  entry.
+              Each line of a nameToUnicode file looks like this:
+
+                   hex-string name
+
+              The  hex-string  is  the  Unicode (UCS-2) character
+              index, and  name  is  the  corresponding  character
+              name.  Multiple nameToUnicode files can be used; if
+              a character name is given more than once, the  code
+              in  the  last  specified  file is used.  There is a
+              built-in default nameToUnicode table  with  all  of
+              Adobe's standard character names.
+
+       cidToUnicode registry-ordering map-file
+              Specifies  the file with the mapping from character
+              collection to Unicode.  Each line of a cidToUnicode
+              file represents one character:
+
+                   hex-string
+
+              The  hex-string  is  the  Unicode (UCS-2) index for
+              that character.  The first line  maps  CID  0,  the
+              second line CID 1, etc.  File size is determined by
+              size of the character collection.  Only one file is
+              allowed  per  character collection; the last speci-
+              fied file is used.  There are no built-in cidToUni-
+              code mappings.
+
+       unicodeToUnicode font-name-substring map-file
+              This  is  used  to work around PDF fonts which have
+              incorrect Unicode information.  It specifies a file
+              which  maps  from  the  given  (incorrect)  Unicode
+              indexes to the correct ones.  The mapping  will  be
+              used    for    any   font   whose   name   contains
+              font-name-substring.  Each line of a  unicodeToUni-
+              code file represents one Unicode character:
+
+                  in-hex out-hex1 out-hex2 ...
+
+              The  in-hex  field  is an input (incorrect) Unicode
+              index, and the rest of the fields are one  or  more
+              output  (correct) Unicode indexes.  Each occurrence
+              of in-hex will be converted to the specified output
+              sequence.
+
+       unicodeMap encoding-name map-file
+              Specifies  the  file  with  mapping from Unicode to
+              encoding-name.  These encodings are used for X dis-
+              play  fonts and text output (see below).  Each line
+              of a unicodeMap file represents a range of  one  or
+              more  Unicode  characters  which maps linearly to a
+              range in the output encoding:
+
+                   in-start-hex in-end-hex out-start-hex
+
+              Entries for single characters  can  be  abbreviated
+              to:
+
+                   in-hex out-hex
+
+              The in-start-hex and in-end-hex fields (or the sin-
+              gle in-hex field) specify the Unicode  range.   The
+              out-start-hex  field  (or the out-hex field) speci-
+              fies the start of the output encoding  range.   The
+              length  of  the  out-start-hex  (or out-hex) string
+              determines the  length  of  the  output  characters
+              (e.g.,  UTF-8  uses  different  numbers of bytes to
+              represent characters in different ranges).  Entries
+              must  be  given  in increasing Unicode order.  Only
+              one file is allowed per encoding; the  last  speci-
+              fied  file  is  used.   The Latin1, ASCII7, Symbol,
+              ZapfDingbats, UTF-8, and UCS-2 encodings are prede-
+              fined.
+
+       cMapDir registry-ordering dir
+              Specifies  a  search  directory, dir, for CMaps for
+              the registry-ordering character collection.   There
+              can  be  multiple directories for a particular col-
+              lection.  There are no default CMap directories.
+
+       toUnicodeDir dir
+              Specifies a search directory,  dir,  for  ToUnicode
+              CMaps.   There  can  be multiple ToUnicode directo-
+              ries.  There are no default ToUnicode  directories.
+
+DISPLAY FONTS
+       displayFontT1 PDF-font-name T1-file
+              Maps  a  PDF  font, PDF-font-name, to a Type 1 font
+              for display.  The Type 1 font file, T1-file, should
+              be a standard .pfa or .pfb file.
+
+       displayFontTT PDF-font-name TT-file
+              Maps  a PDF font, PDF-font-name, to a TrueType font
+              for display.   The  TrueType  font  file,  TT-file,
+              should be a standard .ttf file.
+
+       displayNamedCIDFontT1 PDF-font-name T1-file
+              Maps    a   specific   PDF   CID   (16-bit)   font,
+              PDF-font-name, to a  CID  font  (16-bit  PostScript
+              font),  for display.  There are no default CID font
+              mappings.
+
+       displayCIDFontT1 registry-ordering T1-file
+              Maps the registry-ordering character collection  to
+              a  CID  font (16-bit PostScript font), for display.
+              This mapping is used if the font name doesn't match
+              any of the fonts declared with displayNamedCIDFont*
+              commands.  There are no default CID font  mappings.
+
+       displayNamedCIDFontTT PDF-font-name TT-file
+              Maps    a   specific   PDF   CID   (16-bit)   font,
+              PDF-font-name, to a  (16-bit)  TrueType  font,  for
+              display.  There are no default CID font mappings.
+
+       displayCIDFontTT registry-ordering TT-file
+              Maps  the registry-ordering character collection to
+              a (16-bit) TrueType font, for display.   This  map-
+              ping  is used if the font name doesn't match any of
+              the fonts declared with  displayNamedCIDFont*  com-
+              mands.  There are no default CID font mappings.
+
+       fontDir dir
+              Specifies  a  search  directory  for  external font
+              files.  There can be multiple fontDir  directories.
+              If  a  PDF  file  uses a font but doesn't embed it,
+              these directories will be searched for  a  matching
+              font  file.  These fonts are used by both xpdf (for
+              display) and pdftops (for embedding in  the  gener-
+              ated  PostScript).  Type 1 fonts must have a suffix
+              of ".pfa", ".pfb", ".ps",  or  no  suffix  at  all.
+              TrueType  fonts  must  have a ".ttf" suffix.  Other
+              files in these directories will be ignored.   There
+              are no default fontDir directories.
+
+POSTSCRIPT CONTROL
+       psPaperSize width(pts) height(pts)
+              Sets  the  paper  size  for PostScript output.  The
+              width and height parameters give the paper size  in
+              PostScript points (1 point = 1/72 inch).
+
+       psPaperSize letter | legal | A4 | A3 | match
+              Sets  the  paper  size  for  PostScript output to a
+              standard size.  The default paper size is set  when
+              xpdf  and  pdftops are built, typically to "letter"
+              or "A4".  This can also be set  to  "match",  which
+              will set the paper size to match the size specified
+              in the PDF file.
+
+       psImageableArea llx lly urx ury
+              Sets the imageable area for PostScript output.  The
+              four integers are the coordinates of the lower-left
+              and upper-right corners of  the  imageable  region,
+              specified  in  points  (with  the  origin being the
+              lower-left corner of the paper).  This defaults  to
+              the  full  paper  size; the psPaperSize option will
+              reset the imageable area coordinates.
+
+       psCrop yes | no
+              If set to "yes", PostScript output  is  cropped  to
+              the CropBox specified in the PDF file; otherwise no
+              cropping is done.  This defaults to "yes".
+
+       psExpandSmaller yes | no
+              If  set  to  "yes",  PDF  pages  smaller  than  the
+              PostScript  imageable area are expanded to fill the
+              imageable area.  Otherwise, no scalling is done  on
+              smaller pages.  This defaults to "no".
+
+       psShrinkLarger yes | no
+              If set to yes, PDF pages larger than the PostScript
+              imageable area are  shrunk  to  fit  the  imageable
+              area.   Otherwise,  no  scaling  is  done on larger
+              pages.  This defaults to "yes".
+
+       psCenter yes | no
+              If  set  to  yes,  PDF  pages  smaller   than   the
+              PostScript  imageable  area (after any scaling) are
+              centered in the imageable  area.   Otherwise,  they
+              are  aligned at the lower-left corner of the image-
+              able area.  This defaults to "yes".
+
+       psDuplex yes | no
+              If set to "yes", the generated PostScript will  set
+              the  "Duplex" pagedevice entry.  This tells duplex-
+              capable  printers  to   enable   duplexing.    This
+              defaults to "no".
+
+       psLevel level1 | level1sep | level2 | level2sep | level3 |
+       level3Sep
+              Sets   the  PostScript  level  to  generate.   This
+              defaults to "level2".
+
+       psFont PDF-font-name PS-font-name
+              When the PDF-font-name font is used in a PDF  file,
+              it  will  be  translated  to  the  PostScript  font
+              PS-font-name, which is assumed to  be  resident  in
+              the    printer.    Typically,   PDF-font-name   and
+              PS-font-name are the same.  By  default,  only  the
+              Base-14 fonts are assumed to be resident.
+
+       psNamedFont16 PDF-font-name wMode PS-font-name encoding
+              When the 16-bit font PDF-font-name is used in a PDF
+              file with the wMode writing mode and is not  embed-
+              ded,  the  PS-font-name font is substituted for it.
+              The writing mode must be either 'H' for  horizontal
+              or  'V'  for  vertical.   The  PS-font-name font is
+              assumed to be resident in the printer  and  to  use
+              the   specified  encoding  (which  must  have  been
+              defined with the unicodeMap command).
+
+       psFont16 registry-ordering wMode PS-font-name encoding
+              When a  16-bit  font  using  the  registry-ordering
+              character  collection and wMode writing mode is not
+              embedded and  does  not  match  any  of  the  fonts
+              declared    in    psNamedFont16    commands,    the
+              PS-font-name font is substituted for it.  The writ-
+              ing  mode  must be either 'H' for horizontal or 'V'
+              for vertical.  The PS-font-name font is assumed  to
+              be resident in the printer and to use the specified
+              writing mode and encoding  (which  must  have  been
+              defined with the unicodeMap command).
+
+       psEmbedType1Fonts yes | no
+              If  set to "no", prevents embedding of Type 1 fonts
+              in generated PostScript.  This defaults to "yes".
+
+       psEmbedTrueTypeFonts yes | no
+              If set to  "no",  prevents  embedding  of  TrueType
+              fonts  in  generated  PostScript.  This defaults to
+              "yes".
+
+       psEmbedCIDTrueTypeFonts yes | no
+              If set to "no", prevents embedding of CID  TrueType
+              fonts   in   generated  PostScript.   For  Level  3
+              PostScript, this generates a CID  font,  for  lower
+              levels it generates a non-CID composite font.
+
+       psEmbedCIDPostScriptFonts yes | no
+              If   set   to   "no",  prevents  embedding  of  CID
+              PostScript  fonts  in  generated  PostScript.   For
+              Level  3 PostScript, this generates a CID font, for
+              lower levels it generates a non-CID composite font.
+
+       psOPI yes | no
+              If  set to "yes", generates PostScript OPI comments
+              for all images and forms which  have  OPI  informa-
+              tion.   This  option  is only available if the Xpdf
+              tools  were  compiled  with  OPI   support.    This
+              defaults to "no".
+
+       psASCIIHex yes | no
+              If  set to "yes", the ASCIIHexEncode filter will be
+              used instead  of  ASCII85Encode  for  binary  data.
+              This defaults to "no".
+
+       psFile file-or-command
+              Sets  the  default PostScript file or print command
+              for xpdf.  Commands start  with  a  '|'  character;
+              anything  else is a file.  If the file name or com-
+              mand contains  spaces  it  must  be  quoted.   This
+              defaults  to  unset, which tells xpdf to generate a
+              name  of  the  form  <file>.ps  for  a   PDF   file
+              <file>.pdf.
+
+       fontDir dir
+              See  the  description  above,  in the DISPLAY FONTS
+              section.
+
+TEXT CONTROL
+       textEncoding encoding-name
+              Sets the encoding to use for  text  output.   (This
+              can  be  overridden  with  the "-enc" switch on the
+              command line.)  The encoding-name must  be  defined
+              with  the  unicodeMap  command  (see  above).  This
+              defaults to "Latin1".
+
+       textEOL unix | dos | mac
+              Sets the end-of-line convention  to  use  for  text
+              output.  The options are:
+
+                  unix = LF
+                  dos  = CR+LF
+                  mac  = CR
+
+              (This  can  be overridden with the "-eol" switch on
+              the command line.)  The default value is  based  on
+              the OS where xpdf and pdftotext were built.
+
+       textPageBreaks yes | no
+              If  set  to "yes", text extraction will insert page
+              breaks (form feed characters) between pages.   This
+              defaults to "yes".
+
+       textKeepTinyChars yes | no
+              If  set  to  "yes",  text  extraction will keep all
+              characters.  If set to "no", text  extraction  will
+              discard  tiny  (smaller  than  3  point) characters
+              after the first 50000 per page, avoiding  extremely
+              slow run times for PDF files that use special fonts
+              to do shading or cross-hatching.  This defaults  to
+              "no".
+
+MISCELLANEOUS SETTINGS
+       initialZoom percentage | page | width
+              Sets the initial zoom factor.  A number specifies a
+              zoom percentage, where 100 means 72 dpi.   You  may
+              also  specify 'page', to fit the page to the window
+              size, or 'width', to fit the page width to the win-
+              dow width.
+
+       enableT1lib yes | no
+              Enables  or  disables  use  of t1lib (a Type 1 font
+              rasterizer).  This is only  relevant  if  the  Xpdf
+              tools    were    built    with    t1lib    support.
+              ("enableT1lib"  replaces  the  old   "t1libControl"
+              option.)  This option defaults to "yes".
+
+       enableFreeType yes | no
+              Enables  or  disables use of FreeType (a TrueType /
+              Type 1 font rasterizer).  This is only relevant  if
+              the  Xpdf  tools  were built with FreeType support.
+              ("enableFreeType" replaces  the  old  "freetypeCon-
+              trol" option.)  This option defaults to "yes".
+
+       antialias yes | no
+              Enables  or  disables font anti-aliasing in the PDF
+              rasterizer.  This option affects all font rasteriz-
+              ers.   ("antialias" replaces the anti-aliasing con-
+              trol  provided  by  the  old   "t1libControl"   and
+              "freetypeControl" options.)  This default to "yes".
+
+       urlCommand command
+              Sets the command executed when you click on  a  URL
+              link.   The  string  "%s" will be replaced with the
+              URL.  (See the example below.)  This has no default
+              value.
+
+       movieCommand command
+              Sets the command executed when you click on a movie
+              annotation.  The string "%s" will be replaced  with
+              the movie file name.  This has no default value.
+
+       mapNumericCharNames yes | no
+              If set to "yes", the Xpdf tools will attempt to map
+              various numeric character names sometimes  used  in
+              font  subsets.   In some cases this leads to usable
+              text, and in other cases it leads to  gibberish  --
+              there is no way for Xpdf to tell.  This defaults to
+              "yes".
+
+       printCommands yes | no
+              If set to "yes", drawing commands  are  printed  as
+              they're  executed  (useful  for  debugging).   This
+              defaults to "no".
+
+       errQuiet yes | no
+              If set to "yes",  this  suppresses  all  error  and
+              warning  messages from all of the Xpdf tools.  This
+              defaults to "no".
+
+EXAMPLES
+       The following is a sample xpdfrc file.
+
+       # from the Thai support package
+       nameToUnicode /usr/local/share/xpdf/Thai.nameToUnicode
+
+       # from the Japanese support package
+       cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/Adobe-Japan1.cidToUnicode
+       unicodeMap   JISX0208     /usr/local/share/xpdf/JISX0208.unicodeMap
+       cMapDir      Adobe-Japan1 /usr/local/share/xpdf/cmap/Adobe-Japan1
+
+       # use the Base-14 Type 1 fonts from ghostscript
+       displayFontT1 Times-Roman           /usr/local/share/ghostscript/fonts/n021003l.pfb
+       displayFontT1 Times-Italic          /usr/local/share/ghostscript/fonts/n021023l.pfb
+       displayFontT1 Times-Bold            /usr/local/share/ghostscript/fonts/n021004l.pfb
+       displayFontT1 Times-BoldItalic      /usr/local/share/ghostscript/fonts/n021024l.pfb
+       displayFontT1 Helvetica             /usr/local/share/ghostscript/fonts/n019003l.pfb
+       displayFontT1 Helvetica-Oblique     /usr/local/share/ghostscript/fonts/n019023l.pfb
+       displayFontT1 Helvetica-Bold        /usr/local/share/ghostscript/fonts/n019004l.pfb
+       displayFontT1 Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb
+       displayFontT1 Courier               /usr/local/share/ghostscript/fonts/n022003l.pfb
+       displayFontT1 Courier-Oblique       /usr/local/share/ghostscript/fonts/n022023l.pfb
+       displayFontT1 Courier-Bold          /usr/local/share/ghostscript/fonts/n022004l.pfb
+       displayFontT1 Courier-BoldOblique   /usr/local/share/ghostscript/fonts/n022024l.pfb
+       displayFontT1 Symbol                /usr/local/share/ghostscript/fonts/s050000l.pfb
+       displayFontT1 ZapfDingbats          /usr/local/share/ghostscript/fonts/d050000l.pfb
+
+       # use the Bakoma Type 1 fonts
+       # (this assumes they happen to be installed in /usr/local/fonts/bakoma)
+       fontDir /usr/local/fonts/bakoma
+
+       # set some PostScript options
+       psPaperSize          letter
+       psDuplex             no
+       psLevel              level2
+       psEmbedType1Fonts    yes
+       psEmbedTrueTypeFonts yes
+       psFile               "| lpr -Pprinter5"
+
+       # assume that the PostScript printer has the Univers and
+       # Univers-Bold fonts
+       psFont Univers      Univers
+       psFont Univers-Bold Univers-Bold
+
+       # set the text output options
+       textEncoding UTF-8
+       textEOL      unix
+
+       # misc options
+       t1libControl    low
+       freetypeControl low
+       urlCommand      "netscape -remote 'openURL(%s)'"
+
+
+FILES
+       /usr/local/etc/xpdfrc
+              This is the default location  for  the  system-wide
+              configuration file.  Depending on build options, it
+              may be placed elsewhere.
+
+       $HOME/.xpdfrc
+              This is  the  user's  configuration  file.   If  it
+              exists, it will be read in place of the system-wide
+              file.
+
+AUTHOR
+       The  Xpdf  software  and   documentation   are   copyright
+       1996-2004 Glyph & Cog, LLC.
+
+SEE ALSO
+       xpdf(1),     pdftops(1),     pdftotext(1),     pdfinfo(1),
+       pdftoppm(1), pdfimages(1)
+       http://www.foolabs.com/xpdf/
+
+
+
+                         22 January 2004                xpdfrc(5)


Property changes on: zope-attachmentfield/branches/upstream/current/converters/pdf/xpdfrc.txt
___________________________________________________________________
Name: svn:executable
   + *

Modified: zope-attachmentfield/branches/upstream/current/cvs2cl.pl
===================================================================
--- zope-attachmentfield/branches/upstream/current/cvs2cl.pl	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/cvs2cl.pl	2006-10-13 18:33:28 UTC (rev 297)
@@ -10,7 +10,7 @@
 ##############################################################
 
 ## $Revision: 15769 $
-## $Date: 2004-10-14 17:33:28 +0200 (Thu, 14 Oct 2004) $
+## $Date: 2004-10-14 17:33:28 +0200 (jeu, 14 oct 2004) $
 ## $Author: pjgrizel $
 ##
 ##   (C) 2001,2002,2003 Martyn J. Pearce <fluffy at cpan.org>, under the GNU GPL.


Property changes on: zope-attachmentfield/branches/upstream/current/doc/FAQ
___________________________________________________________________
Name: svn:executable
   - 
   + *

Added: zope-attachmentfield/branches/upstream/current/doc/HOWTO
===================================================================
--- zope-attachmentfield/branches/upstream/current/doc/HOWTO	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/doc/HOWTO	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,47 @@
+This file explain a little how to use Attachment Field.
+
+In an archetype content type, you can add an attachment field like any other fields.
+Just write a schema like this:
+
+MySchema = BaseSchema.copy() + Schema((
+
+    ImageField(
+        'logo',
+        widget = ImageWidget(
+            label = "Logo",
+        ),
+    ),
+
+    StringField(
+        'name',
+        widget = StringWidget(
+            label = "Name",
+        ),
+    ),
+
+    AttachmentField(
+        'myFile',
+        widget = AttachmentWidget(
+            label = "My File",
+        ),
+    ),
+))
+
+You will have a content type with three files (an image, a name and an attachment
+field).
+
+You can customize the way files are displayed, field by field, with a special
+attribute of the AttachmentWidget :
+
+    AttachmentField(
+        'myFile',
+        widget = AttachmentWidget(
+            label = "My File",
+->          contentDisposition = "attachment"        <-
+        ),
+    ),
+
+Possible values :
+- attachment when you want the browser asks the user for a plce to save the file
+- inline when you want the browser displays the content inside its window (if possible)
+


Property changes on: zope-attachmentfield/branches/upstream/current/doc/SCREENSHOTS
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/doc/icon.png
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/global_symbols.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Added: zope-attachmentfield/branches/upstream/current/i18n/attachmentfield-cs.po
===================================================================
--- zope-attachmentfield/branches/upstream/current/i18n/attachmentfield-cs.po	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/i18n/attachmentfield-cs.po	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,39 @@
+# Gettext Message File for AttachmentField.
+#  <team at language.com>, 2003
+msgid ""
+msgstr ""
+"Project-Id-Version: AttachmentField\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2006-07-01 14:23+0100\n"
+"Last-Translator: Radim Novotny <novotny.radim at gmail.com>\n"
+"Language-Team: CoreNet <info at corenet.cz>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"Language-code: cs\n"
+"Language-name: Czech\n"
+"Preferred-encodings: utf-8\n"
+"Domain: attachmentfield\n"
+
+msgid "Preview"
+msgstr "Náhled"
+
+msgid "label_edit"
+msgstr "Úpravy"
+
+msgid "Edit with External Editor"
+msgstr "Upravit v externím editoru"
+
+msgid "This attachment is not indexed"
+msgstr "Soubor není indexován"
+
+msgid "label_nochange"
+msgstr "Beze změn"
+
+msgid "label_delete_file"
+msgstr "Smazat soubor"
+
+msgid "label_upload_file"
+msgstr "Vložit soubor"
+


Property changes on: zope-attachmentfield/branches/upstream/current/i18n/attachmentfield-cs.po
___________________________________________________________________
Name: svn:executable
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/i18n/attachmentfield.pot
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/i18n/attachmentfield_fr.po
___________________________________________________________________
Name: svn:executable
   - 
   + *

Added: zope-attachmentfield/branches/upstream/current/interfaces/.cvsignore
===================================================================
--- zope-attachmentfield/branches/upstream/current/interfaces/.cvsignore	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/interfaces/.cvsignore	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1 @@
+*.pyc


Property changes on: zope-attachmentfield/branches/upstream/current/interfaces/__init__.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/interfaces/attachmentfield.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/access.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/access_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachment_download.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachment_download.py	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachment_download.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -1,48 +1,3 @@
 ##parameters=
 
-NotFound = "NotFound"
-request = context.REQUEST
-response = request.RESPONSE
-
-if len(traverse_subpath) != 1:
-    raise NotFound, "Unknown page."
-
-name = traverse_subpath[0]
-field = context.getField(name)
-
-if not field:
-    raise NotFound, "Unknown page."
-elif hasattr(field, 'getFields'):
-    index = int(request.form.get(name))
-    field = field.getFields()[index + 1]
-
-accessor = field.getAccessor(context)
-
-if accessor is None:
-    raise NotFound, "Unknown page."
-
-obj = accessor()
-
-if hasattr(obj.aq_explicit, 'download'):
-    return obj.download(request)
-else:
-    data = ''
-    filename = ''
-    content_type = 'application/octet-stream'
-    size = 0
-    
-    if hasattr(obj.aq_explicit, 'data'):
-        # handle OFS.Image.File and OFS.Image.Image
-        data = str(obj.data)
-        filename = obj.title
-        content_type = obj.getContentType()
-        size = obj.get_size()
-    else:
-        data = str(obj)
-        size = len(data)
-        
-    response.setHeader('Content-Disposition',
-                       'attachment; filename="%s"' % filename)
-    response.setHeader('Content-Type', content_type)
-    response.setHeader('Content-Length', size)
-    response.write(data)
+return context.portal_attachment.manageDownload(context, traverse_subpath)


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachment_download.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form.cpt
===================================================================
--- zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form.cpt	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form.cpt	2006-10-13 18:33:28 UTC (rev 297)
@@ -1,8 +1,15 @@
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
-      lang="en"
-      metal:use-macro="here/prefs_main_template/macros/master"
-      i18n:domain="attachmentfield">
+<html
+  xmlns="http://www.w3.org/1999/xhtml"
+  xml:lang="en"
+  lang="en"
+  metal:use-macro="here/prefs_main_template/macros/master"
+  i18n:domain="attachmentfield"
+  xmlns:tal="http://xml.zope.org/namespaces/tal"
+  xmlns:metal="http://xml.zope.org/namespaces/metal"
+  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
 
+>
+
   <metal:block fill-slot="top_slot"
                tal:define="dummy python:request.set('disable_border',1)" />
   <body>
@@ -10,7 +17,7 @@
       <h1 i18n:translate="heading_attachmentfield">
         AttachmentField preferences
       </h1>
-      
+
       <a href=""
          class="link-parent"
          tal:attributes="href string: $portal_url/plone_control_panel"
@@ -18,20 +25,135 @@
          i18n:translate="label_up_to_plone_setup">
       Up to Plone Setup
       </a>
-            
+
       <form name="edit_form"
             action="."
             method="post"
             enctype="multipart/form-data"
-            tal:attributes="action string:${here/getId}/${template/getId}" 
+            tal:attributes="action string:${here/getId}/${template/getId}"
             tal:define="errors options/state/getErrors;
                         atool python:here.portal_attachment;
                         ">
+        <fieldset>
+          <legend i18n:translate="">Configuration</legend>
+          <div
+            class="field"
+            tal:define="tabindex tabindex/next;
+                        value python:request.get('contentDisposition', atool.getContentDisposition())"
+          >
+            <label
+              i18n:translate="contentDisposition"
+            >
+              Content Disposition
+            </label>
 
+            <div class="formHelp" i18n:translate="help_contentDisposition">
+              Choose here the global setting for the content disposition that will
+              be used when downloading a file.<br/>"Inline" means that the content will
+              be displayed inside the browser (if possible, perhaps with pluggins).
+              <br/>"Attachment" means that the browser will ask the user for a filename
+              in order to save the file on the user's file system.
+              <br/>You can test the two methods. Note that, for security reasons,
+              the inline option will not be used for text content types
+              ("text/plain", "text/html" for example).
+            </div>
+            <tal:loop repeat="availableCD atool/getAvailableContentDisposition">
+              <input
+                type="radio"
+                name="content_disposition"
+                class="noborder"
+                tal:attributes="checked python:test(value==availableCD, 'checked', '');
+                                tabindex tabindex;
+                                value availableCD;
+                                id availableCD;
+                                "
+              />
+              <label
+                tal:attributes="for availableCD;"
+                tal:content="availableCD"
+              />
+              <a tal:attributes="href python:atool.getSample(availableCD)">(Test it)</a>
+              <br/>
+            </tal:loop>
+          </div>
+          <div
+            class="field"
+            tal:define="tabindex tabindex/next;
+                        value python:request.get('currentFlexStorageBackend', atool.getCurrentFlexStorageBackend())"
+          >
+            <label
+              i18n:translate="currentFlexStorageBackend"
+            >
+              Storage Backend
+            </label>
+
+            <div class="formHelp" i18n:translate="help_currentFlexStorageBackend">
+              <p>Choose the way the data in attachment fields are saved. The
+              showed options depends of what is already installed on your instance.</p>
+              <p>
+                <strong>AttributeStorage</strong>: Files are stored in
+                <acronym
+                  title="Zope Object Data Base"
+                >
+                  ZODB
+                </acronym>. Easy to use and Plone default storage option
+              </p>
+              <p>
+                <strong>FileSystemStorage</strong>: Files are stored on the filesystem. Faster than
+                AttributeStorage, and reduce ZODB size, but needs the
+                <a href="http://plone.org/products/filesystemstorage">FileSystemStorage product</a> in order to work.
+              </p>
+              <p class="error">
+                Warning: Switching between options is a <strong>sensible operation</strong>
+                that can length from <strong>minutes to hours</strong> if your site contains thousands
+                of files.
+              </p>
+
+            </div>
+            <tal:loop repeat="availableSB atool/getAvailableFlexStorageBackends">
+              <input
+                type="radio"
+                name="storage_backend"
+                class="noborder"
+                tal:attributes="checked python:test(value==availableSB, 'checked', '');
+                                tabindex tabindex;
+                                value availableSB;
+                                id availableSB;
+                                "
+              />
+              <label
+                tal:attributes="for availableSB;"
+                tal:content="availableSB"
+              />
+              <br/>
+            </tal:loop>
+          </div>
+          <tal:todo replace="nothing">
+            Here, we have to add a check box that have to be checked in order to
+            verify that the user has understood what a migration is.
+          </tal:todo>
+
+          <div class="formControls">
+            <input
+              class="context"
+              type="submit"
+              name="form.button.Save"
+              tal:attributes="tabindex tabindex/next;"
+            />
+          </div>
+
+        </fieldset>
         <fieldset>
           <legend i18n:translate="">Information</legend>
-
-            <table class="listing"> 
+            <div
+              class="error"
+              tal:condition="python:atool.isListErroneous()"
+            >
+              Some handlers are not working properly. Check for erroneous lines
+              in the following table.<br/><br/>Note that affected content can be
+              used as usual, but will not be indexed.
+            </div>
+            <table class="listing">
               <thead>
                 <tr>
                   <th></th>
@@ -43,33 +165,38 @@
               </thead>
               <tbody>
                 <tal:loop repeat="handler atool/listHandlerValues">
-                  <tr 
-                    tal:define="klass python:test(repeat['handler'].even(), 'listing odd', 'listing even')"
-                    tal:attributes="class klass">
+                  <tr
+                    tal:define="
+                      klass python:test(repeat['handler'].even(), 'listing odd', 'listing even');
+                      error python:test(handler['error'], 'error', '');
+                    "
+                    tal:attributes="class python:test(error, error, klass)"
+                  >
                     <td>
                       <img tal:attributes="src python: handler['small_icon_file']" />
                     </td>
                     <td>
                       <b><span tal:content="python: handler['class']" /></b>
                     </td>
-                    <td tal:content="structure python: modules['string'].join(handler['mime'], '<br />')">
+                    <td
+                      tal:content=
+                        "structure python: modules['string'].join(handler['mime'], '<br/>')"
+                    >
                     </td>
                     <td>
-                     <span tal:content="python: handler['index_program']" />
-                        <span tal:content="python: handler['index_arguments']" />
+                     <span tal:content="structure python: handler['index_program_gui']" />
                     </td>
                     <td>
-                      <span tal:content="python: handler['preview_program']" />
-                        <span tal:content="python: handler['preview_arguments']" />
+                      <span tal:content="structure python: handler['preview_program_gui']" />
                     </td>
                   </tr>
                 </tal:loop>
               </tbody>
             </table>
-          
+
         </fieldset>
 
-             
+
         <fieldset metal:define-macro="upload">
           <legend i18n:translate="">Test</legend>
 
@@ -79,17 +206,17 @@
                            file request/file | nothing;"
                tal:attributes="class python:test(error, 'field error', 'field')">
 
-              <label for="file" 
+              <label for="file"
                 i18n:translate="">
                 Attachment File
               </label>
 
-              <span class="fieldRequired" 
+              <span class="fieldRequired"
                 title="Required"
                 i18n:attributes="title"
                 i18n:translate="label_required">(Required)</span>
 
-              <div class="formHelp" 
+              <div class="formHelp"
                 i18n:translate="">
                 Select the file you want to test. Please note that this file WILL NOT be saved on the server.
               </div>
@@ -109,18 +236,18 @@
                tal:attributes="class python:test(error, 'field error', 'field')"
               tal:replace="nothing">
 
-              <label for="handler" 
+              <label for="handler"
                 i18n:translate="">
                 Attachment Handler
               </label>
 
-              <span class="fieldRequired" 
+              <span class="fieldRequired"
                 title="Required"
                 i18n:attributes="title"
                 i18n:translate="label_required">(Required)</span>
 
 
-             <div class="formHelp" 
+             <div class="formHelp"
                 i18n:translate="">
                 Select the handler you want to use for this test.
               </div>
@@ -133,7 +260,7 @@
                     size="1"
                     >
               <option value="">(Guess)</option>
-              <option 
+              <option
                 tal:repeat="handler_ atool/listHandlerValues"
                 tal:attributes="
                   value python:handler_['class'];
@@ -145,21 +272,21 @@
           </div>
 
             <div class="formControls">
-              <input class="context" 
-                type="submit" 
+              <input class="context"
+                type="submit"
                 name="form.button.Test"
                 value="Test"
-                i18n:attributes="value" 
+                i18n:attributes="value"
               tal:attributes="tabindex tabindex/next;" />
 
-              <input class="context" 
-                type="submit" 
+              <input class="context"
+                type="submit"
                 name="form.button.Cancel"
                 value="Cancel"
-                i18n:attributes="value" 
+                i18n:attributes="value"
               tal:attributes="tabindex tabindex/next;" />
             </div>
-            
+
           </fieldset>
 
         <input type="hidden" name="form.submitted" value="1" />

Modified: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form.cpt.metadata
===================================================================
--- zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form.cpt.metadata	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form.cpt.metadata	2006-10-13 18:33:28 UTC (rev 297)
@@ -10,5 +10,6 @@
 [actions]
 action.success..Test=traverse_to:string:attachmentfield_test
 action.success..Cancel=redirect_to:string:attachmentfield_prefs_form
+action.success..Save=traverse_to:string:attachmentfield_prefs_form_backend
 action.success=redirect_to:string:attachmentfield_prefs_form
 action.failure=traverse_to:string:attachmentfield_prefs_form

Added: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form_backend.cpy
===================================================================
--- zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form_backend.cpy	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form_backend.cpy	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,18 @@
+##bind container=container
+##bind context=context
+##bind namespace=
+##bind script=script
+##bind subpath=traverse_subpath
+##parameters = content_disposition, storage_backend
+##
+
+req = context.REQUEST
+
+atool = context.portal_attachment
+
+atool.manage_changeProperties(contentDisposition=content_disposition)
+
+## safe to call it with the same name
+atool.setCurrentFlexStorageBackend(newStorageName=storage_backend)
+
+return state.set(status="success", portal_status_message="AttachementField configuration succesfully updated.")

Added: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form_backend.cpy.metadata
===================================================================
--- zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form_backend.cpy.metadata	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_prefs_form_backend.cpy.metadata	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,3 @@
+[actions]
+action.success=redirect_to:string:plone_control_panel
+


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_preview.gif
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_preview.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_unindexed.gif
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_unindexed.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_widget.js
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_widget.pt
===================================================================
--- zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_widget.pt	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_widget.pt	2006-10-13 18:33:28 UTC (rev 297)
@@ -52,7 +52,7 @@
              tal:condition="python: showPreviewLink and isPreviewAvailable"
              tal:define="preview_img here/attachmentfield_preview.gif;
                          i18n_title python:here.translate(msgid='Preview', domain='attachmentfield')"
-             tal:attributes="href string:javascript:popupPreview(preview_url='${here_url}/preview_popup',size1=600,size2=400);
+             tal:attributes="href string:javascript:popupPreview(preview_url='${here_url}/preview_popup/${fieldName}',size1=600,size2=400);
                              title i18n_title"
              i18n:attributes="title">
             <img tal:replace="structure python:preview_img.tag(alt=i18n_title, title=i18n_title)" />


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/attachmentfield_widget.pt
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/audio.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/audio_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/autocad.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/autocad_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/excel.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/excel_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/html.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/html_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/image.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/image_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/msproject.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/msproject_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/oo.gif
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/oo.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/oo_small.gif
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/oo_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/pdf.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/pdf_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/powerpoint.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/powerpoint_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/preview_popup.pt
===================================================================
--- zope-attachmentfield/branches/upstream/current/skins/attachmentfield/preview_popup.pt	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/skins/attachmentfield/preview_popup.pt	2006-10-13 18:33:28 UTC (rev 297)
@@ -48,9 +48,10 @@
   </head>
   
   <body style="background-color: white; background-image: none;"
-        tal:define="file_field python:here.getField('file');
+        tal:define="fieldName python: request['traverse_subpath'][0];
+                    file_field python:here.getField(fieldName);
                     implements_preview python:hasattr(file_field, 'getPreview')">
-    
+
     <div style="text-align: center; margin: 1em auto 1em auto;">
       <tal:block tal:condition="implements_preview">
         <div tal:content="structure python:file_field.getPreview(here)" />


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/preview_popup.pt
___________________________________________________________________
Name: svn:executable
   - 
   + *

Added: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/sample/contentDispositionAttachment.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/skins/attachmentfield/sample/contentDispositionAttachment.py	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/skins/attachmentfield/sample/contentDispositionAttachment.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,8 @@
+request = context.REQUEST
+response = request.RESPONSE
+response.setHeader(
+    'Content-Disposition',
+    'attachment; filename="sampleFileName.txt"'
+)
+response.setHeader('Content-Type', "text/plain")
+response.write("I am some sample data :-)\n\n")

Added: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/sample/contentDispositionInline.py
===================================================================
--- zope-attachmentfield/branches/upstream/current/skins/attachmentfield/sample/contentDispositionInline.py	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/skins/attachmentfield/sample/contentDispositionInline.py	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1,8 @@
+request = context.REQUEST
+response = request.RESPONSE
+response.setHeader(
+    'Content-Disposition',
+    'inline; filename="sampleFileName.txt"'
+)
+response.setHeader('Content-Type', "text/plain")
+response.write("I am some sample data :-)")


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/text.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/text_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/unknown.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/unknown_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/video.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/video_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/visio.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/visio_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/word.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/word_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/zip.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/skins/attachmentfield/zip_small.gif.metadata
___________________________________________________________________
Name: svn:executable
   - 
   + *

Added: zope-attachmentfield/branches/upstream/current/tests/.cvsignore
===================================================================
--- zope-attachmentfield/branches/upstream/current/tests/.cvsignore	                        (rev 0)
+++ zope-attachmentfield/branches/upstream/current/tests/.cvsignore	2006-10-13 18:33:28 UTC (rev 297)
@@ -0,0 +1 @@
+*.pyc


Property changes on: zope-attachmentfield/branches/upstream/current/tests/ArcheSiteTestCase.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/ArchetypesTestCase.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/IAttachmentField.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/__init__.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/common.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/framework.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/input/excel.xls
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/input/pdb.doc
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/input/rest1.rst
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/input/rest1.tgz
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/input/rest2.rst
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/input/rest3.rst
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/input/tool.gif
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/input/word.doc
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/runalltests.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/testSkeletonArchetypesTest.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/test_classgen.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/test_fields.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/tests/utils.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-attachmentfield/branches/upstream/current/version.txt
===================================================================
--- zope-attachmentfield/branches/upstream/current/version.txt	2006-10-13 15:24:24 UTC (rev 296)
+++ zope-attachmentfield/branches/upstream/current/version.txt	2006-10-13 18:33:28 UTC (rev 297)
@@ -1 +1 @@
-1.3.6
\ No newline at end of file
+1.3.10
\ No newline at end of file


Property changes on: zope-attachmentfield/branches/upstream/current/www/AttachmentService.jpg
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/www/manage_information.pt
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-attachmentfield/branches/upstream/current/www/manage_testIndexing.pt
___________________________________________________________________
Name: svn:executable
   - 
   + *




More information about the pkg-zope-commits mailing list