Mock Version: 1.2.13 Mock Version: 1.2.13 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-tablib.spec'], chrootPath='/var/lib/mock/f24-python3-4376900-545570/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=425user='mockbuild'timeout=172800logger=uid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-tablib.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-tablib-0.10.0-2.fc24.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-tablib.spec '], chrootPath='/var/lib/mock/f24-python3-4376900-545570/root'shell=Falseuid=1000env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=425user='mockbuild'timeout=172800private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-tablib.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0zIndo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tablib-0.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/tablib-0.10.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tablib-0.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ find . -name '*.py' + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/__init__.py + touch -r ./tablib/__init__.py ./tablib/__init__.py.new + mv ./tablib/__init__.py.new ./tablib/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/formats/__init__.py + touch -r ./tablib/formats/__init__.py ./tablib/formats/__init__.py.new + mv ./tablib/formats/__init__.py.new ./tablib/formats/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/formats/_ods.py + touch -r ./tablib/formats/_ods.py ./tablib/formats/_ods.py.new + mv ./tablib/formats/_ods.py.new ./tablib/formats/_ods.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/formats/_xls.py + touch -r ./tablib/formats/_xls.py ./tablib/formats/_xls.py.new + mv ./tablib/formats/_xls.py.new ./tablib/formats/_xls.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/formats/_tsv.py + touch -r ./tablib/formats/_tsv.py ./tablib/formats/_tsv.py.new + mv ./tablib/formats/_tsv.py.new ./tablib/formats/_tsv.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/formats/_json.py + touch -r ./tablib/formats/_json.py ./tablib/formats/_json.py.new + mv ./tablib/formats/_json.py.new ./tablib/formats/_json.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/formats/_yaml.py + touch -r ./tablib/formats/_yaml.py ./tablib/formats/_yaml.py.new + mv ./tablib/formats/_yaml.py.new ./tablib/formats/_yaml.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/formats/_csv.py + touch -r ./tablib/formats/_csv.py ./tablib/formats/_csv.py.new + mv ./tablib/formats/_csv.py.new ./tablib/formats/_csv.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/formats/_html.py + touch -r ./tablib/formats/_html.py ./tablib/formats/_html.py.new + mv ./tablib/formats/_html.py.new ./tablib/formats/_html.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/formats/_xlsx.py + touch -r ./tablib/formats/_xlsx.py ./tablib/formats/_xlsx.py.new + mv ./tablib/formats/_xlsx.py.new ./tablib/formats/_xlsx.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/compat.py + touch -r ./tablib/compat.py ./tablib/compat.py.new + mv ./tablib/compat.py.new ./tablib/compat.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/__init__.py + touch -r ./tablib/packages/__init__.py ./tablib/packages/__init__.py.new + mv ./tablib/packages/__init__.py.new ./tablib/packages/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/markup3.py + touch -r ./tablib/packages/markup3.py ./tablib/packages/markup3.py.new + mv ./tablib/packages/markup3.py.new ./tablib/packages/markup3.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/ordereddict.py + touch -r ./tablib/packages/ordereddict.py ./tablib/packages/ordereddict.py.new + mv ./tablib/packages/ordereddict.py.new ./tablib/packages/ordereddict.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd/xldate.py + touch -r ./tablib/packages/xlrd/xldate.py ./tablib/packages/xlrd/xldate.py.new + mv ./tablib/packages/xlrd/xldate.py.new ./tablib/packages/xlrd/xldate.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd/__init__.py + touch -r ./tablib/packages/xlrd/__init__.py ./tablib/packages/xlrd/__init__.py.new + mv ./tablib/packages/xlrd/__init__.py.new ./tablib/packages/xlrd/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd/compdoc.py + touch -r ./tablib/packages/xlrd/compdoc.py ./tablib/packages/xlrd/compdoc.py.new + mv ./tablib/packages/xlrd/compdoc.py.new ./tablib/packages/xlrd/compdoc.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd/biffh.py + touch -r ./tablib/packages/xlrd/biffh.py ./tablib/packages/xlrd/biffh.py.new + mv ./tablib/packages/xlrd/biffh.py.new ./tablib/packages/xlrd/biffh.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd/licences.py + touch -r ./tablib/packages/xlrd/licences.py ./tablib/packages/xlrd/licences.py.new + mv ./tablib/packages/xlrd/licences.py.new ./tablib/packages/xlrd/licences.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd/formula.py + touch -r ./tablib/packages/xlrd/formula.py ./tablib/packages/xlrd/formula.py.new + mv ./tablib/packages/xlrd/formula.py.new ./tablib/packages/xlrd/formula.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd/formatting.py + touch -r ./tablib/packages/xlrd/formatting.py ./tablib/packages/xlrd/formatting.py.new + mv ./tablib/packages/xlrd/formatting.py.new ./tablib/packages/xlrd/formatting.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd/timemachine.py + touch -r ./tablib/packages/xlrd/timemachine.py ./tablib/packages/xlrd/timemachine.py.new + mv ./tablib/packages/xlrd/timemachine.py.new ./tablib/packages/xlrd/timemachine.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd/sheet.py + touch -r ./tablib/packages/xlrd/sheet.py ./tablib/packages/xlrd/sheet.py.new + mv ./tablib/packages/xlrd/sheet.py.new ./tablib/packages/xlrd/sheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/__init__.py + touch -r ./tablib/packages/openpyxl/__init__.py ./tablib/packages/openpyxl/__init__.py.new + mv ./tablib/packages/openpyxl/__init__.py.new ./tablib/packages/openpyxl/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/shared/__init__.py + touch -r ./tablib/packages/openpyxl/shared/__init__.py ./tablib/packages/openpyxl/shared/__init__.py.new + mv ./tablib/packages/openpyxl/shared/__init__.py.new ./tablib/packages/openpyxl/shared/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/shared/ooxml.py + touch -r ./tablib/packages/openpyxl/shared/ooxml.py ./tablib/packages/openpyxl/shared/ooxml.py.new + mv ./tablib/packages/openpyxl/shared/ooxml.py.new ./tablib/packages/openpyxl/shared/ooxml.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/shared/xmltools.py + touch -r ./tablib/packages/openpyxl/shared/xmltools.py ./tablib/packages/openpyxl/shared/xmltools.py.new + mv ./tablib/packages/openpyxl/shared/xmltools.py.new ./tablib/packages/openpyxl/shared/xmltools.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/shared/units.py + touch -r ./tablib/packages/openpyxl/shared/units.py ./tablib/packages/openpyxl/shared/units.py.new + mv ./tablib/packages/openpyxl/shared/units.py.new ./tablib/packages/openpyxl/shared/units.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/shared/password_hasher.py + touch -r ./tablib/packages/openpyxl/shared/password_hasher.py ./tablib/packages/openpyxl/shared/password_hasher.py.new + mv ./tablib/packages/openpyxl/shared/password_hasher.py.new ./tablib/packages/openpyxl/shared/password_hasher.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/shared/exc.py + touch -r ./tablib/packages/openpyxl/shared/exc.py ./tablib/packages/openpyxl/shared/exc.py.new + mv ./tablib/packages/openpyxl/shared/exc.py.new ./tablib/packages/openpyxl/shared/exc.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/shared/date_time.py + touch -r ./tablib/packages/openpyxl/shared/date_time.py ./tablib/packages/openpyxl/shared/date_time.py.new + mv ./tablib/packages/openpyxl/shared/date_time.py.new ./tablib/packages/openpyxl/shared/date_time.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/drawing.py + touch -r ./tablib/packages/openpyxl/drawing.py ./tablib/packages/openpyxl/drawing.py.new + mv ./tablib/packages/openpyxl/drawing.py.new ./tablib/packages/openpyxl/drawing.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/chart.py + touch -r ./tablib/packages/openpyxl/chart.py ./tablib/packages/openpyxl/chart.py.new + mv ./tablib/packages/openpyxl/chart.py.new ./tablib/packages/openpyxl/chart.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/style.py + touch -r ./tablib/packages/openpyxl/style.py ./tablib/packages/openpyxl/style.py.new + mv ./tablib/packages/openpyxl/style.py.new ./tablib/packages/openpyxl/style.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/worksheet.py + touch -r ./tablib/packages/openpyxl/worksheet.py ./tablib/packages/openpyxl/worksheet.py.new + mv ./tablib/packages/openpyxl/worksheet.py.new ./tablib/packages/openpyxl/worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/workbook.py + touch -r ./tablib/packages/openpyxl/workbook.py ./tablib/packages/openpyxl/workbook.py.new + mv ./tablib/packages/openpyxl/workbook.py.new ./tablib/packages/openpyxl/workbook.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/__init__.py + touch -r ./tablib/packages/openpyxl/writer/__init__.py ./tablib/packages/openpyxl/writer/__init__.py.new + mv ./tablib/packages/openpyxl/writer/__init__.py.new ./tablib/packages/openpyxl/writer/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/worksheet.py + touch -r ./tablib/packages/openpyxl/writer/worksheet.py ./tablib/packages/openpyxl/writer/worksheet.py.new + mv ./tablib/packages/openpyxl/writer/worksheet.py.new ./tablib/packages/openpyxl/writer/worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/drawings.py + touch -r ./tablib/packages/openpyxl/writer/drawings.py ./tablib/packages/openpyxl/writer/drawings.py.new + mv ./tablib/packages/openpyxl/writer/drawings.py.new ./tablib/packages/openpyxl/writer/drawings.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/workbook.py + touch -r ./tablib/packages/openpyxl/writer/workbook.py ./tablib/packages/openpyxl/writer/workbook.py.new + mv ./tablib/packages/openpyxl/writer/workbook.py.new ./tablib/packages/openpyxl/writer/workbook.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/dump_worksheet.py + touch -r ./tablib/packages/openpyxl/writer/dump_worksheet.py ./tablib/packages/openpyxl/writer/dump_worksheet.py.new + mv ./tablib/packages/openpyxl/writer/dump_worksheet.py.new ./tablib/packages/openpyxl/writer/dump_worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/theme.py + touch -r ./tablib/packages/openpyxl/writer/theme.py ./tablib/packages/openpyxl/writer/theme.py.new + mv ./tablib/packages/openpyxl/writer/theme.py.new ./tablib/packages/openpyxl/writer/theme.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/styles.py + touch -r ./tablib/packages/openpyxl/writer/styles.py ./tablib/packages/openpyxl/writer/styles.py.new + mv ./tablib/packages/openpyxl/writer/styles.py.new ./tablib/packages/openpyxl/writer/styles.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/charts.py + touch -r ./tablib/packages/openpyxl/writer/charts.py ./tablib/packages/openpyxl/writer/charts.py.new + mv ./tablib/packages/openpyxl/writer/charts.py.new ./tablib/packages/openpyxl/writer/charts.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/excel.py + touch -r ./tablib/packages/openpyxl/writer/excel.py ./tablib/packages/openpyxl/writer/excel.py.new + mv ./tablib/packages/openpyxl/writer/excel.py.new ./tablib/packages/openpyxl/writer/excel.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/writer/strings.py + touch -r ./tablib/packages/openpyxl/writer/strings.py ./tablib/packages/openpyxl/writer/strings.py.new + mv ./tablib/packages/openpyxl/writer/strings.py.new ./tablib/packages/openpyxl/writer/strings.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/namedrange.py + touch -r ./tablib/packages/openpyxl/namedrange.py ./tablib/packages/openpyxl/namedrange.py.new + mv ./tablib/packages/openpyxl/namedrange.py.new ./tablib/packages/openpyxl/namedrange.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/reader/__init__.py + touch -r ./tablib/packages/openpyxl/reader/__init__.py ./tablib/packages/openpyxl/reader/__init__.py.new + mv ./tablib/packages/openpyxl/reader/__init__.py.new ./tablib/packages/openpyxl/reader/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/reader/style.py + touch -r ./tablib/packages/openpyxl/reader/style.py ./tablib/packages/openpyxl/reader/style.py.new + mv ./tablib/packages/openpyxl/reader/style.py.new ./tablib/packages/openpyxl/reader/style.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/reader/worksheet.py + touch -r ./tablib/packages/openpyxl/reader/worksheet.py ./tablib/packages/openpyxl/reader/worksheet.py.new + mv ./tablib/packages/openpyxl/reader/worksheet.py.new ./tablib/packages/openpyxl/reader/worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/reader/workbook.py + touch -r ./tablib/packages/openpyxl/reader/workbook.py ./tablib/packages/openpyxl/reader/workbook.py.new + mv ./tablib/packages/openpyxl/reader/workbook.py.new ./tablib/packages/openpyxl/reader/workbook.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/reader/iter_worksheet.py + touch -r ./tablib/packages/openpyxl/reader/iter_worksheet.py ./tablib/packages/openpyxl/reader/iter_worksheet.py.new + mv ./tablib/packages/openpyxl/reader/iter_worksheet.py.new ./tablib/packages/openpyxl/reader/iter_worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/reader/excel.py + touch -r ./tablib/packages/openpyxl/reader/excel.py ./tablib/packages/openpyxl/reader/excel.py.new + mv ./tablib/packages/openpyxl/reader/excel.py.new ./tablib/packages/openpyxl/reader/excel.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/reader/strings.py + touch -r ./tablib/packages/openpyxl/reader/strings.py ./tablib/packages/openpyxl/reader/strings.py.new + mv ./tablib/packages/openpyxl/reader/strings.py.new ./tablib/packages/openpyxl/reader/strings.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl/cell.py + touch -r ./tablib/packages/openpyxl/cell.py ./tablib/packages/openpyxl/cell.py.new + mv ./tablib/packages/openpyxl/cell.py.new ./tablib/packages/openpyxl/cell.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/__init__.py + touch -r ./tablib/packages/xlwt3/__init__.py ./tablib/packages/xlwt3/__init__.py.new + mv ./tablib/packages/xlwt3/__init__.py.new ./tablib/packages/xlwt3/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/ExcelFormula.py + touch -r ./tablib/packages/xlwt3/ExcelFormula.py ./tablib/packages/xlwt3/ExcelFormula.py.new + mv ./tablib/packages/xlwt3/ExcelFormula.py.new ./tablib/packages/xlwt3/ExcelFormula.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/Formatting.py + touch -r ./tablib/packages/xlwt3/Formatting.py ./tablib/packages/xlwt3/Formatting.py.new + mv ./tablib/packages/xlwt3/Formatting.py.new ./tablib/packages/xlwt3/Formatting.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/Worksheet.py + touch -r ./tablib/packages/xlwt3/Worksheet.py ./tablib/packages/xlwt3/Worksheet.py.new + mv ./tablib/packages/xlwt3/Worksheet.py.new ./tablib/packages/xlwt3/Worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/Row.py + touch -r ./tablib/packages/xlwt3/Row.py ./tablib/packages/xlwt3/Row.py.new + mv ./tablib/packages/xlwt3/Row.py.new ./tablib/packages/xlwt3/Row.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/ExcelFormulaLexer.py + touch -r ./tablib/packages/xlwt3/ExcelFormulaLexer.py ./tablib/packages/xlwt3/ExcelFormulaLexer.py.new + mv ./tablib/packages/xlwt3/ExcelFormulaLexer.py.new ./tablib/packages/xlwt3/ExcelFormulaLexer.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/antlr.py + touch -r ./tablib/packages/xlwt3/antlr.py ./tablib/packages/xlwt3/antlr.py.new + mv ./tablib/packages/xlwt3/antlr.py.new ./tablib/packages/xlwt3/antlr.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/Style.py + touch -r ./tablib/packages/xlwt3/Style.py ./tablib/packages/xlwt3/Style.py.new + mv ./tablib/packages/xlwt3/Style.py.new ./tablib/packages/xlwt3/Style.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/ExcelMagic.py + touch -r ./tablib/packages/xlwt3/ExcelMagic.py ./tablib/packages/xlwt3/ExcelMagic.py.new + mv ./tablib/packages/xlwt3/ExcelMagic.py.new ./tablib/packages/xlwt3/ExcelMagic.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/Bitmap.py + touch -r ./tablib/packages/xlwt3/Bitmap.py ./tablib/packages/xlwt3/Bitmap.py.new + mv ./tablib/packages/xlwt3/Bitmap.py.new ./tablib/packages/xlwt3/Bitmap.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/CompoundDoc.py + touch -r ./tablib/packages/xlwt3/CompoundDoc.py ./tablib/packages/xlwt3/CompoundDoc.py.new + mv ./tablib/packages/xlwt3/CompoundDoc.py.new ./tablib/packages/xlwt3/CompoundDoc.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/BIFFRecords.py + touch -r ./tablib/packages/xlwt3/BIFFRecords.py ./tablib/packages/xlwt3/BIFFRecords.py.new + mv ./tablib/packages/xlwt3/BIFFRecords.py.new ./tablib/packages/xlwt3/BIFFRecords.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/Workbook.py + touch -r ./tablib/packages/xlwt3/Workbook.py ./tablib/packages/xlwt3/Workbook.py.new + mv ./tablib/packages/xlwt3/Workbook.py.new ./tablib/packages/xlwt3/Workbook.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/Cell.py + touch -r ./tablib/packages/xlwt3/Cell.py ./tablib/packages/xlwt3/Cell.py.new + mv ./tablib/packages/xlwt3/Cell.py.new ./tablib/packages/xlwt3/Cell.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/ExcelFormulaParser.py + touch -r ./tablib/packages/xlwt3/ExcelFormulaParser.py ./tablib/packages/xlwt3/ExcelFormulaParser.py.new + mv ./tablib/packages/xlwt3/ExcelFormulaParser.py.new ./tablib/packages/xlwt3/ExcelFormulaParser.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/Column.py + touch -r ./tablib/packages/xlwt3/Column.py ./tablib/packages/xlwt3/Column.py.new + mv ./tablib/packages/xlwt3/Column.py.new ./tablib/packages/xlwt3/Column.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/UnicodeUtils.py + touch -r ./tablib/packages/xlwt3/UnicodeUtils.py ./tablib/packages/xlwt3/UnicodeUtils.py.new + mv ./tablib/packages/xlwt3/UnicodeUtils.py.new ./tablib/packages/xlwt3/UnicodeUtils.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt3/Utils.py + touch -r ./tablib/packages/xlwt3/Utils.py ./tablib/packages/xlwt3/Utils.py.new + mv ./tablib/packages/xlwt3/Utils.py.new ./tablib/packages/xlwt3/Utils.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/__init__.py + touch -r ./tablib/packages/odf/__init__.py ./tablib/packages/odf/__init__.py.new + mv ./tablib/packages/odf/__init__.py.new ./tablib/packages/odf/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/element.py + touch -r ./tablib/packages/odf/element.py ./tablib/packages/odf/element.py.new + mv ./tablib/packages/odf/element.py.new ./tablib/packages/odf/element.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/dr3d.py + touch -r ./tablib/packages/odf/dr3d.py ./tablib/packages/odf/dr3d.py.new + mv ./tablib/packages/odf/dr3d.py.new ./tablib/packages/odf/dr3d.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/chart.py + touch -r ./tablib/packages/odf/chart.py ./tablib/packages/odf/chart.py.new + mv ./tablib/packages/odf/chart.py.new ./tablib/packages/odf/chart.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/meta.py + touch -r ./tablib/packages/odf/meta.py ./tablib/packages/odf/meta.py.new + mv ./tablib/packages/odf/meta.py.new ./tablib/packages/odf/meta.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/config.py + touch -r ./tablib/packages/odf/config.py ./tablib/packages/odf/config.py.new + mv ./tablib/packages/odf/config.py.new ./tablib/packages/odf/config.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/namespaces.py + touch -r ./tablib/packages/odf/namespaces.py ./tablib/packages/odf/namespaces.py.new + mv ./tablib/packages/odf/namespaces.py.new ./tablib/packages/odf/namespaces.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/odf2moinmoin.py + touch -r ./tablib/packages/odf/odf2moinmoin.py ./tablib/packages/odf/odf2moinmoin.py.new + mv ./tablib/packages/odf/odf2moinmoin.py.new ./tablib/packages/odf/odf2moinmoin.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/xforms.py + touch -r ./tablib/packages/odf/xforms.py ./tablib/packages/odf/xforms.py.new + mv ./tablib/packages/odf/xforms.py.new ./tablib/packages/odf/xforms.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/style.py + touch -r ./tablib/packages/odf/style.py ./tablib/packages/odf/style.py.new + mv ./tablib/packages/odf/style.py.new ./tablib/packages/odf/style.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/presentation.py + touch -r ./tablib/packages/odf/presentation.py ./tablib/packages/odf/presentation.py.new + mv ./tablib/packages/odf/presentation.py.new ./tablib/packages/odf/presentation.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/office.py + touch -r ./tablib/packages/odf/office.py ./tablib/packages/odf/office.py.new + mv ./tablib/packages/odf/office.py.new ./tablib/packages/odf/office.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/text.py + touch -r ./tablib/packages/odf/text.py ./tablib/packages/odf/text.py.new + mv ./tablib/packages/odf/text.py.new ./tablib/packages/odf/text.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/load.py + touch -r ./tablib/packages/odf/load.py ./tablib/packages/odf/load.py.new + mv ./tablib/packages/odf/load.py.new ./tablib/packages/odf/load.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/userfield.py + touch -r ./tablib/packages/odf/userfield.py ./tablib/packages/odf/userfield.py.new + mv ./tablib/packages/odf/userfield.py.new ./tablib/packages/odf/userfield.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/number.py + touch -r ./tablib/packages/odf/number.py ./tablib/packages/odf/number.py.new + mv ./tablib/packages/odf/number.py.new ./tablib/packages/odf/number.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/opendocument.py + touch -r ./tablib/packages/odf/opendocument.py ./tablib/packages/odf/opendocument.py.new + mv ./tablib/packages/odf/opendocument.py.new ./tablib/packages/odf/opendocument.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/grammar.py + touch -r ./tablib/packages/odf/grammar.py ./tablib/packages/odf/grammar.py.new + mv ./tablib/packages/odf/grammar.py.new ./tablib/packages/odf/grammar.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/table.py + touch -r ./tablib/packages/odf/table.py ./tablib/packages/odf/table.py.new + mv ./tablib/packages/odf/table.py.new ./tablib/packages/odf/table.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/teletype.py + touch -r ./tablib/packages/odf/teletype.py ./tablib/packages/odf/teletype.py.new + mv ./tablib/packages/odf/teletype.py.new ./tablib/packages/odf/teletype.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/elementtypes.py + touch -r ./tablib/packages/odf/elementtypes.py ./tablib/packages/odf/elementtypes.py.new + mv ./tablib/packages/odf/elementtypes.py.new ./tablib/packages/odf/elementtypes.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/odfmanifest.py + touch -r ./tablib/packages/odf/odfmanifest.py ./tablib/packages/odf/odfmanifest.py.new + mv ./tablib/packages/odf/odfmanifest.py.new ./tablib/packages/odf/odfmanifest.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/attrconverters.py + touch -r ./tablib/packages/odf/attrconverters.py ./tablib/packages/odf/attrconverters.py.new + mv ./tablib/packages/odf/attrconverters.py.new ./tablib/packages/odf/attrconverters.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/form.py + touch -r ./tablib/packages/odf/form.py ./tablib/packages/odf/form.py.new + mv ./tablib/packages/odf/form.py.new ./tablib/packages/odf/form.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/anim.py + touch -r ./tablib/packages/odf/anim.py ./tablib/packages/odf/anim.py.new + mv ./tablib/packages/odf/anim.py.new ./tablib/packages/odf/anim.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/thumbnail.py + touch -r ./tablib/packages/odf/thumbnail.py ./tablib/packages/odf/thumbnail.py.new + mv ./tablib/packages/odf/thumbnail.py.new ./tablib/packages/odf/thumbnail.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/math.py + touch -r ./tablib/packages/odf/math.py ./tablib/packages/odf/math.py.new + mv ./tablib/packages/odf/math.py.new ./tablib/packages/odf/math.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/dc.py + touch -r ./tablib/packages/odf/dc.py ./tablib/packages/odf/dc.py.new + mv ./tablib/packages/odf/dc.py.new ./tablib/packages/odf/dc.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/script.py + touch -r ./tablib/packages/odf/script.py ./tablib/packages/odf/script.py.new + mv ./tablib/packages/odf/script.py.new ./tablib/packages/odf/script.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/manifest.py + touch -r ./tablib/packages/odf/manifest.py ./tablib/packages/odf/manifest.py.new + mv ./tablib/packages/odf/manifest.py.new ./tablib/packages/odf/manifest.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/svg.py + touch -r ./tablib/packages/odf/svg.py ./tablib/packages/odf/svg.py.new + mv ./tablib/packages/odf/svg.py.new ./tablib/packages/odf/svg.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/odf2xhtml.py + touch -r ./tablib/packages/odf/odf2xhtml.py ./tablib/packages/odf/odf2xhtml.py.new + mv ./tablib/packages/odf/odf2xhtml.py.new ./tablib/packages/odf/odf2xhtml.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/easyliststyle.py + touch -r ./tablib/packages/odf/easyliststyle.py ./tablib/packages/odf/easyliststyle.py.new + mv ./tablib/packages/odf/easyliststyle.py.new ./tablib/packages/odf/easyliststyle.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf/draw.py + touch -r ./tablib/packages/odf/draw.py ./tablib/packages/odf/draw.py.new + mv ./tablib/packages/odf/draw.py.new ./tablib/packages/odf/draw.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/unicodecsv/__init__.py + touch -r ./tablib/packages/unicodecsv/__init__.py ./tablib/packages/unicodecsv/__init__.py.new + mv ./tablib/packages/unicodecsv/__init__.py.new ./tablib/packages/unicodecsv/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd3/xldate.py + touch -r ./tablib/packages/xlrd3/xldate.py ./tablib/packages/xlrd3/xldate.py.new + mv ./tablib/packages/xlrd3/xldate.py.new ./tablib/packages/xlrd3/xldate.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd3/__init__.py + touch -r ./tablib/packages/xlrd3/__init__.py ./tablib/packages/xlrd3/__init__.py.new + mv ./tablib/packages/xlrd3/__init__.py.new ./tablib/packages/xlrd3/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd3/xfcell.py + touch -r ./tablib/packages/xlrd3/xfcell.py ./tablib/packages/xlrd3/xfcell.py.new + mv ./tablib/packages/xlrd3/xfcell.py.new ./tablib/packages/xlrd3/xfcell.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd3/compdoc.py + touch -r ./tablib/packages/xlrd3/compdoc.py ./tablib/packages/xlrd3/compdoc.py.new + mv ./tablib/packages/xlrd3/compdoc.py.new ./tablib/packages/xlrd3/compdoc.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd3/xfconst.py + touch -r ./tablib/packages/xlrd3/xfconst.py ./tablib/packages/xlrd3/xfconst.py.new + mv ./tablib/packages/xlrd3/xfconst.py.new ./tablib/packages/xlrd3/xfconst.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd3/biffh.py + touch -r ./tablib/packages/xlrd3/biffh.py ./tablib/packages/xlrd3/biffh.py.new + mv ./tablib/packages/xlrd3/biffh.py.new ./tablib/packages/xlrd3/biffh.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd3/formula.py + touch -r ./tablib/packages/xlrd3/formula.py ./tablib/packages/xlrd3/formula.py.new + mv ./tablib/packages/xlrd3/formula.py.new ./tablib/packages/xlrd3/formula.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd3/formatting.py + touch -r ./tablib/packages/xlrd3/formatting.py ./tablib/packages/xlrd3/formatting.py.new + mv ./tablib/packages/xlrd3/formatting.py.new ./tablib/packages/xlrd3/formatting.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlrd3/sheet.py + touch -r ./tablib/packages/xlrd3/sheet.py ./tablib/packages/xlrd3/sheet.py.new + mv ./tablib/packages/xlrd3/sheet.py.new ./tablib/packages/xlrd3/sheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/omnijson/__init__.py + touch -r ./tablib/packages/omnijson/__init__.py ./tablib/packages/omnijson/__init__.py.new + mv ./tablib/packages/omnijson/__init__.py.new ./tablib/packages/omnijson/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/omnijson/core.py + touch -r ./tablib/packages/omnijson/core.py ./tablib/packages/omnijson/core.py.new + mv ./tablib/packages/omnijson/core.py.new ./tablib/packages/omnijson/core.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/__init__.py + touch -r ./tablib/packages/openpyxl3/__init__.py ./tablib/packages/openpyxl3/__init__.py.new + mv ./tablib/packages/openpyxl3/__init__.py.new ./tablib/packages/openpyxl3/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/shared/__init__.py + touch -r ./tablib/packages/openpyxl3/shared/__init__.py ./tablib/packages/openpyxl3/shared/__init__.py.new + mv ./tablib/packages/openpyxl3/shared/__init__.py.new ./tablib/packages/openpyxl3/shared/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/shared/ooxml.py + touch -r ./tablib/packages/openpyxl3/shared/ooxml.py ./tablib/packages/openpyxl3/shared/ooxml.py.new + mv ./tablib/packages/openpyxl3/shared/ooxml.py.new ./tablib/packages/openpyxl3/shared/ooxml.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/shared/xmltools.py + touch -r ./tablib/packages/openpyxl3/shared/xmltools.py ./tablib/packages/openpyxl3/shared/xmltools.py.new + mv ./tablib/packages/openpyxl3/shared/xmltools.py.new ./tablib/packages/openpyxl3/shared/xmltools.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/shared/units.py + touch -r ./tablib/packages/openpyxl3/shared/units.py ./tablib/packages/openpyxl3/shared/units.py.new + mv ./tablib/packages/openpyxl3/shared/units.py.new ./tablib/packages/openpyxl3/shared/units.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/shared/password_hasher.py + touch -r ./tablib/packages/openpyxl3/shared/password_hasher.py ./tablib/packages/openpyxl3/shared/password_hasher.py.new + mv ./tablib/packages/openpyxl3/shared/password_hasher.py.new ./tablib/packages/openpyxl3/shared/password_hasher.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/shared/exc.py + touch -r ./tablib/packages/openpyxl3/shared/exc.py ./tablib/packages/openpyxl3/shared/exc.py.new + mv ./tablib/packages/openpyxl3/shared/exc.py.new ./tablib/packages/openpyxl3/shared/exc.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/shared/date_time.py + touch -r ./tablib/packages/openpyxl3/shared/date_time.py ./tablib/packages/openpyxl3/shared/date_time.py.new + mv ./tablib/packages/openpyxl3/shared/date_time.py.new ./tablib/packages/openpyxl3/shared/date_time.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/drawing.py + touch -r ./tablib/packages/openpyxl3/drawing.py ./tablib/packages/openpyxl3/drawing.py.new + mv ./tablib/packages/openpyxl3/drawing.py.new ./tablib/packages/openpyxl3/drawing.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/chart.py + touch -r ./tablib/packages/openpyxl3/chart.py ./tablib/packages/openpyxl3/chart.py.new + mv ./tablib/packages/openpyxl3/chart.py.new ./tablib/packages/openpyxl3/chart.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/style.py + touch -r ./tablib/packages/openpyxl3/style.py ./tablib/packages/openpyxl3/style.py.new + mv ./tablib/packages/openpyxl3/style.py.new ./tablib/packages/openpyxl3/style.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/worksheet.py + touch -r ./tablib/packages/openpyxl3/worksheet.py ./tablib/packages/openpyxl3/worksheet.py.new + mv ./tablib/packages/openpyxl3/worksheet.py.new ./tablib/packages/openpyxl3/worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/workbook.py + touch -r ./tablib/packages/openpyxl3/workbook.py ./tablib/packages/openpyxl3/workbook.py.new + mv ./tablib/packages/openpyxl3/workbook.py.new ./tablib/packages/openpyxl3/workbook.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/__init__.py + touch -r ./tablib/packages/openpyxl3/writer/__init__.py ./tablib/packages/openpyxl3/writer/__init__.py.new + mv ./tablib/packages/openpyxl3/writer/__init__.py.new ./tablib/packages/openpyxl3/writer/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/worksheet.py + touch -r ./tablib/packages/openpyxl3/writer/worksheet.py ./tablib/packages/openpyxl3/writer/worksheet.py.new + mv ./tablib/packages/openpyxl3/writer/worksheet.py.new ./tablib/packages/openpyxl3/writer/worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/drawings.py + touch -r ./tablib/packages/openpyxl3/writer/drawings.py ./tablib/packages/openpyxl3/writer/drawings.py.new + mv ./tablib/packages/openpyxl3/writer/drawings.py.new ./tablib/packages/openpyxl3/writer/drawings.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/workbook.py + touch -r ./tablib/packages/openpyxl3/writer/workbook.py ./tablib/packages/openpyxl3/writer/workbook.py.new + mv ./tablib/packages/openpyxl3/writer/workbook.py.new ./tablib/packages/openpyxl3/writer/workbook.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/dump_worksheet.py + touch -r ./tablib/packages/openpyxl3/writer/dump_worksheet.py ./tablib/packages/openpyxl3/writer/dump_worksheet.py.new + mv ./tablib/packages/openpyxl3/writer/dump_worksheet.py.new ./tablib/packages/openpyxl3/writer/dump_worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/theme.py + touch -r ./tablib/packages/openpyxl3/writer/theme.py ./tablib/packages/openpyxl3/writer/theme.py.new + mv ./tablib/packages/openpyxl3/writer/theme.py.new ./tablib/packages/openpyxl3/writer/theme.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/styles.py + touch -r ./tablib/packages/openpyxl3/writer/styles.py ./tablib/packages/openpyxl3/writer/styles.py.new + mv ./tablib/packages/openpyxl3/writer/styles.py.new ./tablib/packages/openpyxl3/writer/styles.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/charts.py + touch -r ./tablib/packages/openpyxl3/writer/charts.py ./tablib/packages/openpyxl3/writer/charts.py.new + mv ./tablib/packages/openpyxl3/writer/charts.py.new ./tablib/packages/openpyxl3/writer/charts.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/excel.py + touch -r ./tablib/packages/openpyxl3/writer/excel.py ./tablib/packages/openpyxl3/writer/excel.py.new + mv ./tablib/packages/openpyxl3/writer/excel.py.new ./tablib/packages/openpyxl3/writer/excel.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/writer/strings.py + touch -r ./tablib/packages/openpyxl3/writer/strings.py ./tablib/packages/openpyxl3/writer/strings.py.new + mv ./tablib/packages/openpyxl3/writer/strings.py.new ./tablib/packages/openpyxl3/writer/strings.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/namedrange.py + touch -r ./tablib/packages/openpyxl3/namedrange.py ./tablib/packages/openpyxl3/namedrange.py.new + mv ./tablib/packages/openpyxl3/namedrange.py.new ./tablib/packages/openpyxl3/namedrange.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/reader/__init__.py + touch -r ./tablib/packages/openpyxl3/reader/__init__.py ./tablib/packages/openpyxl3/reader/__init__.py.new + mv ./tablib/packages/openpyxl3/reader/__init__.py.new ./tablib/packages/openpyxl3/reader/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/reader/style.py + touch -r ./tablib/packages/openpyxl3/reader/style.py ./tablib/packages/openpyxl3/reader/style.py.new + mv ./tablib/packages/openpyxl3/reader/style.py.new ./tablib/packages/openpyxl3/reader/style.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/reader/worksheet.py + touch -r ./tablib/packages/openpyxl3/reader/worksheet.py ./tablib/packages/openpyxl3/reader/worksheet.py.new + mv ./tablib/packages/openpyxl3/reader/worksheet.py.new ./tablib/packages/openpyxl3/reader/worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/reader/workbook.py + touch -r ./tablib/packages/openpyxl3/reader/workbook.py ./tablib/packages/openpyxl3/reader/workbook.py.new + mv ./tablib/packages/openpyxl3/reader/workbook.py.new ./tablib/packages/openpyxl3/reader/workbook.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/reader/iter_worksheet.py + touch -r ./tablib/packages/openpyxl3/reader/iter_worksheet.py ./tablib/packages/openpyxl3/reader/iter_worksheet.py.new + mv ./tablib/packages/openpyxl3/reader/iter_worksheet.py.new ./tablib/packages/openpyxl3/reader/iter_worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/reader/excel.py + touch -r ./tablib/packages/openpyxl3/reader/excel.py ./tablib/packages/openpyxl3/reader/excel.py.new + mv ./tablib/packages/openpyxl3/reader/excel.py.new ./tablib/packages/openpyxl3/reader/excel.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/reader/strings.py + touch -r ./tablib/packages/openpyxl3/reader/strings.py ./tablib/packages/openpyxl3/reader/strings.py.new + mv ./tablib/packages/openpyxl3/reader/strings.py.new ./tablib/packages/openpyxl3/reader/strings.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/openpyxl3/cell.py + touch -r ./tablib/packages/openpyxl3/cell.py ./tablib/packages/openpyxl3/cell.py.new + mv ./tablib/packages/openpyxl3/cell.py.new ./tablib/packages/openpyxl3/cell.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/__init__.py + touch -r ./tablib/packages/odf3/__init__.py ./tablib/packages/odf3/__init__.py.new + mv ./tablib/packages/odf3/__init__.py.new ./tablib/packages/odf3/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/element.py + touch -r ./tablib/packages/odf3/element.py ./tablib/packages/odf3/element.py.new + mv ./tablib/packages/odf3/element.py.new ./tablib/packages/odf3/element.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/dr3d.py + touch -r ./tablib/packages/odf3/dr3d.py ./tablib/packages/odf3/dr3d.py.new + mv ./tablib/packages/odf3/dr3d.py.new ./tablib/packages/odf3/dr3d.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/chart.py + touch -r ./tablib/packages/odf3/chart.py ./tablib/packages/odf3/chart.py.new + mv ./tablib/packages/odf3/chart.py.new ./tablib/packages/odf3/chart.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/meta.py + touch -r ./tablib/packages/odf3/meta.py ./tablib/packages/odf3/meta.py.new + mv ./tablib/packages/odf3/meta.py.new ./tablib/packages/odf3/meta.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/config.py + touch -r ./tablib/packages/odf3/config.py ./tablib/packages/odf3/config.py.new + mv ./tablib/packages/odf3/config.py.new ./tablib/packages/odf3/config.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/namespaces.py + touch -r ./tablib/packages/odf3/namespaces.py ./tablib/packages/odf3/namespaces.py.new + mv ./tablib/packages/odf3/namespaces.py.new ./tablib/packages/odf3/namespaces.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/odf2moinmoin.py + touch -r ./tablib/packages/odf3/odf2moinmoin.py ./tablib/packages/odf3/odf2moinmoin.py.new + mv ./tablib/packages/odf3/odf2moinmoin.py.new ./tablib/packages/odf3/odf2moinmoin.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/xforms.py + touch -r ./tablib/packages/odf3/xforms.py ./tablib/packages/odf3/xforms.py.new + mv ./tablib/packages/odf3/xforms.py.new ./tablib/packages/odf3/xforms.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/style.py + touch -r ./tablib/packages/odf3/style.py ./tablib/packages/odf3/style.py.new + mv ./tablib/packages/odf3/style.py.new ./tablib/packages/odf3/style.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/presentation.py + touch -r ./tablib/packages/odf3/presentation.py ./tablib/packages/odf3/presentation.py.new + mv ./tablib/packages/odf3/presentation.py.new ./tablib/packages/odf3/presentation.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/office.py + touch -r ./tablib/packages/odf3/office.py ./tablib/packages/odf3/office.py.new + mv ./tablib/packages/odf3/office.py.new ./tablib/packages/odf3/office.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/text.py + touch -r ./tablib/packages/odf3/text.py ./tablib/packages/odf3/text.py.new + mv ./tablib/packages/odf3/text.py.new ./tablib/packages/odf3/text.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/load.py + touch -r ./tablib/packages/odf3/load.py ./tablib/packages/odf3/load.py.new + mv ./tablib/packages/odf3/load.py.new ./tablib/packages/odf3/load.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/userfield.py + touch -r ./tablib/packages/odf3/userfield.py ./tablib/packages/odf3/userfield.py.new + mv ./tablib/packages/odf3/userfield.py.new ./tablib/packages/odf3/userfield.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/number.py + touch -r ./tablib/packages/odf3/number.py ./tablib/packages/odf3/number.py.new + mv ./tablib/packages/odf3/number.py.new ./tablib/packages/odf3/number.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/opendocument.py + touch -r ./tablib/packages/odf3/opendocument.py ./tablib/packages/odf3/opendocument.py.new + mv ./tablib/packages/odf3/opendocument.py.new ./tablib/packages/odf3/opendocument.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/grammar.py + touch -r ./tablib/packages/odf3/grammar.py ./tablib/packages/odf3/grammar.py.new + mv ./tablib/packages/odf3/grammar.py.new ./tablib/packages/odf3/grammar.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/table.py + touch -r ./tablib/packages/odf3/table.py ./tablib/packages/odf3/table.py.new + mv ./tablib/packages/odf3/table.py.new ./tablib/packages/odf3/table.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/teletype.py + touch -r ./tablib/packages/odf3/teletype.py ./tablib/packages/odf3/teletype.py.new + mv ./tablib/packages/odf3/teletype.py.new ./tablib/packages/odf3/teletype.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/elementtypes.py + touch -r ./tablib/packages/odf3/elementtypes.py ./tablib/packages/odf3/elementtypes.py.new + mv ./tablib/packages/odf3/elementtypes.py.new ./tablib/packages/odf3/elementtypes.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/odfmanifest.py + touch -r ./tablib/packages/odf3/odfmanifest.py ./tablib/packages/odf3/odfmanifest.py.new + mv ./tablib/packages/odf3/odfmanifest.py.new ./tablib/packages/odf3/odfmanifest.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/attrconverters.py + touch -r ./tablib/packages/odf3/attrconverters.py ./tablib/packages/odf3/attrconverters.py.new + mv ./tablib/packages/odf3/attrconverters.py.new ./tablib/packages/odf3/attrconverters.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/form.py + touch -r ./tablib/packages/odf3/form.py ./tablib/packages/odf3/form.py.new + mv ./tablib/packages/odf3/form.py.new ./tablib/packages/odf3/form.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/anim.py + touch -r ./tablib/packages/odf3/anim.py ./tablib/packages/odf3/anim.py.new + mv ./tablib/packages/odf3/anim.py.new ./tablib/packages/odf3/anim.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/thumbnail.py + touch -r ./tablib/packages/odf3/thumbnail.py ./tablib/packages/odf3/thumbnail.py.new + mv ./tablib/packages/odf3/thumbnail.py.new ./tablib/packages/odf3/thumbnail.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/math.py + touch -r ./tablib/packages/odf3/math.py ./tablib/packages/odf3/math.py.new + mv ./tablib/packages/odf3/math.py.new ./tablib/packages/odf3/math.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/dc.py + touch -r ./tablib/packages/odf3/dc.py ./tablib/packages/odf3/dc.py.new + mv ./tablib/packages/odf3/dc.py.new ./tablib/packages/odf3/dc.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/script.py + touch -r ./tablib/packages/odf3/script.py ./tablib/packages/odf3/script.py.new + mv ./tablib/packages/odf3/script.py.new ./tablib/packages/odf3/script.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/manifest.py + touch -r ./tablib/packages/odf3/manifest.py ./tablib/packages/odf3/manifest.py.new + mv ./tablib/packages/odf3/manifest.py.new ./tablib/packages/odf3/manifest.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/svg.py + touch -r ./tablib/packages/odf3/svg.py ./tablib/packages/odf3/svg.py.new + mv ./tablib/packages/odf3/svg.py.new ./tablib/packages/odf3/svg.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/odf2xhtml.py + touch -r ./tablib/packages/odf3/odf2xhtml.py ./tablib/packages/odf3/odf2xhtml.py.new + mv ./tablib/packages/odf3/odf2xhtml.py.new ./tablib/packages/odf3/odf2xhtml.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/easyliststyle.py + touch -r ./tablib/packages/odf3/easyliststyle.py ./tablib/packages/odf3/easyliststyle.py.new + mv ./tablib/packages/odf3/easyliststyle.py.new ./tablib/packages/odf3/easyliststyle.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/odf3/draw.py + touch -r ./tablib/packages/odf3/draw.py ./tablib/packages/odf3/draw.py.new + mv ./tablib/packages/odf3/draw.py.new ./tablib/packages/odf3/draw.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/__init__.py + touch -r ./tablib/packages/yaml/__init__.py ./tablib/packages/yaml/__init__.py.new + mv ./tablib/packages/yaml/__init__.py.new ./tablib/packages/yaml/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/representer.py + touch -r ./tablib/packages/yaml/representer.py ./tablib/packages/yaml/representer.py.new + mv ./tablib/packages/yaml/representer.py.new ./tablib/packages/yaml/representer.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/parser.py + touch -r ./tablib/packages/yaml/parser.py ./tablib/packages/yaml/parser.py.new + mv ./tablib/packages/yaml/parser.py.new ./tablib/packages/yaml/parser.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/scanner.py + touch -r ./tablib/packages/yaml/scanner.py ./tablib/packages/yaml/scanner.py.new + mv ./tablib/packages/yaml/scanner.py.new ./tablib/packages/yaml/scanner.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/tokens.py + touch -r ./tablib/packages/yaml/tokens.py ./tablib/packages/yaml/tokens.py.new + mv ./tablib/packages/yaml/tokens.py.new ./tablib/packages/yaml/tokens.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/error.py + touch -r ./tablib/packages/yaml/error.py ./tablib/packages/yaml/error.py.new + mv ./tablib/packages/yaml/error.py.new ./tablib/packages/yaml/error.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/dumper.py + touch -r ./tablib/packages/yaml/dumper.py ./tablib/packages/yaml/dumper.py.new + mv ./tablib/packages/yaml/dumper.py.new ./tablib/packages/yaml/dumper.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/resolver.py + touch -r ./tablib/packages/yaml/resolver.py ./tablib/packages/yaml/resolver.py.new + mv ./tablib/packages/yaml/resolver.py.new ./tablib/packages/yaml/resolver.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/composer.py + touch -r ./tablib/packages/yaml/composer.py ./tablib/packages/yaml/composer.py.new + mv ./tablib/packages/yaml/composer.py.new ./tablib/packages/yaml/composer.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/reader.py + touch -r ./tablib/packages/yaml/reader.py ./tablib/packages/yaml/reader.py.new + mv ./tablib/packages/yaml/reader.py.new ./tablib/packages/yaml/reader.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/nodes.py + touch -r ./tablib/packages/yaml/nodes.py ./tablib/packages/yaml/nodes.py.new + mv ./tablib/packages/yaml/nodes.py.new ./tablib/packages/yaml/nodes.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/events.py + touch -r ./tablib/packages/yaml/events.py ./tablib/packages/yaml/events.py.new + mv ./tablib/packages/yaml/events.py.new ./tablib/packages/yaml/events.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/emitter.py + touch -r ./tablib/packages/yaml/emitter.py ./tablib/packages/yaml/emitter.py.new + mv ./tablib/packages/yaml/emitter.py.new ./tablib/packages/yaml/emitter.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/cyaml.py + touch -r ./tablib/packages/yaml/cyaml.py ./tablib/packages/yaml/cyaml.py.new + mv ./tablib/packages/yaml/cyaml.py.new ./tablib/packages/yaml/cyaml.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/loader.py + touch -r ./tablib/packages/yaml/loader.py ./tablib/packages/yaml/loader.py.new + mv ./tablib/packages/yaml/loader.py.new ./tablib/packages/yaml/loader.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/constructor.py + touch -r ./tablib/packages/yaml/constructor.py ./tablib/packages/yaml/constructor.py.new + mv ./tablib/packages/yaml/constructor.py.new ./tablib/packages/yaml/constructor.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml/serializer.py + touch -r ./tablib/packages/yaml/serializer.py ./tablib/packages/yaml/serializer.py.new + mv ./tablib/packages/yaml/serializer.py.new ./tablib/packages/yaml/serializer.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/__init__.py + touch -r ./tablib/packages/xlwt/__init__.py ./tablib/packages/xlwt/__init__.py.new + mv ./tablib/packages/xlwt/__init__.py.new ./tablib/packages/xlwt/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/ExcelFormula.py + touch -r ./tablib/packages/xlwt/ExcelFormula.py ./tablib/packages/xlwt/ExcelFormula.py.new + mv ./tablib/packages/xlwt/ExcelFormula.py.new ./tablib/packages/xlwt/ExcelFormula.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/Formatting.py + touch -r ./tablib/packages/xlwt/Formatting.py ./tablib/packages/xlwt/Formatting.py.new + mv ./tablib/packages/xlwt/Formatting.py.new ./tablib/packages/xlwt/Formatting.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/Worksheet.py + touch -r ./tablib/packages/xlwt/Worksheet.py ./tablib/packages/xlwt/Worksheet.py.new + mv ./tablib/packages/xlwt/Worksheet.py.new ./tablib/packages/xlwt/Worksheet.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/Row.py + touch -r ./tablib/packages/xlwt/Row.py ./tablib/packages/xlwt/Row.py.new + mv ./tablib/packages/xlwt/Row.py.new ./tablib/packages/xlwt/Row.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/ExcelFormulaLexer.py + touch -r ./tablib/packages/xlwt/ExcelFormulaLexer.py ./tablib/packages/xlwt/ExcelFormulaLexer.py.new + mv ./tablib/packages/xlwt/ExcelFormulaLexer.py.new ./tablib/packages/xlwt/ExcelFormulaLexer.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/antlr.py + touch -r ./tablib/packages/xlwt/antlr.py ./tablib/packages/xlwt/antlr.py.new + mv ./tablib/packages/xlwt/antlr.py.new ./tablib/packages/xlwt/antlr.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/Style.py + touch -r ./tablib/packages/xlwt/Style.py ./tablib/packages/xlwt/Style.py.new + mv ./tablib/packages/xlwt/Style.py.new ./tablib/packages/xlwt/Style.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/ExcelMagic.py + touch -r ./tablib/packages/xlwt/ExcelMagic.py ./tablib/packages/xlwt/ExcelMagic.py.new + mv ./tablib/packages/xlwt/ExcelMagic.py.new ./tablib/packages/xlwt/ExcelMagic.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/Bitmap.py + touch -r ./tablib/packages/xlwt/Bitmap.py ./tablib/packages/xlwt/Bitmap.py.new + mv ./tablib/packages/xlwt/Bitmap.py.new ./tablib/packages/xlwt/Bitmap.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/CompoundDoc.py + touch -r ./tablib/packages/xlwt/CompoundDoc.py ./tablib/packages/xlwt/CompoundDoc.py.new + mv ./tablib/packages/xlwt/CompoundDoc.py.new ./tablib/packages/xlwt/CompoundDoc.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/BIFFRecords.py + touch -r ./tablib/packages/xlwt/BIFFRecords.py ./tablib/packages/xlwt/BIFFRecords.py.new + mv ./tablib/packages/xlwt/BIFFRecords.py.new ./tablib/packages/xlwt/BIFFRecords.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/Workbook.py + touch -r ./tablib/packages/xlwt/Workbook.py ./tablib/packages/xlwt/Workbook.py.new + mv ./tablib/packages/xlwt/Workbook.py.new ./tablib/packages/xlwt/Workbook.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/Cell.py + touch -r ./tablib/packages/xlwt/Cell.py ./tablib/packages/xlwt/Cell.py.new + mv ./tablib/packages/xlwt/Cell.py.new ./tablib/packages/xlwt/Cell.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/ExcelFormulaParser.py + touch -r ./tablib/packages/xlwt/ExcelFormulaParser.py ./tablib/packages/xlwt/ExcelFormulaParser.py.new + mv ./tablib/packages/xlwt/ExcelFormulaParser.py.new ./tablib/packages/xlwt/ExcelFormulaParser.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/Column.py + touch -r ./tablib/packages/xlwt/Column.py ./tablib/packages/xlwt/Column.py.new + mv ./tablib/packages/xlwt/Column.py.new ./tablib/packages/xlwt/Column.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/UnicodeUtils.py + touch -r ./tablib/packages/xlwt/UnicodeUtils.py ./tablib/packages/xlwt/UnicodeUtils.py.new + mv ./tablib/packages/xlwt/UnicodeUtils.py.new ./tablib/packages/xlwt/UnicodeUtils.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/xlwt/Utils.py + touch -r ./tablib/packages/xlwt/Utils.py ./tablib/packages/xlwt/Utils.py.new + mv ./tablib/packages/xlwt/Utils.py.new ./tablib/packages/xlwt/Utils.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/__init__.py + touch -r ./tablib/packages/yaml3/__init__.py ./tablib/packages/yaml3/__init__.py.new + mv ./tablib/packages/yaml3/__init__.py.new ./tablib/packages/yaml3/__init__.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/representer.py + touch -r ./tablib/packages/yaml3/representer.py ./tablib/packages/yaml3/representer.py.new + mv ./tablib/packages/yaml3/representer.py.new ./tablib/packages/yaml3/representer.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/parser.py + touch -r ./tablib/packages/yaml3/parser.py ./tablib/packages/yaml3/parser.py.new + mv ./tablib/packages/yaml3/parser.py.new ./tablib/packages/yaml3/parser.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/scanner.py + touch -r ./tablib/packages/yaml3/scanner.py ./tablib/packages/yaml3/scanner.py.new + mv ./tablib/packages/yaml3/scanner.py.new ./tablib/packages/yaml3/scanner.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/tokens.py + touch -r ./tablib/packages/yaml3/tokens.py ./tablib/packages/yaml3/tokens.py.new + mv ./tablib/packages/yaml3/tokens.py.new ./tablib/packages/yaml3/tokens.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/error.py + touch -r ./tablib/packages/yaml3/error.py ./tablib/packages/yaml3/error.py.new + mv ./tablib/packages/yaml3/error.py.new ./tablib/packages/yaml3/error.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/dumper.py + touch -r ./tablib/packages/yaml3/dumper.py ./tablib/packages/yaml3/dumper.py.new + mv ./tablib/packages/yaml3/dumper.py.new ./tablib/packages/yaml3/dumper.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/resolver.py + touch -r ./tablib/packages/yaml3/resolver.py ./tablib/packages/yaml3/resolver.py.new + mv ./tablib/packages/yaml3/resolver.py.new ./tablib/packages/yaml3/resolver.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/composer.py + touch -r ./tablib/packages/yaml3/composer.py ./tablib/packages/yaml3/composer.py.new + mv ./tablib/packages/yaml3/composer.py.new ./tablib/packages/yaml3/composer.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/reader.py + touch -r ./tablib/packages/yaml3/reader.py ./tablib/packages/yaml3/reader.py.new + mv ./tablib/packages/yaml3/reader.py.new ./tablib/packages/yaml3/reader.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/nodes.py + touch -r ./tablib/packages/yaml3/nodes.py ./tablib/packages/yaml3/nodes.py.new + mv ./tablib/packages/yaml3/nodes.py.new ./tablib/packages/yaml3/nodes.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/events.py + touch -r ./tablib/packages/yaml3/events.py ./tablib/packages/yaml3/events.py.new + mv ./tablib/packages/yaml3/events.py.new ./tablib/packages/yaml3/events.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/emitter.py + touch -r ./tablib/packages/yaml3/emitter.py ./tablib/packages/yaml3/emitter.py.new + mv ./tablib/packages/yaml3/emitter.py.new ./tablib/packages/yaml3/emitter.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/cyaml.py + touch -r ./tablib/packages/yaml3/cyaml.py ./tablib/packages/yaml3/cyaml.py.new + mv ./tablib/packages/yaml3/cyaml.py.new ./tablib/packages/yaml3/cyaml.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/loader.py + touch -r ./tablib/packages/yaml3/loader.py ./tablib/packages/yaml3/loader.py.new + mv ./tablib/packages/yaml3/loader.py.new ./tablib/packages/yaml3/loader.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/constructor.py + touch -r ./tablib/packages/yaml3/constructor.py ./tablib/packages/yaml3/constructor.py.new + mv ./tablib/packages/yaml3/constructor.py.new ./tablib/packages/yaml3/constructor.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/yaml3/serializer.py + touch -r ./tablib/packages/yaml3/serializer.py ./tablib/packages/yaml3/serializer.py.new + mv ./tablib/packages/yaml3/serializer.py.new ./tablib/packages/yaml3/serializer.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/packages/markup.py + touch -r ./tablib/packages/markup.py ./tablib/packages/markup.py.new + mv ./tablib/packages/markup.py.new ./tablib/packages/markup.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./tablib/core.py + touch -r ./tablib/core.py ./tablib/core.py.new + mv ./tablib/core.py.new ./tablib/core.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./test_tablib.py + touch -r ./test_tablib.py ./test_tablib.py.new + mv ./test_tablib.py.new ./test_tablib.py + for lib in '$(find . -name "*.py")' + sed '/\/usr\/bin\/env/d' ./setup.py + touch -r ./setup.py ./setup.py.new + mv ./setup.py.new ./setup.py + rm -rf /builddir/build/BUILD/python3-python-tablib-0.10.0-2.fc24 + cp -a . /builddir/build/BUILD/python3-python-tablib-0.10.0-2.fc24 + pushd /builddir/build/BUILD/python3-python-tablib-0.10.0-2.fc24 ~/build/BUILD/python3-python-tablib-0.10.0-2.fc24 ~/build/BUILD/tablib-0.10.0 + sed -i '/\(xlwt\|odf\|xlrd\|openpyxl\|openpyxl\..*\|yaml\)'\''/d' setup.py + find . -name '*.py' + grep -v 3 + xargs 2to3 -w RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms RefactoringTool: Skipping implicit fixer: set_literal RefactoringTool: Skipping implicit fixer: ws_comma RefactoringTool: No changes to ./tablib/__init__.py RefactoringTool: No changes to ./tablib/formats/__init__.py RefactoringTool: Refactored ./tablib/formats/_ods.py RefactoringTool: Refactored ./tablib/formats/_xls.py RefactoringTool: No changes to ./tablib/formats/_tsv.py RefactoringTool: No changes to ./tablib/formats/_json.py RefactoringTool: No changes to ./tablib/formats/_yaml.py RefactoringTool: No changes to ./tablib/formats/_csv.py RefactoringTool: Refactored ./tablib/formats/_html.py RefactoringTool: Refactored ./tablib/formats/_xlsx.py --- ./tablib/formats/_ods.py (original) +++ ./tablib/formats/_ods.py (refactored) @@ -9,9 +9,9 @@ if sys.version_info[0] > 2: from io import BytesIO else: - from cStringIO import StringIO as BytesIO + from io import StringIO as BytesIO -from tablib.compat import opendocument, style, table, text, unicode +from tablib.compat import opendocument, style, table, text, str title = 'ods' extensions = ('ods',) @@ -64,7 +64,7 @@ odf_row = table.TableRow(stylename=bold, defaultcellstylename='bold') for j, col in enumerate(row): try: - col = unicode(col, errors='ignore') + col = str(col, errors='ignore') except TypeError: ## col is already unicode pass --- ./tablib/formats/_xls.py (original) +++ ./tablib/formats/_xls.py (refactored) @@ -74,7 +74,7 @@ dset.title = sheet.name - for i in xrange(sheet.nrows): + for i in range(sheet.nrows): if (i == 0) and (headers): dset.headers = sheet.row_values(0) else: @@ -91,7 +91,7 @@ data = tablib.Dataset() data.title = sheet.name - for i in xrange(sheet.nrows): + for i in range(sheet.nrows): if (i == 0) and (headers): data.headers = sheet.row_values(0) else: --- ./tablib/formats/_html.py (original) +++ ./tablib/formats/_html.py (refactored) @@ -9,11 +9,11 @@ from io import BytesIO as StringIO from tablib.packages import markup3 as markup else: - from cStringIO import StringIO + from io import StringIO from tablib.packages import markup import tablib -from tablib.compat import unicode +from tablib.compat import str import codecs BOOK_ENDINGS = 'h3' @@ -48,7 +48,7 @@ # Allow unicode characters in output wrapper = codecs.getwriter("utf8")(stream) - wrapper.writelines(unicode(page)) + wrapper.writelines(str(page)) return stream.getvalue().decode('utf-8') --- ./tablib/formats/_xlsx.py (original) +++ ./tablib/formats/_xlsx.py (refactored) @@ -9,7 +9,7 @@ if sys.version_info[0] > 2: from io import BytesIO else: - from cStringIO import StringIO as BytesIO + from io import StringIO as BytesIO from tablib.compat import openpyxl import tablib @@ -18,7 +18,7 @@ ExcelWriter = openpyxl.writer.excel.ExcelWriter get_column_letter = openpyxl.cell.get_column_letter -from tablib.compat import unicode +from tablib.compat import str title = 'xlsx' @@ -122,7 +122,7 @@ if (row_number == 1) and dataset.headers: # ws.cell('%s%s'%(col_idx, row_number)).value = unicode( # '%s' % col, errors='ignore') - ws.cell('%s%s'%(col_idx, row_number)).value = unicode(col) + ws.cell('%s%s'%(col_idx, row_number)).value = str(col) style = ws.get_style('%s%s' % (col_idx, row_number)) style.font.bold = True ws.freeze_panes = '%s%s' % (frzn_col_idx, row_number) @@ -130,7 +130,7 @@ # bold separators elif len(row) < dataset.width: - ws.cell('%s%s'%(col_idx, row_number)).value = unicode( + ws.cell('%s%s'%(col_idx, row_number)).value = str( '%s' % col, errors='ignore') style = ws.get_style('%s%s' % (col_idx, row_number)) style.font.bold = True @@ -139,14 +139,14 @@ else: try: if '\n' in col: - ws.cell('%s%s'%(col_idx, row_number)).value = unicode( + ws.cell('%s%s'%(col_idx, row_number)).value = str( '%s' % col, errors='ignore') style = ws.get_style('%s%s' % (col_idx, row_number)) style.alignment.wrap_text else: - ws.cell('%s%s'%(col_idx, row_number)).value = unicode( + ws.cell('%s%s'%(col_idx, row_number)).value = str( '%RefactoringTool: Refactored ./tablib/compat.py RefactoringTool: No changes to ./tablib/packages/ordereddict.py RefactoringTool: Refactored ./tablib/packages/xlrd/xldate.py RefactoringTool: Refactored ./tablib/packages/xlrd/__init__.py WARNING: couldn't encode ./tablib/packages/xlrd/__init__.py's diff for your terminal RefactoringTool: Refactored ./tablib/packages/xlrd/compdoc.py s' % col, errors='ignore') except TypeError: - ws.cell('%s%s'%(col_idx, row_number)).value = unicode(col) + ws.cell('%s%s'%(col_idx, row_number)).value = str(col) --- ./tablib/compat.py (original) +++ ./tablib/compat.py (refactored) @@ -33,21 +33,21 @@ from io import StringIO # py3 mappings - unicode = str + str = str bytes = bytes - basestring = str + str = str else: - from cStringIO import StringIO as BytesIO - from cStringIO import StringIO + from io import StringIO as BytesIO + from io import StringIO import tablib.packages.xlwt as xlwt import tablib.packages.xlrd as xlrd from tablib.packages.xlrd.biffh import XLRDError from tablib.packages import markup - from itertools import ifilter + from tablib.packages import openpyxl from tablib.packages.odf import opendocument, style, text, table from tablib.packages import unicodecsv as csv - unicode = unicode + str = str --- ./tablib/packages/xlrd/xldate.py (original) +++ ./tablib/packages/xlrd/xldate.py (refactored) @@ -18,7 +18,7 @@ # Noon on Gregorian 1900-03-01 (day 61 in the 1900-based system) is JDN 2415080.0 # Noon on Gregorian 1904-01-02 (day 1 in the 1904-based system) is JDN 2416482.0 -from timemachine import int_floor_div as ifd +from .timemachine import int_floor_div as ifd _JDN_delta = (2415080 - 61, 2416482 - 1) assert _JDN_delta[1] - _JDN_delta[0] == 1462 @@ -113,8 +113,9 @@ # @throws XLDateBadTuple (year, month, day) is too early/late or has invalid component(s) # @throws XLDateError Covers the specific errors -def xldate_from_date_tuple((year, month, day), datemode): +def xldate_from_date_tuple(xxx_todo_changeme, datemode): + (year, month, day) = xxx_todo_changeme if datemode not in (0, 1): raise XLDateBadDatemode(datemode) @@ -152,7 +153,8 @@ # @param second 0 <= second < 60 # @throws XLDateBadTuple Out-of-range hour, minute, or second -def xldate_from_time_tuple((hour, minute, second)): +def xldate_from_time_tuple(xxx_todo_changeme1): + (hour, minute, second) = xxx_todo_changeme1 if 0 <= hour < 24 and 0 <= minute < 60 and 0 <= second < 60: return ((second / 60.0 + minute) / 60.0 + hour) / 24.0 raise XLDateBadTuple("Invalid (hour, minute, second): %r" % ((hour, minute, second),)) --- ./tablib/packages/xlrd/__init__.py (original) +++ ./tablib/packages/xlrd/__init__.py (refactored) @@ -6,7 +6,7 @@ #

This module is part of the xlrd package, which is released under a # BSD-style licence.

-import licences +from . import licences ## --- ./tablib/packages/xlrd/compdoc.py (original) +++ ./tablib/packages/xlrd/compdoc.py (refactored) @@ -18,7 +18,7 @@ import sys from struct import unpack -from timemachine import * +from .timemachine import * ## # Magic cookie that should appear in the first 8 bytes of the file. @@ -48,9 +48,9 @@ (self.first_SID, self.tot_size) = \ unpack('> logfile, "\nCompDoc format: version=0x%04x revision=0x%04x" % (version, revision) + print("\nCompDoc format: version=0x%04x revision=0x%04x" % (version, revision), file=logfile) self.mem = mem ssz, sssz = unpack(' 20: # allows for 2**20 bytes i.e. 1MB - print >> logfile, \ - "WARNING: sector size (2**%d) is preposterous; assuming 512 and continuing ..." \ - % ssz + print("WARNING: sector size (2**%d) is preposterous; assuming 512 and continuing ..." \ + % ssz, file=logfile) ssz = 9 if sssz > ssz: - print >> logfile, \ - "WARNING: short stream sector size (2**%d) is preposterous; assuming 64 and continuing ..." \ - % sssz + print("WARNING: short stream sector size (2**%d) is preposterous; assuming 64 and continuing ..." \ + % sssz, file=logfile) sssz = 6 self.sec_size = sec_size = 1 << ssz self.short_sec_size = 1 << sssz @@ -114,16 +112,15 @@ mem_data_secs, left_over = divmod(mem_data_len, sec_size) if left_over: #### raise CompDocError("Not a whole number of sectors") - print >> logfile, \ - "WARNING *** file size (%d) not 512 + multiple of sector size (%d)" \ - % (len(mem), sec_size) - if DEBUG: - print >> logfile, 'sec sizes', ssz, sssz, sec_size, self.short_sec_size - print >> logfile, "mem data: %d bytes == %d sectors" % (mem_data_len, mem_data_secs) - print >> logfile, "SAT_tot_secs=%d, dir_first_sec_sid=%d, min_size_std_stream=%d" \ - % (SAT_tot_secs, self.dir_first_sec_sid, self.min_size_std_stream,) - print >> logfile, "SSAT_first_sec_sid=%d, SSAT_tot_secs=%d" % (SSAT_first_sec_sid, SSAT_tot_secs,) - print >> logfile, "MSAT_first_sec_sid=%d, MSAT_tot_secs=%d" % (MSAT_first_sec_sid, MSAT_tot_secs,) + print("WARNING *** file size (%d) not 512 + multiple of sector size (%d)" \ + % (len(mem), sec_size), file=logfile) + if DEBUG: + print('sec sizes', ssz, sssz, sec_size, self.short_sec_size, file=logfile) + print("mem data: %d bytes == %d sectors" % (mem_data_len, mem_data_secs), file=logfile) + print("SAT_tot_secs=%d, dir_first_sec_sid=%d, min_size_std_stream=%d" \ + % (SAT_tot_secs, self.dir_first_sec_sid, self.min_size_std_stream,), file=logfile) + print("SSAT_first_sec_sid=%d, SSAT_tot_secs=%d" % (SSAT_first_sec_sid, SSAT_tot_secs,), file=logfile) + print("MSAT_first_sec_sid=%d, MSAT_tot_secs=%d" % (MSAT_first_sec_sid, MSAT_tot_secs,), file=logfile) nent = int_floor_div(sec_size, 4) # number of SID entries in a sector fmt = "<%di" % nent trunc_warned = 0 @@ -142,8 +139,8 @@ sid = news.pop() MSAT.extend(news) if DEBUG: - print >> logfile, "MSAT: len =", len(MSAT) - print >> logfile, MSAT + print("MSAT: len =", len(MSAT), file=logfile) + print(MSAT, file=logfile) # # === build the SAT === # @@ -152,23 +149,22 @@ if msid == FREESID: continue if msid >= mem_data_secs: if not trunc_warned: - print >> logfile, "WARNING *** File is truncated, or OLE2 MSAT is corrupt!!" - print >> logfile, \ - "INFO: Trying to access secRefactoringTool: Refactored ./tablib/packages/xlrd/biffh.py tor %d but only %d available" \ - % (msid, mem_data_secs) + print("WARNING *** File is truncated, or OLE2 MSAT is corrupt!!", file=logfile) + print("INFO: Trying to access sector %d but only %d available" \ + % (msid, mem_data_secs), file=logfile) trunc_warned = 1 continue offset = 512 + sec_size * msid news = list(unpack(fmt, mem[offset:offset+sec_size])) self.SAT.extend(news) if DEBUG: - print >> logfile, "SAT: len =", len(self.SAT) - print >> logfile, self.SAT + print("SAT: len =", len(self.SAT), file=logfile) + print(self.SAT, file=logfile) # print >> logfile, "SAT ", # for i, s in enumerate(self.SAT): # print >> logfile, "entry: %4d offset: %6d, next entry: %4d" % (i, 512 + sec_size * i, s) # print >> logfile, "%d:%d " % (i, s), - print + print() # === build the directory === # @@ -177,7 +173,7 @@ name="directory") dirlist = [] did = -1 - for pos in xrange(0, len(dbytes), 128): + for pos in range(0, len(dbytes), 128): did += 1 dirlist.append(DirNode(did, dbytes[pos:pos+128], 0)) self.dirlist = dirlist @@ -208,8 +204,7 @@ # self.SSAT = [] if SSAT_tot_secs > 0 and sscs_dir.tot_size == 0: - print >> logfile, \ - "WARNING *** OLE2 inconsistency: SSCS size is 0 but SSAT size is non-zero" + print("WARNING *** OLE2 inconsistency: SSCS size is 0 but SSAT size is non-zero", file=logfile) if sscs_dir.tot_size > 0: sid = SSAT_first_sec_sid nsecs = SSAT_tot_secs @@ -220,9 +215,9 @@ self.SSAT.extend(news) sid = self.SAT[sid] # assert SSAT_tot_secs == 0 or sid == EOCSID - if DEBUG: print >> logfile, "SSAT last sid %d; remaining sectors %d" % (sid, nsecs) + if DEBUG: print("SSAT last sid %d; remaining sectors %d" % (sid, nsecs), file=logfile) assert nsecs == 0 and sid == EOCSID - if DEBUG: print >> logfile, "SSAT", self.SSAT + if DEBUG: print("SSAT", self.SSAT, file=logfile) def _get_stream(self, mem, base, sat, sec_size, start_sid, size=None, name=''): # print >> self.logfile, "_get_stream", base, sec_size, start_sid, size @@ -259,9 +254,8 @@ ) assert s == EOCSID if todo != 0: - print >> self.logfile, \ - "WARNING *** OLE2 stream %r: expected size %d, actual size %d" \ - % (name, size, size - todo) + print("WARNING *** OLE2 stream %r: expected size %d, actual size %d" \ + % (name, size, size - todo), file=self.logfile) return ''.join(sectors) def _dir_search(self, path, storage_DID=0): --- ./tablib/packages/xlrd/biffh.py (original) +++ ./tablib/packages/xlrd/biffh.py (refactored) @@ -18,7 +18,7 @@ from struct import unpack import sys -from timemachine import * +from .timemachine import * class XLRDError(Exception): pass @@ -40,10 +40,10 @@ def dump(self, f=None, header=None, footer=None, indent=0): if f is None: f = sys.stderr - alist = self.__dict__.items() + alist = list(self.__dict__.items()) alist.sort() pad = " " * indent - if header is not None: print >> f, header + if header is not None: print(header, file=f) list_type = type([]) dict_type = type({}) for attr, value in alist: @@ -54,12 +54,12 @@ elif attr not in self._repr_these and ( isinstance(value, list_type) or isinstance(value, dict_type) ): - print >> f, "%s%s: %s, len = %d" % (pad, attr, type(value), len(value)) + print("%s%s: %s, len = %d" % (pad, attr, type(value), len(value)), file=f) else: - print >> f, "%s%s: %r" % (pad, attr, value) - if footer is not None: print >> f, footer - -FUN, FDT, FNU, FGE, FTX = range(5) # unknown, date, number, general, text + print("%s%s: %r" % (pad, attr, value), file=f) + if footer is not None: print(footer, file=f) + +FUN, FDT, FNU, FGE, FTX = list(range(5)) # unknown, date, number, general, text DATEFORMAT = FDT NUMBERFORMAT = FNU @@ -71,7 +71,7 @@ XL_CELL_BOOLEAN, XL_CELL_ERROR, XL_CELL_BLANK, # for use in debugging, gathering stats, etc -) = range(7) +) = list(range(7)) biff_text_from_num = { 0: "(not BIFF)", @@ -228,9 +228,9 @@ def fprintf(f, fmt, *vargs): if fmt.endswith('\n'): - print >> f, fmt[:-1] % vargs + print(fmt[:-1] % vargs, file=f) else: - print >> f, fmt % vargs, + print(fmt % vargs, end=' ', file=f) def upkbits(tgt_obj, src, manifest, local_setattr=setattr): for n, mask, attr in manifest: @@ -243,7 +243,7 @@ def unpack_string(data, pos, encoding, lenlen=1): nchars = unpack('<' + 'BH'[lenlen-1], data[pos:pos+lenlen])[0] pos += lenlen - return unicode(data[pos:pos+nchars], encoding) + return str(data[pos:pos+nchars], encoding) def unpack_string_update_pos(data, pos, encoding, lenlen=1, known_len=None): if known_len is not None: @@ -253,7 +253,7 @@ nchars = unpack('<' + 'BH'[lenlen-1], data[pos:pos+lenlen])[0] pos += lenlen newpos = pos + nchars - return (unicode(data[pos:newpos], encoding), newpos) + return (str(data[pos:newpos], encoding), newpos) def unpack_unicode(data, pos, lenlen=2): "Return unicode_strg" @@ -261,7 +261,7 @@ if not nchars: # Ambiguous whether 0-length string should have an "options" byte. # Avoid crash if missing. - return u"" + return "" pos += lenlen options = ord(data[pos]) pos += 1 @@ -277,7 +277,7 @@ # Uncompressed UTF-16-LE rawstrg = data[pos:pos+2*nchars] # if DEBUG: print "nchars=%d pos=%d rawstrg=%r" % (nchars, pos, rawstrg) - strg = unicode(rawstrg, 'utf_16_le') + strg = str(rawstrg, 'utf_16_le') # pos += 2*nchars else: # Note: this is COMPRESSED (not ASCII!) encoding!!! @@ -285,7 +285,7 @@ # if the local codepage was cp1252 -- however this would rapidly go pear-shaped # for other codepages so we grit our Anglocentric teeth and return Unicode :-) - strg = unicode(data[pos:pos+nchars], "latin_1") + strg = str(data[pos:pos+nchars], "latin_1") # pos += nchars # if richtext: # pos += 4 * rt @@ -304,7 +304,7 @@ pos += lenlen if not nchars and not data[pos:]: # Zero-length string with no options byte - return (u"", pos) + return ("", pos) options = ord(data[pos]) pos += 1 phonetic = options & 0x04 @@ -317,11 +317,11 @@ pos += 4 if options & 0x01: # Uncompressed UTF-16-LE - strg = unicode(data[pos:pos+2*nchars], 'utf_16_le') + strg = str(data[pos:pos+2*nchars], 'utf_16_le') pos += 2*nchars else: # Note: this is COMPRESSED (not ASCII!) encoding!!! - strg = unicode(data[pos:pos+nchars], "latin_1") + strg = str(data[pos:pos+nchars], "latin_1") pos += nchars if richtext: pos += 4 * rt @@ -343,7 +343,7 @@ fmt = "> fout, "%8d %s" % (count, recname) + print("%8d %s" % (count, recname), file=fout) encoding_from_codepage = { 1200 : 'utf_16_le', --- ./tablib/packages/xlrd/formula.py (original) +++ ./tablib/packages/xlrd/formula.py (refactored) @@ -12,8 +12,8 @@ import copy from struct import unpack -from timemachine import * -from biffh import unpack_unicode_update_pos, unpack_string_update_pos, \ +from .timemachine import * +from .biffh import unpack_unicode_update_pos, unpack_string_update_pos, \ XLRDError, hex_char_dump, error_text_from_code, BaseObject __all__ = [ @@ -407,32 +407,32 @@ try: info = bk._externsheet_info[refx] except IndexError: - print "!!! get_externsheet_local_range: refx=%d, not in range(%d)" \ - % (refx, len(bk._externsheet_info)) + print("!!! get_externsheet_local_range: refx=%d, not in range(%d)" \ + % (refx, len(bk._externsheet_info))) return (-101, -101) ref_recordx, ref_first_sheetx, ref_last_sheetx = info if ref_recordx == bk._supbook_addins_inx: if blah: - print "/// get_externsheet_local_range(refx=%d) -> addins %r" % (refx, info) + print("/// get_externsheet_local_range(refx=%d) -> addins %r" % (refx, info)) assert ref_first_sheetx == 0xFFFE == ref_last_sheetx return (-5, -5) if ref_recordx != bk._supbook_locals_inx: if blah: - print "/// get_externsheet_local_range(refx=%d) -> external %r" % (refx, info) + print("/// get_externsheet_local_range(refx=%d) -> external %r" % (refx, info)) return (-4, -4) # external reference if ref_first_sheetx == 0xFFFE == ref_last_sheetx: if blah: - print "/// get_externsheet_local_range(refx=%d) -> unspecified sheet %r" % (refx, info) + print("/// get_externsheet_local_range(refx=%d) -> unspecified sheet %r" % (refx, info)) return (-1, -1) # internal reference, any sheet if ref_first_sheetx == 0xFFFF == ref_last_sheetx: if blah: - print "/// get_externsheet_local_range(refx=%d) -> deleted sheet(s)" % (refx, ) + print("/// get_externsheet_local_range(refx=%d) -> deleted sheet(s)" % (refx, )) return (-2, -2) # internal reference, deleted sheet(s) nsheets = len(bk._all_sheets_map) if not(0 <= ref_first_sheetx <= ref_last_sheetx < nsheets): if blah: - print "/// get_externsheet_local_range(refx=%d) -> %r" % (refx, info) - print "--- first/last sheet not in range(%d)" % nsheets + print("/// get_externsheet_local_range(refx=%d) -> %r" % (refx, info)) + print("--- first/last sheet not in range(%d)" % nsheets) return (-102, -102) # stuffed up somewhere :-( xlrd_sheetx1 = bk._all_sheets_map[ref_first_sheetx] xlrd_sheetx2 = bk._all_sheets_map[ref_last_sheetx] @@ -444,16 +444,16 @@ bk, raw_extshtx, ref_first_sheetx, ref_last_sheetx, blah=0): if raw_extshtx > 0: if blah: - print "/// get_externsheet_local_range_b57(raw_extshtx=%d) -> external" % raw_extshtx + print("/// get_externsheet_local_range_b57(raw_extshtx=%d) -> external" % raw_extshtx) return (-4, -4) # external reference if ref_first_sheetx == -1 and ref_last_sheetx == -1: return (-2, -2) # internal reference, deleted sheet(s) nsheets = len(bk._all_sheets_map) if not(0 <= ref_first_sheetx <= ref_last_sheetx < nsheets): if blah: - print "/// get_externsheet_local_range_b57(%d, %d, %d) -> ???" \ - % (raw_extshtx, ref_first_sheetx, ref_last_sheetx) - print "--- first/last sheet not in range(%d)" % nsheets + print("/// get_externsheet_local_range_b57(%d, %d, %d) -> ???" \ + % (raw_extshtx, ref_first_sheetx, ref_last_sheetx)) + print("--- first/last sheet not in range(%d)" % nsheets) return (-103, -103) # stuffed up somewhere :-( xlrd_sheetx1 = bk._all_sheets_map[ref_first_sheetx] xlrd_sheetx2 = bk._all_sheets_map[ref_last_sheetx] @@ -639,7 +639,7 @@ tDiv = 0x06 tPower = 0x07 tConcat = 0x08 -tLT, tLE, tEQ, tGE, tGT, tNE = range(0x09, 0x0F) +tLT, tLE, tEQ, tGE, tGT, tNE = list(range(0x09, 0x0F)) import operator as opr @@ -703,8 +703,8 @@ bv = bk.biff_version reldelta = 1 # All defined name formulas use "Method B" [OOo docs] if blah: - print "::: evaluate_name_formula %r %r %d %d %r level=%d" \ - % (namex, nobj.name, fmlalen, bv, data, level) + print("::: evaluate_name_formula %r %r %d %d %r level=%d" \ + % (namex, nobj.name, fmlalen, bv, data, level)) hex_char_dump(data, 0, fmlalen) if level > STACK_PANIC_LEVEL: raise XLRDError("Excessive indirect references in NAME formula") @@ -786,9 +786,9 @@ oname = onames[opx] # + [" RVA"][optype] sz = sztab[opx] if blah: - print "Pos:%d Op:0x%02x Name:t%s Sz:%d opcode:%02xh optype:%02xh" \ - % (pos, op, oname, sz, opcode, optype) - print "Stack =", stack + print("Pos:%d Op:0x%02x Name:t%s Sz:%d opcode:%02xh optype:%02xh" \ + % (pos, op, oname, sz, opcode, optype)) + print("Stack =", stack) if sz == -2: msg = 'ERROR *** Unexpected token 0x%02x ("%s"); biff_version=%d' \ % (op, oname, bv) @@ -802,7 +802,7 @@ # tLT, ..., tNE do_binop(opcode, stack) elif opcode == 0x0F: # tIsect - if blah: print >> bk.logfile, "tIsect pre", stack + if blah: print("tIsect pre", stack, file=bk.logfile) assert len(stack) >= 2 bop = stack.pop() aop = stack.pop() @@ -850,9 +850,9 @@ else: pass spush(res) - if blah: print >> bk.logfile, "tIsect post", stack + if blah: print("tIsect post", stack, file=bk.logfile) elif opcode == 0x10: # tList - if blah: print >> bk.logfile, "tList pre", stack + if blah: print("tList pre", stack, file=bk.logfile) assert len(stack) >= 2 bop = stack.pop() aop = stack.pop() @@ -881,9 +881,9 @@ else: pass spush(res) - if blah: print >> bk.logfile, "tList post", stack + if blah: print("tList post", stack, file=bk.logfile) elif opcode == 0x11: # tRange - if blah: print >> bk.logfile, "tRange pre", stack + if blah: print("tRange pre", stack, file=bk.logfile) assert len(stack) >= 2 bop = stack.pop() aop = stack.pop() @@ -922,7 +922,7 @@ else: pass spush(res) - if blah: print >> bk.logfile, "tRange post", stack + if blah: print("tRange post", stack, file=bk.logfile) elif 0x12 <= opcode <= 0x14: # tUplus, tUminus, tPercent do_unaryop(opcode, (oUNK, oNUM,), oNUM, stack) elif opcode == 0x15: # tParen @@ -938,7 +938,7 @@ strg, newpos = unpack_unicode_update_pos( data, pos+1, lenlen=1) sz = newpos - pos - if blah: print >> bk.logfile, " sz=%d strg=%r" % (sz, strg) + if blah: print(" sz=%d strg=%r" % (sz, strg), file=bk.logfile) text = '"' + strg.replace('"', '""') + '"' spush(Operand(oSTRG, strg, LEAF_RANK, text)) elif opcode == 0x18: # tExtended @@ -953,7 +953,7 @@ sz = nc * 2 + 6 elif subop == 0x10: # Sum (single arg) sz = 4 - if blah: print >> bk.logfile, "tAttrSum", stack + if blah: print("tAttrSum", stack, file=bk.logfile) assert len(stack) >= 1 aop = stack[-1] otext = 'SUM(%s)' % aop.text @@ -961,8 +961,8 @@ else: sz = 4 if blah: - print " subop=%02xh subname=t%s sz=%d nc=%02xh" \ - % (subop, subname, sz, nc) + print(" subop=%02xh subname=t%s sz=%d nc=%02xh" \ + % (subop, subname, sz, nc)) elif 0x1A <= opcode <= 0x1B: # tSheet, tEndSheet assert bv < 50 raise FormulaError("tSheet & tEndsheet tokens not implemented") @@ -994,14 +994,14 @@ funcx = unpack("<" + " BH"[nb], data[pos+1:pos+1+nb])[0] func_attrs = func_defs.get(funcx, None) if not func_attrs: - print >> bk.logfile, "*** formula/tFunc unknown FuncID:%d" \ - % funcx + print("*** formula/tFunc unknown FuncID:%d" \ + % funcx, file=bk.logfile) spush(unk_opnd) else: func_name, nargs = func_attrs[:2] if blah: - print " FuncID=%d name=%s nargs=%d" \ - % (funcx, func_name, nargs) + print(" FuncID=%d name=%s nargs=%d" \ + % (funcx, func_name, nargs)) assert len(stack) >= nargs argtext = listsep.join([arg.text for arg in stack[-nargs:]]) otext = "%s(%s)" % (func_name, argtext) @@ -1014,18 +1014,18 @@ prompt, nargs = divmod(nargs, 128) macro, funcx = divmod(funcx, 32768) if blah: - print " FuncID=%d nargs=%d macro=%d prompt=%d" \ - % (funcx, nargs, macro, prompt) + print(" FuncID=%d nargs=%d macro=%d prompt=%d" \ + % (funcx, nargs, macro, prompt)) func_attrs = func_defs.get(funcx, None) if not func_attrs: - print >> bk.logfile, "*** formula/tFuncVar unknown FuncID:%d" \ - % funcx + print("*** formula/tFuncVar unknown FuncID:%d" \ + % funcx, file=bk.logfile) spush(unk_opnd) else: func_name, minargs, maxargs = func_attrs[:3] if blah: - print " name: %r, min~max args: %d~%d" \ - % (func_name, minargs, maxargs) + print(" name: %r, min~max args: %d~%d" \ + % (func_name, minargs, maxargs)) assert minargs <= nargs <= maxargs assert len(stack) >= nargs assert len(stack) >= nargs @@ -1036,10 +1036,10 @@ testarg = stack[-nargs] if testarg.kind not in (oNUM, oBOOL): if blah and testarg.kind != oUNK: - print "IF testarg kind?" + print("IF testarg kind?") elif testarg.value not in (0, 1): if blah and testarg.value is not None: - print "IF testarg value?" + print("IF testarg value?") else: if nargs == 2 and not testarg.value: # IF(FALSE, tv) => FALSE @@ -1052,7 +1052,7 @@ else: res.kind, res.value = chosen.kind, chosen.value if blah: - print "$$$$$$ IF => constant" + print("$$$$$$ IF => constant") elif funcx == 100: # CHOOSE testarg = stack[-nargs] if testarg.kind == oNUM: @@ -1067,7 +1067,7 @@ elif opcode == 0x03: #tName tgtnamex = unpack("> bk.logfile, " tgtnamex=%d" % tgtnamex + if blah: print(" tgtnamex=%d" % tgtnamex, file=bk.logfile) tgtobj = bk.name_obj_list[tgtnamex] if not tgtobj.evaluated: ### recursive ### @@ -1093,17 +1093,17 @@ res.text = "%s!%s" \ % (bk._sheet_names[tgtobj.scope], tgtobj.name) if blah: - print >> bk.logfile, " tName: setting text to", repr(res.text) + print(" tName: setting text to", repr(res.text), file=bk.logfile) spush(res) elif opcode == 0x04: # tRef # not_in_name_formula(op, oname) res = get_cell_addr(data, pos+1, bv, reldelta) - if blah: print >> bk.logfile, " ", res + if blah: print(" ", res, file=bk.logfile) rowx, colx, row_rel, col_rel = res shx1 = shx2 = 0 ####### N.B. relative to the CURRENT SHEET any_rel = 1 coords = (shx1, shx2+1, rowx, rowx+1, colx, colx+1) - if blah: print >> bk.logfile, " ", coords + if blah: print(" ", coords, file=bk.logfile) res = Operand(oUNK, None) if optype == 1: relflags = (1, 1, row_rel, row_rel, col_rel, col_rel) @@ -1112,13 +1112,13 @@ elif opcode == 0x05: # tArea # not_in_name_formula(op, oname) res1, res2 = get_cell_range_addr(data, pos+1, bv, reldelta) - if blah: print >> bk.logfile, " ", res1, res2 + if blah: print(" ", res1, res2, file=bk.logfile) rowx1, colx1, row_rel1, col_rel1 = res1 rowx2, colx2, row_rel2, col_rel2 = res2 shx1 = shx2 = 0 ####### N.B. relative to the CURRENT SHEET any_rel = 1 coords = (shx1, shx2+1, rowx1, rowx2+1, colx1, colx2+1) - if blah: print >> bk.logfile, " ", coords + if blah: print(" ", coords, file=bk.logfile) res = Operand(oUNK, None) if optype == 1: relflags = (1, 1, row_rel1, row_rel2, col_rel1, col_rel2) @@ -1128,7 +1128,7 @@ not_in_name_formula(op, oname) elif opcode == 0x09: # tMemFunc nb = unpack("> bk.logfile, " %d bytes of cell ref formula" % nb + if blah: print(" %d bytes of cell ref formula" % nb, file=bk.logfile) # no effect on stack elif opcode == 0x0C: #tRefN not_in_name_formula(op, oname) @@ -1153,7 +1153,7 @@ raw_extshtx, raw_shx1, raw_shx2 = \ unpack("> bk.logfile, "tRef3d", raw_extshtx, raw_shx1, raw_shx2 + print("tRef3d", raw_extshtx, raw_shx1, raw_shx2, file=bk.logfile) shx1, shx2 = get_externsheet_local_range_b57( bk, raw_extshtx, raw_shx1, raw_shx2, blah) rowx, colx, row_rel, col_rel = res @@ -1161,7 +1161,7 @@ any_rel = any_rel or is_rel coords = (shx1, shx2+1, rowx, rowx+1, colx, colx+1) any_err |= shx1 < -1 - if blah: print >> bk.logfile, " ", coords + if blah: print(" ", coords, file=bk.logfile) res = Operand(oUNK, None) if is_rel: relflags = (0, 0, row_rel, row_rel, col_rel, col_rel) @@ -1186,7 +1186,7 @@ raw_extshtx, raw_shx1, raw_shx2 = \ unpack("> bk.logfile, "tArea3d", raw_extshtx, raw_shx1, raw_shx2 + print("tArea3d", raw_extshtx, raw_shx1, raw_shx2, file=bk.logfile) shx1, shx2 = get_externsheet_local_range_b57( bk, raw_extshtx, raw_shx1, raw_shx2, blah) any_err |= shx1 < -1 @@ -1195,7 +1195,7 @@ is_rel = row_rel1 or col_rel1 or row_rel2 or col_rel2 any_rel = any_rel or is_rel coords = (shx1, shx2+1, rowx1, rowx2+1, colx1, colx2+1) - if blah: print >> bk.logfile, " ", coords + if blah: print(" ", coords, file=bk.logfile) res = Operand(oUNK, None) if is_rel: relflags = (0, 0, row_rel1, row_rel2, col_rel1, col_rel2) @@ -1229,11 +1229,10 @@ else: dodgy = 1 if blah: - print >> bk.logfile, \ - " origrefx=%d refx=%d tgtnamex=%d dodgy=%d" \ - % (origrefx, refx, tgtnamex, dodgy) + print(" origrefx=%d refx=%d tgtnamex=%d dodgy=%d" \ + % (origrefx, refx, tgtnamex, dodgy), file=bk.logfile) if tgtnamex == namex: - if blah: print >> bk.logfile, "!!!! Self-referential !!!!" + if blah: print("!!!! Self-referential !!!!", file=bk.logfile) dodgy = any_err = 1 if not dodgy: if bv >= 80: @@ -1276,25 +1275,25 @@ res.text = "%s!%s" \ % (bk._sheet_names[tgtobj.scope], tgtobj.name) if blah: - print >> bk.logfile, " tNameX: setting text to", repr(res.text) + print(" tNameX: setting text to", repr(res.text), file=bk.logfile) spush(res) elif is_error_opcode(opcode): any_err = 1 spush(error_opnd) else: if blah: - print >> bk.logfile, "FORMULA: /// Not handled yet: t" + oname + print("FORMULA: /// Not handled yet: t" + oname, file=bk.logfile) any_err = 1 if sz <= 0: raise FormulaError("Fatal: token size is not positive") pos += sz any_rel = not not any_rel if blah: - print "End of formula. level=%d any_rel=%d any_err=%d stack=%r" % \ - (level, not not any_rel, any_err, stack) + print("End of formula. level=%d any_rel=%d any_err=%d stack=%r" % \ + (level, not not any_rel, any_err, stack)) if len(stack) >= 2: - print "*** Stack has unprocessed args" - print + print("*** Stack has unprocessed args") + print() nobj.stack = stack if len(stack) != 1: nobj.result = None @@ -1315,8 +1314,8 @@ data = fmla bv = bk.biff_version if blah: - print "::: decompile_formula len=%d reldelta=%d %r level=%d" \ - % (fmlalen, reldelta, data, level) + print("::: decompile_formula len=%d reldelta=%d %r level=%d" \ + % (fmlalen, reldelta, data, level)) hex_char_dump(data, 0, fmlalen) if level > STACK_PANIC_LEVEL: raise XLRDError("Excessive indirect references in formula") @@ -1381,9 +1380,9 @@ oname = onames[opx] # + [" RVA"][optype] sz = sztab[opx] if blah: - print "Pos:%d Op:0x%02x opname:t%s Sz:%d opcode:%02xh optype:%02xh" \ - % (pos, op, oname, sz, opcode, optype) - print "Stack =", stack + print("Pos:%d Op:0x%02x opname:t%s Sz:%d opcode:%02xh optype:%02xh" \ + % (pos, op, oname, sz, opcode, optype)) + print("Stack =", stack) if sz == -2: msg = 'ERROR *** Unexpected token 0x%02x ("%s"); biff_version=%d' \ % (op, oname, bv) @@ -1397,7 +1396,7 @@ # tLT, ..., tNE do_binop(opcode, stack) elif opcode == 0x0F: # tIsect - if blah: print >> bk.logfile, "tIsect pre", stack + if blah: print("tIsect pre", stack, file=bk.logfile) assert len(stack) >= 2 bop = stack.pop() aop = stack.pop() @@ -1431,9 +1430,9 @@ else: pass spush(res) - if blah: print >> bk.logfile, "tIsect post", stack + if blah: print("tIsect post", stack, file=bk.logfile) elif opcode == 0x10: # tList - if blah: print >> bk.logfile, "tList pre", stack + if blah: print("tList pre", stack, file=bk.logfile) assert len(stack) >= 2 bop = stack.pop() aop = stack.pop() @@ -1458,9 +1457,9 @@ else: pass spush(res) - if blah: print >> bk.logfile, "tList post", stack + if blah: print("tList post", stack, file=bk.logfile) elif opcode == 0x11: # tRange - if blah: print >> bk.logfile, "tRange pre", stack + if blah: print("tRange pre", stack, file=bk.logfile) assert len(stack) >= 2 bop = stack.pop() aop = stack.pop() @@ -1483,7 +1482,7 @@ else: pass spush(res) - if blah: print >> bk.logfile, "tRange post", stack + if blah: print("tRange post", stack, file=bk.logfile) elif 0x12 <= opcode <= 0x14: # tUplus, tUminus, tPercent do_unaryop(opcode, (oUNK, oNUM,), oNUM, stack) elif opcode == 0x15: # tParen @@ -1499,7 +1498,7 @@ strg, newpos = unpack_unicode_update_pos( data, pos+1, lenlen=1) sz = newpos - pos - if blah: print >> bk.logfile, " sz=%d strg=%r" % (sz, strg) + if blah: print(" sz=%d strg=%r" % (sz, strg), file=bk.logfile) text = '"' + strg.replace('"', '""') + '"' spush(Operand(oSTRG, None, LEAF_RANK, text)) elif opcode == 0x18: # tExtended @@ -1514,7 +1513,7 @@ sz = nc * 2 + 6 elif subop == 0x10: # Sum (single arg) sz = 4 - if blah: print >> bk.logfile, "tAttrSum", stack + if blah: print("tAttrSum", stack, file=bk.logfile) assert len(stack) >= 1 aop = stack[-1] otext = 'SUM(%s)' % aop.text @@ -1522,8 +1521,8 @@ else: sz = 4 if blah: - print " subop=%02xh subname=t%s sz=%d nc=%02xh" \ - % (subop, subname, sz, nc) + print(" subop=%02xh subname=t%s sz=%d nc=%02xh" \ + % (subop, subname, sz, nc)) elif 0x1A <= opcode <= 0x1B: # tSheet, tEndSheet assert bv < 50 raise FormulaError("tSheet & tEndsheet tokens not implemented") @@ -1555,13 +1554,13 @@ funcx = unpack("<" + " BH"[nb], data[pos+1:pos+1+nb])[0] func_attrs = func_defs.get(funcx, None) if not func_attrs: - print >> bk.logfile, "*** formula/tFunc unknown FuncID:%d" % funcx + print("*** formula/tFunc unknown FuncID:%d" % funcx, file=bk.logfile) spush(unk_opnd) else: func_name, nargs = func_attrs[:2] if blah: - print " FuncID=%d name=%s nargs=%d" \ - % (funcx, func_name, nargs) + print(" FuncID=%d name=%s nargs=%d" \ + % (funcx, func_name, nargs)) assert len(stack) >= nargs argtext = listsep.join([arg.text for arg in stack[-nargs:]]) otext = "%s(%s)" % (func_name, argtext) @@ -1574,22 +1573,22 @@ prompt, nargs = divmod(nargs, 128) macro, funcx = divmod(funcx, 32768) if blah: - print " FuncID=%d nargs=%d macro=%d prompt=%d" \ - % (funcx, nargs, macro, prompt) + print(" FuncID=%d nargs=%d macro=%d prompt=%d" \ + % (funcx, nargs, macro, prompt)) #### TODO #### if funcx == 255: # call add-in function if funcx == 255: func_attrs = ("CALL_ADDIN", 1, 30) else: func_attrs = func_defs.get(funcx, None) if not func_attrs: - print >> bk.logfile, "*** formula/tFuncVar unknown FuncID:%d" \ - % funcx + print("*** formula/tFuncVar unknown FuncID:%d" \ + % funcx, file=bk.logfile) spush(unk_opnd) else: func_name, minargs, maxargs = func_attrs[:3] if blah: - print " name: %r, min~max args: %d~%d" \ - % (func_name, minargs, maxargs) + print(" name: %r, min~max args: %d~%d" \ + % (func_name, minargs, maxargs)) assert minargs <= nargs <= maxargs assert len(stack) >= nargs assert len(stack) >= nargs @@ -1601,19 +1600,19 @@ elif opcode == 0x03: #tName tgtnamex = unpack("> bk.logfile, " tgtnamex=%d" % tgtnamex + if blah: print(" tgtnamex=%d" % tgtnamex, file=bk.logfile) tgtobj = bk.name_obj_list[tgtnamex] if tgtobj.scope == -1: otext = tgtobj.name else: otext = "%s!%s" % (bk._sheet_names[tgtobj.scope], tgtobj.name) if blah: - print >> bk.logfile, " tName: setting text to", repr(otext) + print(" tName: setting text to", repr(otext), file=bk.logfile) res = Operand(oUNK, None, LEAF_RANK, otext) spush(res) elif opcode == 0x04: # tRef res = get_cell_addr(data, pos+1, bv, reldelta, browx, bcolx) - if blah: print >> bk.logfile, " ", res + if blah: print(" ", res, file=bk.logfile) rowx, colx, row_rel, col_rel = res is_rel = row_rel or col_rel if is_rel: @@ -1626,7 +1625,7 @@ elif opcode == 0x05: # tArea res1, res2 = get_cell_range_addr( data, pos+1, bv, reldelta, browx, bcolx) - if blah: print >> bk.logfile, " ", res1, res2 + if blah: print(" ", res1, res2, file=bk.logfile) rowx1, colx1, row_rel1, col_rel1 = res1 rowx2, colx2, row_rel2, col_rel2 = res2 coords = (rowx1, rowx2+1, colx1, colx2+1) @@ -1636,7 +1635,7 @@ okind = oREL else: okind = oREF - if blah: print >> bk.logfile, " ", coords, relflags + if blah: print(" ", coords, relflags, file=bk.logfile) otext = rangename2drel(coords, relflags) res = Operand(okind, None, LEAF_RANK, otext) spush(res) @@ -1644,7 +1643,7 @@ not_in_name_formula(op, oname) elif opcode == 0x09: # tMemFunc nb = unpack("> bk.logfile, " %d bytes of cell ref formula" % nb + if blah: print(" %d bytes of cell ref formula" % nb, file=bk.logfile) # no effect on stack elif opcode == 0x0C: #tRefN not_in_name_formula(op, oname) @@ -1669,7 +1668,7 @@ raw_extshtx, raw_shx1, raw_shx2 = \ unpack("> bk.logfile, "tRef3d", raw_extshtx, raw_shx1, raw_shx2 + print("tRef3d", raw_extshtx, raw_shx1, raw_shx2, file=bk.logfile) shx1, shx2 = get_externsheet_local_range_b57( bk, raw_extshtx, raw_shx1, raw_shx2, blah) rowx, colx, row_rel, col_rel = res @@ -1677,7 +1676,7 @@ any_rel = any_rel or is_rel coords = (shx1, shx2+1, rowx, rowx+1, colx, colx+1) any_err |= shx1 < -1 - if blah: print >> bk.logfile, " ", coords + if blah: print(" ", coords, file=bk.logfile) res = Operand(oUNK, None) if is_rel: relflags = (0, 0, row_rel, row_rel, col_rel, col_rel) @@ -1701,7 +1700,7 @@ raw_extshtx, raw_shx1, raw_shx2 = \ unpack("> bk.logfile, "tArea3d", raw_extshtx, raw_shx1, raw_shx2 + print("tArea3d", raw_extshtx, raw_shx1, raw_shx2, file=bk.logfile) shx1, shx2 = get_externsheet_local_range_b57( bk, raw_extshtx, raw_shx1, raw_shx2, blah) any_err |= shx1 < -1 @@ -1710,7 +1709,7 @@ is_rel = row_rel1 or col_rel1 or row_rel2 or col_rel2 any_rel = any_rel or is_rel coords = (shx1, shx2+1, rowx1, rowx2+1, colx1, colx2+1) - if blah: print >> bk.logfile, " ", coords + if blah: print(" ", coords, file=bk.logfile) res = Operand(oUNK, None) if is_rel: relflags = (0, 0, row_rel1, row_rel2, col_rel1, col_rel2) @@ -1741,9 +1740,8 @@ else: dodgy = 1 if blah: - print >> bk.logfile, \ - " origrefx=%d refx=%d tgtnamex=%d dodgy=%d" \ - % (origrefx, refx, tgtnamex, dodgy) + print(" origrefx=%d refx=%d tgtnamex=%d dodgy=%d" \ + % (origrefx, refx, tgtnamex, dodgy), file=bk.logfile) # if tgtnamex == namex: # if blah: print >> bk.logfile, "!!!! Self-referential !!!!" # dodgy = any_err = 1 @@ -1775,7 +1773,7 @@ otext = "%s!%s" \ % (bk._sheet_names[tgtobj.scope], tgtobj.name) if blah: - print >> bk.logfile, " tNameX: setting text to", repr(res.text) + print(" tNameX: setting text to", repr(res.text), file=bk.logfile) res = Operand(okind, ovalue, LEAF_RANK, otext) spush(res) elif is_error_opcode(opcode): @@ -1783,18 +1781,18 @@ spush(error_opnd) else: if blah: - print >> bk.logfile, "FORMULA: /// Not handled yet: t" + oname + print("FORMULA: /// Not handled yet: t" + oname, file=bk.logfile) any_err = 1 if sz <= 0: raise FormulaError("Fatal: token size is not positive") pos += sz any_rel = not not any_rel if blah: - print "End of formula. level=%d any_rel=%d any_err=%d stack=%r" % \ - (level, not not any_rel, any_err, stack) + print("End of formula. level=%d any_rel=%d any_err=%d stack=%r" % \ + (level, not not any_rel, any_err, stack)) if len(stack) >= 2: - print "*** Stack has unprocessed args" - print + print("*** Stack has unprocessed args") + print() if len(stack) != 1: result = None @@ -1805,7 +1803,7 @@ #### under deconstruction ### def dump_formula(bk, data, fmlalen, bv, reldelta, blah=0, isname=0): if blah: - print "dump_formula", fmlalen, bv, len(data) + print("dump_formula", fmlalen, bv, len(data)) hex_char_dump(data, 0, fmlalen) assert bv >= 80 #### this function needs updating #### sztab = szdict[bv] @@ -1826,22 +1824,22 @@ sz = sztab[opx] if blah: - print "Pos:%d Op:0x%02x Name:t%s Sz:%d opcode:%02xh optype:%02xh" \ - % (pos, op, oname, sz, opcode, optype) + print("Pos:%d Op:0x%02x Name:t%s Sz:%d opcode:%02xh optype:%02xh" \ + % (pos, op, oname, sz, opcode, optype)) if not optype: if 0x01 <= opcode <= 0x02: # tExp, tTbl # reference to a shared formula or table record rowx, colx = unpack("> bk.logfile, " ", (rowx, colx) + if blah: print(" ", (rowx, colx), file=bk.logfile) elif opcode == 0x10: # tList - if blah: print >> bk.logfile, "tList pre", stack + if blah: print("tList pre", stack, file=bk.logfile) assert len(stack) >= 2 bop = stack.pop() aop = stack.pop() spush(aop + bop) - if blah: print >> bk.logfile, "tlist post", stack + if blah: print("tlist post", stack, file=bk.logfile) elif opcode == 0x11: # tRange - if blah: print >> bk.logfile, "tRange pre", stack + if blah: print("tRange pre", stack, file=bk.logfile) assert len(stack) >= 2 bop = stack.pop() aop = stack.pop() @@ -1849,9 +1847,9 @@ assert len(bop) == 1 result = do_box_funcs(tRangeFuncs, aop[0], bop[0]) spush(result) - if blah: print >> bk.logfile, "tRange post", stack + if blah: print("tRange post", stack, file=bk.logfile) elif opcode == 0x0F: # tIsect - if blah: print >> bk.logfile, "tIsect pre", stack + if blah: print("tIsect pre", stack, file=bk.logfile) assert len(stack) >= 2 bop = stack.pop() aop = stack.pop() @@ -1859,7 +1857,7 @@ assert len(bop) == 1 result = do_box_funcs(tIsectFuncs, aop[0], bop[0]) spush(result) - if blah: print >> bk.logfile, "tIsect post", stack + if blah: print("tIsect post", stack, file=bk.logfile) elif opcode == 0x19: # tAttr subop, nc = unpack("> bk.logfile, " subop=%02xh subname=t%s sz=%d nc=%02xh" % (subop, subname, sz, nc) + if blah: print(" subop=%02xh subname=t%s sz=%d nc=%02xh" % (subop, subname, sz, nc), file=bk.logfile) elif opcode == 0x17: # tStr if bv <= 70: nc = ord(data[pos+1]) @@ -1876,10 +1874,10 @@ else: strg, newpos = unpack_unicode_update_pos(data, pos+1, lenlen=1) sz = newpos - pos - if blah: print >> bk.logfile, " sz=%d strg=%r" % (sz, strg) + if blah: print(" sz=%d strg=%r" % (sz, strg), file=bk.logfile) else: if sz <= 0: - print "**** Dud size; exiting ****" + print("**** Dud size; exiting ****") return pos += sz continue @@ -1888,76 +1886,76 @@ elif opcode == 0x01: # tFunc nb = 1 + int(bv >= 40) funcx = unpack("<" + " BH"[nb], data[pos+1:pos+1+nb]) - if blah: print >> bk.logfile, " FuncID=%d" % funcx + if blah: print(" FuncID=%d" % funcx, file=bk.logfile) elif opcode == 0x02: #tFuncVar nb = 1 + int(bv >= 40) nargs, funcx = unpack("> bk.logfile, " FuncID=%d nargs=%d macro=%d prompt=%d" % (funcx, nargs, macro, prompt) + if blah: print(" FuncID=%d nargs=%d macro=%d prompt=%d" % (funcx, nargs, macro, prompt), file=bk.logfile) elif opcode == 0x03: #tName namex = unpack("> bk.logfile, " namex=%d" % namex + if blah: print(" namex=%d" % namex, file=bk.logfile) elif opcode == 0x04: # tRef res = get_cell_addr(data, pos+1, bv, reldelta) - if blah: print >> bk.logfile, " ", res + if blah: print(" ", res, file=bk.logfile) elif opcode == 0x05: # tArea res = get_cell_range_addr(data, pos+1, bv, reldelta) - if blah: print >> bk.logfile, " ", res + if blah: print(" ", res, file=bk.logfile) elif opcode == 0x09: # tMemFunc nb = unpack("> bk.logfile, " %d bytes of cell ref formula" % nb + if blah: print(" %d bytes of cell ref formula" % nb, file=bk.logfile) elif opcode == 0x0C: #tRefN res = get_cell_addr(data, pos+1, bv, reldelta=1) # note *ALL* tRefN usage has signed offset for relative addresses any_rel = 1 - if blah: print >> bk.logfile, " ", res + if blah: print(" ", res, file=bk.logfile) elif opcode == 0x0D: #tAreaN res = get_cell_range_addr(data, pos+1, bv, reldelta=1) # note *ALL* tAreaN usage has signed offset for relative addresses any_rel = 1 - if blah: print >> bk.logfile, " ", res + if blah: print(" ", res, file=bk.logfile) elif opcode == 0x1A: # tRef3d refx = unpack("> bk.logfile, " ", refx, res + if blah: print(" ", refx, res, file=bk.logfile) rowx, colx, row_rel, col_rel = res any_rel = any_rel or row_rel or col_rel shx1, shx2 = get_externsheet_local_range(bk, refx, blah) any_err |= shx1 < -1 coords = (shx1, shx2+1, rowx, rowx+1, colx, colx+1) - if blah: print >> bk.logfile, " ", coords + if blah: print(" ", coords, file=bk.logfile) if optype == 1: spush([coords]) elif opcode == 0x1B: # tArea3d refx = unpack("> bk.logfile, " ", refx, res1, res2 + if blah: print(" ", refx, res1, res2, file=bk.logfile) rowx1, colx1, row_rel1, col_rel1 = res1 rowx2, colx2, row_rel2, col_rel2 = res2 any_rel = any_rel or row_rel1 or col_rel1 or row_rel2 or col_rel2 shx1, shx2 = get_externsheet_local_range(bk, refx, blah) any_err |= shx1 < -1 coords = (shx1, shx2+1, rowx1, rowx2+1, colx1, colx2+1) - if blah: print >> bk.logfile, " ", coords + if blah: print(" ", coords, file=bk.logfile) if optype == 1: spush([coords]) elif opcode == 0x19: # tNameX refx, namex = unpack("> bk.logfile, " refx=%d namex=%d" % (refx, namex) + if blah: print(" refx=%d namex=%d" % (refx, namex), file=bk.logfile) elif is_error_opcode(opcode): any_err = 1 else: - if blah: print >> bk.logfile, "FORMULA: /// Not handled yet: t" + oname + if blah: print("FORMULA: /// Not handled yet: t" + oname, file=bk.logfile) any_err = 1 if sz <= 0: - print "**** Dud size; exiting ****" + print("**** Dud size; exiting ****") return pos += sz if blah: - print >> bk.logfile, "End of formula. any_rel=%d any_err=%d stack=%r" % \ - (not not any_rel, any_err, stack) + print("End of formula. any_rel=%d any_err=%d stack=%r" % \ + (not not any_rel, any_err, stack), file=bk.logfile) if len(stack) >= 2: - print >> bk.logfile, "*** Stack has unprocessed args" + print("*** Stack has unprocessed args", file=bk.logfile) # === Some helper fuRefactoringTool: Refactored ./tablib/packages/xlrd/formatting.py nctions for displaying cell references === @@ -2029,7 +2027,9 @@ return cellnameabs(rlo, clo) return "%s:%s" % (cellnameabs(rlo, clo), cellnameabs(rhi-1, chi-1)) -def rangename2drel((rlo, rhi, clo, chi), (rlorel, rhirel, clorel, chirel)): +def rangename2drel(xxx_todo_changeme, xxx_todo_changeme1): + (rlo, rhi, clo, chi) = xxx_todo_changeme + (rlorel, rhirel, clorel, chirel) = xxx_todo_changeme1 return "%s:%s" % ( cellnamerel(rlo, clo, rlorel, clorel), cellnamerel(rhi-1, chi-1, rhirel, chirel) @@ -2083,7 +2083,9 @@ shdesc += ":" + quotedsheetname(shnames, shi-1) return shdesc -def sheetrangerel(book, (slo, shi), (slorel, shirel)): +def sheetrangerel(book, xxx_todo_changeme2, xxx_todo_changeme3): + (slo, shi) = xxx_todo_changeme2 + (slorel, shirel) = xxx_todo_changeme3 if not slorel and not shirel: return sheetrange(book, slo, shi) assert (slo == 0 == shi-1) and slorel and shirel --- ./tablib/packages/xlrd/formatting.py (original) +++ ./tablib/packages/xlrd/formatting.py (refactored) @@ -24,8 +24,8 @@ DEBUG = 0 import copy, re -from timemachine import * -from biffh import BaseObject, unpack_unicode, unpack_string, \ +from .timemachine import * +from .biffh import BaseObject, unpack_unicode, unpack_string, \ upkbits, upkbitsL, fprintf, \ FUN, FDT, FNU, FGE, FTX, XL_CELL_NUMBER, XL_CELL_DATE, \ XL_FORMAT, XL_FORMAT2, \ @@ -128,12 +128,12 @@ if not book.formatting_info: return # Add the 8 invariant colours - for i in xrange(8): + for i in range(8): book.colour_map[i] = excel_default_palette_b8[i] # Add the default palette depending on the version dpal = default_palette[book.biff_version] ndpal = len(dpal) - for i in xrange(ndpal): + for i in range(ndpal): book.colour_map[i+8] = dpal[i] # Add the specials -- None means the RGB value is not known # System window text colour for border lines @@ -153,7 +153,7 @@ # Doesn't have to be fancy. best_metric = 3 * 256 * 256 best_colourx = 0 - for colourx, cand_rgb in colour_map.items(): + for colourx, cand_rgb in list(colour_map.items()): if cand_rgb is None: continue metric = 0 @@ -165,8 +165,8 @@ if metric == 0: break if debug: - print "nearest_colour_index for %r is %r -> %r; best_metric is %d" \ - % (rgb, best_colourx, colour_map[best_colourx], best_metric) + print("nearest_colour_index for %r is %r -> %r; best_metric is %d" \ + % (rgb, best_colourx, colour_map[best_colourx], best_metric)) return best_colourx ## @@ -235,7 +235,7 @@ italic = 0 ## # The name of the font. Example: u"Arial" - name = u"" + name = "" ## # 1 = Characters are struck out. struck_out = 0 @@ -275,7 +275,7 @@ k = len(book.font_list) if k == 4: f = Font() - f.name = u'Dummy Font' + f.name = 'Dummy Font' f.font_index = k book.font_list.append(f) k += 1 @@ -357,7 +357,7 @@ type = FUN ## # The format string - format_str = u'' + format_str = '' def __init__(self, format_key, ty, format_str): self.format_key = format_key @@ -422,33 +422,33 @@ std_format_code_types = {} for lo, hi, ty in fmt_code_ranges: - for x in xrange(lo, hi+1): + for x in range(lo, hi+1): std_format_code_types[x] = ty del lo, hi, ty, x -date_chars = u'ymdhs' # year, month/minute, day, hour, second +date_chars = 'ymdhs' # year, month/minute, day, hour, second date_char_dict = {} for _c in date_chars + date_chars.upper(): date_char_dict[_c] = 5 del _c, date_chars skip_char_dict = {} -for _c in u'$-+/(): ': +for _c in '$-+/(): ': skip_char_dict[_c] = 1 num_char_dict = { - u'0': 5, - u'#': 5, - u'?': 5, + '0': 5, + '#': 5, + '?': 5, } non_date_formats = { - u'0.00E+00':1, - u'##0.0E+0':1, - u'General' :1, - u'GENERAL' :1, # OOo Calc 1.1.4 does this. - u'general' :1, # pyExcelerator 0.6.3 does this. - u'@' :1, + '0.00E+00':1, + '##0.0E+0':1, + 'General' :1, + 'GENERAL' :1, # OOo Calc 1.1.4 does this. + 'general' :1, # pyExcelerator 0.6.3 does this. + '@' :1, } fmt_bracketed_sub = re.compile(r'\[[^]]*\]').sub @@ -473,34 +473,34 @@ ignorable = skip_char_dict.has_key for c in fmt: if state == 0: - if c == u'"': + if c == '"': state = 1 - elif c in ur"\_*": + elif c in r"\_*": state = 2 elif ignorable(c): pass else: s += c elif state == 1: - if c == u'"': + if c == '"': state = 0 elif state == 2: # Ignore char after backslash, underscore or asterisk state = 0 assert 0 <= state <= 2 if book.verbosity >= 4: - print "is_date_format_string: reduced format is %r" % s + print("is_date_format_string: reduced format is %r" % s) s = fmt_bracketed_sub('', s) - if non_date_formats.has_key(s): + if s in non_date_formats: return False state = 0 separator = ";" got_sep = 0 date_count = num_count = 0 for c in s: - if date_char_dict.has_key(c): + if c in date_char_dict: date_count += date_char_dict[c] - elif num_char_dict.has_key(c): + elif c in num_char_dict: num_count += num_char_dict[c] elif c == separator: got_sep = 1 @@ -595,7 +595,7 @@ assert book.palette_record == [] # There should be only 1 PALETTE record # a colour will be 0xbbggrr # IOW, red is at the little end - for i in xrange(n_colours): + for i in range(n_colours): c = colours[i] red = c & 0xff green = (c >> 8) & 0xff @@ -606,7 +606,7 @@ book.colour_map[8+i] = new_rgb if blah: if new_rgb != old_rgb: - print >> book.logfile, "%2d: %r -> %r" % (i, old_rgb, new_rgb) + print("%2d: %r -> %r" % (i, old_rgb, new_rgb), file=book.logfile) def palette_epilogue(book): # Check colour indexes in fonts etc. @@ -618,17 +618,16 @@ cx = font.colour_index if cx == 0x7fff: # system window text colour continue - if book.colour_map.has_key(cx): + if cx in book.colour_map: book.colour_indexes_used[cx] = 1 else: - print "Size of colour table:", len(book.colour_map) - print >> book.logfile, \ - "*** Font #%d (%r): colour index 0x%04x is unknown" \ - % (font.font_index, font.name, cx) + print("Size of colour table:", len(book.colour_map)) + print("*** Font #%d (%r): colour index 0x%04x is unknown" \ + % (font.font_index, font.name, cx), file=book.logfile) if book.verbosity >= 1: - used = book.colour_indexes_used.keys() + used = list(book.colour_indexes_used.keys()) used.sort() - print >> book.logfile, "\nColour indexes used:\n%r\n" % used + print("\nColour indexes used:\n%r\n" % used, file=book.logfile) def handle_style(book, data): blah = DEBUG or book.verbosity >= 2 @@ -657,31 +656,28 @@ else: name = unpack_string(data, 2, book.encoding, lenlen=1) if blah and not name: - print >> book.logfile, \ - "WARNING *** A user-defined style has a zero-length name" + print("WARNING *** A user-defined style has a zero-length name", file=book.logfile) built_in = 0 built_in_id = 0 level = 0 book.style_name_map[name] = (built_in, xf_index) if blah: - print >> book.logfile, \ - "STYLE: built_in=%d xf_index=%d built_in_id=%d level=%d name=%r" \ - % (built_in, xf_index, built_in_id, level, name) + print("STYLE: built_in=%d xf_index=%d built_in_id=%d level=%d name=%r" \ + % (built_in, xf_index, built_in_id, level, name), file=book.logfile) def check_colour_indexes_in_obj(book, obj, orig_index): - alist = obj.__dict__.items() + alist = list(obj.__dict__.items()) alist.sort() for attr, nobj in alist: if hasattr(nobj, 'dump'): check_colour_indexes_in_obj(book, nobj, orig_index) elif attr.find('colour_index') >= 0: - if book.colour_map.has_key(nobj): + if nobj in book.colour_map: book.colour_indexes_used[nobj] = 1 continue oname = obj.__class__.__name__ - print >> book.logfile, \ - "*** xf #%d : %s.%s = 0x%04x (unknown)" \ - % (orig_index, oname, attr, nobj) + print("*** xf #%d : %s.%s = 0x%04x (unknown)" \ + % (orig_index, oname, attr, nobj), file=book.logfile) def handle_xf(self, data): ### self is a Book instance @@ -703,8 +699,8 @@ # fill in the known standard formats if bv >= 50 and not self.xfcount: # i.e. do this once before we process the first XF record - for x in std_format_code_types.keys(): - if not self.format_map.has_key(x): + for x in list(std_format_code_types.keys()): + if x not in self.format_map: ty = std_format_code_types[x] fmt_str = std_format_strings[x] fmtobj = Format(x, ty, fmt_str) @@ -751,7 +747,7 @@ (16, 0x007f0000, 'left_colour_index'), (23, 0x3f800000, 'right_colour_index'), (30, 0x40000000, 'diag_down'), - (31, 0x80000000L, 'diag_up'), + (31, 0x80000000, 'diag_up'), )) upkbits(xf.border, pkd_brdbkg2, ( (0, 0x0000007F, 'top_colour_index'), @@ -760,7 +756,7 @@ (21, 0x01E00000, 'diag_line_style'), )) upkbitsL(xf.background, pkd_brdbkg2, ( - (26, 0xFC000000L, 'fill_pattern'), + (26, 0xFC000000, 'fill_pattern'), )) upkbits(xf.background, pkd_brdbkg3, ( (0, 0x007F, 'pattern_colour_index'), @@ -801,7 +797,7 @@ )) upkbitsL(xf.border, pkd_brdbkg1, ( (22, 0x01C00000, 'bottom_line_style'), - (25, 0xFE000000L, 'bottom_colour_index'), + (25, 0xFE000000, 'bottom_colour_index'), )) upkbits(xf.border, pkd_brdbkg2, ( ( 0, 0x00000007, 'top_line_style'), @@ -852,7 +848,7 @@ (16, 0x00070000, 'bottom_line_style'), (19, 0x00F80000, 'bottom_colour_index'), (24, 0x07000000, 'right_line_style'), - (27, 0xF8000000L, 'right_colour_index'), + (27, 0xF8000000, 'right_colour_index'), )) elif bv == 30: unpack_fmt = '> self.logfile, \ - "sheet %d: avg row len %.1f; max row len %d" \ - % (self.number, avgrowlen, self.ncols) + print("sheet %d: avg row len %.1f; max row len %d" \ + % (self.number, avgrowlen, self.ncols), file=self.logfile) def tidy_dimensions(self): if self.verbosity >= 3: @@ -531,10 +530,10 @@ if self.formatting_info: self._cell_xf_indexes[rowx][colx] = xf_index except: - print >> self.logfile, "put_cell", rowx, colx + print("put_cell", rowx, colx, file=self.logfile) raise except: - print >> self.logfile, "put_cell", rowx, colx + print("put_cell", rowx, colx, file=self.logfile) raise def put_blank_cell(self, rowx, colx, xf_index): @@ -553,10 +552,10 @@ self._cell_values[rowx][colx] = value self._cell_xf_indexes[rowx][colx] = xf_index except: - print >> self.logfile, "put_cell", rowx, colx + print("put_cell", rowx, colx, file=self.logfile) raise except: - print >> self.logfile, "put_cell", rowx, colx + print("put_cell", rowx, colx, file=self.logfile) raise def put_number_cell(self, rowx, colx, value, xf_index): @@ -575,10 +574,10 @@ if self.formatting_info: self._cell_xf_indexes[rowx][colx] = xf_index except: - print >> self.logfile, "put_number_cell", rowx, colx + print("put_number_cell", rowx, colx, file=self.logfile) raise except: - print >> self.logfile, "put_number_cell", rowx, colx + print("put_number_cell", rowx, colx, file=self.logfile) raise # === Methods after this line neither know nor care about how cells are stored. @@ -637,7 +636,7 @@ mulrk_row, mulrk_first = local_unpack('> self.logfile, \ - "*** NOTE: ROW record has row index %d; " \ + print("*** NOTE: ROW record has row index %d; " \ "should have 0 <= rowx < %d -- record ignored!" \ - % (rowx, self.utter_max_rows) + % (rowx, self.utter_max_rows), file=self.logfile) continue r = Rowinfo() # Using upkbits() is far too slow on a file @@ -689,7 +687,7 @@ "**ROW %d %d %d\n", self.number, rowx, r.xf_index) if blah_rows: - print >> self.logfile, 'ROW', rowx, bits1, bits2 + print('ROW', rowx, bits1, bits2, file=self.logfile) r.dump(self.logfile, header="--- sh #%d, rowx=%d ---" % (self.number, rowx)) elif rc in XL_FORMULA_OPCODES: # 06, 0206, 0406 @@ -764,7 +762,7 @@ self.put_cell(rowx, colx, XL_CELL_ERROR, value, xf_index) elif result_str[0] == '\x03': # empty ... i.e. empty (zero-length) string, NOT an empty cell. - self.put_cell(rowx, colx, XL_CELL_TEXT, u"", xf_index) + self.put_cell(rowx, colx, XL_CELL_TEXT, "", xf_index) else: raise XLRDError("unexpected special case (0x%02x) in FORMULA" % ord(result_str[0])) else: @@ -788,10 +786,9 @@ if not(0 <= first_colx <= last_colx <= 256): # Note: 256 instead of 255 is a common mistake. # We silently ignore the non-existing 257th column in that case. - print >> self.logfile, \ - "*** NOTE: COLINFO record has first col index %d, last %d; " \ + print("*** NOTE: COLINFO record has first col index %d, last %d; " \ "should have 0 <= first <= last <= 255 -- record ignored!" \ - % (first_colx, last_colx) + % (first_colx, last_colx), file=self.logfile) del c continue upkbits(c, flags, ( @@ -802,7 +799,7 @@ ( 8, 0x0700, 'outline_level'), (12, 0x1000, 'collapsed'), )) - for colx in xrange(first_colx, last_colx+1): + for colx in range(first_colx, last_colx+1): if colx > 255: break # Excel does 0 to 256 inclusive self.colinfo_map[colx] = c if 0: @@ -818,12 +815,12 @@ c.dump(self.logfile, header='===') elif rc == XL_DEFCOLWIDTH: self.defcolwidth, = local_unpack("> self.logfile, 'DEFCOLWIDTH', self.defcolwidth + if 0: print('DEFCOLWIDTH', self.defcolwidth, file=self.logfile) elif rc == XL_STANDARDWIDTH: if data_len != 2: - print >> self.logfile, '*** ERROR *** STANDARDWIDTH', data_len, repr(data) + print('*** ERROR *** STANDARDWIDTH', data_len, repr(data), file=self.logfile) self.standardwidth, = local_unpack("> self.logfile, 'STANDARDWIDTH', self.standardwidth + if 0: print('STANDARDWIDTH', self.standardwidth, file=self.logfile) elif rc == XL_GCW: if not fmt_info: continue # useless w/o COLINFO assert data_len == 34 @@ -831,26 +828,26 @@ iguff = unpack("<8i", data[2:34]) gcw = [] for bits in iguff: - for j in xrange(32): + for j in range(32): gcw.append(bits & 1) bits >>= 1 self.gcw = tuple(gcw) if 0: - showgcw = "".join(map(lambda x: "F "[x], gcw)).rstrip().replace(' ', '.') - print "GCW:", showgcw + showgcw = "".join(["F "[x] for x in gcw]).rstrip().replace(' ', '.') + print("GCW:", showgcw) elif rc == XL_BLANK: if not fmt_info: continue rowx, colx, xf_index = local_unpack('> self.logfile, "BLANK", rowx, colx, xf_index + if 0: print("BLANK", rowx, colx, xf_index, file=self.logfile) self_put_blank_cell(rowx, colx, xf_index) elif rc == XL_MULBLANK: # 00BE if not fmt_info: continue mul_row, mul_first = local_unpack('> self.logfile, "MULBLANK", mul_row, mul_first, mul_last + print("MULBLANK", mul_row, mul_first, mul_last, file=self.logfile) pos = 4 - for colx in xrange(mul_first, mul_last+1): + for colx in range(mul_first, mul_last+1): xf_index, = local_unpack('> self.logfile, "SHEET.READ: EOF" + if DEBUG: print("SHEET.READ: EOF", file=self.logfile) eof_found = 1 break elif rc == XL_OBJ: @@ -891,14 +888,13 @@ elif rc in bofcodes: ##### EMBEDDED BOF ##### version, boftype = local_unpack('> self.logfile, \ - "*** Unexpected embedded BOF (0x%04x) at offset %d: version=0x%04x type=0x%04x" \ - % (rc, bk._position - data_len - 4, version, boftype) + print("*** Unexpected embedded BOF (0x%04x) at offset %d: version=0x%04x type=0x%04x" \ + % (rc, bk._position - data_len - 4, version, boftype), file=self.logfile) while 1: code, data_len, data = bk.get_record_parts() if code == XL_EOF: break - if DEBUG: print >> self.logfile, "---> found EOF" + if DEBUG: print("---> found EOF", file=self.logfile) elif rc == XL_COUNTRY: bk.handle_country(data) elif rc == XL_LABELRANGES: @@ -914,13 +910,13 @@ row1x, rownx, col1x, colnx, array_flags, tokslen = \ local_unpack("> self.logfile, \ - "*** NOTE: ROW_B2 record has row index %d; " \ + print("*** NOTE: ROW_B2 record has row index %d; " \ "should have 0 <= rowx < %d -- record ignored!" \ - % (rowx, self.utter_max_rows) + % (rowx, self.utter_max_rows), file=self.logfile) continue r = Rowinfo() r.height = bits1 & 0x7fff @@ -1148,7 +1143,7 @@ "**ROW %d %d %d\n", self.number, rowx, r.xf_index) if blah_rows: - print >> self.logfile, 'ROW_B2', rowx, bits1, has_defaults + print('ROW_B2', rowx, bits1, has_defaults, file=self.logfile) r.dump(self.logfile, header="--- sh #%d, rowx=%d ---" % (self.number, rowx)) elif rc == XL_COLWIDTH: # BIFF2 only @@ -1156,13 +1151,12 @@ first_colx, last_colx, width\ = local_unpack("> self.logfile, \ - "*** NOTE: COLWIDTH record has first col index %d, last %d; " \ + print("*** NOTE: COLWIDTH record has first col index %d, last %d; " \ "should have first <= last -- record ignored!" \ - % (first_colx, last_colx) + % (first_colx, last_colx), file=self.logfile) continue - for colx in xrange(first_colx, last_colx+1): - if self.colinfo_map.has_key(colx): + for colx in range(first_colx, last_colx+1): + if colx in self.colinfo_map: c = self.colinfo_map[colx] else: c = Colinfo() @@ -1185,16 +1179,15 @@ self.number, first_colx, last_colx ) if not(0 <= first_colx < last_colx <= 256): - print >> self.logfile, \ - "*** NOTE: COLUMNDEFAULT record has first col index %d, last %d; " \ + print("*** NOTE: COLUMNDEFAULT record has first col index %d, last %d; " \ "should have 0 <=RefactoringTool: No changes to ./tablib/packages/openpyxl/__init__.py RefactoringTool: No changes to ./tablib/packages/openpyxl/shared/__init__.py RefactoringTool: No changes to ./tablib/packages/openpyxl/shared/ooxml.py RefactoringTool: Refactored ./tablib/packages/openpyxl/shared/xmltools.py RefactoringTool: No changes to ./tablib/packages/openpyxl/shared/units.py RefactoringTool: No changes to ./tablib/packages/openpyxl/shared/password_hasher.py RefactoringTool: No changes to ./tablib/packages/openpyxl/shared/exc.py RefactoringTool: Refactored ./tablib/packages/openpyxl/shared/date_time.py first < last <= 256" \ - % (first_colx, last_colx) + % (first_colx, last_colx), file=self.logfile) last_colx = min(last_colx, 256) - for colx in xrange(first_colx, last_colx): + for colx in range(first_colx, last_colx): offset = 4 + 3 * (colx - first_colx) cell_attr = data[offset:offset+3] xf_index = self.fixed_BIFF2_xfindex(cell_attr, rowx=-1, colx=colx) - if self.colinfo_map.has_key(colx): + if colx in self.colinfo_map: c = self.colinfo_map[colx] else: c = Colinfo() @@ -1245,11 +1238,11 @@ book.xf_list.append(xf) if blah: xf.dump(self.logfile, header="=== Faked XF %d ===" % xfx, footer="======") - if not book.format_map.has_key(xf.format_key): + if xf.format_key not in book.format_map: msg = "ERROR *** XF[%d] unknown format key (%d, 0x%04x)\n" fprintf(self.logfile, msg, xf.xf_index, xf.format_key, xf.format_key) - fmt = Format(xf.format_key, FUN, u"General") + fmt = Format(xf.format_key, FUN, "General") book.format_map[xf.format_key] = fmt while len(book.format_list) <= xf.format_key: book.format_list.append(fmt) @@ -1267,7 +1260,7 @@ return xfx def fake_XF_from_BIFF20_cell_attr(self, cell_attr): - from formatting import XF, XFAlignment, XFBorder, XFBackground, XFProtection + from .formatting import XF, XFAlignment, XFBorder, XFBackground, XFProtection xf = XF() xf.alignment = XFAlignment() xf.alignment.indent_level = 0 @@ -1505,7 +1498,7 @@ assert rt == 0x872 assert fHdr == 0 assert Ref1 == Ref0 - print "FEAT11: grbitFrt=%d Ref0=%r cref=%d cbFeatData=%d" % (grbitFrt, Ref0, cref, cbFeatData) + print("FEAT11: grbitFrt=%d Ref0=%r cref=%d cbFeatData=%d" % (grbitFrt, Ref0, cref, cbFeatData)) # lt: Table data source type: # =0 for Excel Worksheet Table =1 for read-write SharePoint linked List # =2 for XML mapper Table =3 for Query Table @@ -1526,12 +1519,12 @@ (lt, idList, crwHeader, crwTotals, idFieldNext, cbFSData, rupBuild, unusedShort, listFlags, lPosStmCache, cbStmCache, cchStmCache, lem, rgbHashParam, cchName) = unpack('", ">") - for chars, entity in entities.items(): + for chars, entity in list(entities.items()): data = data.replace(chars, entity) return data @@ -80,9 +80,9 @@ return nsdict.setdefault(namespace,"ns" + str(len(nsdict))) # Exceptions -class IllegalChild(StandardError): +class IllegalChild(Exception): """ Complains if you add an element to a parent where it is not allowed """ -class IllegalText(StandardError): +class IllegalText(Exception): """ Complains if you add text or cdata to an element where it is not allowed """ class Node(xml.dom.Node): @@ -116,7 +116,7 @@ If refChild is null, insert newChild at the end of the list of children. """ if newChild.nodeType not in self._child_node_types: - raise IllegalChild, "%s cannot be child of %s" % (newChild.tagName, self.tagName) + raise IllegalChild("%s cannot be child of %s" % (newChild.tagName, self.tagName)) if newChild.parentNode is not None: newChild.parentNode.removeChild(newChild) if refChild is None: @@ -148,7 +148,7 @@ ### The DOM does not clearly specify what to return in this case return newChild if newChild.nodeType not in self._child_node_types: - raise IllegalChild, "<%s> is not allowed in %s" % ( newChild.tagName, self.tagName) + raise IllegalChild("<%s> is not allowed in %s" % ( newChild.tagName, self.tagName)) if newChild.parentNode is not None: newChild.parentNode.removeChild(newChild) _append_child(self, newChild) @@ -182,8 +182,8 @@ def __unicode__(self): val = [] for c in self.childNodes: - val.append(unicode(c)) - return u''.join(val) + val.append(str(c)) + return ''.join(val) defproperty(Node, "firstChild", doc="First child node, or None.") defproperty(Node, "lastChild", doc="Last child node, or None.") @@ -253,7 +253,7 @@ def toXml(self,level,f): """ Write XML in UTF-8 """ if self.data: - f.write(_escape(unicode(self.data).encode('utf-8'))) + f.write(_escape(str(self.data).encode('utf-8'))) class CDATASection(Childless, Text): nodeType = Node.CDATA_SECTION_NODE @@ -304,18 +304,18 @@ self.attributes={} # Load the attributes from the 'attributes' argument if attributes: - for attr, value in attributes.items(): + for attr, value in list(attributes.items()): self.setAttribute(attr, value) # Load the qualified attributes if qattributes: - for attr, value in qattributes.items(): + for attr, value in list(qattributes.items()): self.setAttrNS(attr[0], attr[1], value) if allowed_attrs is not None: # Load the attributes from the 'args' argument - for arg in args.keys(): + for arg in list(args.keys()): self.setAttribute(arg, args[arg]) else: - for arg in args.keys(): # If any attribute is allowed + for arg in list(args.keys()): # If any attribute is allowed self.attributes[arg]=args[arg] if not check_grammar: return @@ -324,14 +324,14 @@ if required: for r in required: if self.getAttrNS(r[0],r[1]) is None: - raise AttributeError, "Required attribute missing: %s in <%s>" % (r[1].lower().replace('-',''), self.tagName) + raise AttributeError("Required attribute missing: %s in <%s>" % (r[1].lower().replace('-',''), self.tagName)) def get_knownns(self, prefix): """ Odfpy maintains a list of known namespaces. In some cases a prefix is used, and we need to know which namespace it resolves to. """ global nsdict - for ns,p in nsdict.items(): + for ns,p in list(nsdict.items()): if p == prefix: return ns return None @@ -341,7 +341,7 @@ """ if namespace is None: namespace = "" prefix = _nsassign(namespace) - if not self.namespaces.has_key(namespace): + if namespace not in self.namespaces: self.namespaces[namespace] = prefix return prefix @@ -360,7 +360,7 @@ """ if check_grammar and self.allowed_children is not None: if element.qname not in self.allowed_children: - raise IllegalChild, "<%s> is not allowed in <%s>" % ( element.tagName, self.tagName) + raise IllegalChild("<%s> is not allowed in <%s>" % ( element.tagName, self.tagName)) self.appendChild(element) self._setOwnerDoc(element) if self.ownerDocument: @@ -371,7 +371,7 @@ Setting check_grammar=False turns off grammar checking """ if check_grammar and self.qname not in grammar.allows_text: - raise IllegalText, "The <%s> element does not allow text" % self.tagName + raise IllegalText("The <%s> element does not allow text" % self.tagName) else: if text != '': self.appendChild(Text(text)) @@ -381,7 +381,7 @@ Setting check_grammar=False turns off grammar checking """ if check_grammar and self.qname not in grammar.allows_text: - raise IllegalText, "The <%s> element does not allow text" % self.tagName + raise IllegalText("The <%s> element does not allow text" % self.tagName) else: self.appendChild(CDATASection(cdata)) @@ -393,12 +393,12 @@ prefix, localname = attr self.removeAttrNS(prefix, localname) else: - raise AttributeError, "UnabRefactoringTool: Refactored ./tablib/packages/odf/chart.py RefactoringTool: Refactored ./tablib/packages/odf/meta.py le to add simple attribute - use (namespace, localpart)" + raise AttributeError("Unable to add simple attribute - use (namespace, localpart)") else: # Construct a list of allowed arguments allowed_args = [ a[1].lower().replace('-','') for a in allowed_attrs] if check_grammar and attr not in allowed_args: - raise AttributeError, "Attribute %s is not allowed in <%s>" % ( attr, self.tagName) + raise AttributeError("Attribute %s is not allowed in <%s>" % ( attr, self.tagName)) i = allowed_args.index(attr) self.removeAttrNS(allowed_attrs[i][0], allowed_attrs[i][1]) @@ -416,12 +416,12 @@ prefix, localname = attr self.setAttrNS(prefix, localname, value) else: - raise AttributeError, "Unable to add simple attribute - use (namespace, localpart)" + raise AttributeError("Unable to add simple attribute - use (namespace, localpart)") else: # Construct a list of allowed arguments allowed_args = [ a[1].lower().replace('-','') for a in allowed_attrs] if check_grammar and attr not in allowed_args: - raise AttributeError, "Attribute %s is not allowed in <%s>" % ( attr, self.tagName) + raise AttributeError("Attribute %s is not allowed in <%s>" % ( attr, self.tagName)) i = allowed_args.index(attr) self.setAttrNS(allowed_attrs[i][0], allowed_attrs[i][1], value) @@ -455,7 +455,7 @@ prefix, localname = attr return self.getAttrNS(prefix, localname) else: - raise AttributeError, "Unable to get simple attribute - use (namespace, localpart)" + raise AttributeError("Unable to get simple attribute - use (namespace, localpart)") else: # Construct a list of allowed arguments allowed_args = [ a[1].lower().replace('-','') for a in allowed_attrs] @@ -465,11 +465,11 @@ def write_open_tag(self, level, f): f.write('<'+self.tagName) if level == 0: - for namespace, prefix in self.namespaces.items(): + for namespace, prefix in list(self.namespaces.items()): f.write(' xmlns:' + prefix + '="'+ _escape(str(namespace))+'"') - for qname in self.attributes.keys(): + for qname in list(self.attributes.keys()): prefix = self.get_nsprefix(qname[0]) - f.write(' '+_escape(str(prefix+':'+qname[1]))+'='+_quoteattr(unicode(self.attributes[qname]).encode('utf-8'))) + f.write(' '+_escape(str(prefix+':'+qname[1]))+'='+_quoteattr(str(self.attributes[qname]).encode('utf-8'))) f.write('>') def write_close_tag(self, level, f): @@ -479,11 +479,11 @@ """ Generate XML stream out of the tree structure """ f.write('<'+self.tagName) if level == 0: - for namespace, prefix in self.namespaces.items(): + for namespace, prefix in list(self.namespaces.items()): f.write(' xmlns:' + prefix + '="'+ _escape(str(namespace))+'"') - for qname in self.attributes.keys(): + for qname in list(self.attributes.keys()): prefix = self.get_nsprefix(qname[0]) - f.write(' '+_escape(str(prefix+':'+qname[1]))+'='+_quoteattr(unicode(self.attributes[qname]).encode('utf-8'))) + f.write(' '+_escape(str(prefix+':'+qname[1]))+'='+_quoteattr(str(self.attributes[qname]).encode('utf-8'))) if self.childNodes: f.write('>') for element in self.childNodes: --- ./tablib/packages/odf/chart.py (original) +++ ./tablib/packages/odf/chart.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import CHARTNS -from element import Element +from .namespaces import CHARTNS +from .element import Element # Autogenerated def Axis(**args): --- ./tablib/packages/odf/meta.py (original) +++ ./tablib/packages/odf/meta.py (refactored) @@ -18,RefactoringTool: Refactored ./tablib/packages/odf/config.py RefactoringTool: Refactored ./tablib/packages/odf/namespaces.py 8 +18,8 @@ # Contributor(s): # -from namespaces import METANS -from element import Element +from .namespaces import METANS +from .element import Element # Autogenerated def AutoReload(**args): --- ./tablib/packages/odf/config.py (original) +++ ./tablib/packages/odf/config.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import CONFIGNS -from element import Element +from .namespaces import CONFIGNS +from .element import Element # Autogenerated def ConfigItem(**args): --- ./tablib/packages/odf/namespaces.py (original) +++ ./tablib/packages/odf/namespaces.py (refactored) @@ -17,81 +17,81 @@ # # Contributor(s): # -TOOLSVERSION = u"ODFPY/0.9.3" +TOOLSVERSION = "ODFPY/0.9.3" -ANIMNS = u"urn:oasis:names:tc:opendocument:xmlns:animation:1.0" -DBNS = u"urn:oasis:names:tc:opendocument:xmlns:database:1.0" -CHARTNS = u"urn:oasis:names:tc:opendocument:xmlns:chart:1.0" -CONFIGNS = u"urn:oasis:names:tc:opendocument:xmlns:config:1.0" +ANIMNS = "urn:oasis:names:tc:opendocument:xmlns:animation:1.0" +DBNS = "urn:oasis:names:tc:opendocument:xmlns:database:1.0" +CHARTNS = "urn:oasis:names:tc:opendocument:xmlns:chart:1.0" +CONFIGNS = "urn:oasis:names:tc:opendocument:xmlns:config:1.0" #DBNS = u"http://openoffice.org/2004/database" -DCNS = u"http://purl.org/dc/elements/1.1/" -DOMNS = u"http://www.w3.org/2001/xml-events" -DR3DNS = u"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" -DRAWNS = u"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" -FIELDNS = u"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" -FONS = u"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" -FORMNS = u"urn:oasis:names:tc:opendocument:xmlns:form:1.0" -GRDDLNS = u"http://www.w3.org/2003/g/data-view#" -KOFFICENS = u"http://www.koffice.org/2005/" -MANIFESTNS = u"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" -MATHNS = u"http://www.w3.org/1998/Math/MathML" -METANS = u"urn:oasis:names:tc:opendocument:xmlns:meta:1.0" -NUMBERNS = u"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" -OFFICENS = u"urn:oasis:names:tc:opendocument:xmlns:office:1.0" -OFNS = u"urn:oasis:names:tc:opendocument:xmlns:of:1.2" -OOONS = u"http://openoffice.org/2004/office" -OOOWNS = u"http://openoffice.org/2004/writer" -OOOCNS = u"http://openoffice.org/2004/calc" -PRESENTATIONNS = u"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" -RDFANS = u"http://docs.oasis-open.org/opendocument/meta/rdfa#" -RPTNS = u"http://openoffice.org/2005/report" -SCRIPTNS = u"urn:oasis:names:tc:opendocument:xmlns:script:1.0" -SMILNS = u"urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" -STYLENS = u"urn:oasis:names:tc:opendocument:xmlns:style:1.0" -SVGNS = u"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" -TABLENS = u"urn:oasis:names:tc:opendocument:xmlns:table:1.0" -TEXTNS = u"urn:oasis:names:tc:opendocument:xmlns:text:1.0" -XFORMSNS = u"http://www.w3.org/2002/xforms" -XLINKNS = u"http://www.w3.org/1999/xlink" -XMLNS = u"http://www.w3.org/XML/1998/namespace" -XSDNS = u"http://www.w3.org/2001/XMLSchema" -XSINS = u"http://www.w3.org/2001/XMLSchema-instance" +DCNS = "http://purl.org/dc/elements/1.1/" +DOMNS = "http://www.w3.org/2001/xml-events" +DR3DNS = "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" +DRAWNS = "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" +FIELDNS = "urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" +FONS = "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" +FORMNS = "urn:oasis:names:tc:opendocument:xmlns:form:1.0" +GRDDLNS = "http://www.w3.org/2003/g/data-view#" +KOFFICENS = "http://www.koffice.org/2005/" +MANIFESTNS = "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" +MATHNS = "http://www.wRefactoringTool: Refactored ./tablib/packages/odf/odf2moinmoin.py RefactoringTool: Refactored ./tablib/packages/odf/xforms.py RefactoringTool: Refactored ./tablib/packages/odf/style.py 3.org/1998/Math/MathML" +METANS = "urn:oasis:names:tc:opendocument:xmlns:meta:1.0" +NUMBERNS = "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" +OFFICENS = "urn:oasis:names:tc:opendocument:xmlns:office:1.0" +OFNS = "urn:oasis:names:tc:opendocument:xmlns:of:1.2" +OOONS = "http://openoffice.org/2004/office" +OOOWNS = "http://openoffice.org/2004/writer" +OOOCNS = "http://openoffice.org/2004/calc" +PRESENTATIONNS = "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" +RDFANS = "http://docs.oasis-open.org/opendocument/meta/rdfa#" +RPTNS = "http://openoffice.org/2005/report" +SCRIPTNS = "urn:oasis:names:tc:opendocument:xmlns:script:1.0" +SMILNS = "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" +STYLENS = "urn:oasis:names:tc:opendocument:xmlns:style:1.0" +SVGNS = "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" +TABLENS = "urn:oasis:names:tc:opendocument:xmlns:table:1.0" +TEXTNS = "urn:oasis:names:tc:opendocument:xmlns:text:1.0" +XFORMSNS = "http://www.w3.org/2002/xforms" +XLINKNS = "http://www.w3.org/1999/xlink" +XMLNS = "http://www.w3.org/XML/1998/namespace" +XSDNS = "http://www.w3.org/2001/XMLSchema" +XSINS = "http://www.w3.org/2001/XMLSchema-instance" nsdict = { - ANIMNS: u'anim', - CHARTNS: u'chart', - CONFIGNS: u'config', - DBNS: u'db', - DCNS: u'dc', - DOMNS: u'dom', - DR3DNS: u'dr3d', - DRAWNS: u'draw', - FIELDNS: u'field', - FONS: u'fo', - FORMNS: u'form', - GRDDLNS: u'grddl', - KOFFICENS: u'koffice', - MANIFESTNS: u'manifest', - MATHNS: u'math', - METANS: u'meta', - NUMBERNS: u'number', - OFFICENS: u'office', - OFNS: u'of', - OOONS: u'ooo', - OOOWNS: u'ooow', - OOOCNS: u'oooc', - PRESENTATIONNS: u'presentation', - RDFANS: u'rdfa', - RPTNS: u'rpt', - SCRIPTNS: u'script', - SMILNS: u'smil', - STYLENS: u'style', - SVGNS: u'svg', - TABLENS: u'table', - TEXTNS: u'text', - XFORMSNS: u'xforms', - XLINKNS: u'xlink', - XMLNS: u'xml', - XSDNS: u'xsd', - XSINS: u'xsi', + ANIMNS: 'anim', + CHARTNS: 'chart', + CONFIGNS: 'config', + DBNS: 'db', + DCNS: 'dc', + DOMNS: 'dom', + DR3DNS: 'dr3d', + DRAWNS: 'draw', + FIELDNS: 'field', + FONS: 'fo', + FORMNS: 'form', + GRDDLNS: 'grddl', + KOFFICENS: 'koffice', + MANIFESTNS: 'manifest', + MATHNS: 'math', + METANS: 'meta', + NUMBERNS: 'number', + OFFICENS: 'office', + OFNS: 'of', + OOONS: 'ooo', + OOOWNS: 'ooow', + OOOCNS: 'oooc', + PRESENTATIONNS: 'presentation', + RDFANS: 'rdfa', + RPTNS: 'rpt', + SCRIPTNS: 'script', + SMILNS: 'smil', + STYLENS: 'style', + SVGNS: 'svg', + TABLENS: 'table', + TEXTNS: 'text', + XFORMSNS: 'xforms', + XLINKNS: 'xlink', + XMLNS: 'xml', + XSDNS: 'xsd', + XSINS: 'xsi', } --- ./tablib/packages/odf/odf2moinmoin.py (original) +++ ./tablib/packages/odf/odf2moinmoin.py (refactored) @@ -21,8 +21,8 @@ # import sys, zipfile, xml.dom.minidom -from namespaces import nsdict -from elementtypes import * +from .namespaces import nsdict +from .elementtypes import * IGNORED_TAGS = [ 'draw:a' --- ./tablib/packages/odf/xforms.py (original) +++ ./tablib/packages/odf/xforms.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import XFORMSNS -from element import Element +from .namespaces import XFORMSNS +from .element import Element # ODF 1.0 section 11.2 # XForms is designed to be embedded in another XML format. --- ./tablib/packages/odf/style.py (original) +++ ./tablib/packages/odf/style.py (refactored) @@ -18,13 +18,13 @@ # Contributor(s): # -from namespaces import STYLENS -from element import Element +from .namespaces import STYLENS +from .element import Element def StyleElement(**args): e = Element(**args) if args.get('check_grammar', True) == True: - if not args.has_key('displayname'): + if 'displayname' not in args: e.setAttrNS(STYLENS,'display-name', args.get('nRefactoringTool: Refactored ./tablib/packages/odf/presentation.py RefactoringTool: Refactored ./tablib/packages/odf/office.py RefactoringTool: Refactored ./tablib/packages/odf/text.py RefactoringTool: Refactored ./tablib/packages/odf/load.py RefactoringTool: Refactored ./tablib/packages/odf/userfield.py RefactoringTool: Refactored ./tablib/packages/odf/number.py RefactoringTool: Refactored ./tablib/packages/odf/opendocument.py ame')) return e --- ./tablib/packages/odf/presentation.py (original) +++ ./tablib/packages/odf/presentation.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import PRESENTATIONNS -from element import Element +from .namespaces import PRESENTATIONNS +from .element import Element # ODF 1.0 section 9.6 and 9.7 # Autogenerated --- ./tablib/packages/odf/office.py (original) +++ ./tablib/packages/odf/office.py (refactored) @@ -18,9 +18,9 @@ # Contributor(s): # -from namespaces import OFFICENS -from element import Element -from draw import StyleRefElement +from .namespaces import OFFICENS +from .element import Element +from .draw import StyleRefElement # Autogenerated def Annotation(**args): --- ./tablib/packages/odf/text.py (original) +++ ./tablib/packages/odf/text.py (refactored) @@ -18,9 +18,9 @@ # Contributor(s): # -from namespaces import TEXTNS -from element import Element -from style import StyleElement +from .namespaces import TEXTNS +from .element import Element +from .style import StyleElement # Autogenerated def A(**args): --- ./tablib/packages/odf/load.py (original) +++ ./tablib/packages/odf/load.py (refactored) @@ -27,9 +27,9 @@ from xml.sax import make_parser,handler from xml.sax.xmlreader import InputSource import xml.sax.saxutils -from element import Element -from namespaces import OFFICENS -from cStringIO import StringIO +from .element import Element +from .namespaces import OFFICENS +from io import StringIO # # Parse the XML files @@ -69,13 +69,13 @@ self.data = [] # Create the element attrdict = {} - for (att,value) in attrs.items(): + for (att,value) in list(attrs.items()): attrdict[att] = value try: e = Element(qname = tag, qattributes=attrdict, check_grammar=False) self.curr = e - except AttributeError, v: - print "Error: %s" % v + except AttributeError as v: + print("Error: %s" % v) if tag == (OFFICENS, 'automatic-styles'): e = self.doc.automaticstyles --- ./tablib/packages/odf/userfield.py (original) +++ ./tablib/packages/odf/userfield.py (refactored) @@ -33,13 +33,13 @@ # OpenDocument v.1.0 section 6.7.1 VALUE_TYPES = { - 'float': (OFFICENS, u'value'), - 'percentage': (OFFICENS, u'value'), - 'currency': (OFFICENS, u'value'), - 'date': (OFFICENS, u'date-value'), - 'time': (OFFICENS, u'time-value'), - 'boolean': (OFFICENS, u'boolean-value'), - 'string': (OFFICENS, u'string-value'), + 'float': (OFFICENS, 'value'), + 'percentage': (OFFICENS, 'value'), + 'currency': (OFFICENS, 'value'), + 'date': (OFFICENS, 'date-value'), + 'time': (OFFICENS, 'time-value'), + 'boolean': (OFFICENS, 'boolean-value'), + 'string': (OFFICENS, 'string-value'), } @@ -62,7 +62,7 @@ self.document = None def loaddoc(self): - if isinstance(self.src_file, basestring): + if isinstance(self.src_file, str): # src_file is a filename, check if it is a zip-file if not zipfile.is_zipfile(self.src_file): raise TypeError("%s is no odt file." % self.src_file) @@ -158,7 +158,7 @@ all_fields = self.document.getElementsByType(UserFieldDecl) for f in all_fields: field_name = f.getAttribute('name') - if data.has_key(field_name): + if field_name in data: value_type = f.getAttribute('valuetype') value = data.get(field_name) if value_type == 'string': --- ./tablib/packages/odf/number.py (original) +++ ./tablib/packages/odf/number.py (refactored) @@ -18,9 +18,9 @@ # Contributor(s): # -from namespaces import NUMBERNS -from element import Element -from style import StyleElement +from .namespaces import NUMBERNS +from .element import Element +from .style import StyleElement # Autogenerated --- ./tablib/packages/odf/opendocument.py (original) +++ ./tablib/packages/odf/opendocument.py (refactored) @@ -21,20 +21,20 @@ __doc__="""Use OpenDocument to generate your documents.""" import zipfile, time, sys, mimetypes, copy -from cStringIO import StringIO -from namespaces import * -import manifest, meta -from office import * -import element -from attrconverters import make_NCName +from io import StringIO +from .namespaces import * +from . import manifest, meta +from .office import * +from . import element +from .attrconverters import make_NCName from xml.sax.xmlreader import InputSource -from odfmanifest import manifestlist +from .odfmanifest import manifestlist __version__= TOOLSVERSION -_XMLPROLOGUE = u"\n" - -UNIXPERMS = 0100644 << 16L # -rw-r--r-- +_XMLPROLOGUE = "\n" + +UNIXPERMS = 0o100644 << 16 # -rw-r--r-- IS_FILENAME = 0 IS_IMAGE = 1 @@ -124,30 +124,30 @@ def build_caches(self, element): """ Called from element.py """ - if not self.element_dict.has_key(element.qname): + if element.qname not in self.element_dict: self.element_dict[element.qname] = [] self.element_dict[element.qname].append(element) - if element.qname == (STYLENS, u'style'): + if element.qname == (STYLENS, 'style'): self.__register_stylename(element) # Add to style dictionary - styleref = element.getAttrNS(TEXTNS,u'style-name') - if styleref is not None and self._styles_ooo_fix.has_key(styleref): - element.setAttrNS(TEXTNS,u'style-name', self._styles_ooo_fix[styleref]) + styleref = element.getAttrNS(TEXTNS,'style-name') + if styleref is not None and styleref in self._styles_ooo_fix: + element.setAttrNS(TEXTNS,'style-name', self._styles_ooo_fix[styleref]) def __register_stylename(self, element): ''' Register a style. But there are three style dictionaries: office:styles, office:automatic-styles and office:master-styles Chapter 14 ''' - name = element.getAttrNS(STYLENS, u'name') + name = element.getAttrNS(STYLENS, 'name') if name is None: return - if element.parentNode.qname in ((OFFICENS,u'styles'), (OFFICENS,u'automatic-styles')): - if self._styles_dict.has_key(name): + if element.parentNode.qname in ((OFFICENS,'styles'), (OFFICENS,'automatic-styles')): + if name in self._styles_dict: newname = 'M'+name # Rename style self._styles_ooo_fix[name] = newname # From here on all references to the old name will refer to the new one name = newname - element.setAttrNS(STYLENS, u'name', name) + element.setAttrNS(STYLENS, 'name', name) self._styles_dict[name] = element def toXml(self, filename=''): @@ -232,16 +232,16 @@ """ for e in top.childNodes: if e.nodeType == element.Node.ELEMENT_NODE: - for styleref in ( (DRAWNS,u'style-name'), - (DRAWNS,u'text-style-name'), - (PRESENTATIONNS,u'style-name'), - (STYLENS,u'data-style-name'), - (STYLENS,u'list-style-name'), - (STYLENS,u'page-layout-name'), - (STYLENS,u'style-name'), - (TABLENS,u'default-cell-style-name'), - (TABLENS,u'style-name'), - (TEXTNS,u'style-name') ): + for styleref in ( (DRAWNS,'style-name'), + (DRAWNS,'text-style-name'), + (PRESENTATIONNS,'style-name'), + (STYLENS,'data-style-name'), + (STYLENS,'list-style-name'), + (STYLENS,'page-layout-name'), + (STYLENS,'style-name'), + (TABLENS,'default-cell-style-name'), + (TABLENS,'style-name'), + (TEXTNS,'style-name') ): if e.RefactoringTool: Refactored ./tablib/packages/odf/grammar.py getAttrNS(styleref[0],styleref[1]): stylename = e.getAttrNS(styleref[0],styleref[1]) if stylename not in stylenamelist: @@ -259,7 +259,7 @@ stylenamelist = self._parseoneelement(top, stylenamelist) stylelist = [] for e in self.automaticstyles.childNodes: - if e.getAttrNS(STYLENS,u'name') in stylenamelist: + if e.getAttrNS(STYLENS,'name') in stylenamelist: stylelist.append(e) return stylelist @@ -340,7 +340,7 @@ The thumbnail in the library is big, so this is pretty useless. """ if filecontent is None: - import thumbnail + from . import thumbnail self.thumbnail = thumbnail.thumbnail() else: self.thumbnail = filecontent @@ -358,7 +358,7 @@ def _savePictures(self, object, folder): hasPictures = False - for arcname, picturerec in object.Pictures.items(): + for arcname, picturerec in list(object.Pictures.items()): what_it_is, fileobj, mediatype = picturerec self.manifest.addElement(manifest.FileEntry(fullpath="%s%s" % ( folder ,arcname), mediatype=mediatype)) hasPictures = True @@ -383,7 +383,7 @@ belonging to the application that created the document. """ for m in self.meta.childNodes[:]: - if m.qname == (METANS, u'generator'): + if m.qname == (METANS, 'generator'): self.meta.removeChild(m) self.meta.addElement(meta.Generator(text=TOOLSVERSION)) @@ -579,11 +579,11 @@ return doc def __loadxmlparts(z, manifest, doc, objectpath): - from load import LoadParser + from .load import LoadParser from xml.sax import make_parser, handler for xmlfile in (objectpath+'settings.xml', objectpath+'meta.xml', objectpath+'content.xml', objectpath+'styles.xml'): - if not manifest.has_key(xmlfile): + if xmlfile not in manifest: continue try: xmlpart = z.read(xmlfile) @@ -598,7 +598,7 @@ inpsrc.setByteStream(StringIO(xmlpart)) parser.parse(inpsrc) del doc._parsing - except KeyError, v: pass + except KeyError as v: pass def load(odffile): """ Load an ODF file into memory @@ -612,7 +612,7 @@ manifestpart = z.read('META-INF/manifest.xml') manifest = manifestlist(manifestpart) __loadxmlparts(z, manifest, doc, '') - for mentry,mvalue in manifest.items(): + for mentry,mvalue in list(manifest.items()): if mentry[:9] == "Pictures/" and len(mentry) > 9: doc.addPicture(mvalue['full-path'], mvalue['media-type'], z.read(mentry)) elif mentry == "Thumbnails/thumbnail.png": --- ./tablib/packages/odf/grammar.py (original) +++ ./tablib/packages/odf/grammar.py (refactored) @@ -23,7 +23,7 @@ To be used for validation check in the API """ -from namespaces import * +from .namespaces import * # The following code is generated from the RelaxNG schema with this notice: @@ -51,17 +51,17 @@ # allowed_children = { - (DCNS,u'creator') : ( - ), - (DCNS,u'date') : ( - ), - (DCNS,u'description') : ( - ), - (DCNS,u'language') : ( - ), - (DCNS,u'subject') : ( - ), - (DCNS,u'title') : ( + (DCNS,'creator') : ( + ), + (DCNS,'date') : ( + ), + (DCNS,'description') : ( + ), + (DCNS,'language') : ( + ), + (DCNS,'subject') : ( + ), + (DCNS,'title') : ( ), # Completes Dublin Core start # (DCNS,'contributor') : ( @@ -83,903 +83,903 @@ # (DCNS,'type') : ( # ), # Completes Dublin Core end - (MATHNS,u'math') : None, + (MATHNS,'math') : None, - (XFORMSNS,u'model') : None, + (XFORMSNS,'model') : None, - (ANIMNS,u'animate') : ( - ), - (ANIMNS,u'animateColor') : ( - ), - (ANIMNS,u'animateMotion') : ( - ), - (ANIMNS,u'animateTransform') : ( - ), - (ANIMNS,u'audio') : ( - ), - (ANIMNS,u'command') : ( - (ANIMNS,u'param'), + (ANIMNS,'animate') : ( + ), + (ANIMNS,'animateColor') : ( + ), + (ANIMNS,'animateMotion') : ( + ), + (ANIMNS,'animateTransform') : ( + ), + (ANIMNS,'audio') : ( + ), + (ANIMNS,'command') : ( + (ANIMNS,'param'), ), # allowed_children - (ANIMNS,u'iterate') : ( - (ANIMNS,u'animate'), - (ANIMNS,u'animateColor'), - (ANIMNS,u'animateMotion'), - (ANIMNS,u'animateTransform'), - (ANIMNS,u'audio'), - (ANIMNS,u'command'), - (ANIMNS,u'iterate'), - (ANIMNS,u'par'), - (ANIMNS,u'seq'), - (ANIMNS,u'set'), - (ANIMNS,u'transitionFilter'), - ), - (ANIMNS,u'par') : ( - (ANIMNS,u'animate'), - (ANIMNS,u'animateColor'), - (ANIMNS,u'animateMotion'), - (ANIMNS,u'animateTransform'), - (ANIMNS,u'audio'), - (ANIMNS,u'command'), - (ANIMNS,u'iterate'), - (ANIMNS,u'par'), - (ANIMNS,u'seq'), - (ANIMNS,u'set'), - (ANIMNS,u'transitionFilter'), + (ANIMNS,'iterate') : ( + (ANIMNS,'animate'), + (ANIMNS,'animateColor'), + (ANIMNS,'animateMotion'), + (ANIMNS,'animateTransform'), + (ANIMNS,'audio'), + (ANIMNS,'command'), + (ANIMNS,'iterate'), + (ANIMNS,'par'), + (ANIMNS,'seq'), + (ANIMNS,'set'), + (ANIMNS,'transitionFilter'), + ), + (ANIMNS,'par') : ( + (ANIMNS,'animate'), + (ANIMNS,'animateColor'), + (ANIMNS,'animateMotion'), + (ANIMNS,'animateTransform'), + (ANIMNS,'audio'), + (ANIMNS,'command'), + (ANIMNS,'iterate'), + (ANIMNS,'par'), + (ANIMNS,'seq'), + (ANIMNS,'set'), + (ANIMNS,'transitionFilter'), ), # allowed_children - (ANIMNS,u'param') : ( - ), - (ANIMNS,u'seq') : ( - (ANIMNS,u'animate'), - (ANIMNS,u'animateColor'), - (ANIMNS,u'animateMotion'), - (ANIMNS,u'animateTransform'), - (ANIMNS,u'audio'), - (ANIMNS,u'command'), - (ANIMNS,u'iterate'), - (ANIMNS,u'par'), - (ANIMNS,u'seq'), - (ANIMNS,u'set'), - (ANIMNS,u'transitionFilter'), - ), - (ANIMNS,u'set') : ( - ), - (ANIMNS,u'transitionFilter') : ( - ), - (CHARTNS,u'axis') : ( - (CHARTNS,u'categories'), - (CHARTNS,u'grid'), - (CHARTNS,u'title'), + (ANIMNS,'param') : ( + ), + (ANIMNS,'seq') : ( + (ANIMNS,'animate'), + (ANIMNS,'animateColor'), + (ANIMNS,'animateMotion'), + (ANIMNS,'animateTransform'), + (ANIMNS,'audio'), + (ANIMNS,'command'), + (ANIMNS,'iterate'), + (ANIMNS,'par'), + (ANIMNS,'seq'), + (ANIMNS,'set'), + (ANIMNS,'transitionFilter'), + ), + (ANIMNS,'set') : ( + ), + (ANIMNS,'transitionFilter') : ( + ), + (CHARTNS,'axis') : ( + (CHARTNS,'categories'), + (CHARTNS,'grid'), + (CHARTNS,'title'), ), # allowed_children - (CHARTNS,u'categories') : ( - ), - (CHARTNS,u'chart') : ( - (CHARTNS,u'footer'), - (CHARTNS,u'legend'), - (CHARTNS,u'plot-area'), - (CHARTNS,u'subtitle'), - (CHARTNS,u'title'), - (TABLENS,u'table'), - ), - (CHARTNS,u'data-point') : ( - ), - (CHARTNS,u'domain') : ( - ), - (CHARTNS,u'error-indicator') : ( - ), - (CHARTNS,u'floor') : ( - ), - (CHARTNS,u'footer') : ( - (TEXTNS,u'p'), - ), - (CHARTNS,u'grid') : ( - ), - (CHARTNS,u'legend') : ( + (CHARTNS,'categories') : ( + ), + (CHARTNS,'chart') : ( + (CHARTNS,'footer'), + (CHARTNS,'legend'), + (CHARTNS,'plot-area'), + (CHARTNS,'subtitle'), + (CHARTNS,'title'), + (TABLENS,'table'), + ), + (CHARTNS,'data-point') : ( + ), + (CHARTNS,'domain') : ( + ), + (CHARTNS,'error-indicator') : ( + ), + (CHARTNS,'floor') : ( + ), + (CHARTNS,'footer') : ( + (TEXTNS,'p'), + ), + (CHARTNS,'grid') : ( + ), + (CHARTNS,'legend') : ( ), # allowed_children - (CHARTNS,u'mean-value') : ( - ), - (CHARTNS,u'plot-area') : ( - (CHARTNS,u'axis'), - (CHARTNS,u'floor'), - (CHARTNS,u'series'), - (CHARTNS,u'stock-gain-marker'), - (CHARTNS,u'stock-loss-marker'), - (CHARTNS,u'stock-range-line'), - (CHARTNS,u'wall'), - (DR3DNS,u'light'), - ), - (CHARTNS,u'regression-curve') : ( - ), - (CHARTNS,u'series') : ( - (CHARTNS,u'data-point'), - (CHARTNS,u'domain'), - (CHARTNS,u'error-indicator'), - (CHARTNS,u'mean-value'), - (CHARTNS,u'regression-curve'), - ), - (CHARTNS,u'stock-gain-marker') : ( - ), - (CHARTNS,u'stock-loss-marker') : ( + (CHARTNS,'mean-value') : ( + ), + (CHARTNS,'plot-area') : ( + (CHARTNS,'axis'), + (CHARTNS,'floor'), + (CHARTNS,'series'), + (CHARTNS,'stock-gain-marker'), + (CHARTNS,'stock-loss-marker'), + (CHARTNS,'stock-range-line'), + (CHARTNS,'wall'), + (DR3DNS,'light'), + ), + (CHARTNS,'regression-curve') : ( + ), + (CHARTNS,'series') : ( + (CHARTNS,'data-point'), + (CHARTNS,'domain'), + (CHARTNS,'error-indicator'), + (CHARTNS,'mean-value'), + (CHARTNS,'regression-curve'), + ), + (CHARTNS,'stock-gain-marker') : ( + ), + (CHARTNS,'stock-loss-marker') : ( ), # allowed_children - (CHARTNS,u'stock-range-line') : ( - ), - (CHARTNS,u'subtitle') : ( - (TEXTNS,u'p'), - ), - (CHARTNS,u'symbol-image') : ( - ), - (CHARTNS,u'title') : ( - (TEXTNS,u'p'), - ), - (CHARTNS,u'wall') : ( - ), - (CONFIGNS,u'config-item') : ( - ), - (CONFIGNS,u'config-item-map-entry') : ( - (CONFIGNS,u'config-item'), - (CONFIGNS,u'config-item-map-indexed'), - (CONFIGNS,u'config-item-map-named'), - (CONFIGNS,u'config-item-set'), - ), - (CONFIGNS,u'config-item-map-indexed') : ( - (CONFIGNS,u'config-item-map-entry'), - ), - (CONFIGNS,u'config-item-map-named') : ( - (CONFIGNS,u'config-item-map-entry'), + (CHARTNS,'stock-range-line') : ( + ), + (CHARTNS,'subtitle') : ( + (TEXTNS,'p'), + ), + (CHARTNS,'symbol-image') : ( + ), + (CHARTNS,'title') : ( + (TEXTNS,'p'), + ), + (CHARTNS,'wall') : ( + ), + (CONFIGNS,'config-item') : ( + ), + (CONFIGNS,'config-item-map-entry') : ( + (CONFIGNS,'config-item'), + (CONFIGNS,'config-item-map-indexed'), + (CONFIGNS,'config-item-map-named'), + (CONFIGNS,'config-item-set'), + ), + (CONFIGNS,'config-item-map-indexed') : ( + (CONFIGNS,'config-item-map-entry'), + ), + (CONFIGNS,'config-item-map-named') : ( + (CONFIGNS,'config-item-map-entry'), ), # allowed_children - (CONFIGNS,u'config-item-set') : ( - (CONFIGNS,u'config-item'), - (CONFIGNS,u'config-item-map-indexed'), - (CONFIGNS,u'config-item-map-named'), - (CONFIGNS,u'config-item-set'), - ), - (MANIFESTNS,u'algorithm') : ( - ), - (MANIFESTNS,u'encryption-data') : ( - (MANIFESTNS,u'algorithm'), - (MANIFESTNS,u'key-derivation'), - ), - (MANIFESTNS,u'file-entry') : ( - (MANIFESTNS,u'encryption-data'), - ), - (MANIFESTNS,u'key-derivation') : ( - ), - (MANIFESTNS,u'manifest') : ( - (MANIFESTNS,u'file-entry'), - ), - (NUMBERNS,u'am-pm') : ( - ), - (NUMBERNS,u'boolean') : ( + (CONFIGNS,'config-item-set') : ( + (CONFIGNS,'config-item'), + (CONFIGNS,'config-item-map-indexed'), + (CONFIGNS,'config-item-map-named'), + (CONFIGNS,'config-item-set'), + ), + (MANIFESTNS,'algorithm') : ( + ), + (MANIFESTNS,'encryption-data') : ( + (MANIFESTNS,'algorithm'), + (MANIFESTNS,'key-derivation'), + ), + (MANIFESTNS,'file-entry') : ( + (MANIFESTNS,'encryption-data'), + ), + (MANIFESTNS,'key-derivation') : ( + ), + (MANIFESTNS,'manifest') : ( + (MANIFESTNS,'file-entry'), + ), + (NUMBERNS,'am-pm') : ( + ), + (NUMBERNS,'boolean') : ( ), # allowed_children - (NUMBERNS,u'boolean-style') : ( - (NUMBERNS,u'boolean'), - (NUMBERNS,u'text'), - (STYLENS,u'map'), - (STYLENS,u'text-properties'), - ), - (NUMBERNS,u'currency-style') : ( - (NUMBERNS,u'currency-symbol'), - (NUMBERNS,u'number'), - (NUMBERNS,u'text'), - (STYLENS,u'map'), - (STYLENS,u'text-properties'), - ), - (NUMBERNS,u'currency-symbol') : ( - ), - (NUMBERNS,u'date-style') : ( - (NUMBERNS,u'am-pm'), - (NUMBERNS,u'day'), - (NUMBERNS,u'day-of-week'), - (NUMBERNS,u'era'), - (NUMBERNS,u'hours'), - (NUMBERNS,u'minutes'), - (NUMBERNS,u'month'), - (NUMBERNS,u'quarter'), - (NUMBERNS,u'seconds'), - (NUMBERNS,u'text'), - (NUMBERNS,u'week-of-year'), - (NUMBERNS,u'year'), - (STYLENS,u'map'), - (STYLENS,u'text-properties'), + (NUMBERNS,'boolean-style') : ( + (NUMBERNS,'boolean'), + (NUMBERNS,'text'), + (STYLENS,'map'), + (STYLENS,'text-properties'), + ), + (NUMBERNS,'currency-style') : ( + (NUMBERNS,'currency-symbol'), + (NUMBERNS,'number'), + (NUMBERNS,'text'), + (STYLENS,'map'), + (STYLENS,'text-properties'), + ), + (NUMBERNS,'currency-symbol') : ( + ), + (NUMBERNS,'date-style') : ( + (NUMBERNS,'am-pm'), + (NUMBERNS,'day'), + (NUMBERNS,'day-of-week'), + (NUMBERNS,'era'), + (NUMBERNS,'hours'), + (NUMBERNS,'minutes'), + (NUMBERNS,'month'), + (NUMBERNS,'quarter'), + (NUMBERNS,'seconds'), + (NUMBERNS,'text'), + (NUMBERNS,'week-of-year'), + (NUMBERNS,'year'), + (STYLENS,'map'), + (STYLENS,'text-properties'), ), # allowed_children - (NUMBERNS,u'day') : ( - ), - (NUMBERNS,u'day-of-week') : ( - ), - (NUMBERNS,u'embedded-text') : ( - ), - (NUMBERNS,u'era') : ( - ), - (NUMBERNS,u'fraction') : ( - ), - (NUMBERNS,u'hours') : ( - ), - (NUMBERNS,u'minutes') : ( - ), - (NUMBERNS,u'month') : ( - ), - (NUMBERNS,u'number') : ( - (NUMBERNS,u'embedded-text'), - ), - (NUMBERNS,u'number-style') : ( - (NUMBERNS,u'fraction'), - (NUMBERNS,u'number'), - (NUMBERNS,u'scientific-number'), - (NUMBERNS,u'text'), - (STYLENS,u'map'), - (STYLENS,u'text-properties'), + (NUMBERNS,'day') : ( + ), + (NUMBERNS,'day-of-week') : ( + ), + (NUMBERNS,'embedded-text') : ( + ), + (NUMBERNS,'era') : ( + ), + (NUMBERNS,'fraction') : ( + ), + (NUMBERNS,'hours') : ( + ), + (NUMBERNS,'minutes') : ( + ), + (NUMBERNS,'month') : ( + ), + (NUMBERNS,'number') : ( + (NUMBERNS,'embedded-text'), + ), + (NUMBERNS,'number-style') : ( + (NUMBERNS,'fraction'), + (NUMBERNS,'number'), + (NUMBERNS,'scientific-number'), + (NUMBERNS,'text'), + (STYLENS,'map'), + (STYLENS,'text-properties'), ), # allowed_children - (NUMBERNS,u'percentage-style') : ( - (NUMBERNS,u'number'), - (NUMBERNS,u'text'), - (STYLENS,u'map'), - (STYLENS,u'text-properties'), - ), - (NUMBERNS,u'quarter') : ( - ), - (NUMBERNS,u'scientific-number') : ( - ), - (NUMBERNS,u'seconds') : ( - ), - (NUMBERNS,u'text') : ( - ), - (NUMBERNS,u'text-content') : ( - ), - (NUMBERNS,u'text-style') : ( - (NUMBERNS,u'text'), - (NUMBERNS,u'text-content'), - (STYLENS,u'map'), - (STYLENS,u'text-properties'), + (NUMBERNS,'percentage-style') : ( + (NUMBERNS,'number'), + (NUMBERNS,'text'), + (STYLENS,'map'), + (STYLENS,'text-properties'), + ), + (NUMBERNS,'quarter') : ( + ), + (NUMBERNS,'scientific-number') : ( + ), + (NUMBERNS,'seconds') : ( + ), + (NUMBERNS,'text') : ( + ), + (NUMBERNS,'text-content') : ( + ), + (NUMBERNS,'text-style') : ( + (NUMBERNS,'text'), + (NUMBERNS,'text-content'), + (STYLENS,'map'), + (STYLENS,'text-properties'), ), # allowed_children - (NUMBERNS,u'time-style') : ( - (NUMBERNS,u'am-pm'), - (NUMBERNS,u'hours'), - (NUMBERNS,u'minutes'), - (NUMBERNS,u'seconds'), - (NUMBERNS,u'text'), - (STYLENS,u'map'), - (STYLENS,u'text-properties'), + (NUMBERNS,'time-style') : ( + (NUMBERNS,'am-pm'), + (NUMBERNS,'hours'), + (NUMBERNS,'minutes'), + (NUMBERNS,'seconds'), + (NUMBERNS,'text'), + (STYLENS,'map'), + (STYLENS,'text-properties'), ), # allowed_children - (NUMBERNS,u'week-of-year') : ( - ), - (NUMBERNS,u'year') : ( - ), - (DR3DNS,u'cube') : ( - ), - (DR3DNS,u'extrude') : ( - ), - (DR3DNS,u'light') : ( - ), - (DR3DNS,u'rotate') : ( - ), - (DR3DNS,u'scene') : ( - (DR3DNS,u'cube'), - (DR3DNS,u'extrude'), - (DR3DNS,u'light'), - (DR3DNS,u'rotate'), - (DR3DNS,u'scene'), - (DR3DNS,u'sphere'), - (SVGNS,u'title'), - (SVGNS,u'desc'), - ), - (DR3DNS,u'sphere') : ( - ), - (DRAWNS,u'a') : ( - (DRAWNS,u'frame'), + (NUMBERNS,'week-of-year') : ( + ), + (NUMBERNS,'year') : ( + ), + (DR3DNS,'cube') : ( + ), + (DR3DNS,'extrude') : ( + ), + (DR3DNS,'light') : ( + ), + (DR3DNS,'rotate') : ( + ), + (DR3DNS,'scene') : ( + (DR3DNS,'cube'), + (DR3DNS,'extrude'), + (DR3DNS,'light'), + (DR3DNS,'rotate'), + (DR3DNS,'scene'), + (DR3DNS,'sphere'), + (SVGNS,'title'), + (SVGNS,'desc'), + ), + (DR3DNS,'sphere') : ( + ), + (DRAWNS,'a') : ( + (DRAWNS,'frame'), ), # allowed_children - (DRAWNS,u'applet') : ( - (DRAWNS,u'param'), - ), - (DRAWNS,u'area-circle') : ( - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - ), - (DRAWNS,u'area-polygon') : ( - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - ), - (DRAWNS,u'area-rectangle') : ( - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - ), - (DRAWNS,u'caption') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (DRAWNS,u'circle') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), + (DRAWNS,'applet') : ( + (DRAWNS,'param'), + ), + (DRAWNS,'area-circle') : ( + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + ), + (DRAWNS,'area-polygon') : ( + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + ), + (DRAWNS,'area-rectangle') : ( + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + ), + (DRAWNS,'caption') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (DRAWNS,'circle') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), ), # allowed_children - (DRAWNS,u'connector') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (DRAWNS,u'contour-path') : ( - ), - (DRAWNS,u'contour-polygon') : ( - ), - (DRAWNS,u'control') : ( - (DRAWNS,u'glue-point'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - ), - (DRAWNS,u'custom-shape') : ( - (DRAWNS,u'enhanced-geometry'), - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), + (DRAWNS,'connector') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (DRAWNS,'contour-path') : ( + ), + (DRAWNS,'contour-polygon') : ( + ), + (DRAWNS,'control') : ( + (DRAWNS,'glue-point'), + (SVGNS,'desc'), + (SVGNS,'title'), + ), + (DRAWNS,'custom-shape') : ( + (DRAWNS,'enhanced-geometry'), + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), ), # allowed_children - (DRAWNS,u'ellipse') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (DRAWNS,u'enhanced-geometry') : ( - (DRAWNS,u'equation'), - (DRAWNS,u'handle'), - ), - (DRAWNS,u'equation') : ( + (DRAWNS,'ellipse') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (DRAWNS,'enhanced-geometry') : ( + (DRAWNS,'equation'), + (DRAWNS,'handle'), + ), + (DRAWNS,'equation') : ( ), # allowed_children - (DRAWNS,u'fill-image') : ( - ), - (DRAWNS,u'floating-frame') : ( - ), - (DRAWNS,u'frame') : ( - (DRAWNS,u'applet'), - (DRAWNS,u'contour-path'), - (DRAWNS,u'contour-polygon'), - (DRAWNS,u'floating-frame'), - (DRAWNS,u'glue-point'), - (DRAWNS,u'image'), - (DRAWNS,u'image-map'), - (DRAWNS,u'object'), - (DRAWNS,u'object-ole'), - (DRAWNS,u'plugin'), - (DRAWNS,u'text-box'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), + (DRAWNS,'fill-image') : ( + ), + (DRAWNS,'floating-frame') : ( + ), + (DRAWNS,'frame') : ( + (DRAWNS,'applet'), + (DRAWNS,'contour-path'), + (DRAWNS,'contour-polygon'), + (DRAWNS,'floating-frame'), + (DRAWNS,'glue-point'), + (DRAWNS,'image'), + (DRAWNS,'image-map'), + (DRAWNS,'object'), + (DRAWNS,'object-ole'), + (DRAWNS,'plugin'), + (DRAWNS,'text-box'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), ), # allowed_children - (DRAWNS,u'g') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'glue-point'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (OFFICENS,u'event-listeners'), - ), - (DRAWNS,u'glue-point') : ( - ), - (DRAWNS,u'gradient') : ( - ), - (DRAWNS,u'handle') : ( - ), - (DRAWNS,u'hatch') : ( + (DRAWNS,'g') : ( + (DR3DNS,'scene'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'glue-point'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (SVGNS,'desc'), + (SVGNS,'title'), + (OFFICENS,'event-listeners'), + ), + (DRAWNS,'glue-point') : ( + ), + (DRAWNS,'gradient') : ( + ), + (DRAWNS,'handle') : ( + ), + (DRAWNS,'hatch') : ( ), # allowed_children - (DRAWNS,u'image') : ( - (OFFICENS,u'binary-data'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (DRAWNS,u'image-map') : ( - (DRAWNS,u'area-circle'), - (DRAWNS,u'area-polygon'), - (DRAWNS,u'area-rectangle'), - ), - (DRAWNS,u'layer') : ( - (SVGNS,u'desc'), - (SVGNS,u'title'), - ), - (DRAWNS,u'layer-set') : ( - (DRAWNS,u'layer'), - ), - (DRAWNS,u'line') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (DRAWNS,u'marker') : ( - ), - (DRAWNS,u'measure') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - (SVGNS,u'title'), - (SVGNS,u'desc'), - ), - (DRAWNS,u'object') : ( - (MATHNS,u'math'), - (OFFICENS,u'document'), + (DRAWNS,'image') : ( + (OFFICENS,'binary-data'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (DRAWNS,'image-map') : ( + (DRAWNS,'area-circle'), + (DRAWNS,'area-polygon'), + (DRAWNS,'area-rectangle'), + ), + (DRAWNS,'layer') : ( + (SVGNS,'desc'), + (SVGNS,'title'), + ), + (DRAWNS,'layer-set') : ( + (DRAWNS,'layer'), + ), + (DRAWNS,'line') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (DRAWNS,'marker') : ( + ), + (DRAWNS,'measure') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (TEXTNS,'list'), + (TEXTNS,'p'), + (SVGNS,'title'), + (SVGNS,'desc'), + ), + (DRAWNS,'object') : ( + (MATHNS,'math'), + (OFFICENS,'document'), ), # allowed_children - (DRAWNS,u'object-ole') : ( - (OFFICENS,u'binary-data'), - ), - (DRAWNS,u'opacity') : ( - ), - (DRAWNS,u'page') : ( - (ANIMNS,u'animate'), - (ANIMNS,u'animateColor'), - (ANIMNS,u'animateMotion'), - (ANIMNS,u'animateTransform'), - (ANIMNS,u'audio'), - (ANIMNS,u'command'), - (ANIMNS,u'iterate'), - (ANIMNS,u'par'), - (ANIMNS,u'seq'), - (ANIMNS,u'set'), - (ANIMNS,u'transitionFilter'), - (DR3DNS,u'scene'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'forms'), - (PRESENTATIONNS,u'animations'), - (PRESENTATIONNS,u'notes'), + (DRAWNS,'object-ole') : ( + (OFFICENS,'binary-data'), + ), + (DRAWNS,'opacity') : ( + ), + (DRAWNS,'page') : ( + (ANIMNS,'animate'), + (ANIMNS,'animateColor'), + (ANIMNS,'animateMotion'), + (ANIMNS,'animateTransform'), + (ANIMNS,'audio'), + (ANIMNS,'command'), + (ANIMNS,'iterate'), + (ANIMNS,'par'), + (ANIMNS,'seq'), + (ANIMNS,'set'), + (ANIMNS,'transitionFilter'), + (DR3DNS,'scene'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'forms'), + (PRESENTATIONNS,'animations'), + (PRESENTATIONNS,'notes'), ), # allowed_children - (DRAWNS,u'page-thumbnail') : ( - (SVGNS,u'desc'), - (SVGNS,u'title'), - ), - (DRAWNS,u'param') : ( - ), - (DRAWNS,u'path') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (DRAWNS,u'plugin') : ( - (DRAWNS,u'param'), - ), - (DRAWNS,u'polygon') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'title'), - (SVGNS,u'desc'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (DRAWNS,u'polyline') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), + (DRAWNS,'page-thumbnail') : ( + (SVGNS,'desc'), + (SVGNS,'title'), + ), + (DRAWNS,'param') : ( + ), + (DRAWNS,'path') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (DRAWNS,'plugin') : ( + (DRAWNS,'param'), + ), + (DRAWNS,'polygon') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'title'), + (SVGNS,'desc'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (DRAWNS,'polyline') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), ), # allowed_children - (DRAWNS,u'rect') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (DRAWNS,u'regular-polygon') : ( - (DRAWNS,u'glue-point'), - (OFFICENS,u'event-listeners'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (DRAWNS,u'stroke-dash') : ( - ), - (DRAWNS,u'text-box') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'list'), - (TEXTNS,u'numbered-paragraph'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'user-index'), + (DRAWNS,'rect') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (DRAWNS,'regular-polygon') : ( + (DRAWNS,'glue-point'), + (OFFICENS,'event-listeners'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (DRAWNS,'stroke-dash') : ( + ), + (DRAWNS,'text-box') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'list'), + (TEXTNS,'numbered-paragraph'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'user-index'), ), # allowed_children - (FORMNS,u'button') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'checkbox') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'column') : ( - (FORMNS,u'checkbox'), - (FORMNS,u'combobox'), - (FORMNS,u'date'), - (FORMNS,u'formatted-text'), - (FORMNS,u'listbox'), - (FORMNS,u'number'), - (FORMNS,u'text'), - (FORMNS,u'textarea'), - ), - (FORMNS,u'combobox') : ( - (FORMNS,u'item'), - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'connection-resource') : ( - ), - (FORMNS,u'date') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'file') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'fixed-text') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), + (FORMNS,'button') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'checkbox') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'column') : ( + (FORMNS,'checkbox'), + (FORMNS,'combobox'), + (FORMNS,'date'), + (FORMNS,'formatted-text'), + (FORMNS,'listbox'), + (FORMNS,'number'), + (FORMNS,'text'), + (FORMNS,'textarea'), + ), + (FORMNS,'combobox') : ( + (FORMNS,'item'), + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'connection-resource') : ( + ), + (FORMNS,'date') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'file') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'fixed-text') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), ), # allowed_children - (FORMNS,u'form') : ( - (FORMNS,u'button'), - (FORMNS,u'checkbox'), - (FORMNS,u'combobox'), - (FORMNS,u'connection-resource'), - (FORMNS,u'date'), - (FORMNS,u'file'), - (FORMNS,u'fixed-text'), - (FORMNS,u'form'), - (FORMNS,u'formatted-text'), - (FORMNS,u'frame'), - (FORMNS,u'generic-control'), - (FORMNS,u'grid'), - (FORMNS,u'hidden'), - (FORMNS,u'image'), - (FORMNS,u'image-frame'), - (FORMNS,u'listbox'), - (FORMNS,u'number'), - (FORMNS,u'password'), - (FORMNS,u'properties'), - (FORMNS,u'radio'), - (FORMNS,u'text'), - (FORMNS,u'textarea'), - (FORMNS,u'time'), - (FORMNS,u'value-range'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'formatted-text') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'frame') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'generic-control') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'grid') : ( - (FORMNS,u'column'), - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'hidden') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'image') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), + (FORMNS,'form') : ( + (FORMNS,'button'), + (FORMNS,'checkbox'), + (FORMNS,'combobox'), + (FORMNS,'connection-resource'), + (FORMNS,'date'), + (FORMNS,'file'), + (FORMNS,'fixed-text'), + (FORMNS,'form'), + (FORMNS,'formatted-text'), + (FORMNS,'frame'), + (FORMNS,'generic-control'), + (FORMNS,'grid'), + (FORMNS,'hidden'), + (FORMNS,'image'), + (FORMNS,'image-frame'), + (FORMNS,'listbox'), + (FORMNS,'number'), + (FORMNS,'password'), + (FORMNS,'properties'), + (FORMNS,'radio'), + (FORMNS,'text'), + (FORMNS,'textarea'), + (FORMNS,'time'), + (FORMNS,'value-range'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'formatted-text') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'frame') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'generic-control') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'grid') : ( + (FORMNS,'column'), + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'hidden') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'image') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), ), # allowed_children - (FORMNS,u'image-frame') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'item') : ( - ), - (FORMNS,u'list-property') : ( - (FORMNS,u'list-value'), - (FORMNS,u'list-value'), - (FORMNS,u'list-value'), - (FORMNS,u'list-value'), - (FORMNS,u'list-value'), - (FORMNS,u'list-value'), - (FORMNS,u'list-value'), - ), - (FORMNS,u'list-value') : ( - ), - (FORMNS,u'listbox') : ( - (FORMNS,u'option'), - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'number') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'option') : ( - ), - (FORMNS,u'password') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'properties') : ( - (FORMNS,u'list-property'), - (FORMNS,u'property'), - ), - (FORMNS,u'property') : ( - ), - (FORMNS,u'radio') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'text') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'textarea') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - (TEXTNS,u'p'), - ), - (FORMNS,u'time') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (FORMNS,u'value-range') : ( - (FORMNS,u'properties'), - (OFFICENS,u'event-listeners'), - ), - (METANS,u'auto-reload') : ( - ), - (METANS,u'creation-date') : ( - ), - (METANS,u'date-string') : ( - ), - (METANS,u'document-statistic') : ( - ), - (METANS,u'editing-cycles') : ( - ), - (METANS,u'editing-duration') : ( - ), - (METANS,u'generator') : ( - ), - (METANS,u'hyperlink-behaviour') : ( - ), - (METANS,u'initial-creator') : ( - ), - (METANS,u'keyword') : ( - ), - (METANS,u'print-date') : ( - ), - (METANS,u'printed-by') : ( - ), - (METANS,u'template') : ( - ), - (METANS,u'user-defined') : ( + (FORMNS,'image-frame') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'item') : ( + ), + (FORMNS,'list-property') : ( + (FORMNS,'list-value'), + (FORMNS,'list-value'), + (FORMNS,'list-value'), + (FORMNS,'list-value'), + (FORMNS,'list-value'), + (FORMNS,'list-value'), + (FORMNS,'list-value'), + ), + (FORMNS,'list-value') : ( + ), + (FORMNS,'listbox') : ( + (FORMNS,'option'), + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'number') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'option') : ( + ), + (FORMNS,'password') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'properties') : ( + (FORMNS,'list-property'), + (FORMNS,'property'), + ), + (FORMNS,'property') : ( + ), + (FORMNS,'radio') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'text') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'textarea') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + (TEXTNS,'p'), + ), + (FORMNS,'time') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (FORMNS,'value-range') : ( + (FORMNS,'properties'), + (OFFICENS,'event-listeners'), + ), + (METANS,'auto-reload') : ( + ), + (METANS,'creation-date') : ( + ), + (METANS,'date-string') : ( + ), + (METANS,'document-statistic') : ( + ), + (METANS,'editing-cycles') : ( + ), + (METANS,'editing-duration') : ( + ), + (METANS,'generator') : ( + ), + (METANS,'hyperlink-behaviour') : ( + ), + (METANS,'initial-creator') : ( + ), + (METANS,'keyword') : ( + ), + (METANS,'print-date') : ( + ), + (METANS,'printed-by') : ( + ), + (METANS,'template') : ( + ), + (METANS,'user-defined') : ( ), # allowed_children - (OFFICENS,u'annotation') : ( - (DCNS,u'creator'), - (DCNS,u'date'), - (METANS,u'date-string'), - (TEXTNS,u'list'), - (TEXTNS,u'p'), - ), - (OFFICENS,u'automatic-styles') : ( - (NUMBERNS,u'boolean-style'), - (NUMBERNS,u'currency-style'), - (NUMBERNS,u'date-style'), - (NUMBERNS,u'number-style'), - (NUMBERNS,u'percentage-style'), - (NUMBERNS,u'text-style'), - (NUMBERNS,u'time-style'), - (STYLENS,u'page-layout'), - (STYLENS,u'style'), - (TEXTNS,u'list-style'), - ), - (OFFICENS,u'binary-data') : ( - ), - (OFFICENS,u'body') : ( - (OFFICENS,u'chart'), - (OFFICENS,u'drawing'), - (OFFICENS,u'image'), - (OFFICENS,u'presentation'), - (OFFICENS,u'spreadsheet'), - (OFFICENS,u'text'), - ), - (OFFICENS,u'change-info') : ( - (DCNS,u'creator'), - (DCNS,u'date'), - (TEXTNS,u'p'), - ), - (OFFICENS,u'chart') : ( - (CHARTNS,u'chart'), - (TABLENS,u'calculation-settings'), - (TABLENS,u'consolidation'), - (TABLENS,u'content-validations'), - (TABLENS,u'data-pilot-tables'), - (TABLENS,u'database-ranges'), - (TABLENS,u'dde-links'), - (TABLENS,u'label-ranges'), - (TABLENS,u'named-expressions'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'variable-decls'), - ), - (OFFICENS,u'dde-source') : ( - ), - (OFFICENS,u'document') : ( - (OFFICENS,u'automatic-styles'), - (OFFICENS,u'body'), - (OFFICENS,u'font-face-decls'), - (OFFICENS,u'master-styles'), - (OFFICENS,u'meta'), - (OFFICENS,u'scripts'), - (OFFICENS,u'settings'), - (OFFICENS,u'styles'), - ), - (OFFICENS,u'document-content') : ( - (OFFICENS,u'automatic-styles'), - (OFFICENS,u'body'), - (OFFICENS,u'font-face-decls'), - (OFFICENS,u'scripts'), - ), - (OFFICENS,u'document-meta') : ( - (OFFICENS,u'meta'), - ), - (OFFICENS,u'document-settings') : ( - (OFFICENS,u'settings'), - ), - (OFFICENS,u'document-styles') : ( - (OFFICENS,u'automatic-styles'), - (OFFICENS,u'font-face-decls'), - (OFFICENS,u'master-styles'), - (OFFICENS,u'styles'), - ), - (OFFICENS,u'drawing') : ( - (DRAWNS,u'page'), - (TABLENS,u'calculation-settings'), - (TABLENS,u'consolidation'), - (TABLENS,u'content-validations'), - (TABLENS,u'data-pilot-tables'), - (TABLENS,u'database-ranges'), - (TABLENS,u'dde-links'), - (TABLENS,u'label-ranges'), - (TABLENS,u'named-expressions'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'variable-decls'), - ), - (OFFICENS,u'event-listeners') : ( - (PRESENTATIONNS,u'event-listener'), - (SCRIPTNS,u'event-listener'), - ), - (OFFICENS,u'font-face-decls') : ( - (STYLENS,u'font-face'), + (OFFICENS,'annotation') : ( + (DCNS,'creator'), + (DCNS,'date'), + (METANS,'date-string'), + (TEXTNS,'list'), + (TEXTNS,'p'), + ), + (OFFICENS,'automatic-styles') : ( + (NUMBERNS,'boolean-style'), + (NUMBERNS,'currency-style'), + (NUMBERNS,'date-style'), + (NUMBERNS,'number-style'), + (NUMBERNS,'percentage-style'), + (NUMBERNS,'text-style'), + (NUMBERNS,'time-style'), + (STYLENS,'page-layout'), + (STYLENS,'style'), + (TEXTNS,'list-style'), + ), + (OFFICENS,'binary-data') : ( + ), + (OFFICENS,'body') : ( + (OFFICENS,'chart'), + (OFFICENS,'drawing'), + (OFFICENS,'image'), + (OFFICENS,'presentation'), + (OFFICENS,'spreadsheet'), + (OFFICENS,'text'), + ), + (OFFICENS,'change-info') : ( + (DCNS,'creator'), + (DCNS,'date'), + (TEXTNS,'p'), + ), + (OFFICENS,'chart') : ( + (CHARTNS,'chart'), + (TABLENS,'calculation-settings'), + (TABLENS,'consolidation'), + (TABLENS,'content-validations'), + (TABLENS,'data-pilot-tables'), + (TABLENS,'database-ranges'), + (TABLENS,'dde-links'), + (TABLENS,'label-ranges'), + (TABLENS,'named-expressions'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'variable-decls'), + ), + (OFFICENS,'dde-source') : ( + ), + (OFFICENS,'document') : ( + (OFFICENS,'automatic-styles'), + (OFFICENS,'body'), + (OFFICENS,'font-face-decls'), + (OFFICENS,'master-styles'), + (OFFICENS,'meta'), + (OFFICENS,'scripts'), + (OFFICENS,'settings'), + (OFFICENS,'styles'), + ), + (OFFICENS,'document-content') : ( + (OFFICENS,'automatic-styles'), + (OFFICENS,'body'), + (OFFICENS,'font-face-decls'), + (OFFICENS,'scripts'), + ), + (OFFICENS,'document-meta') : ( + (OFFICENS,'meta'), + ), + (OFFICENS,'document-settings') : ( + (OFFICENS,'settings'), + ), + (OFFICENS,'document-styles') : ( + (OFFICENS,'automatic-styles'), + (OFFICENS,'font-face-decls'), + (OFFICENS,'master-styles'), + (OFFICENS,'styles'), + ), + (OFFICENS,'drawing') : ( + (DRAWNS,'page'), + (TABLENS,'calculation-settings'), + (TABLENS,'consolidation'), + (TABLENS,'content-validations'), + (TABLENS,'data-pilot-tables'), + (TABLENS,'database-ranges'), + (TABLENS,'dde-links'), + (TABLENS,'label-ranges'), + (TABLENS,'named-expressions'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'variable-decls'), + ), + (OFFICENS,'event-listeners') : ( + (PRESENTATIONNS,'event-listener'), + (SCRIPTNS,'event-listener'), + ), + (OFFICENS,'font-face-decls') : ( + (STYLENS,'font-face'), ), # allowed_children - (OFFICENS,u'forms') : ( - (XFORMSNS,u'model'), - (FORMNS,u'form'), - ), - (OFFICENS,u'image') : ( - (DRAWNS,u'frame'), - ), - (OFFICENS,u'master-styles') : ( - (DRAWNS,u'layer-set'), - (STYLENS,u'handout-master'), - (STYLENS,u'master-page'), - (TABLENS,u'table-template'), - ), - (OFFICENS,u'meta') : ( - (DCNS,u'creator'), - (DCNS,u'date'), - (DCNS,u'description'), - (DCNS,u'language'), - (DCNS,u'subject'), - (DCNS,u'title'), + (OFFICENS,'forms') : ( + (XFORMSNS,'model'), + (FORMNS,'form'), + ), + (OFFICENS,'image') : ( + (DRAWNS,'frame'), + ), + (OFFICENS,'master-styles') : ( + (DRAWNS,'layer-set'), + (STYLENS,'handout-master'), + (STYLENS,'master-page'), + (TABLENS,'table-template'), + ), + (OFFICENS,'meta') : ( + (DCNS,'creator'), + (DCNS,'date'), + (DCNS,'description'), + (DCNS,'language'), + (DCNS,'subject'), + (DCNS,'title'), # Completes Dublin Core start # (DCNS,'contributor'), # (DCNS,'coverage'), @@ -991,2245 +991,2245 @@ # (DCNS,'source'), # (DCNS,'type'), # Completes Dublin Core end - (METANS,u'auto-reload'), - (METANS,u'creation-date'), - (METANS,u'document-statistic'), - (METANS,u'editing-cycles'), - (METANS,u'editing-duration'), - (METANS,u'generator'), - (METANS,u'hyperlink-behaviour'), - (METANS,u'initial-creator'), - (METANS,u'keyword'), - (METANS,u'print-date'), - (METANS,u'printed-by'), - (METANS,u'template'), - (METANS,u'user-defined'), - ), - (OFFICENS,u'presentation') : ( - (DRAWNS,u'page'), - (PRESENTATIONNS,u'date-time-decl'), - (PRESENTATIONNS,u'footer-decl'), - (PRESENTATIONNS,u'header-decl'), - (PRESENTATIONNS,u'settings'), - (TABLENS,u'calculation-settings'), - (TABLENS,u'consolidation'), - (TABLENS,u'content-validations'), - (TABLENS,u'data-pilot-tables'), - (TABLENS,u'database-ranges'), - (TABLENS,u'dde-links'), - (TABLENS,u'label-ranges'), - (TABLENS,u'named-expressions'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'variable-decls'), + (METANS,'auto-reload'), + (METANS,'creation-date'), + (METANS,'document-statistic'), + (METANS,'editing-cycles'), + (METANS,'editing-duration'), + (METANS,'generator'), + (METANS,'hyperlink-behaviour'), + (METANS,'initial-creator'), + (METANS,'keyword'), + (METANS,'print-date'), + (METANS,'printed-by'), + (METANS,'template'), + (METANS,'user-defined'), + ), + (OFFICENS,'presentation') : ( + (DRAWNS,'page'), + (PRESENTATIONNS,'date-time-decl'), + (PRESENTATIONNS,'footer-decl'), + (PRESENTATIONNS,'header-decl'), + (PRESENTATIONNS,'settings'), + (TABLENS,'calculation-settings'), + (TABLENS,'consolidation'), + (TABLENS,'content-validations'), + (TABLENS,'data-pilot-tables'), + (TABLENS,'database-ranges'), + (TABLENS,'dde-links'), + (TABLENS,'label-ranges'), + (TABLENS,'named-expressions'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'variable-decls'), ), # allowed_children - (OFFICENS,u'script') : None, + (OFFICENS,'script') : None, - (OFFICENS,u'scripts') : ( - (OFFICENS,u'event-listeners'), - (OFFICENS,u'script'), - ), - (OFFICENS,u'settings') : ( - (CONFIGNS,u'config-item-set'), - ), - (OFFICENS,u'spreadsheet') : ( - (TABLENS,u'calculation-settings'), - (TABLENS,u'consolidation'), - (TABLENS,u'content-validations'), - (TABLENS,u'data-pilot-tables'), - (TABLENS,u'database-ranges'), - (TABLENS,u'dde-links'), - (TABLENS,u'label-ranges'), - (TABLENS,u'named-expressions'), - (TABLENS,u'table'), - (TABLENS,u'tracked-changes'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'variable-decls'), - ), - (OFFICENS,u'styles') : ( - (NUMBERNS,u'boolean-style'), - (NUMBERNS,u'currency-style'), - (NUMBERNS,u'date-style'), - (NUMBERNS,u'number-style'), - (NUMBERNS,u'percentage-style'), - (NUMBERNS,u'text-style'), - (NUMBERNS,u'time-style'), - (DRAWNS,u'fill-image'), - (DRAWNS,u'gradient'), - (DRAWNS,u'hatch'), - (DRAWNS,u'marker'), - (DRAWNS,u'opacity'), - (DRAWNS,u'stroke-dash'), - (STYLENS,u'default-style'), - (STYLENS,u'presentation-page-layout'), - (STYLENS,u'style'), - (SVGNS,u'linearGradient'), - (SVGNS,u'radialGradient'), - (TEXTNS,u'bibliography-configuration'), - (TEXTNS,u'linenumbering-configuration'), - (TEXTNS,u'list-style'), - (TEXTNS,u'notes-configuration'), - (TEXTNS,u'outline-style'), - ), - (OFFICENS,u'text') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'forms'), - (TABLENS,u'calculation-settings'), - (TABLENS,u'consolidation'), - (TABLENS,u'content-validations'), - (TABLENS,u'data-pilot-tables'), - (TABLENS,u'database-ranges'), - (TABLENS,u'dde-links'), - (TABLENS,u'label-ranges'), - (TABLENS,u'named-expressions'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'list'), - (TEXTNS,u'numbered-paragraph'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'page-sequence'), - (TEXTNS,u'section'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'tracked-changes'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'user-index'), - (TEXTNS,u'variable-decls'), - ), - (PRESENTATIONNS,u'animation-group') : ( - (PRESENTATIONNS,u'dim'), - (PRESENTATIONNS,u'hide-shape'), - (PRESENTATIONNS,u'hide-text'), - (PRESENTATIONNS,u'play'), - (PRESENTATIONNS,u'show-shape'), - (PRESENTATIONNS,u'show-text'), - ), - (PRESENTATIONNS,u'animations') : ( - (PRESENTATIONNS,u'animation-group'), - (PRESENTATIONNS,u'dim'), - (PRESENTATIONNS,u'hide-shape'), - (PRESENTATIONNS,u'hide-text'), - (PRESENTATIONNS,u'play'), - (PRESENTATIONNS,u'show-shape'), - (PRESENTATIONNS,u'show-text'), - ), - (PRESENTATIONNS,u'date-time') : ( - ), - (PRESENTATIONNS,u'date-time-decl') : ( - ), - (PRESENTATIONNS,u'dim') : ( - (PRESENTATIONNS,u'sound'), - ), - (PRESENTATIONNS,u'event-listener') : ( - (PRESENTATIONNS,u'sound'), - ), - (PRESENTATIONNS,u'footer') : ( - ), - (PRESENTATIONNS,u'footer-decl') : ( - ), - (PRESENTATIONNS,u'header') : ( - ), - (PRESENTATIONNS,u'header-decl') : ( - ), - (PRESENTATIONNS,u'hide-shape') : ( - (PRESENTATIONNS,u'sound'), - ), - (PRESENTATIONNS,u'hide-text') : ( - (PRESENTATIONNS,u'sound'), + (OFFICENS,'scripts') : ( + (OFFICENS,'event-listeners'), + (OFFICENS,'script'), + ), + (OFFICENS,'settings') : ( + (CONFIGNS,'config-item-set'), + ), + (OFFICENS,'spreadsheet') : ( + (TABLENS,'calculation-settings'), + (TABLENS,'consolidation'), + (TABLENS,'content-validations'), + (TABLENS,'data-pilot-tables'), + (TABLENS,'database-ranges'), + (TABLENS,'dde-links'), + (TABLENS,'label-ranges'), + (TABLENS,'named-expressions'), + (TABLENS,'table'), + (TABLENS,'tracked-changes'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'variable-decls'), + ), + (OFFICENS,'styles') : ( + (NUMBERNS,'boolean-style'), + (NUMBERNS,'currency-style'), + (NUMBERNS,'date-style'), + (NUMBERNS,'number-style'), + (NUMBERNS,'percentage-style'), + (NUMBERNS,'text-style'), + (NUMBERNS,'time-style'), + (DRAWNS,'fill-image'), + (DRAWNS,'gradient'), + (DRAWNS,'hatch'), + (DRAWNS,'marker'), + (DRAWNS,'opacity'), + (DRAWNS,'stroke-dash'), + (STYLENS,'default-style'), + (STYLENS,'presentation-page-layout'), + (STYLENS,'style'), + (SVGNS,'linearGradient'), + (SVGNS,'radialGradient'), + (TEXTNS,'bibliography-configuration'), + (TEXTNS,'linenumbering-configuration'), + (TEXTNS,'list-style'), + (TEXTNS,'notes-configuration'), + (TEXTNS,'outline-style'), + ), + (OFFICENS,'text') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'forms'), + (TABLENS,'calculation-settings'), + (TABLENS,'consolidation'), + (TABLENS,'content-validations'), + (TABLENS,'data-pilot-tables'), + (TABLENS,'database-ranges'), + (TABLENS,'dde-links'), + (TABLENS,'label-ranges'), + (TABLENS,'named-expressions'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'list'), + (TEXTNS,'numbered-paragraph'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'page-sequence'), + (TEXTNS,'section'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'tracked-changes'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'user-index'), + (TEXTNS,'variable-decls'), + ), + (PRESENTATIONNS,'animation-group') : ( + (PRESENTATIONNS,'dim'), + (PRESENTATIONNS,'hide-shape'), + (PRESENTATIONNS,'hide-text'), + (PRESENTATIONNS,'play'), + (PRESENTATIONNS,'show-shape'), + (PRESENTATIONNS,'show-text'), + ), + (PRESENTATIONNS,'animations') : ( + (PRESENTATIONNS,'animation-group'), + (PRESENTATIONNS,'dim'), + (PRESENTATIONNS,'hide-shape'), + (PRESENTATIONNS,'hide-text'), + (PRESENTATIONNS,'play'), + (PRESENTATIONNS,'show-shape'), + (PRESENTATIONNS,'show-text'), + ), + (PRESENTATIONNS,'date-time') : ( + ), + (PRESENTATIONNS,'date-time-decl') : ( + ), + (PRESENTATIONNS,'dim') : ( + (PRESENTATIONNS,'sound'), + ), + (PRESENTATIONNS,'event-listener') : ( + (PRESENTATIONNS,'sound'), + ), + (PRESENTATIONNS,'footer') : ( + ), + (PRESENTATIONNS,'footer-decl') : ( + ), + (PRESENTATIONNS,'header') : ( + ), + (PRESENTATIONNS,'header-decl') : ( + ), + (PRESENTATIONNS,'hide-shape') : ( + (PRESENTATIONNS,'sound'), + ), + (PRESENTATIONNS,'hide-text') : ( + (PRESENTATIONNS,'sound'), ), # allowed_children - (PRESENTATIONNS,u'notes') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'forms'), - ), - (PRESENTATIONNS,u'placeholder') : ( - ), - (PRESENTATIONNS,u'play') : ( - ), - (PRESENTATIONNS,u'settings') : ( - (PRESENTATIONNS,u'show'), - ), - (PRESENTATIONNS,u'show') : ( - ), - (PRESENTATIONNS,u'show-shape') : ( - (PRESENTATIONNS,u'sound'), - ), - (PRESENTATIONNS,u'show-text') : ( - (PRESENTATIONNS,u'sound'), - ), - (PRESENTATIONNS,u'sound') : ( - ), - (SCRIPTNS,u'event-listener') : ( - ), - (STYLENS,u'background-image') : ( - (OFFICENS,u'binary-data'), - ), - (STYLENS,u'chart-properties') : ( - (CHARTNS,u'symbol-image'), - ), - (STYLENS,u'column') : ( - ), - (STYLENS,u'column-sep') : ( - ), - (STYLENS,u'columns') : ( - (STYLENS,u'column'), - (STYLENS,u'column-sep'), - ), - (STYLENS,u'default-style') : ( - (STYLENS,u'chart-properties'), - (STYLENS,u'drawing-page-properties'), - (STYLENS,u'graphic-properties'), - (STYLENS,u'paragraph-properties'), - (STYLENS,u'ruby-properties'), - (STYLENS,u'section-properties'), - (STYLENS,u'table-cell-properties'), - (STYLENS,u'table-column-properties'), - (STYLENS,u'table-properties'), - (STYLENS,u'table-row-properties'), - (STYLENS,u'text-properties'), - ), - (STYLENS,u'drawing-page-properties') : ( - (PRESENTATIONNS,u'sound'), - ), - (STYLENS,u'drop-cap') : ( - ), - (STYLENS,u'font-face') : ( - (SVGNS,u'definition-src'), - (SVGNS,u'font-face-src'), - ), - (STYLENS,u'footer') : ( - (STYLENS,u'region-center'), - (STYLENS,u'region-left'), - (STYLENS,u'region-right'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'index-title'), - (TEXTNS,u'list'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'tracked-changes'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'user-index'), - (TEXTNS,u'variable-decls'), + (PRESENTATIONNS,'notes') : ( + (DR3DNS,'scene'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'forms'), + ), + (PRESENTATIONNS,'placeholder') : ( + ), + (PRESENTATIONNS,'play') : ( + ), + (PRESENTATIONNS,'settings') : ( + (PRESENTATIONNS,'show'), + ), + (PRESENTATIONNS,'show') : ( + ), + (PRESENTATIONNS,'show-shape') : ( + (PRESENTATIONNS,'sound'), + ), + (PRESENTATIONNS,'show-text') : ( + (PRESENTATIONNS,'sound'), + ), + (PRESENTATIONNS,'sound') : ( + ), + (SCRIPTNS,'event-listener') : ( + ), + (STYLENS,'background-image') : ( + (OFFICENS,'binary-data'), + ), + (STYLENS,'chart-properties') : ( + (CHARTNS,'symbol-image'), + ), + (STYLENS,'column') : ( + ), + (STYLENS,'column-sep') : ( + ), + (STYLENS,'columns') : ( + (STYLENS,'column'), + (STYLENS,'column-sep'), + ), + (STYLENS,'default-style') : ( + (STYLENS,'chart-properties'), + (STYLENS,'drawing-page-properties'), + (STYLENS,'graphic-properties'), + (STYLENS,'paragraph-properties'), + (STYLENS,'ruby-properties'), + (STYLENS,'section-properties'), + (STYLENS,'table-cell-properties'), + (STYLENS,'table-column-properties'), + (STYLENS,'table-properties'), + (STYLENS,'table-row-properties'), + (STYLENS,'text-properties'), + ), + (STYLENS,'drawing-page-properties') : ( + (PRESENTATIONNS,'sound'), + ), + (STYLENS,'drop-cap') : ( + ), + (STYLENS,'font-face') : ( + (SVGNS,'definition-src'), + (SVGNS,'font-face-src'), + ), + (STYLENS,'footer') : ( + (STYLENS,'region-center'), + (STYLENS,'region-left'), + (STYLENS,'region-right'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'index-title'), + (TEXTNS,'list'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'tracked-changes'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'user-index'), + (TEXTNS,'variable-decls'), ), # allowed_children - (STYLENS,u'footer-left') : ( - (STYLENS,u'region-center'), - (STYLENS,u'region-left'), - (STYLENS,u'region-right'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'index-title'), - (TEXTNS,u'list'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'tracked-changes'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'user-index'), - (TEXTNS,u'variable-decls'), - ), - (STYLENS,u'footer-style') : ( - (STYLENS,u'header-footer-properties'), - ), - (STYLENS,u'footnote-sep') : ( - ), - (STYLENS,u'graphic-properties') : ( - (STYLENS,u'background-image'), - (STYLENS,u'columns'), - (TEXTNS,u'list-style'), + (STYLENS,'footer-left') : ( + (STYLENS,'region-center'), + (STYLENS,'region-left'), + (STYLENS,'region-right'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'index-title'), + (TEXTNS,'list'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'tracked-changes'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'user-index'), + (TEXTNS,'variable-decls'), + ), + (STYLENS,'footer-style') : ( + (STYLENS,'header-footer-properties'), + ), + (STYLENS,'footnote-sep') : ( + ), + (STYLENS,'graphic-properties') : ( + (STYLENS,'background-image'), + (STYLENS,'columns'), + (TEXTNS,'list-style'), ), # allowed_children - (STYLENS,u'handout-master') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - ), - (STYLENS,u'header') : ( - (STYLENS,u'region-center'), - (STYLENS,u'region-left'), - (STYLENS,u'region-right'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'index-title'), - (TEXTNS,u'list'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'tracked-changes'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'user-index'), - (TEXTNS,u'variable-decls'), + (STYLENS,'handout-master') : ( + (DR3DNS,'scene'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + ), + (STYLENS,'header') : ( + (STYLENS,'region-center'), + (STYLENS,'region-left'), + (STYLENS,'region-right'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'index-title'), + (TEXTNS,'list'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'tracked-changes'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'user-index'), + (TEXTNS,'variable-decls'), ), # allowed_children - (STYLENS,u'header-footer-properties') : ( - (STYLENS,u'background-image'), - ), - (STYLENS,u'header-left') : ( - (STYLENS,u'region-center'), - (STYLENS,u'region-left'), - (STYLENS,u'region-right'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'index-title'), - (TEXTNS,u'list'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'tracked-changes'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'user-index'), - (TEXTNS,u'variable-decls'), - ), - (STYLENS,u'header-style') : ( - (STYLENS,u'header-footer-properties'), - ), - (STYLENS,u'list-level-properties') : ( - ), - (STYLENS,u'map') : ( - ), - (STYLENS,u'master-page') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'forms'), - (PRESENTATIONNS,u'notes'), - (STYLENS,u'footer'), - (STYLENS,u'footer-left'), - (STYLENS,u'header'), - (STYLENS,u'header-left'), - (STYLENS,u'style'), - ), - (STYLENS,u'page-layout') : ( - (STYLENS,u'footer-style'), - (STYLENS,u'header-style'), - (STYLENS,u'page-layout-properties'), - ), - (STYLENS,u'page-layout-properties') : ( - (STYLENS,u'background-image'), - (STYLENS,u'columns'), - (STYLENS,u'footnote-sep'), + (STYLENS,'header-footer-properties') : ( + (STYLENS,'background-image'), + ), + (STYLENS,'header-left') : ( + (STYLENS,'region-center'), + (STYLENS,'region-left'), + (STYLENS,'region-right'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'index-title'), + (TEXTNS,'list'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'tracked-changes'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'user-index'), + (TEXTNS,'variable-decls'), + ), + (STYLENS,'header-style') : ( + (STYLENS,'header-footer-properties'), + ), + (STYLENS,'list-level-properties') : ( + ), + (STYLENS,'map') : ( + ), + (STYLENS,'master-page') : ( + (DR3DNS,'scene'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'forms'), + (PRESENTATIONNS,'notes'), + (STYLENS,'footer'), + (STYLENS,'footer-left'), + (STYLENS,'header'), + (STYLENS,'header-left'), + (STYLENS,'style'), + ), + (STYLENS,'page-layout') : ( + (STYLENS,'footer-style'), + (STYLENS,'header-style'), + (STYLENS,'page-layout-properties'), + ), + (STYLENS,'page-layout-properties') : ( + (STYLENS,'background-image'), + (STYLENS,'columns'), + (STYLENS,'footnote-sep'), ), # allowed_children - (STYLENS,u'paragraph-properties') : ( - (STYLENS,u'background-image'), - (STYLENS,u'drop-cap'), - (STYLENS,u'tab-stops'), - ), - (STYLENS,u'presentation-page-layout') : ( - (PRESENTATIONNS,u'placeholder'), - ), - (STYLENS,u'region-center') : ( - (TEXTNS,u'p'), - ), - (STYLENS,u'region-left') : ( - (TEXTNS,u'p'), - ), - (STYLENS,u'region-right') : ( - (TEXTNS,u'p'), - ), - (STYLENS,u'ruby-properties') : ( - ), - (STYLENS,u'section-properties') : ( - (STYLENS,u'background-image'), - (STYLENS,u'columns'), - (TEXTNS,u'notes-configuration'), - ), - (STYLENS,u'style') : ( - (STYLENS,u'chart-properties'), - (STYLENS,u'drawing-page-properties'), - (STYLENS,u'graphic-properties'), - (STYLENS,u'map'), - (STYLENS,u'paragraph-properties'), - (STYLENS,u'ruby-properties'), - (STYLENS,u'section-properties'), - (STYLENS,u'table-cell-properties'), - (STYLENS,u'table-column-properties'), - (STYLENS,u'table-properties'), - (STYLENS,u'table-row-properties'), - (STYLENS,u'text-properties'), - ), - (STYLENS,u'tab-stop') : ( - ), - (STYLENS,u'tab-stops') : ( - (STYLENS,u'tab-stop'), + (STYLENS,'paragraph-properties') : ( + (STYLENS,'background-image'), + (STYLENS,'drop-cap'), + (STYLENS,'tab-stops'), + ), + (STYLENS,'presentation-page-layout') : ( + (PRESENTATIONNS,'placeholder'), + ), + (STYLENS,'region-center') : ( + (TEXTNS,'p'), + ), + (STYLENS,'region-left') : ( + (TEXTNS,'p'), + ), + (STYLENS,'region-right') : ( + (TEXTNS,'p'), + ), + (STYLENS,'ruby-properties') : ( + ), + (STYLENS,'section-properties') : ( + (STYLENS,'background-image'), + (STYLENS,'columns'), + (TEXTNS,'notes-configuration'), + ), + (STYLENS,'style') : ( + (STYLENS,'chart-properties'), + (STYLENS,'drawing-page-properties'), + (STYLENS,'graphic-properties'), + (STYLENS,'map'), + (STYLENS,'paragraph-properties'), + (STYLENS,'ruby-properties'), + (STYLENS,'section-properties'), + (STYLENS,'table-cell-properties'), + (STYLENS,'table-column-properties'), + (STYLENS,'table-properties'), + (STYLENS,'table-row-properties'), + (STYLENS,'text-properties'), + ), + (STYLENS,'tab-stop') : ( + ), + (STYLENS,'tab-stops') : ( + (STYLENS,'tab-stop'), ), # allowed_children - (STYLENS,u'table-cell-properties') : ( - (STYLENS,u'background-image'), - ), - (STYLENS,u'table-column-properties') : ( - ), - (STYLENS,u'table-properties') : ( - (STYLENS,u'background-image'), - ), - (STYLENS,u'table-row-properties') : ( - (STYLENS,u'background-image'), - ), - (STYLENS,u'text-properties') : ( - ), - (SVGNS,u'definition-src') : ( - ), - (SVGNS,u'desc') : ( - ), - (SVGNS,u'font-face-format') : ( - ), - (SVGNS,u'font-face-name') : ( - ), - (SVGNS,u'font-face-src') : ( - (SVGNS,u'font-face-name'), - (SVGNS,u'font-face-uri'), - ), - (SVGNS,u'font-face-uri') : ( - (SVGNS,u'font-face-format'), - ), - (SVGNS,u'linearGradient') : ( - (SVGNS,u'stop'), - ), - (SVGNS,u'radialGradient') : ( - (SVGNS,u'stop'), - ), - (SVGNS,u'stop') : ( - ), - (SVGNS,u'title') : ( - ), - (TABLENS,u'body') : ( - ), - (TABLENS,u'calculation-settings') : ( - (TABLENS,u'iteration'), - (TABLENS,u'null-date'), + (STYLENS,'table-cell-properties') : ( + (STYLENS,'background-image'), + ), + (STYLENS,'table-column-properties') : ( + ), + (STYLENS,'table-properties') : ( + (STYLENS,'background-image'), + ), + (STYLENS,'table-row-properties') : ( + (STYLENS,'background-image'), + ), + (STYLENS,'text-properties') : ( + ), + (SVGNS,'definition-src') : ( + ), + (SVGNS,'desc') : ( + ), + (SVGNS,'font-face-format') : ( + ), + (SVGNS,'font-face-name') : ( + ), + (SVGNS,'font-face-src') : ( + (SVGNS,'font-face-name'), + (SVGNS,'font-face-uri'), + ), + (SVGNS,'font-face-uri') : ( + (SVGNS,'font-face-format'), + ), + (SVGNS,'linearGradient') : ( + (SVGNS,'stop'), + ), + (SVGNS,'radialGradient') : ( + (SVGNS,'stop'), + ), + (SVGNS,'stop') : ( + ), + (SVGNS,'title') : ( + ), + (TABLENS,'body') : ( + ), + (TABLENS,'calculation-settings') : ( + (TABLENS,'iteration'), + (TABLENS,'null-date'), ), # allowed_children - (TABLENS,u'cell-address') : ( - ), - (TABLENS,u'cell-content-change') : ( - (OFFICENS,u'change-info'), - (TABLENS,u'cell-address'), - (TABLENS,u'deletions'), - (TABLENS,u'dependencies'), - (TABLENS,u'previous'), - ), - (TABLENS,u'cell-content-deletion') : ( - (TABLENS,u'cell-address'), - (TABLENS,u'change-track-table-cell'), - ), - (TABLENS,u'cell-range-source') : ( - ), - (TABLENS,u'change-deletion') : ( - ), - (TABLENS,u'change-track-table-cell') : ( - (TEXTNS,u'p'), - ), - (TABLENS,u'consolidation') : ( - ), - (TABLENS,u'content-validation') : ( - (OFFICENS,u'event-listeners'), - (TABLENS,u'error-macro'), - (TABLENS,u'error-message'), - (TABLENS,u'help-message'), + (TABLENS,'cell-address') : ( + ), + (TABLENS,'cell-content-change') : ( + (OFFICENS,'change-info'), + (TABLENS,'cell-address'), + (TABLENS,'deletions'), + (TABLENS,'dependencies'), + (TABLENS,'previous'), + ), + (TABLENS,'cell-content-deletion') : ( + (TABLENS,'cell-address'), + (TABLENS,'change-track-table-cell'), + ), + (TABLENS,'cell-range-source') : ( + ), + (TABLENS,'change-deletion') : ( + ), + (TABLENS,'change-track-table-cell') : ( + (TEXTNS,'p'), + ), + (TABLENS,'consolidation') : ( + ), + (TABLENS,'content-validation') : ( + (OFFICENS,'event-listeners'), + (TABLENS,'error-macro'), + (TABLENS,'error-message'), + (TABLENS,'help-message'), ), # allowed_children - (TABLENS,u'content-validations') : ( - (TABLENS,u'content-validation'), - ), - (TABLENS,u'covered-table-cell') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'annotation'), - (TABLENS,u'cell-range-source'), - (TABLENS,u'detective'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'list'), - (TEXTNS,u'numbered-paragraph'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'user-index'), + (TABLENS,'content-validations') : ( + (TABLENS,'content-validation'), + ), + (TABLENS,'covered-table-cell') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'annotation'), + (TABLENS,'cell-range-source'), + (TABLENS,'detective'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'list'), + (TEXTNS,'numbered-paragraph'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'user-index'), ), # allowed_children - (TABLENS,u'cut-offs') : ( - (TABLENS,u'insertion-cut-off'), - (TABLENS,u'movement-cut-off'), - ), - (TABLENS,u'data-pilot-display-info') : ( - ), - (TABLENS,u'data-pilot-field') : ( - (TABLENS,u'data-pilot-field-reference'), - (TABLENS,u'data-pilot-groups'), - (TABLENS,u'data-pilot-level'), - ), - (TABLENS,u'data-pilot-field-reference') : ( - ), - (TABLENS,u'data-pilot-group') : ( - (TABLENS,u'data-pilot-group-member'), - ), - (TABLENS,u'data-pilot-group-member') : ( - ), - (TABLENS,u'data-pilot-groups') : ( - (TABLENS,u'data-pilot-group'), - ), - (TABLENS,u'data-pilot-layout-info') : ( - ), - (TABLENS,u'data-pilot-level') : ( - (TABLENS,u'data-pilot-display-info'), - (TABLENS,u'data-pilot-layout-info'), - (TABLENS,u'data-pilot-members'), - (TABLENS,u'data-pilot-sort-info'), - (TABLENS,u'data-pilot-subtotals'), - ), - (TABLENS,u'data-pilot-member') : ( - ), - (TABLENS,u'data-pilot-members') : ( - (TABLENS,u'data-pilot-member'), - ), - (TABLENS,u'data-pilot-sort-info') : ( - ), - (TABLENS,u'data-pilot-subtotal') : ( - ), - (TABLENS,u'data-pilot-subtotals') : ( - (TABLENS,u'data-pilot-subtotal'), + (TABLENS,'cut-offs') : ( + (TABLENS,'insertion-cut-off'), + (TABLENS,'movement-cut-off'), + ), + (TABLENS,'data-pilot-display-info') : ( + ), + (TABLENS,'data-pilot-field') : ( + (TABLENS,'data-pilot-field-reference'), + (TABLENS,'data-pilot-groups'), + (TABLENS,'data-pilot-level'), + ), + (TABLENS,'data-pilot-field-reference') : ( + ), + (TABLENS,'data-pilot-group') : ( + (TABLENS,'data-pilot-group-member'), + ), + (TABLENS,'data-pilot-group-member') : ( + ), + (TABLENS,'data-pilot-groups') : ( + (TABLENS,'data-pilot-group'), + ), + (TABLENS,'data-pilot-layout-info') : ( + ), + (TABLENS,'data-pilot-level') : ( + (TABLENS,'data-pilot-display-info'), + (TABLENS,'data-pilot-layout-info'), + (TABLENS,'data-pilot-members'), + (TABLENS,'data-pilot-sort-info'), + (TABLENS,'data-pilot-subtotals'), + ), + (TABLENS,'data-pilot-member') : ( + ), + (TABLENS,'data-pilot-members') : ( + (TABLENS,'data-pilot-member'), + ), + (TABLENS,'data-pilot-sort-info') : ( + ), + (TABLENS,'data-pilot-subtotal') : ( + ), + (TABLENS,'data-pilot-subtotals') : ( + (TABLENS,'data-pilot-subtotal'), ), # allowed_children - (TABLENS,u'data-pilot-table') : ( - (TABLENS,u'data-pilot-field'), - (TABLENS,u'database-source-query'), - (TABLENS,u'database-source-sql'), - (TABLENS,u'database-source-table'), - (TABLENS,u'source-cell-range'), - (TABLENS,u'source-service'), - ), - (TABLENS,u'data-pilot-tables') : ( - (TABLENS,u'data-pilot-table'), - ), - (TABLENS,u'database-range') : ( - (TABLENS,u'database-source-query'), - (TABLENS,u'database-source-sql'), - (TABLENS,u'database-source-table'), - (TABLENS,u'filter'), - (TABLENS,u'sort'), - (TABLENS,u'subtotal-rules'), - ), - (TABLENS,u'database-ranges') : ( - (TABLENS,u'database-range'), - ), - (TABLENS,u'database-source-query') : ( - ), - (TABLENS,u'database-source-sql') : ( - ), - (TABLENS,u'database-source-table') : ( + (TABLENS,'data-pilot-table') : ( + (TABLENS,'data-pilot-field'), + (TABLENS,'database-source-query'), + (TABLENS,'database-source-sql'), + (TABLENS,'database-source-table'), + (TABLENS,'source-cell-range'), + (TABLENS,'source-service'), + ), + (TABLENS,'data-pilot-tables') : ( + (TABLENS,'data-pilot-table'), + ), + (TABLENS,'database-range') : ( + (TABLENS,'database-source-query'), + (TABLENS,'database-source-sql'), + (TABLENS,'database-source-table'), + (TABLENS,'filter'), + (TABLENS,'sort'), + (TABLENS,'subtotal-rules'), + ), + (TABLENS,'database-ranges') : ( + (TABLENS,'database-range'), + ), + (TABLENS,'database-source-query') : ( + ), + (TABLENS,'database-source-sql') : ( + ), + (TABLENS,'database-source-table') : ( ), # allowed_children - (TABLENS,u'dde-link') : ( - (OFFICENS,u'dde-source'), - (TABLENS,u'table'), - ), - (TABLENS,u'dde-links') : ( - (TABLENS,u'dde-link'), - ), - (TABLENS,u'deletion') : ( - (OFFICENS,u'change-info'), - (TABLENS,u'cut-offs'), - (TABLENS,u'deletions'), - (TABLENS,u'dependencies'), - ), - (TABLENS,u'deletions') : ( - (TABLENS,u'cell-content-deletion'), - (TABLENS,u'change-deletion'), - ), - (TABLENS,u'dependencies') : ( - (TABLENS,u'dependency'), - ), - (TABLENS,u'dependency') : ( - ), - (TABLENS,u'detective') : ( - (TABLENS,u'highlighted-range'), - (TABLENS,u'operation'), + (TABLENS,'dde-link') : ( + (OFFICENS,'dde-source'), + (TABLENS,'table'), + ), + (TABLENS,'dde-links') : ( + (TABLENS,'dde-link'), + ), + (TABLENS,'deletion') : ( + (OFFICENS,'change-info'), + (TABLENS,'cut-offs'), + (TABLENS,'deletions'), + (TABLENS,'dependencies'), + ), + (TABLENS,'deletions') : ( + (TABLENS,'cell-content-deletion'), + (TABLENS,'change-deletion'), + ), + (TABLENS,'dependencies') : ( + (TABLENS,'dependency'), + ), + (TABLENS,'dependency') : ( + ), + (TABLENS,'detective') : ( + (TABLENS,'highlighted-range'), + (TABLENS,'operation'), ), # allowed_children - (TABLENS,u'error-macro') : ( - ), - (TABLENS,u'error-message') : ( - (TEXTNS,u'p'), - ), - (TABLENS,u'even-columns') : ( - ), - (TABLENS,u'even-rows') : ( - ), - (TABLENS,u'filter') : ( - (TABLENS,u'filter-and'), - (TABLENS,u'filter-condition'), - (TABLENS,u'filter-or'), - ), - (TABLENS,u'filter-and') : ( - (TABLENS,u'filter-condition'), - (TABLENS,u'filter-or'), - ), - (TABLENS,u'filter-condition') : ( - ), - (TABLENS,u'filter-or') : ( - (TABLENS,u'filter-and'), - (TABLENS,u'filter-condition'), + (TABLENS,'error-macro') : ( + ), + (TABLENS,'error-message') : ( + (TEXTNS,'p'), + ), + (TABLENS,'even-columns') : ( + ), + (TABLENS,'even-rows') : ( + ), + (TABLENS,'filter') : ( + (TABLENS,'filter-and'), + (TABLENS,'filter-condition'), + (TABLENS,'filter-or'), + ), + (TABLENS,'filter-and') : ( + (TABLENS,'filter-condition'), + (TABLENS,'filter-or'), + ), + (TABLENS,'filter-condition') : ( + ), + (TABLENS,'filter-or') : ( + (TABLENS,'filter-and'), + (TABLENS,'filter-condition'), ), # allowed_children - (TABLENS,u'first-column') : ( - ), - (TABLENS,u'first-row') : ( - ), - (TABLENS,u'help-message') : ( - (TEXTNS,u'p'), - ), - (TABLENS,u'highlighted-range') : ( - ), - (TABLENS,u'insertion') : ( - (OFFICENS,u'change-info'), - (TABLENS,u'deletions'), - (TABLENS,u'dependencies'), - ), - (TABLENS,u'insertion-cut-off') : ( - ), - (TABLENS,u'iteration') : ( - ), - (TABLENS,u'label-range') : ( - ), - (TABLENS,u'label-ranges') : ( - (TABLENS,u'label-range'), - ), - (TABLENS,u'last-column') : ( - ), - (TABLENS,u'last-row') : ( - ), - (TABLENS,u'movement') : ( - (OFFICENS,u'change-info'), - (TABLENS,u'deletions'), - (TABLENS,u'dependencies'), - (TABLENS,u'source-range-address'), - (TABLENS,u'target-range-address'), - ), - (TABLENS,u'movement-cut-off') : ( - ), - (TABLENS,u'named-expression') : ( - ), - (TABLENS,u'named-expressions') : ( - (TABLENS,u'named-expression'), - (TABLENS,u'named-range'), + (TABLENS,'first-column') : ( + ), + (TABLENS,'first-row') : ( + ), + (TABLENS,'help-message') : ( + (TEXTNS,'p'), + ), + (TABLENS,'highlighted-range') : ( + ), + (TABLENS,'insertion') : ( + (OFFICENS,'change-info'), + (TABLENS,'deletions'), + (TABLENS,'dependencies'), + ), + (TABLENS,'insertion-cut-off') : ( + ), + (TABLENS,'iteration') : ( + ), + (TABLENS,'label-range') : ( + ), + (TABLENS,'label-ranges') : ( + (TABLENS,'label-range'), + ), + (TABLENS,'last-column') : ( + ), + (TABLENS,'last-row') : ( + ), + (TABLENS,'movement') : ( + (OFFICENS,'change-info'), + (TABLENS,'deletions'), + (TABLENS,'dependencies'), + (TABLENS,'source-range-address'), + (TABLENS,'target-range-address'), + ), + (TABLENS,'movement-cut-off') : ( + ), + (TABLENS,'named-expression') : ( + ), + (TABLENS,'named-expressions') : ( + (TABLENS,'named-expression'), + (TABLENS,'named-range'), ), # allowed_children - (TABLENS,u'named-range') : ( - ), - (TABLENS,u'null-date') : ( - ), - (TABLENS,u'odd-columns') : ( - ), - (TABLENS,u'odd-rows') : ( - ), - (TABLENS,u'operation') : ( - ), - (TABLENS,u'previous') : ( - (TABLENS,u'change-track-table-cell'), - ), - (TABLENS,u'scenario') : ( - ), - (TABLENS,u'shapes') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), + (TABLENS,'named-range') : ( + ), + (TABLENS,'null-date') : ( + ), + (TABLENS,'odd-columns') : ( + ), + (TABLENS,'odd-rows') : ( + ), + (TABLENS,'operation') : ( + ), + (TABLENS,'previous') : ( + (TABLENS,'change-track-table-cell'), + ), + (TABLENS,'scenario') : ( + ), + (TABLENS,'shapes') : ( + (DR3DNS,'scene'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), ), # allowed_children - (TABLENS,u'sort') : ( - (TABLENS,u'sort-by'), - ), - (TABLENS,u'sort-by') : ( - ), - (TABLENS,u'sort-groups') : ( - ), - (TABLENS,u'source-cell-range') : ( - (TABLENS,u'filter'), - ), - (TABLENS,u'source-range-address') : ( - ), - (TABLENS,u'source-service') : ( - ), - (TABLENS,u'subtotal-field') : ( - ), - (TABLENS,u'subtotal-rule') : ( - (TABLENS,u'subtotal-field'), - ), - (TABLENS,u'subtotal-rules') : ( - (TABLENS,u'sort-groups'), - (TABLENS,u'subtotal-rule'), + (TABLENS,'sort') : ( + (TABLENS,'sort-by'), + ), + (TABLENS,'sort-by') : ( + ), + (TABLENS,'sort-groups') : ( + ), + (TABLENS,'source-cell-range') : ( + (TABLENS,'filter'), + ), + (TABLENS,'source-range-address') : ( + ), + (TABLENS,'source-service') : ( + ), + (TABLENS,'subtotal-field') : ( + ), + (TABLENS,'subtotal-rule') : ( + (TABLENS,'subtotal-field'), + ), + (TABLENS,'subtotal-rules') : ( + (TABLENS,'sort-groups'), + (TABLENS,'subtotal-rule'), ), # allowed_children - (TABLENS,u'table') : ( - (OFFICENS,u'dde-source'), - (OFFICENS,u'forms'), - (TEXTNS,u'soft-page-break'), - (TABLENS,u'scenario'), - (TABLENS,u'shapes'), - (TABLENS,u'table-column'), - (TABLENS,u'table-column-group'), - (TABLENS,u'table-columns'), - (TABLENS,u'table-header-columns'), - (TABLENS,u'table-header-rows'), - (TABLENS,u'table-row'), - (TABLENS,u'table-row-group'), - (TABLENS,u'table-rows'), - (TABLENS,u'table-source'), - ), - (TABLENS,u'table-cell') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'annotation'), - (TABLENS,u'cell-range-source'), - (TABLENS,u'detective'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'list'), - (TEXTNS,u'numbered-paragraph'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'user-index'), + (TABLENS,'table') : ( + (OFFICENS,'dde-source'), + (OFFICENS,'forms'), + (TEXTNS,'soft-page-break'), + (TABLENS,'scenario'), + (TABLENS,'shapes'), + (TABLENS,'table-column'), + (TABLENS,'table-column-group'), + (TABLENS,'table-columns'), + (TABLENS,'table-header-columns'), + (TABLENS,'table-header-rows'), + (TABLENS,'table-row'), + (TABLENS,'table-row-group'), + (TABLENS,'table-rows'), + (TABLENS,'table-source'), + ), + (TABLENS,'table-cell') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'annotation'), + (TABLENS,'cell-range-source'), + (TABLENS,'detective'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'list'), + (TEXTNS,'numbered-paragraph'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'user-index'), ), # allowed_children - (TABLENS,u'table-column') : ( - ), - (TABLENS,u'table-column-group') : ( - (TABLENS,u'table-column'), - (TABLENS,u'table-column-group'), - (TABLENS,u'table-columns'), - (TABLENS,u'table-header-columns'), - ), - (TABLENS,u'table-columns') : ( - (TABLENS,u'table-column'), - ), - (TABLENS,u'table-header-columns') : ( - (TABLENS,u'table-column'), - ), - (TABLENS,u'table-header-rows') : ( - (TABLENS,u'table-row'), - (TEXTNS,u'soft-page-break'), - ), - (TABLENS,u'table-row') : ( - (TABLENS,u'covered-table-cell'), - (TABLENS,u'table-cell'), - ), - (TABLENS,u'table-row-group') : ( - (TABLENS,u'table-header-rows'), - (TABLENS,u'table-row'), - (TABLENS,u'table-row-group'), - (TABLENS,u'table-rows'), - (TEXTNS,u'soft-page-break'), - ), - (TABLENS,u'table-rows') : ( - (TABLENS,u'table-row'), - (TEXTNS,u'soft-page-break'), + (TABLENS,'table-column') : ( + ), + (TABLENS,'table-column-group') : ( + (TABLENS,'table-column'), + (TABLENS,'table-column-group'), + (TABLENS,'table-columns'), + (TABLENS,'table-header-columns'), + ), + (TABLENS,'table-columns') : ( + (TABLENS,'table-column'), + ), + (TABLENS,'table-header-columns') : ( + (TABLENS,'table-column'), + ), + (TABLENS,'table-header-rows') : ( + (TABLENS,'table-row'), + (TEXTNS,'soft-page-break'), + ), + (TABLENS,'table-row') : ( + (TABLENS,'covered-table-cell'), + (TABLENS,'table-cell'), + ), + (TABLENS,'table-row-group') : ( + (TABLENS,'table-header-rows'), + (TABLENS,'table-row'), + (TABLENS,'table-row-group'), + (TABLENS,'table-rows'), + (TEXTNS,'soft-page-break'), + ), + (TABLENS,'table-rows') : ( + (TABLENS,'table-row'), + (TEXTNS,'soft-page-break'), ), # allowed_children - (TABLENS,u'table-source') : ( - ), - (TABLENS,u'table-template') : ( - (TABLENS,u'body'), - (TABLENS,u'even-columns'), - (TABLENS,u'even-rows'), - (TABLENS,u'first-column'), - (TABLENS,u'first-row'), - (TABLENS,u'last-column'), - (TABLENS,u'last-row'), - (TABLENS,u'odd-columns'), - (TABLENS,u'odd-rows'), - ), - (TABLENS,u'target-range-address') : ( - ), - (TABLENS,u'tracked-changes') : ( - (TABLENS,u'cell-content-change'), - (TABLENS,u'deletion'), - (TABLENS,u'insertion'), - (TABLENS,u'movement'), + (TABLENS,'table-source') : ( + ), + (TABLENS,'table-template') : ( + (TABLENS,'body'), + (TABLENS,'even-columns'), + (TABLENS,'even-rows'), + (TABLENS,'first-column'), + (TABLENS,'first-row'), + (TABLENS,'last-column'), + (TABLENS,'last-row'), + (TABLENS,'odd-columns'), + (TABLENS,'odd-rows'), + ), + (TABLENS,'target-range-address') : ( + ), + (TABLENS,'tracked-changes') : ( + (TABLENS,'cell-content-change'), + (TABLENS,'deletion'), + (TABLENS,'insertion'), + (TABLENS,'movement'), ), # allowed_children - (TEXTNS,u'a') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'annotation'), - (OFFICENS,u'event-listeners'), - (PRESENTATIONNS,u'date-time'), - (PRESENTATIONNS,u'footer'), - (PRESENTATIONNS,u'header'), - (TEXTNS,u'a'), - (TEXTNS,u'alphabetical-index-mark'), - (TEXTNS,u'alphabetical-index-mark-end'), - (TEXTNS,u'alphabetical-index-mark-start'), - (TEXTNS,u'author-initials'), - (TEXTNS,u'author-name'), - (TEXTNS,u'bibliography-mark'), - (TEXTNS,u'bookmark'), - (TEXTNS,u'bookmark-end'), - (TEXTNS,u'bookmark-ref'), - (TEXTNS,u'bookmark-start'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'chapter'), - (TEXTNS,u'conditional-text'), - (TEXTNS,u'creation-date'), - (TEXTNS,u'creation-time'), - (TEXTNS,u'creator'), - (TEXTNS,u'database-display'), - (TEXTNS,u'database-name'), - (TEXTNS,u'database-next'), - (TEXTNS,u'database-row-number'), - (TEXTNS,u'database-row-select'), - (TEXTNS,u'date'), - (TEXTNS,u'dde-connection'), - (TEXTNS,u'description'), - (TEXTNS,u'editing-cycles'), - (TEXTNS,u'editing-duration'), - (TEXTNS,u'execute-macro'), - (TEXTNS,u'expression'), - (TEXTNS,u'file-name'), - (TEXTNS,u'hidden-paragraph'), - (TEXTNS,u'hidden-text'), - (TEXTNS,u'initial-creator'), - (TEXTNS,u'keywords'), - (TEXTNS,u'line-break'), - (TEXTNS,u'measure'), - (TEXTNS,u'modification-date'), - (TEXTNS,u'modification-time'), - (TEXTNS,u'note'), - (TEXTNS,u'note-ref'), - (TEXTNS,u'page-count'), - (TEXTNS,u'paragraph-count'), - (TEXTNS,u'word-count'), - (TEXTNS,u'character-count'), - (TEXTNS,u'table-count'), - (TEXTNS,u'image-count'), - (TEXTNS,u'object-count'), - (TEXTNS,u'page-continuation'), - (TEXTNS,u'page-number'), - (TEXTNS,u'page-variable-get'), - (TEXTNS,u'page-variable-set'), - (TEXTNS,u'placeholder'), - (TEXTNS,u'print-date'), - (TEXTNS,u'print-time'), - (TEXTNS,u'printed-by'), - (TEXTNS,u'reference-mark'), - (TEXTNS,u'reference-mark-end'), - (TEXTNS,u'reference-mark-start'), - (TEXTNS,u'reference-ref'), - (TEXTNS,u'ruby'), - (TEXTNS,u's'), - (TEXTNS,u'script'), - (TEXTNS,u'sender-city'), - (TEXTNS,u'sender-company'), - (TEXTNS,u'sender-country'), - (TEXTNS,u'sender-email'), - (TEXTNS,u'sender-fax'), - (TEXTNS,u'sender-firstname'), - (TEXTNS,u'sender-initials'), - (TEXTNS,u'sender-lastname'), - (TEXTNS,u'sender-phone-private'), - (TEXTNS,u'sender-phone-work'), - (TEXTNS,u'sender-position'), - (TEXTNS,u'sender-postal-code'), - (TEXTNS,u'sender-state-or-province'), - (TEXTNS,u'sender-street'), - (TEXTNS,u'sender-title'), - (TEXTNS,u'sequence'), - (TEXTNS,u'sequence-ref'), - (TEXTNS,u'sheet-name'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'span'), - (TEXTNS,u'subject'), - (TEXTNS,u'tab'), - (TEXTNS,u'table-formula'), - (TEXTNS,u'template-name'), - (TEXTNS,u'text-input'), - (TEXTNS,u'time'), - (TEXTNS,u'title'), - (TEXTNS,u'toc-mark'), - (TEXTNS,u'toc-mark-end'), - (TEXTNS,u'toc-mark-start'), - (TEXTNS,u'user-defined'), - (TEXTNS,u'user-field-get'), - (TEXTNS,u'user-field-input'), - (TEXTNS,u'user-index-mark'), - (TEXTNS,u'user-index-mark-end'), - (TEXTNS,u'user-index-mark-start'), - (TEXTNS,u'variable-get'), - (TEXTNS,u'variable-input'), - (TEXTNS,u'variable-set'), + (TEXTNS,'a') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'annotation'), + (OFFICENS,'event-listeners'), + (PRESENTATIONNS,'date-time'), + (PRESENTATIONNS,'footer'), + (PRESENTATIONNS,'header'), + (TEXTNS,'a'), + (TEXTNS,'alphabetical-index-mark'), + (TEXTNS,'alphabetical-index-mark-end'), + (TEXTNS,'alphabetical-index-mark-start'), + (TEXTNS,'author-initials'), + (TEXTNS,'author-name'), + (TEXTNS,'bibliography-mark'), + (TEXTNS,'bookmark'), + (TEXTNS,'bookmark-end'), + (TEXTNS,'bookmark-ref'), + (TEXTNS,'bookmark-start'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'chapter'), + (TEXTNS,'conditional-text'), + (TEXTNS,'creation-date'), + (TEXTNS,'creation-time'), + (TEXTNS,'creator'), + (TEXTNS,'database-display'), + (TEXTNS,'database-name'), + (TEXTNS,'database-next'), + (TEXTNS,'database-row-number'), + (TEXTNS,'database-row-select'), + (TEXTNS,'date'), + (TEXTNS,'dde-connection'), + (TEXTNS,'description'), + (TEXTNS,'editing-cycles'), + (TEXTNS,'editing-duration'), + (TEXTNS,'execute-macro'), + (TEXTNS,'expression'), + (TEXTNS,'file-name'), + (TEXTNS,'hidden-paragraph'), + (TEXTNS,'hidden-text'), + (TEXTNS,'initial-creator'), + (TEXTNS,'keywords'), + (TEXTNS,'line-break'), + (TEXTNS,'measure'), + (TEXTNS,'modification-date'), + (TEXTNS,'modification-time'), + (TEXTNS,'note'), + (TEXTNS,'note-ref'), + (TEXTNS,'page-count'), + (TEXTNS,'paragraph-count'), + (TEXTNS,'word-count'), + (TEXTNS,'character-count'), + (TEXTNS,'table-count'), + (TEXTNS,'image-count'), + (TEXTNS,'object-count'), + (TEXTNS,'page-continuation'), + (TEXTNS,'page-number'), + (TEXTNS,'page-variable-get'), + (TEXTNS,'page-variable-set'), + (TEXTNS,'placeholder'), + (TEXTNS,'print-date'), + (TEXTNS,'print-time'), + (TEXTNS,'printed-by'), + (TEXTNS,'reference-mark'), + (TEXTNS,'reference-mark-end'), + (TEXTNS,'reference-mark-start'), + (TEXTNS,'reference-ref'), + (TEXTNS,'ruby'), + (TEXTNS,'s'), + (TEXTNS,'script'), + (TEXTNS,'sender-city'), + (TEXTNS,'sender-company'), + (TEXTNS,'sender-country'), + (TEXTNS,'sender-email'), + (TEXTNS,'sender-fax'), + (TEXTNS,'sender-firstname'), + (TEXTNS,'sender-initials'), + (TEXTNS,'sender-lastname'), + (TEXTNS,'sender-phone-private'), + (TEXTNS,'sender-phone-work'), + (TEXTNS,'sender-position'), + (TEXTNS,'sender-postal-code'), + (TEXTNS,'sender-state-or-province'), + (TEXTNS,'sender-street'), + (TEXTNS,'sender-title'), + (TEXTNS,'sequence'), + (TEXTNS,'sequence-ref'), + (TEXTNS,'sheet-name'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'span'), + (TEXTNS,'subject'), + (TEXTNS,'tab'), + (TEXTNS,'table-formula'), + (TEXTNS,'template-name'), + (TEXTNS,'text-input'), + (TEXTNS,'time'), + (TEXTNS,'title'), + (TEXTNS,'toc-mark'), + (TEXTNS,'toc-mark-end'), + (TEXTNS,'toc-mark-start'), + (TEXTNS,'user-defined'), + (TEXTNS,'user-field-get'), + (TEXTNS,'user-field-input'), + (TEXTNS,'user-index-mark'), + (TEXTNS,'user-index-mark-end'), + (TEXTNS,'user-index-mark-start'), + (TEXTNS,'variable-get'), + (TEXTNS,'variable-input'), + (TEXTNS,'variable-set'), ), # allowed_children - (TEXTNS,u'alphabetical-index') : ( - (TEXTNS,u'alphabetical-index-source'), - (TEXTNS,u'index-body'), - ), - (TEXTNS,u'alphabetical-index-auto-mark-file') : ( - ), - (TEXTNS,u'alphabetical-index-entry-template') : ( - (TEXTNS,u'index-entry-chapter'), - (TEXTNS,u'index-entry-page-number'), - (TEXTNS,u'index-entry-span'), - (TEXTNS,u'index-entry-tab-stop'), - (TEXTNS,u'index-entry-text'), - ), - (TEXTNS,u'alphabetical-index-mark') : ( - ), - (TEXTNS,u'alphabetical-index-mark-end') : ( - ), - (TEXTNS,u'alphabetical-index-mark-start') : ( - ), - (TEXTNS,u'alphabetical-index-source') : ( - (TEXTNS,u'alphabetical-index-entry-template'), - (TEXTNS,u'index-title-template'), - ), - (TEXTNS,u'author-initials') : ( - ), - (TEXTNS,u'author-name') : ( - ), - (TEXTNS,u'bibliography') : ( - (TEXTNS,u'bibliography-source'), - (TEXTNS,u'index-body'), - ), - (TEXTNS,u'bibliography-configuration') : ( - (TEXTNS,u'sort-key'), - ), - (TEXTNS,u'bibliography-entry-template') : ( - (TEXTNS,u'index-entry-bibliography'), - (TEXTNS,u'index-entry-span'), - (TEXTNS,u'index-entry-tab-stop'), + (TEXTNS,'alphabetical-index') : ( + (TEXTNS,'alphabetical-index-source'), + (TEXTNS,'index-body'), + ), + (TEXTNS,'alphabetical-index-auto-mark-file') : ( + ), + (TEXTNS,'alphabetical-index-entry-template') : ( + (TEXTNS,'index-entry-chapter'), + (TEXTNS,'index-entry-page-number'), + (TEXTNS,'index-entry-span'), + (TEXTNS,'index-entry-tab-stop'), + (TEXTNS,'index-entry-text'), + ), + (TEXTNS,'alphabetical-index-mark') : ( + ), + (TEXTNS,'alphabetical-index-mark-end') : ( + ), + (TEXTNS,'alphabetical-index-mark-start') : ( + ), + (TEXTNS,'alphabetical-index-source') : ( + (TEXTNS,'alphabetical-index-entry-template'), + (TEXTNS,'index-title-template'), + ), + (TEXTNS,'author-initials') : ( + ), + (TEXTNS,'author-name') : ( + ), + (TEXTNS,'bibliography') : ( + (TEXTNS,'bibliography-source'), + (TEXTNS,'index-body'), + ), + (TEXTNS,'bibliography-configuration') : ( + (TEXTNS,'sort-key'), + ), + (TEXTNS,'bibliography-entry-template') : ( + (TEXTNS,'index-entry-bibliography'), + (TEXTNS,'index-entry-span'), + (TEXTNS,'index-entry-tab-stop'), ), # allowed_children - (TEXTNS,u'bibliography-mark') : ( - ), - (TEXTNS,u'bibliography-source') : ( - (TEXTNS,u'bibliography-entry-template'), - (TEXTNS,u'index-title-template'), - ), - (TEXTNS,u'bookmark') : ( - ), - (TEXTNS,u'bookmark-end') : ( - ), - (TEXTNS,u'bookmark-ref') : ( - ), - (TEXTNS,u'bookmark-start') : ( - ), - (TEXTNS,u'change') : ( - ), - (TEXTNS,u'change-end') : ( - ), - (TEXTNS,u'change-start') : ( - ), - (TEXTNS,u'changed-region') : ( - (TEXTNS,u'deletion'), - (TEXTNS,u'format-change'), - (TEXTNS,u'insertion'), - ), - (TEXTNS,u'chapter') : ( - ), - (TEXTNS,u'character-count') : ( - ), - (TEXTNS,u'conditional-text') : ( - ), - (TEXTNS,u'creation-date') : ( - ), - (TEXTNS,u'creation-time') : ( - ), - (TEXTNS,u'creator') : ( - ), - (TEXTNS,u'database-display') : ( - (FORMNS,u'connection-resource'), - ), - (TEXTNS,u'database-name') : ( - (FORMNS,u'connection-resource'), - ), - (TEXTNS,u'database-next') : ( - (FORMNS,u'connection-resource'), - ), - (TEXTNS,u'database-row-number') : ( - (FORMNS,u'connection-resource'), - ), - (TEXTNS,u'database-row-select') : ( - (FORMNS,u'connection-resource'), - ), - (TEXTNS,u'date') : ( - ), - (TEXTNS,u'dde-connection') : ( - ), - (TEXTNS,u'dde-connection-decl') : ( - ), - (TEXTNS,u'dde-connection-decls') : ( - (TEXTNS,u'dde-connection-decl'), + (TEXTNS,'bibliography-mark') : ( + ), + (TEXTNS,'bibliography-source') : ( + (TEXTNS,'bibliography-entry-template'), + (TEXTNS,'index-title-template'), + ), + (TEXTNS,'bookmark') : ( + ), + (TEXTNS,'bookmark-end') : ( + ), + (TEXTNS,'bookmark-ref') : ( + ), + (TEXTNS,'bookmark-start') : ( + ), + (TEXTNS,'change') : ( + ), + (TEXTNS,'change-end') : ( + ), + (TEXTNS,'change-start') : ( + ), + (TEXTNS,'changed-region') : ( + (TEXTNS,'deletion'), + (TEXTNS,'format-change'), + (TEXTNS,'insertion'), + ), + (TEXTNS,'chapter') : ( + ), + (TEXTNS,'character-count') : ( + ), + (TEXTNS,'conditional-text') : ( + ), + (TEXTNS,'creation-date') : ( + ), + (TEXTNS,'creation-time') : ( + ), + (TEXTNS,'creator') : ( + ), + (TEXTNS,'database-display') : ( + (FORMNS,'connection-resource'), + ), + (TEXTNS,'database-name') : ( + (FORMNS,'connection-resource'), + ), + (TEXTNS,'database-next') : ( + (FORMNS,'connection-resource'), + ), + (TEXTNS,'database-row-number') : ( + (FORMNS,'connection-resource'), + ), + (TEXTNS,'database-row-select') : ( + (FORMNS,'connection-resource'), + ), + (TEXTNS,'date') : ( + ), + (TEXTNS,'dde-connection') : ( + ), + (TEXTNS,'dde-connection-decl') : ( + ), + (TEXTNS,'dde-connection-decls') : ( + (TEXTNS,'dde-connection-decl'), ), # allowed_children - (TEXTNS,u'deletion') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'change-info'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'list'), - (TEXTNS,u'numbered-paragraph'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'user-index'), - ), - (TEXTNS,u'description') : ( - ), - (TEXTNS,u'editing-cycles') : ( - ), - (TEXTNS,u'editing-duration') : ( - ), - (TEXTNS,u'execute-macro') : ( - (OFFICENS,u'event-listeners'), - ), - (TEXTNS,u'expression') : ( - ), - (TEXTNS,u'file-name') : ( - ), - (TEXTNS,u'format-change') : ( - (OFFICENS,u'change-info'), + (TEXTNS,'deletion') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'change-info'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'list'), + (TEXTNS,'numbered-paragraph'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'user-index'), + ), + (TEXTNS,'description') : ( + ), + (TEXTNS,'editing-cycles') : ( + ), + (TEXTNS,'editing-duration') : ( + ), + (TEXTNS,'execute-macro') : ( + (OFFICENS,'event-listeners'), + ), + (TEXTNS,'expression') : ( + ), + (TEXTNS,'file-name') : ( + ), + (TEXTNS,'format-change') : ( + (OFFICENS,'change-info'), ), # allowed_children - (TEXTNS,u'h') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'annotation'), - (PRESENTATIONNS,u'date-time'), - (PRESENTATIONNS,u'footer'), - (PRESENTATIONNS,u'header'), - (TEXTNS,u'a'), - (TEXTNS,u'alphabetical-index-mark'), - (TEXTNS,u'alphabetical-index-mark-end'), - (TEXTNS,u'alphabetical-index-mark-start'), - (TEXTNS,u'author-initials'), - (TEXTNS,u'author-name'), - (TEXTNS,u'bibliography-mark'), - (TEXTNS,u'bookmark'), - (TEXTNS,u'bookmark-end'), - (TEXTNS,u'bookmark-ref'), - (TEXTNS,u'bookmark-start'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'chapter'), - (TEXTNS,u'conditional-text'), - (TEXTNS,u'creation-date'), - (TEXTNS,u'creation-time'), - (TEXTNS,u'creator'), - (TEXTNS,u'database-display'), - (TEXTNS,u'database-name'), - (TEXTNS,u'database-next'), - (TEXTNS,u'database-row-number'), - (TEXTNS,u'database-row-select'), - (TEXTNS,u'date'), - (TEXTNS,u'dde-connection'), - (TEXTNS,u'description'), - (TEXTNS,u'editing-cycles'), - (TEXTNS,u'editing-duration'), - (TEXTNS,u'execute-macro'), - (TEXTNS,u'expression'), - (TEXTNS,u'file-name'), - (TEXTNS,u'hidden-paragraph'), - (TEXTNS,u'hidden-text'), - (TEXTNS,u'initial-creator'), - (TEXTNS,u'keywords'), - (TEXTNS,u'line-break'), - (TEXTNS,u'measure'), - (TEXTNS,u'modification-date'), - (TEXTNS,u'modification-time'), - (TEXTNS,u'note'), - (TEXTNS,u'note-ref'), - (TEXTNS,u'number'), - (TEXTNS,u'page-count'), - (TEXTNS,u'paragraph-count'), - (TEXTNS,u'word-count'), - (TEXTNS,u'character-count'), - (TEXTNS,u'table-count'), - (TEXTNS,u'image-count'), - (TEXTNS,u'object-count'), - (TEXTNS,u'page-continuation'), - (TEXTNS,u'page-number'), - (TEXTNS,u'page-variable-get'), - (TEXTNS,u'page-variable-set'), - (TEXTNS,u'placeholder'), - (TEXTNS,u'print-date'), - (TEXTNS,u'print-time'), - (TEXTNS,u'printed-by'), - (TEXTNS,u'reference-mark'), - (TEXTNS,u'reference-mark-end'), - (TEXTNS,u'reference-mark-start'), - (TEXTNS,u'reference-ref'), - (TEXTNS,u'ruby'), - (TEXTNS,u's'), - (TEXTNS,u'script'), - (TEXTNS,u'sender-city'), - (TEXTNS,u'sender-company'), - (TEXTNS,u'sender-country'), - (TEXTNS,u'sender-email'), - (TEXTNS,u'sender-fax'), - (TEXTNS,u'sender-firstname'), - (TEXTNS,u'sender-initials'), - (TEXTNS,u'sender-lastname'), - (TEXTNS,u'sender-phone-private'), - (TEXTNS,u'sender-phone-work'), - (TEXTNS,u'sender-position'), - (TEXTNS,u'sender-postal-code'), - (TEXTNS,u'sender-state-or-province'), - (TEXTNS,u'sender-street'), - (TEXTNS,u'sender-title'), - (TEXTNS,u'sequence'), - (TEXTNS,u'sequence-ref'), - (TEXTNS,u'sheet-name'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'span'), - (TEXTNS,u'subject'), - (TEXTNS,u'tab'), - (TEXTNS,u'table-formula'), - (TEXTNS,u'template-name'), - (TEXTNS,u'text-input'), - (TEXTNS,u'time'), - (TEXTNS,u'title'), - (TEXTNS,u'toc-mark'), - (TEXTNS,u'toc-mark-end'), - (TEXTNS,u'toc-mark-start'), - (TEXTNS,u'user-defined'), - (TEXTNS,u'user-field-get'), - (TEXTNS,u'user-field-input'), - (TEXTNS,u'user-index-mark'), - (TEXTNS,u'user-index-mark-end'), - (TEXTNS,u'user-index-mark-start'), - (TEXTNS,u'variable-get'), - (TEXTNS,u'variable-input'), - (TEXTNS,u'variable-set'), + (TEXTNS,'h') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'annotation'), + (PRESENTATIONNS,'date-time'), + (PRESENTATIONNS,'footer'), + (PRESENTATIONNS,'header'), + (TEXTNS,'a'), + (TEXTNS,'alphabetical-index-mark'), + (TEXTNS,'alphabetical-index-mark-end'), + (TEXTNS,'alphabetical-index-mark-start'), + (TEXTNS,'author-initials'), + (TEXTNS,'author-name'), + (TEXTNS,'bibliography-mark'), + (TEXTNS,'bookmark'), + (TEXTNS,'bookmark-end'), + (TEXTNS,'bookmark-ref'), + (TEXTNS,'bookmark-start'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'chapter'), + (TEXTNS,'conditional-text'), + (TEXTNS,'creation-date'), + (TEXTNS,'creation-time'), + (TEXTNS,'creator'), + (TEXTNS,'database-display'), + (TEXTNS,'database-name'), + (TEXTNS,'database-next'), + (TEXTNS,'database-row-number'), + (TEXTNS,'database-row-select'), + (TEXTNS,'date'), + (TEXTNS,'dde-connection'), + (TEXTNS,'description'), + (TEXTNS,'editing-cycles'), + (TEXTNS,'editing-duration'), + (TEXTNS,'execute-macro'), + (TEXTNS,'expression'), + (TEXTNS,'file-name'), + (TEXTNS,'hidden-paragraph'), + (TEXTNS,'hidden-text'), + (TEXTNS,'initial-creator'), + (TEXTNS,'keywords'), + (TEXTNS,'line-break'), + (TEXTNS,'measure'), + (TEXTNS,'modification-date'), + (TEXTNS,'modification-time'), + (TEXTNS,'note'), + (TEXTNS,'note-ref'), + (TEXTNS,'number'), + (TEXTNS,'page-count'), + (TEXTNS,'paragraph-count'), + (TEXTNS,'word-count'), + (TEXTNS,'character-count'), + (TEXTNS,'table-count'), + (TEXTNS,'image-count'), + (TEXTNS,'object-count'), + (TEXTNS,'page-continuation'), + (TEXTNS,'page-number'), + (TEXTNS,'page-variable-get'), + (TEXTNS,'page-variable-set'), + (TEXTNS,'placeholder'), + (TEXTNS,'print-date'), + (TEXTNS,'print-time'), + (TEXTNS,'printed-by'), + (TEXTNS,'reference-mark'), + (TEXTNS,'reference-mark-end'), + (TEXTNS,'reference-mark-start'), + (TEXTNS,'reference-ref'), + (TEXTNS,'ruby'), + (TEXTNS,'s'), + (TEXTNS,'script'), + (TEXTNS,'sender-city'), + (TEXTNS,'sender-company'), + (TEXTNS,'sender-country'), + (TEXTNS,'sender-email'), + (TEXTNS,'sender-fax'), + (TEXTNS,'sender-firstname'), + (TEXTNS,'sender-initials'), + (TEXTNS,'sender-lastname'), + (TEXTNS,'sender-phone-private'), + (TEXTNS,'sender-phone-work'), + (TEXTNS,'sender-position'), + (TEXTNS,'sender-postal-code'), + (TEXTNS,'sender-state-or-province'), + (TEXTNS,'sender-street'), + (TEXTNS,'sender-title'), + (TEXTNS,'sequence'), + (TEXTNS,'sequence-ref'), + (TEXTNS,'sheet-name'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'span'), + (TEXTNS,'subject'), + (TEXTNS,'tab'), + (TEXTNS,'table-formula'), + (TEXTNS,'template-name'), + (TEXTNS,'text-input'), + (TEXTNS,'time'), + (TEXTNS,'title'), + (TEXTNS,'toc-mark'), + (TEXTNS,'toc-mark-end'), + (TEXTNS,'toc-mark-start'), + (TEXTNS,'user-defined'), + (TEXTNS,'user-field-get'), + (TEXTNS,'user-field-input'), + (TEXTNS,'user-index-mark'), + (TEXTNS,'user-index-mark-end'), + (TEXTNS,'user-index-mark-start'), + (TEXTNS,'variable-get'), + (TEXTNS,'variable-input'), + (TEXTNS,'variable-set'), ), # allowed_children - (TEXTNS,u'hidden-paragraph') : ( - ), - (TEXTNS,u'hidden-text') : ( - ), - (TEXTNS,u'illustration-index') : ( - (TEXTNS,u'illustration-index-source'), - (TEXTNS,u'index-body'), - ), - (TEXTNS,u'illustration-index-entry-template') : ( - (TEXTNS,u'index-entry-page-number'), - (TEXTNS,u'index-entry-span'), - (TEXTNS,u'index-entry-tab-stop'), - (TEXTNS,u'index-entry-text'), - ), - (TEXTNS,u'illustration-index-source') : ( - (TEXTNS,u'illustration-index-entry-template'), - (TEXTNS,u'index-title-template'), - ), - (TEXTNS,u'image-count') : ( + (TEXTNS,'hidden-paragraph') : ( + ), + (TEXTNS,'hidden-text') : ( + ), + (TEXTNS,'illustration-index') : ( + (TEXTNS,'illustration-index-source'), + (TEXTNS,'index-body'), + ), + (TEXTNS,'illustration-index-entry-template') : ( + (TEXTNS,'index-entry-page-number'), + (TEXTNS,'index-entry-span'), + (TEXTNS,'index-entry-tab-stop'), + (TEXTNS,'index-entry-text'), + ), + (TEXTNS,'illustration-index-source') : ( + (TEXTNS,'illustration-index-entry-template'), + (TEXTNS,'index-title-template'), + ), + (TEXTNS,'image-count') : ( ), # allowed_children - (TEXTNS,u'index-body') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'index-title'), - (TEXTNS,u'list'), - (TEXTNS,u'numbered-paragraph'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'user-index'), - ), - (TEXTNS,u'index-entry-bibliography') : ( - ), - (TEXTNS,u'index-entry-chapter') : ( - ), - (TEXTNS,u'index-entry-link-end') : ( - ), - (TEXTNS,u'index-entry-link-start') : ( - ), - (TEXTNS,u'index-entry-page-number') : ( - ), - (TEXTNS,u'index-entry-span') : ( - ), - (TEXTNS,u'index-entry-tab-stop') : ( - ), - (TEXTNS,u'index-entry-text') : ( - ), - (TEXTNS,u'index-source-style') : ( - ), - (TEXTNS,u'index-source-styles') : ( - (TEXTNS,u'index-source-style'), + (TEXTNS,'index-body') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'index-title'), + (TEXTNS,'list'), + (TEXTNS,'numbered-paragraph'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'user-index'), + ), + (TEXTNS,'index-entry-bibliography') : ( + ), + (TEXTNS,'index-entry-chapter') : ( + ), + (TEXTNS,'index-entry-link-end') : ( + ), + (TEXTNS,'index-entry-link-start') : ( + ), + (TEXTNS,'index-entry-page-number') : ( + ), + (TEXTNS,'index-entry-span') : ( + ), + (TEXTNS,'index-entry-tab-stop') : ( + ), + (TEXTNS,'index-entry-text') : ( + ), + (TEXTNS,'index-source-style') : ( + ), + (TEXTNS,'index-source-styles') : ( + (TEXTNS,'index-source-style'), ), # allowed_children - (TEXTNS,u'index-title') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'index-title'), - (TEXTNS,u'list'), - (TEXTNS,u'numbered-paragraph'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'user-index'), - ), - (TEXTNS,u'index-title-template') : ( - ), - (TEXTNS,u'initial-creator') : ( - ), - (TEXTNS,u'insertion') : ( - (OFFICENS,u'change-info'), - ), - (TEXTNS,u'keywords') : ( - ), - (TEXTNS,u'line-break') : ( - ), - (TEXTNS,u'linenumbering-configuration') : ( - (TEXTNS,u'linenumbering-separator'), - ), - (TEXTNS,u'linenumbering-separator') : ( - ), - (TEXTNS,u'list') : ( - (TEXTNS,u'list-header'), - (TEXTNS,u'list-item'), - ), - (TEXTNS,u'list-header') : ( - (TEXTNS,u'h'), - (TEXTNS,u'list'), - (TEXTNS,u'number'), - (TEXTNS,u'p'), - (TEXTNS,u'soft-page-break'), - ), - (TEXTNS,u'list-item') : ( - (TEXTNS,u'h'), - (TEXTNS,u'list'), - (TEXTNS,u'number'), - (TEXTNS,u'p'), - (TEXTNS,u'soft-page-break'), - ), - (TEXTNS,u'list-level-style-bullet') : ( - (STYLENS,u'list-level-properties'), - (STYLENS,u'text-properties'), - ), - (TEXTNS,u'list-level-style-image') : ( - (OFFICENS,u'binary-data'), - (STYLENS,u'list-level-properties'), - ), - (TEXTNS,u'list-level-style-number') : ( - (STYLENS,u'list-level-properties'), - (STYLENS,u'text-properties'), - ), - (TEXTNS,u'list-style') : ( - (TEXTNS,u'list-level-style-bullet'), - (TEXTNS,u'list-level-style-image'), - (TEXTNS,u'list-level-style-number'), - ), - (TEXTNS,u'measure') : ( - ), - (TEXTNS,u'modification-date') : ( - ), - (TEXTNS,u'modification-time') : ( - ), - (TEXTNS,u'note') : ( - (TEXTNS,u'note-body'), - (TEXTNS,u'note-citation'), + (TEXTNS,'index-title') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'index-title'), + (TEXTNS,'list'), + (TEXTNS,'numbered-paragraph'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'user-index'), + ), + (TEXTNS,'index-title-template') : ( + ), + (TEXTNS,'initial-creator') : ( + ), + (TEXTNS,'insertion') : ( + (OFFICENS,'change-info'), + ), + (TEXTNS,'keywords') : ( + ), + (TEXTNS,'line-break') : ( + ), + (TEXTNS,'linenumbering-configuration') : ( + (TEXTNS,'linenumbering-separator'), + ), + (TEXTNS,'linenumbering-separator') : ( + ), + (TEXTNS,'list') : ( + (TEXTNS,'list-header'), + (TEXTNS,'list-item'), + ), + (TEXTNS,'list-header') : ( + (TEXTNS,'h'), + (TEXTNS,'list'), + (TEXTNS,'number'), + (TEXTNS,'p'), + (TEXTNS,'soft-page-break'), + ), + (TEXTNS,'list-item') : ( + (TEXTNS,'h'), + (TEXTNS,'list'), + (TEXTNS,'number'), + (TEXTNS,'p'), + (TEXTNS,'soft-page-break'), + ), + (TEXTNS,'list-level-style-bullet') : ( + (STYLENS,'list-level-properties'), + (STYLENS,'text-properties'), + ), + (TEXTNS,'list-level-style-image') : ( + (OFFICENS,'binary-data'), + (STYLENS,'list-level-properties'), + ), + (TEXTNS,'list-level-style-number') : ( + (STYLENS,'list-level-properties'), + (STYLENS,'text-properties'), + ), + (TEXTNS,'list-style') : ( + (TEXTNS,'list-level-style-bullet'), + (TEXTNS,'list-level-style-image'), + (TEXTNS,'list-level-style-number'), + ), + (TEXTNS,'measure') : ( + ), + (TEXTNS,'modification-date') : ( + ), + (TEXTNS,'modification-time') : ( + ), + (TEXTNS,'note') : ( + (TEXTNS,'note-body'), + (TEXTNS,'note-citation'), ), # allowed_children - (TEXTNS,u'note-body') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'list'), - (TEXTNS,u'numbered-paragraph'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'user-index'), - ), - (TEXTNS,u'note-citation') : ( - ), - (TEXTNS,u'note-continuation-notice-backward') : ( - ), - (TEXTNS,u'note-continuation-notice-forward') : ( - ), - (TEXTNS,u'note-ref') : ( - ), - (TEXTNS,u'notes-configuration') : ( - (TEXTNS,u'note-continuation-notice-backward'), - (TEXTNS,u'note-continuation-notice-forward'), - ), - (TEXTNS,u'number') : ( - ), - (TEXTNS,u'numbered-paragraph') : ( - (TEXTNS,u'h'), - (TEXTNS,u'number'), - (TEXTNS,u'p'), - ), - (TEXTNS,u'object-count') : ( - ), - (TEXTNS,u'object-index') : ( - (TEXTNS,u'index-body'), - (TEXTNS,u'object-index-source'), - ), - (TEXTNS,u'object-index-entry-template') : ( - (TEXTNS,u'index-entry-page-number'), - (TEXTNS,u'index-entry-span'), - (TEXTNS,u'index-entry-tab-stop'), - (TEXTNS,u'index-entry-text'), - ), - (TEXTNS,u'object-index-source') : ( - (TEXTNS,u'index-title-template'), - (TEXTNS,u'object-index-entry-template'), - ), - (TEXTNS,u'outline-level-style') : ( - (STYLENS,u'list-level-properties'), - (STYLENS,u'text-properties'), - ), - (TEXTNS,u'outline-style') : ( - (TEXTNS,u'outline-level-style'), + (TEXTNS,'note-body') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'list'), + (TEXTNS,'numbered-paragraph'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'user-index'), + ), + (TEXTNS,'note-citation') : ( + ), + (TEXTNS,'note-continuation-notice-backward') : ( + ), + (TEXTNS,'note-continuation-notice-forward') : ( + ), + (TEXTNS,'note-ref') : ( + ), + (TEXTNS,'notes-configuration') : ( + (TEXTNS,'note-continuation-notice-backward'), + (TEXTNS,'note-continuation-notice-forward'), + ), + (TEXTNS,'number') : ( + ), + (TEXTNS,'numbered-paragraph') : ( + (TEXTNS,'h'), + (TEXTNS,'number'), + (TEXTNS,'p'), + ), + (TEXTNS,'object-count') : ( + ), + (TEXTNS,'object-index') : ( + (TEXTNS,'index-body'), + (TEXTNS,'object-index-source'), + ), + (TEXTNS,'object-index-entry-template') : ( + (TEXTNS,'index-entry-page-number'), + (TEXTNS,'index-entry-span'), + (TEXTNS,'index-entry-tab-stop'), + (TEXTNS,'index-entry-text'), + ), + (TEXTNS,'object-index-source') : ( + (TEXTNS,'index-title-template'), + (TEXTNS,'object-index-entry-template'), + ), + (TEXTNS,'outline-level-style') : ( + (STYLENS,'list-level-properties'), + (STYLENS,'text-properties'), + ), + (TEXTNS,'outline-style') : ( + (TEXTNS,'outline-level-style'), ), # allowed_children - (TEXTNS,u'p') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'annotation'), - (PRESENTATIONNS,u'date-time'), - (PRESENTATIONNS,u'footer'), - (PRESENTATIONNS,u'header'), - (TEXTNS,u'a'), - (TEXTNS,u'alphabetical-index-mark'), - (TEXTNS,u'alphabetical-index-mark-end'), - (TEXTNS,u'alphabetical-index-mark-start'), - (TEXTNS,u'author-initials'), - (TEXTNS,u'author-name'), - (TEXTNS,u'bibliography-mark'), - (TEXTNS,u'bookmark'), - (TEXTNS,u'bookmark-end'), - (TEXTNS,u'bookmark-ref'), - (TEXTNS,u'bookmark-start'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'chapter'), - (TEXTNS,u'character-count'), - (TEXTNS,u'conditional-text'), - (TEXTNS,u'creation-date'), - (TEXTNS,u'creation-time'), - (TEXTNS,u'creator'), - (TEXTNS,u'database-display'), - (TEXTNS,u'database-name'), - (TEXTNS,u'database-next'), - (TEXTNS,u'database-row-number'), - (TEXTNS,u'database-row-select'), - (TEXTNS,u'date'), - (TEXTNS,u'dde-connection'), - (TEXTNS,u'description'), - (TEXTNS,u'editing-cycles'), - (TEXTNS,u'editing-duration'), - (TEXTNS,u'execute-macro'), - (TEXTNS,u'expression'), - (TEXTNS,u'file-name'), - (TEXTNS,u'hidden-paragraph'), - (TEXTNS,u'hidden-text'), - (TEXTNS,u'image-count'), - (TEXTNS,u'initial-creator'), - (TEXTNS,u'keywords'), - (TEXTNS,u'line-break'), - (TEXTNS,u'measure'), - (TEXTNS,u'modification-date'), - (TEXTNS,u'modification-time'), - (TEXTNS,u'note'), - (TEXTNS,u'note-ref'), - (TEXTNS,u'object-count'), - (TEXTNS,u'page-continuation'), - (TEXTNS,u'page-count'), - (TEXTNS,u'page-number'), - (TEXTNS,u'page-variable-get'), - (TEXTNS,u'page-variable-set'), - (TEXTNS,u'paragraph-count'), - (TEXTNS,u'placeholder'), - (TEXTNS,u'print-date'), - (TEXTNS,u'printed-by'), - (TEXTNS,u'print-time'), - (TEXTNS,u'reference-mark'), - (TEXTNS,u'reference-mark-end'), - (TEXTNS,u'reference-mark-start'), - (TEXTNS,u'reference-ref'), - (TEXTNS,u'ruby'), - (TEXTNS,u's'), - (TEXTNS,u'script'), - (TEXTNS,u'sender-city'), - (TEXTNS,u'sender-company'), - (TEXTNS,u'sender-country'), - (TEXTNS,u'sender-email'), - (TEXTNS,u'sender-fax'), - (TEXTNS,u'sender-firstname'), - (TEXTNS,u'sender-initials'), - (TEXTNS,u'sender-lastname'), - (TEXTNS,u'sender-phone-private'), - (TEXTNS,u'sender-phone-work'), - (TEXTNS,u'sender-position'), - (TEXTNS,u'sender-postal-code'), - (TEXTNS,u'sender-state-or-province'), - (TEXTNS,u'sender-street'), - (TEXTNS,u'sender-title'), - (TEXTNS,u'sequence'), - (TEXTNS,u'sequence-ref'), - (TEXTNS,u'sheet-name'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'span'), - (TEXTNS,u'subject'), - (TEXTNS,u'tab'), - (TEXTNS,u'table-count'), - (TEXTNS,u'table-formula'), - (TEXTNS,u'template-name'), - (TEXTNS,u'text-input'), - (TEXTNS,u'time'), - (TEXTNS,u'title'), - (TEXTNS,u'toc-mark'), - (TEXTNS,u'toc-mark-end'), - (TEXTNS,u'toc-mark-start'), - (TEXTNS,u'user-defined'), - (TEXTNS,u'user-field-get'), - (TEXTNS,u'user-field-input'), - (TEXTNS,u'user-index-mark'), - (TEXTNS,u'user-index-mark-end'), - (TEXTNS,u'user-index-mark-start'), - (TEXTNS,u'variable-get'), - (TEXTNS,u'variable-input'), - (TEXTNS,u'variable-set'), - (TEXTNS,u'word-count'), - ), - (TEXTNS,u'page') : ( - ), - (TEXTNS,u'page-count') : ( - ), - (TEXTNS,u'page-continuation') : ( - ), - (TEXTNS,u'page-number') : ( - ), - (TEXTNS,u'page-sequence') : ( - (TEXTNS,u'page'), - ), - (TEXTNS,u'page-variable-get') : ( - ), - (TEXTNS,u'page-variable-set') : ( - ), - (TEXTNS,u'paragraph-count') : ( - ), - (TEXTNS,u'placeholder') : ( - ), - (TEXTNS,u'print-date') : ( - ), - (TEXTNS,u'print-time') : ( - ), - (TEXTNS,u'printed-by') : ( - ), - (TEXTNS,u'reference-mark') : ( - ), - (TEXTNS,u'reference-mark-end') : ( + (TEXTNS,'p') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'annotation'), + (PRESENTATIONNS,'date-time'), + (PRESENTATIONNS,'footer'), + (PRESENTATIONNS,'header'), + (TEXTNS,'a'), + (TEXTNS,'alphabetical-index-mark'), + (TEXTNS,'alphabetical-index-mark-end'), + (TEXTNS,'alphabetical-index-mark-start'), + (TEXTNS,'author-initials'), + (TEXTNS,'author-name'), + (TEXTNS,'bibliography-mark'), + (TEXTNS,'bookmark'), + (TEXTNS,'bookmark-end'), + (TEXTNS,'bookmark-ref'), + (TEXTNS,'bookmark-start'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'chapter'), + (TEXTNS,'character-count'), + (TEXTNS,'conditional-text'), + (TEXTNS,'creation-date'), + (TEXTNS,'creation-time'), + (TEXTNS,'creator'), + (TEXTNS,'database-display'), + (TEXTNS,'database-name'), + (TEXTNS,'database-next'), + (TEXTNS,'database-row-number'), + (TEXTNS,'database-row-select'), + (TEXTNS,'date'), + (TEXTNS,'dde-connection'), + (TEXTNS,'description'), + (TEXTNS,'editing-cycles'), + (TEXTNS,'editing-duration'), + (TEXTNS,'execute-macro'), + (TEXTNS,'expression'), + (TEXTNS,'file-name'), + (TEXTNS,'hidden-paragraph'), + (TEXTNS,'hidden-text'), + (TEXTNS,'image-count'), + (TEXTNS,'initial-creator'), + (TEXTNS,'keywords'), + (TEXTNS,'line-break'), + (TEXTNS,'measure'), + (TEXTNS,'modification-date'), + (TEXTNS,'modification-time'), + (TEXTNS,'note'), + (TEXTNS,'note-ref'), + (TEXTNS,'object-count'), + (TEXTNS,'page-continuation'), + (TEXTNS,'page-count'), + (TEXTNS,'page-number'), + (TEXTNS,'page-variable-get'), + (TEXTNS,'page-variable-set'), + (TEXTNS,'paragraph-count'), + (TEXTNS,'placeholder'), + (TEXTNS,'print-date'), + (TEXTNS,'printed-by'), + (TEXTNS,'print-time'), + (TEXTNS,'reference-mark'), + (TEXTNS,'reference-mark-end'), + (TEXTNS,'reference-mark-start'), + (TEXTNS,'reference-ref'), + (TEXTNS,'ruby'), + (TEXTNS,'s'), + (TEXTNS,'script'), + (TEXTNS,'sender-city'), + (TEXTNS,'sender-company'), + (TEXTNS,'sender-country'), + (TEXTNS,'sender-email'), + (TEXTNS,'sender-fax'), + (TEXTNS,'sender-firstname'), + (TEXTNS,'sender-initials'), + (TEXTNS,'sender-lastname'), + (TEXTNS,'sender-phone-private'), + (TEXTNS,'sender-phone-work'), + (TEXTNS,'sender-position'), + (TEXTNS,'sender-postal-code'), + (TEXTNS,'sender-state-or-province'), + (TEXTNS,'sender-street'), + (TEXTNS,'sender-title'), + (TEXTNS,'sequence'), + (TEXTNS,'sequence-ref'), + (TEXTNS,'sheet-name'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'span'), + (TEXTNS,'subject'), + (TEXTNS,'tab'), + (TEXTNS,'table-count'), + (TEXTNS,'table-formula'), + (TEXTNS,'template-name'), + (TEXTNS,'text-input'), + (TEXTNS,'time'), + (TEXTNS,'title'), + (TEXTNS,'toc-mark'), + (TEXTNS,'toc-mark-end'), + (TEXTNS,'toc-mark-start'), + (TEXTNS,'user-defined'), + (TEXTNS,'user-field-get'), + (TEXTNS,'user-field-input'), + (TEXTNS,'user-index-mark'), + (TEXTNS,'user-index-mark-end'), + (TEXTNS,'user-index-mark-start'), + (TEXTNS,'variable-get'), + (TEXTNS,'variable-input'), + (TEXTNS,'variable-set'), + (TEXTNS,'word-count'), + ), + (TEXTNS,'page') : ( + ), + (TEXTNS,'page-count') : ( + ), + (TEXTNS,'page-continuation') : ( + ), + (TEXTNS,'page-number') : ( + ), + (TEXTNS,'page-sequence') : ( + (TEXTNS,'page'), + ), + (TEXTNS,'page-variable-get') : ( + ), + (TEXTNS,'page-variable-set') : ( + ), + (TEXTNS,'paragraph-count') : ( + ), + (TEXTNS,'placeholder') : ( + ), + (TEXTNS,'print-date') : ( + ), + (TEXTNS,'print-time') : ( + ), + (TEXTNS,'printed-by') : ( + ), + (TEXTNS,'reference-mark') : ( + ), + (TEXTNS,'reference-mark-end') : ( ), # allowed_children - (TEXTNS,u'reference-mark-start') : ( - ), - (TEXTNS,u'reference-ref') : ( - ), - (TEXTNS,u'ruby') : ( - (TEXTNS,u'ruby-base'), - (TEXTNS,u'ruby-text'), - ), - (TEXTNS,u'ruby-base') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'annotation'), - (PRESENTATIONNS,u'date-time'), - (PRESENTATIONNS,u'footer'), - (PRESENTATIONNS,u'header'), - (TEXTNS,u'a'), - (TEXTNS,u'alphabetical-index-mark'), - (TEXTNS,u'alphabetical-index-mark-end'), - (TEXTNS,u'alphabetical-index-mark-start'), - (TEXTNS,u'author-initials'), - (TEXTNS,u'author-name'), - (TEXTNS,u'bibliography-mark'), - (TEXTNS,u'bookmark'), - (TEXTNS,u'bookmark-end'), - (TEXTNS,u'bookmark-ref'), - (TEXTNS,u'bookmark-start'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'chapter'), - (TEXTNS,u'conditional-text'), - (TEXTNS,u'creation-date'), - (TEXTNS,u'creation-time'), - (TEXTNS,u'creator'), - (TEXTNS,u'database-display'), - (TEXTNS,u'database-name'), - (TEXTNS,u'database-next'), - (TEXTNS,u'database-row-number'), - (TEXTNS,u'database-row-select'), - (TEXTNS,u'date'), - (TEXTNS,u'dde-connection'), - (TEXTNS,u'description'), - (TEXTNS,u'editing-cycles'), - (TEXTNS,u'editing-duration'), - (TEXTNS,u'execute-macro'), - (TEXTNS,u'expression'), - (TEXTNS,u'file-name'), - (TEXTNS,u'hidden-paragraph'), - (TEXTNS,u'hidden-text'), - (TEXTNS,u'initial-creator'), - (TEXTNS,u'keywords'), - (TEXTNS,u'line-break'), - (TEXTNS,u'measure'), - (TEXTNS,u'modification-date'), - (TEXTNS,u'modification-time'), - (TEXTNS,u'note'), - (TEXTNS,u'note-ref'), - (TEXTNS,u'page-count'), - (TEXTNS,u'paragraph-count'), - (TEXTNS,u'word-count'), - (TEXTNS,u'character-count'), - (TEXTNS,u'table-count'), - (TEXTNS,u'image-count'), - (TEXTNS,u'object-count'), - (TEXTNS,u'page-continuation'), - (TEXTNS,u'page-number'), - (TEXTNS,u'page-variable-get'), - (TEXTNS,u'page-variable-set'), - (TEXTNS,u'placeholder'), - (TEXTNS,u'print-date'), - (TEXTNS,u'print-time'), - (TEXTNS,u'printed-by'), - (TEXTNS,u'reference-mark'), - (TEXTNS,u'reference-mark-end'), - (TEXTNS,u'reference-mark-start'), - (TEXTNS,u'reference-ref'), - (TEXTNS,u'ruby'), - (TEXTNS,u's'), - (TEXTNS,u'script'), - (TEXTNS,u'sender-city'), - (TEXTNS,u'sender-company'), - (TEXTNS,u'sender-country'), - (TEXTNS,u'sender-email'), - (TEXTNS,u'sender-fax'), - (TEXTNS,u'sender-firstname'), - (TEXTNS,u'sender-initials'), - (TEXTNS,u'sender-lastname'), - (TEXTNS,u'sender-phone-private'), - (TEXTNS,u'sender-phone-work'), - (TEXTNS,u'sender-position'), - (TEXTNS,u'sender-postal-code'), - (TEXTNS,u'sender-state-or-province'), - (TEXTNS,u'sender-street'), - (TEXTNS,u'sender-title'), - (TEXTNS,u'sequence'), - (TEXTNS,u'sequence-ref'), - (TEXTNS,u'sheet-name'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'span'), - (TEXTNS,u'subject'), - (TEXTNS,u'tab'), - (TEXTNS,u'table-formula'), - (TEXTNS,u'template-name'), - (TEXTNS,u'text-input'), - (TEXTNS,u'time'), - (TEXTNS,u'title'), - (TEXTNS,u'toc-mark'), - (TEXTNS,u'toc-mark-end'), - (TEXTNS,u'toc-mark-start'), - (TEXTNS,u'user-defined'), - (TEXTNS,u'user-field-get'), - (TEXTNS,u'user-field-input'), - (TEXTNS,u'user-index-mark'), - (TEXTNS,u'user-index-mark-end'), - (TEXTNS,u'user-index-mark-start'), - (TEXTNS,u'variable-get'), - (TEXTNS,u'variable-input'), - (TEXTNS,u'variable-set'), + (TEXTNS,'reference-mark-start') : ( + ), + (TEXTNS,'reference-ref') : ( + ), + (TEXTNS,'ruby') : ( + (TEXTNS,'ruby-base'), + (TEXTNS,'ruby-text'), + ), + (TEXTNS,'ruby-base') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'annotation'), + (PRESENTATIONNS,'date-time'), + (PRESENTATIONNS,'footer'), + (PRESENTATIONNS,'header'), + (TEXTNS,'a'), + (TEXTNS,'alphabetical-index-mark'), + (TEXTNS,'alphabetical-index-mark-end'), + (TEXTNS,'alphabetical-index-mark-start'), + (TEXTNS,'author-initials'), + (TEXTNS,'author-name'), + (TEXTNS,'bibliography-mark'), + (TEXTNS,'bookmark'), + (TEXTNS,'bookmark-end'), + (TEXTNS,'bookmark-ref'), + (TEXTNS,'bookmark-start'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'chapter'), + (TEXTNS,'conditional-text'), + (TEXTNS,'creation-date'), + (TEXTNS,'creation-time'), + (TEXTNS,'creator'), + (TEXTNS,'database-display'), + (TEXTNS,'database-name'), + (TEXTNS,'database-next'), + (TEXTNS,'database-row-number'), + (TEXTNS,'database-row-select'), + (TEXTNS,'date'), + (TEXTNS,'dde-connection'), + (TEXTNS,'description'), + (TEXTNS,'editing-cycles'), + (TEXTNS,'editing-duration'), + (TEXTNS,'execute-macro'), + (TEXTNS,'expression'), + (TEXTNS,'file-name'), + (TEXTNS,'hidden-paragraph'), + (TEXTNS,'hidden-text'), + (TEXTNS,'initial-creator'), + (TEXTNS,'keywords'), + (TEXTNS,'line-break'), + (TEXTNS,'measure'), + (TEXTNS,'modification-date'), + (TEXTNS,'modification-time'), + (TEXTNS,'note'), + (TEXTNS,'note-ref'), + (TEXTNS,'page-count'), + (TEXTNS,'paragraph-count'), + (TEXTNS,'word-count'), + (TEXTNS,'character-count'), + (TEXTNS,'table-count'), + (TEXTNS,'image-count'), + (TEXTNS,'object-count'), + (TEXTNS,'page-continuation'), + (TEXTNS,'page-number'), + (TEXTNS,'page-variable-get'), + (TEXTNS,'page-variable-set'), + (TEXTNS,'placeholder'), + (TEXTNS,'print-date'), + (TEXTNS,'print-time'), + (TEXTNS,'printed-by'), + (TEXTNS,'reference-mark'), + (TEXTNS,'reference-mark-end'), + (TEXTNS,'reference-mark-start'), + (TEXTNS,'reference-ref'), + (TEXTNS,'ruby'), + (TEXTNS,'s'), + (TEXTNS,'script'), + (TEXTNS,'sender-city'), + (TEXTNS,'sender-company'), + (TEXTNS,'sender-country'), + (TEXTNS,'sender-email'), + (TEXTNS,'sender-fax'), + (TEXTNS,'sender-firstname'), + (TEXTNS,'sender-initials'), + (TEXTNS,'sender-lastname'), + (TEXTNS,'sender-phone-private'), + (TEXTNS,'sender-phone-work'), + (TEXTNS,'sender-position'), + (TEXTNS,'sender-postal-code'), + (TEXTNS,'sender-state-or-province'), + (TEXTNS,'sender-street'), + (TEXTNS,'sender-title'), + (TEXTNS,'sequence'), + (TEXTNS,'sequence-ref'), + (TEXTNS,'sheet-name'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'span'), + (TEXTNS,'subject'), + (TEXTNS,'tab'), + (TEXTNS,'table-formula'), + (TEXTNS,'template-name'), + (TEXTNS,'text-input'), + (TEXTNS,'time'), + (TEXTNS,'title'), + (TEXTNS,'toc-mark'), + (TEXTNS,'toc-mark-end'), + (TEXTNS,'toc-mark-start'), + (TEXTNS,'user-defined'), + (TEXTNS,'user-field-get'), + (TEXTNS,'user-field-input'), + (TEXTNS,'user-index-mark'), + (TEXTNS,'user-index-mark-end'), + (TEXTNS,'user-index-mark-start'), + (TEXTNS,'variable-get'), + (TEXTNS,'variable-input'), + (TEXTNS,'variable-set'), ), # allowed_children - (TEXTNS,u'ruby-text') : ( - ), - (TEXTNS,u's') : ( - ), - (TEXTNS,u'script') : ( - ), - (TEXTNS,u'section') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'dde-source'), - (TABLENS,u'table'), - (TEXTNS,u'alphabetical-index'), - (TEXTNS,u'bibliography'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'h'), - (TEXTNS,u'illustration-index'), - (TEXTNS,u'list'), - (TEXTNS,u'numbered-paragraph'), - (TEXTNS,u'object-index'), - (TEXTNS,u'p'), - (TEXTNS,u'section'), - (TEXTNS,u'section-source'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'table-index'), - (TEXTNS,u'table-of-content'), - (TEXTNS,u'user-index'), - ), - (TEXTNS,u'section-source') : ( - ), - (TEXTNS,u'sender-city') : ( - ), - (TEXTNS,u'sender-company') : ( - ), - (TEXTNS,u'sender-country') : ( + (TEXTNS,'ruby-text') : ( + ), + (TEXTNS,'s') : ( + ), + (TEXTNS,'script') : ( + ), + (TEXTNS,'section') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'dde-source'), + (TABLENS,'table'), + (TEXTNS,'alphabetical-index'), + (TEXTNS,'bibliography'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'h'), + (TEXTNS,'illustration-index'), + (TEXTNS,'list'), + (TEXTNS,'numbered-paragraph'), + (TEXTNS,'object-index'), + (TEXTNS,'p'), + (TEXTNS,'section'), + (TEXTNS,'section-source'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'table-index'), + (TEXTNS,'table-of-content'), + (TEXTNS,'user-index'), + ), + (TEXTNS,'section-source') : ( + ), + (TEXTNS,'sender-city') : ( + ), + (TEXTNS,'sender-company') : ( + ), + (TEXTNS,'sender-country') : ( ), # allowed_children - (TEXTNS,u'sender-email') : ( - ), - (TEXTNS,u'sender-fax') : ( - ), - (TEXTNS,u'sender-firstname') : ( - ), - (TEXTNS,u'sender-initials') : ( - ), - (TEXTNS,u'sender-lastname') : ( - ), - (TEXTNS,u'sender-phone-private') : ( - ), - (TEXTNS,u'sender-phone-work') : ( - ), - (TEXTNS,u'sender-position') : ( - ), - (TEXTNS,u'sender-postal-code') : ( - ), - (TEXTNS,u'sender-state-or-province') : ( - ), - (TEXTNS,u'sender-street') : ( - ), - (TEXTNS,u'sender-title') : ( - ), - (TEXTNS,u'sequence') : ( - ), - (TEXTNS,u'sequence-decl') : ( - ), - (TEXTNS,u'sequence-decls') : ( - (TEXTNS,u'sequence-decl'), - ), - (TEXTNS,u'sequence-ref') : ( - ), - (TEXTNS,u'sheet-name') : ( - ), - (TEXTNS,u'soft-page-break') : ( - ), - (TEXTNS,u'sort-key') : ( + (TEXTNS,'sender-email') : ( + ), + (TEXTNS,'sender-fax') : ( + ), + (TEXTNS,'sender-firstname') : ( + ), + (TEXTNS,'sender-initials') : ( + ), + (TEXTNS,'sender-lastname') : ( + ), + (TEXTNS,'sender-phone-private') : ( + ), + (TEXTNS,'sender-phone-work') : ( + ), + (TEXTNS,'sender-position') : ( + ), + (TEXTNS,'sender-postal-code') : ( + ), + (TEXTNS,'sender-state-or-province') : ( + ), + (TEXTNS,'sender-street') : ( + ), + (TEXTNS,'sender-title') : ( + ), + (TEXTNS,'sequence') : ( + ), + (TEXTNS,'sequence-decl') : ( + ), + (TEXTNS,'sequence-decls') : ( + (TEXTNS,'sequence-decl'), + ), + (TEXTNS,'sequence-ref') : ( + ), + (TEXTNS,'sheet-name') : ( + ), + (TEXTNS,'soft-page-break') : ( + ), + (TEXTNS,'sort-key') : ( ), # allowed_children - (TEXTNS,u'span') : ( - (DR3DNS,u'scene'), - (DRAWNS,u'a'), - (DRAWNS,u'caption'), - (DRAWNS,u'circle'), - (DRAWNS,u'connector'), - (DRAWNS,u'control'), - (DRAWNS,u'custom-shape'), - (DRAWNS,u'ellipse'), - (DRAWNS,u'frame'), - (DRAWNS,u'g'), - (DRAWNS,u'line'), - (DRAWNS,u'measure'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'path'), - (DRAWNS,u'polygon'), - (DRAWNS,u'polyline'), - (DRAWNS,u'rect'), - (DRAWNS,u'regular-polygon'), - (OFFICENS,u'annotation'), - (PRESENTATIONNS,u'date-time'), - (PRESENTATIONNS,u'footer'), - (PRESENTATIONNS,u'header'), - (TEXTNS,u'a'), - (TEXTNS,u'alphabetical-index-mark'), - (TEXTNS,u'alphabetical-index-mark-end'), - (TEXTNS,u'alphabetical-index-mark-start'), - (TEXTNS,u'author-initials'), - (TEXTNS,u'author-name'), - (TEXTNS,u'bibliography-mark'), - (TEXTNS,u'bookmark'), - (TEXTNS,u'bookmark-end'), - (TEXTNS,u'bookmark-ref'), - (TEXTNS,u'bookmark-start'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'chapter'), - (TEXTNS,u'conditional-text'), - (TEXTNS,u'creation-date'), - (TEXTNS,u'creation-time'), - (TEXTNS,u'creator'), - (TEXTNS,u'database-display'), - (TEXTNS,u'database-name'), - (TEXTNS,u'database-next'), - (TEXTNS,u'database-row-number'), - (TEXTNS,u'database-row-select'), - (TEXTNS,u'date'), - (TEXTNS,u'dde-connection'), - (TEXTNS,u'description'), - (TEXTNS,u'editing-cycles'), - (TEXTNS,u'editing-duration'), - (TEXTNS,u'execute-macro'), - (TEXTNS,u'expression'), - (TEXTNS,u'file-name'), - (TEXTNS,u'hidden-paragraph'), - (TEXTNS,u'hidden-text'), - (TEXTNS,u'initial-creator'), - (TEXTNS,u'keywords'), - (TEXTNS,u'line-break'), - (TEXTNS,u'measure'), - (TEXTNS,u'modification-date'), - (TEXTNS,u'modification-time'), - (TEXTNS,u'note'), - (TEXTNS,u'note-ref'), - (TEXTNS,u'page-count'), - (TEXTNS,u'paragraph-count'), - (TEXTNS,u'word-count'), - (TEXTNS,u'character-count'), - (TEXTNS,u'table-count'), - (TEXTNS,u'image-count'), - (TEXTNS,u'object-count'), - (TEXTNS,u'page-continuation'), - (TEXTNS,u'page-number'), - (TEXTNS,u'page-variable-get'), - (TEXTNS,u'page-variable-set'), - (TEXTNS,u'placeholder'), - (TEXTNS,u'print-date'), - (TEXTNS,u'print-time'), - (TEXTNS,u'printed-by'), - (TEXTNS,u'reference-mark'), - (TEXTNS,u'reference-mark-end'), - (TEXTNS,u'reference-mark-start'), - (TEXTNS,u'reference-ref'), - (TEXTNS,u'ruby'), - (TEXTNS,u's'), - (TEXTNS,u'script'), - (TEXTNS,u'sender-city'), - (TEXTNS,u'sender-company'), - (TEXTNS,u'sender-country'), - (TEXTNS,u'sender-email'), - (TEXTNS,u'sender-fax'), - (TEXTNS,u'sender-firstname'), - (TEXTNS,u'sender-initials'), - (TEXTNS,u'sender-lastname'), - (TEXTNS,u'sender-phone-private'), - (TEXTNS,u'sender-phone-work'), - (TEXTNS,u'sender-position'), - (TEXTNS,u'sender-postal-code'), - (TEXTNS,u'sender-state-or-province'), - (TEXTNS,u'sender-street'), - (TEXTNS,u'sender-title'), - (TEXTNS,u'sequence'), - (TEXTNS,u'sequence-ref'), - (TEXTNS,u'sheet-name'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'span'), - (TEXTNS,u'subject'), - (TEXTNS,u'tab'), - (TEXTNS,u'table-formula'), - (TEXTNS,u'template-name'), - (TEXTNS,u'text-input'), - (TEXTNS,u'time'), - (TEXTNS,u'title'), - (TEXTNS,u'toc-mark'), - (TEXTNS,u'toc-mark-end'), - (TEXTNS,u'toc-mark-start'), - (TEXTNS,u'user-defined'), - (TEXTNS,u'user-field-get'), - (TEXTNS,u'user-field-input'), - (TEXTNS,u'user-index-mark'), - (TEXTNS,u'user-index-mark-end'), - (TEXTNS,u'user-index-mark-start'), - (TEXTNS,u'variable-get'), - (TEXTNS,u'variable-input'), - (TEXTNS,u'variable-set'), + (TEXTNS,'span') : ( + (DR3DNS,'scene'), + (DRAWNS,'a'), + (DRAWNS,'caption'), + (DRAWNS,'circle'), + (DRAWNS,'connector'), + (DRAWNS,'control'), + (DRAWNS,'custom-shape'), + (DRAWNS,'ellipse'), + (DRAWNS,'frame'), + (DRAWNS,'g'), + (DRAWNS,'line'), + (DRAWNS,'measure'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'path'), + (DRAWNS,'polygon'), + (DRAWNS,'polyline'), + (DRAWNS,'rect'), + (DRAWNS,'regular-polygon'), + (OFFICENS,'annotation'), + (PRESENTATIONNS,'date-time'), + (PRESENTATIONNS,'footer'), + (PRESENTATIONNS,'header'), + (TEXTNS,'a'), + (TEXTNS,'alphabetical-index-mark'), + (TEXTNS,'alphabetical-index-mark-end'), + (TEXTNS,'alphabetical-index-mark-start'), + (TEXTNS,'author-initials'), + (TEXTNS,'author-name'), + (TEXTNS,'bibliography-mark'), + (TEXTNS,'bookmark'), + (TEXTNS,'bookmark-end'), + (TEXTNS,'bookmark-ref'), + (TEXTNS,'bookmark-start'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'chapter'), + (TEXTNS,'conditional-text'), + (TEXTNS,'creation-date'), + (TEXTNS,'creation-time'), + (TEXTNS,'creator'), + (TEXTNS,'database-display'), + (TEXTNS,'database-name'), + (TEXTNS,'database-next'), + (TEXTNS,'database-row-number'), + (TEXTNS,'database-row-select'), + (TEXTNS,'date'), + (TEXTNS,'dde-connection'), + (TEXTNS,'description'), + (TEXTNS,'editing-cycles'), + (TEXTNS,'editing-duration'), + (TEXTNS,'execute-macro'), + (TEXTNS,'expression'), + (TEXTNS,'file-name'), + (TEXTNS,'hidden-paragraph'), + (TEXTNS,'hidden-text'), + (TEXTNS,'initial-creator'), + (TEXTNS,'keywords'), + (TEXTNS,'line-break'), + (TEXTNS,'measure'), + (TEXTNS,'modification-date'), + (TEXTNS,'modification-time'), + (TEXTNS,'note'), + (TEXTNS,'note-ref'), + (TEXTNS,'page-count'), + (TEXTNS,'paragraph-count'), + (TEXTNS,'word-count'), + (TEXTNS,'character-count'), + (TEXTNS,'table-count'), + (TEXTNS,'image-count'), + (TEXTNS,'object-count'), + (TEXTNS,'page-continuation'), + (TEXTNS,'page-number'), + (TEXTNS,'page-variable-get'), + (TEXTNS,'page-variable-set'), + (TEXTNS,'placeholder'), + (TEXTNS,'print-date'), + (TEXTNS,'print-time'), + (TEXTNS,'printed-by'), + (TEXTNS,'reference-mark'), + (TEXTNS,'reference-mark-end'), + (TEXTNS,'reference-mark-start'), + (TEXTNS,'reference-ref'), + (TEXTNS,'ruby'), + (TEXTNS,'s'), + (TEXTNS,'script'), + (TEXTNS,'sender-city'), + (TEXTNS,'sender-company'), + (TEXTNS,'sender-country'), + (TEXTNS,'sender-email'), + (TEXTNS,'sender-fax'), + (TEXTNS,'sender-firstname'), + (TEXTNS,'sender-initials'), + (TEXTNS,'sender-lastname'), + (TEXTNS,'sender-phone-private'), + (TEXTNS,'sender-phone-work'), + (TEXTNS,'sender-position'), + (TEXTNS,'sender-postal-code'), + (TEXTNS,'sender-state-or-province'), + (TEXTNS,'sender-street'), + (TEXTNS,'sender-title'), + (TEXTNS,'sequence'), + (TEXTNS,'sequence-ref'), + (TEXTNS,'sheet-name'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'span'), + (TEXTNS,'subject'), + (TEXTNS,'tab'), + (TEXTNS,'table-formula'), + (TEXTNS,'template-name'), + (TEXTNS,'text-input'), + (TEXTNS,'time'), + (TEXTNS,'title'), + (TEXTNS,'toc-mark'), + (TEXTNS,'toc-mark-end'), + (TEXTNS,'toc-mark-start'), + (TEXTNS,'user-defined'), + (TEXTNS,'user-field-get'), + (TEXTNS,'user-field-input'), + (TEXTNS,'user-index-mark'), + (TEXTNS,'user-index-mark-end'), + (TEXTNS,'user-index-mark-start'), + (TEXTNS,'variable-get'), + (TEXTNS,'variable-input'), + (TEXTNS,'variable-set'), ), # allowed_children - (TEXTNS,u'subject') : ( - ), - (TEXTNS,u'tab') : ( - ), - (TEXTNS,u'table-count') : ( - ), - (TEXTNS,u'table-formula') : ( - ), - (TEXTNS,u'table-index') : ( - (TEXTNS,u'index-body'), - (TEXTNS,u'table-index-source'), - ), - (TEXTNS,u'table-index-entry-template') : ( - (TEXTNS,u'index-entry-page-number'), - (TEXTNS,u'index-entry-span'), - (TEXTNS,u'index-entry-tab-stop'), - (TEXTNS,u'index-entry-text'), - ), - (TEXTNS,u'table-index-source') : ( - (TEXTNS,u'index-title-template'), - (TEXTNS,u'table-index-entry-template'), - ), - (TEXTNS,u'table-of-content') : ( - (TEXTNS,u'index-body'), - (TEXTNS,u'table-of-content-source'), - ), - (TEXTNS,u'table-of-content-entry-template') : ( - (TEXTNS,u'index-entry-chapter'), - (TEXTNS,u'index-entry-link-end'), - (TEXTNS,u'index-entry-link-start'), - (TEXTNS,u'index-entry-page-number'), - (TEXTNS,u'index-entry-span'), - (TEXTNS,u'index-entry-tab-stop'), - (TEXTNS,u'index-entry-text'), - ), - (TEXTNS,u'table-of-content-source') : ( - (TEXTNS,u'index-source-styles'), - (TEXTNS,u'index-title-template'), - (TEXTNS,u'table-of-content-entry-template'), - ), - (TEXTNS,u'template-name') : ( - ), - (TEXTNS,u'text-input') : ( - ), - (TEXTNS,u'time') : ( - ), - (TEXTNS,u'title') : ( - ), - (TEXTNS,u'toc-mark') : ( - ), - (TEXTNS,u'toc-mark-end') : ( - ), - (TEXTNS,u'toc-mark-start') : ( + (TEXTNS,'subject') : ( + ), + (TEXTNS,'tab') : ( + ), + (TEXTNS,'table-count') : ( + ), + (TEXTNS,'table-formula') : ( + ), + (TEXTNS,'table-index') : ( + (TEXTNS,'index-body'), + (TEXTNS,'table-index-source'), + ), + (TEXTNS,'table-index-entry-template') : ( + (TEXTNS,'index-entry-page-number'), + (TEXTNS,'index-entry-span'), + (TEXTNS,'index-entry-tab-stop'), + (TEXTNS,'index-entry-text'), + ), + (TEXTNS,'table-index-source') : ( + (TEXTNS,'index-title-template'), + (TEXTNS,'table-index-entry-template'), + ), + (TEXTNS,'table-of-content') : ( + (TEXTNS,'index-body'), + (TEXTNS,'table-of-content-source'), + ), + (TEXTNS,'table-of-content-entry-template') : ( + (TEXTNS,'index-entry-chapter'), + (TEXTNS,'index-entry-link-end'), + (TEXTNS,'index-entry-link-start'), + (TEXTNS,'index-entry-page-number'), + (TEXTNS,'index-entry-span'), + (TEXTNS,'index-entry-tab-stop'), + (TEXTNS,'index-entry-text'), + ), + (TEXTNS,'table-of-content-source') : ( + (TEXTNS,'index-source-styles'), + (TEXTNS,'index-title-template'), + (TEXTNS,'table-of-content-entry-template'), + ), + (TEXTNS,'template-name') : ( + ), + (TEXTNS,'text-input') : ( + ), + (TEXTNS,'time') : ( + ), + (TEXTNS,'title') : ( + ), + (TEXTNS,'toc-mark') : ( + ), + (TEXTNS,'toc-mark-end') : ( + ), + (TEXTNS,'toc-mark-start') : ( ), # allowed_children - (TEXTNS,u'tracked-changes') : ( - (TEXTNS,u'changed-region'), - ), - (TEXTNS,u'user-defined') : ( - ), - (TEXTNS,u'user-field-decl') : ( - ), - (TEXTNS,u'user-field-decls') : ( - (TEXTNS,u'user-field-decl'), - ), - (TEXTNS,u'user-field-get') : ( - ), - (TEXTNS,u'user-field-input') : ( - ), - (TEXTNS,u'user-index') : ( - (TEXTNS,u'index-body'), - (TEXTNS,u'user-index-source'), - ), - (TEXTNS,u'user-index-entry-template') : ( - (TEXTNS,u'index-entry-chapter'), - (TEXTNS,u'index-entry-page-number'), - (TEXTNS,u'index-entry-span'), - (TEXTNS,u'index-entry-tab-stop'), - (TEXTNS,u'index-entry-text'), + (TEXTNS,'tracked-changes') : ( + (TEXTNS,'changed-region'), + ), + (TEXTNS,'user-defined') : ( + ), + (TEXTNS,'user-field-decl') : ( + ), + (TEXTNS,'user-field-decls') : ( + (TEXTNS,'user-field-decl'), + ), + (TEXTNS,'user-field-get') : ( + ), + (TEXTNS,'user-field-input') : ( + ), + (TEXTNS,'user-index') : ( + (TEXTNS,'index-body'), + (TEXTNS,'user-index-source'), + ), + (TEXTNS,'user-index-entry-template') : ( + (TEXTNS,'index-entry-chapter'), + (TEXTNS,'index-entry-page-number'), + (TEXTNS,'index-entry-span'), + (TEXTNS,'index-entry-tab-stop'), + (TEXTNS,'index-entry-text'), ), # allowed_children - (TEXTNS,u'user-index-mark') : ( - ), - (TEXTNS,u'user-index-mark-end') : ( - ), - (TEXTNS,u'user-index-mark-start') : ( - ), - (TEXTNS,u'user-index-source') : ( - (TEXTNS,u'index-source-styles'), - (TEXTNS,u'index-title-template'), - (TEXTNS,u'user-index-entry-template'), - ), - (TEXTNS,u'variable-decl') : ( - ), - (TEXTNS,u'variable-decls') : ( - (TEXTNS,u'variable-decl'), - ), - (TEXTNS,u'variable-get') : ( - ), - (TEXTNS,u'variable-input') : ( - ), - (TEXTNS,u'variable-set') : ( - ), - (TEXTNS,u'word-count') : ( + (TEXTNS,'user-index-mark') : ( + ), + (TEXTNS,'user-index-mark-end') : ( + ), + (TEXTNS,'user-index-mark-start') : ( + ), + (TEXTNS,'user-index-source') : ( + (TEXTNS,'index-source-styles'), + (TEXTNS,'index-title-template'), + (TEXTNS,'user-index-entry-template'), + ), + (TEXTNS,'variable-decl') : ( + ), + (TEXTNS,'variable-decls') : ( + (TEXTNS,'variable-decl'), + ), + (TEXTNS,'variable-get') : ( + ), + (TEXTNS,'variable-input') : ( + ), + (TEXTNS,'variable-set') : ( + ), + (TEXTNS,'word-count') : ( ), } @@ -3237,13 +3237,13 @@ # List of elements that allows text nodes # allows_text = ( - (CONFIGNS,u'config-item'), - (DCNS,u'creator'), - (DCNS,u'date'), - (DCNS,u'description'), - (DCNS,u'language'), - (DCNS,u'subject'), - (DCNS,u'title'), + (CONFIGNS,'config-item'), + (DCNS,'creator'), + (DCNS,'date'), + (DCNS,'description'), + (DCNS,'language'), + (DCNS,'subject'), + (DCNS,'title'), # Completes Dublin Core start # (DCNS,'contributor'), # (DCNS,'coverage'), @@ -3255,970 +3255,970 @@ # (DCNS,'source'), # (DCNS,'type'), # Completes Dublin Core end - (FORMNS,u'item'), - (FORMNS,u'option'), - (MATHNS,u'math'), - (METANS,u'creation-date'), - (METANS,u'date-string'), - (METANS,u'editing-cycles'), - (METANS,u'editing-duration'), + (FORMNS,'item'), + (FORMNS,'option'), + (MATHNS,'math'), + (METANS,'creation-date'), + (METANS,'date-string'), + (METANS,'editing-cycles'), + (METANS,'editing-duration'), # allows_text - (METANS,u'generator'), - (METANS,u'initial-creator'), - (METANS,u'keyword'), - (METANS,u'print-date'), - (METANS,u'printed-by'), - (METANS,u'user-defined'), - (NUMBERNS,u'currency-symbol'), - (NUMBERNS,u'embedded-text'), - (NUMBERNS,u'text'), - (OFFICENS,u'binary-data'), - (OFFICENS,u'script'), - (PRESENTATIONNS,u'date-time-decl'), - (PRESENTATIONNS,u'footer-decl'), - (PRESENTATIONNS,u'header-decl'), - (SVGNS,u'desc'), - (SVGNS,u'title'), - (TEXTNS,u'a'), - (TEXTNS,u'author-initials'), - (TEXTNS,u'author-name'), - (TEXTNS,u'bibliography-mark'), - (TEXTNS,u'bookmark-ref'), - (TEXTNS,u'chapter'), - (TEXTNS,u'character-count'), - (TEXTNS,u'conditional-text'), - (TEXTNS,u'creation-date'), - (TEXTNS,u'creation-time'), - (TEXTNS,u'creator'), - (TEXTNS,u'database-display'), - (TEXTNS,u'database-name'), - (TEXTNS,u'database-row-number'), - (TEXTNS,u'date'), - (TEXTNS,u'dde-connection'), - (TEXTNS,u'description'), - (TEXTNS,u'editing-cycles'), - (TEXTNS,u'editing-duration'), - (TEXTNS,u'execute-macro'), - (TEXTNS,u'expression'), - (TEXTNS,u'file-name'), - (TEXTNS,u'h'), - (TEXTNS,u'hidden-paragraph'), - (TEXTNS,u'hidden-text'), - (TEXTNS,u'image-count'), + (METANS,'generator'), + (METANS,'initial-creator'), + (METANS,'keyword'), + (METANS,'print-date'), + (METANS,'printed-by'), + (METANS,'user-defined'), + (NUMBERNS,'currency-symbol'), + (NUMBERNS,'embedded-text'), + (NUMBERNS,'text'), + (OFFICENS,'binary-data'), + (OFFICENS,'script'), + (PRESENTATIONNS,'date-time-decl'), + (PRESENTATIONNS,'footer-decl'), + (PRESENTATIONNS,'header-decl'), + (SVGNS,'desc'), + (SVGNS,'title'), + (TEXTNS,'a'), + (TEXTNS,'author-initials'), + (TEXTNS,'author-name'), + (TEXTNS,'bibliography-mark'), + (TEXTNS,'bookmark-ref'), + (TEXTNS,'chapter'), + (TEXTNS,'character-count'), + (TEXTNS,'conditional-text'), + (TEXTNS,'creation-date'), + (TEXTNS,'creation-time'), + (TEXTNS,'creator'), + (TEXTNS,'database-display'), + (TEXTNS,'database-name'), + (TEXTNS,'database-row-number'), + (TEXTNS,'date'), + (TEXTNS,'dde-connection'), + (TEXTNS,'description'), + (TEXTNS,'editing-cycles'), + (TEXTNS,'editing-duration'), + (TEXTNS,'execute-macro'), + (TEXTNS,'expression'), + (TEXTNS,'file-name'), + (TEXTNS,'h'), + (TEXTNS,'hidden-paragraph'), + (TEXTNS,'hidden-text'), + (TEXTNS,'image-count'), # allowed_children - (TEXTNS,u'index-entry-span'), - (TEXTNS,u'index-title-template'), - (TEXTNS,u'initial-creator'), - (TEXTNS,u'keywords'), - (TEXTNS,u'linenumbering-separator'), - (TEXTNS,u'measure'), - (TEXTNS,u'modification-date'), - (TEXTNS,u'modification-time'), - (TEXTNS,u'note-citation'), - (TEXTNS,u'note-continuation-notice-backward'), - (TEXTNS,u'note-continuation-notice-forward'), - (TEXTNS,u'note-ref'), - (TEXTNS,u'number'), - (TEXTNS,u'object-count'), - (TEXTNS,u'p'), - (TEXTNS,u'page-continuation'), - (TEXTNS,u'page-count'), - (TEXTNS,u'page-number'), - (TEXTNS,u'page-variable-get'), - (TEXTNS,u'page-variable-set'), - (TEXTNS,u'paragraph-count'), - (TEXTNS,u'placeholder'), - (TEXTNS,u'print-date'), - (TEXTNS,u'print-time'), - (TEXTNS,u'printed-by'), - (TEXTNS,u'reference-ref'), - (TEXTNS,u'ruby-base'), - (TEXTNS,u'ruby-text'), - (TEXTNS,u'script'), - (TEXTNS,u'sender-city'), - (TEXTNS,u'sender-company'), - (TEXTNS,u'sender-country'), - (TEXTNS,u'sender-email'), - (TEXTNS,u'sender-fax'), - (TEXTNS,u'sender-firstname'), - (TEXTNS,u'sender-initials'), - (TEXTNS,u'sender-lastname'), - (TEXTNS,u'sender-phone-private'), - (TEXTNS,u'sender-phone-work'), - (TEXTNS,u'sender-position'), - (TEXTNS,u'sender-postal-code'), - (TEXTNS,u'sender-state-or-province'), - (TEXTNS,u'sender-street'), - (TEXTNS,u'sender-title'), - (TEXTNS,u'sequence'), - (TEXTNS,u'sequence-ref'), - (TEXTNS,u'sheet-name'), + (TEXTNS,'index-entry-span'), + (TEXTNS,'index-title-template'), + (TEXTNS,'initial-creator'), + (TEXTNS,'keywords'), + (TEXTNS,'linenumbering-separator'), + (TEXTNS,'measure'), + (TEXTNS,'modification-date'), + (TEXTNS,'modification-time'), + (TEXTNS,'note-citation'), + (TEXTNS,'note-continuation-notice-backward'), + (TEXTNS,'note-continuation-notice-forward'), + (TEXTNS,'note-ref'), + (TEXTNS,'number'), + (TEXTNS,'object-count'), + (TEXTNS,'p'), + (TEXTNS,'page-continuation'), + (TEXTNS,'page-count'), + (TEXTNS,'page-number'), + (TEXTNS,'page-variable-get'), + (TEXTNS,'page-variable-set'), + (TEXTNS,'paragraph-count'), + (TEXTNS,'placeholder'), + (TEXTNS,'print-date'), + (TEXTNS,'print-time'), + (TEXTNS,'printed-by'), + (TEXTNS,'reference-ref'), + (TEXTNS,'ruby-base'), + (TEXTNS,'ruby-text'), + (TEXTNS,'script'), + (TEXTNS,'sender-city'), + (TEXTNS,'sender-company'), + (TEXTNS,'sender-country'), + (TEXTNS,'sender-email'), + (TEXTNS,'sender-fax'), + (TEXTNS,'sender-firstname'), + (TEXTNS,'sender-initials'), + (TEXTNS,'sender-lastname'), + (TEXTNS,'sender-phone-private'), + (TEXTNS,'sender-phone-work'), + (TEXTNS,'sender-position'), + (TEXTNS,'sender-postal-code'), + (TEXTNS,'sender-state-or-province'), + (TEXTNS,'sender-street'), + (TEXTNS,'sender-title'), + (TEXTNS,'sequence'), + (TEXTNS,'sequence-ref'), + (TEXTNS,'sheet-name'), # allowed_children - (TEXTNS,u'span'), - (TEXTNS,u'subject'), - (TEXTNS,u'table-count'), - (TEXTNS,u'table-formula'), - (TEXTNS,u'template-name'), - (TEXTNS,u'text-input'), - (TEXTNS,u'time'), - (TEXTNS,u'title'), - (TEXTNS,u'user-defined'), - (TEXTNS,u'user-field-get'), - (TEXTNS,u'user-field-input'), - (TEXTNS,u'variable-get'), - (TEXTNS,u'variable-input'), - (TEXTNS,u'variable-set'), - (TEXTNS,u'word-count'), + (TEXTNS,'span'), + (TEXTNS,'subject'), + (TEXTNS,'table-count'), + (TEXTNS,'table-formula'), + (TEXTNS,'template-name'), + (TEXTNS,'text-input'), + (TEXTNS,'time'), + (TEXTNS,'title'), + (TEXTNS,'user-defined'), + (TEXTNS,'user-field-get'), + (TEXTNS,'user-field-input'), + (TEXTNS,'variable-get'), + (TEXTNS,'variable-input'), + (TEXTNS,'variable-set'), + (TEXTNS,'word-count'), ) # Only the elements with at least one required attribute is listed required_attributes = { - (ANIMNS,u'animate'): ( - (SMILNS,u'attributeName'), - ), - (ANIMNS,u'animateColor'): ( - (SMILNS,u'attributeName'), - ), - (ANIMNS,u'animateMotion'): ( - (SMILNS,u'attributeName'), - ), - (ANIMNS,u'animateTransform'): ( - (SVGNS,u'type'), - (SMILNS,u'attributeName'), - ), - (ANIMNS,u'command'): ( - (ANIMNS,u'command'), - ), - (ANIMNS,u'param'): ( - (ANIMNS,u'name'), - (ANIMNS,u'value'), - ), - (ANIMNS,u'set'): ( - (SMILNS,u'attributeName'), + (ANIMNS,'animate'): ( + (SMILNS,'attributeName'), + ), + (ANIMNS,'animateColor'): ( + (SMILNS,'attributeName'), + ), + (ANIMNS,'animateMotion'): ( + (SMILNS,'attributeName'), + ), + (ANIMNS,'animateTransform'): ( + (SVGNS,'type'), + (SMILNS,'attributeName'), + ), + (ANIMNS,'command'): ( + (ANIMNS,'command'), + ), + (ANIMNS,'param'): ( + (ANIMNS,'name'), + (ANIMNS,'value'), + ), + (ANIMNS,'set'): ( + (SMILNS,'attributeName'), ), # required_attributes - (ANIMNS,u'transitionFilter'): ( - (SMILNS,u'type'), - ), - (CHARTNS,u'axis'): ( - (CHARTNS,u'dimension'), - ), - (CHARTNS,u'chart'): ( - (CHARTNS,u'class'), - ), - (CHARTNS,u'symbol-image'): ( - (XLINKNS,u'href'), - ), - (CONFIGNS,u'config-item'): ( - (CONFIGNS,u'type'), - (CONFIGNS,u'name'), - ), - (CONFIGNS,u'config-item-map-indexed'): ( - (CONFIGNS,u'name'), - ), - (CONFIGNS,u'config-item-map-named'): ( - (CONFIGNS,u'name'), - ), - (CONFIGNS,u'config-item-set'): ( - (CONFIGNS,u'name'), + (ANIMNS,'transitionFilter'): ( + (SMILNS,'type'), + ), + (CHARTNS,'axis'): ( + (CHARTNS,'dimension'), + ), + (CHARTNS,'chart'): ( + (CHARTNS,'class'), + ), + (CHARTNS,'symbol-image'): ( + (XLINKNS,'href'), + ), + (CONFIGNS,'config-item'): ( + (CONFIGNS,'type'), + (CONFIGNS,'name'), + ), + (CONFIGNS,'config-item-map-indexed'): ( + (CONFIGNS,'name'), + ), + (CONFIGNS,'config-item-map-named'): ( + (CONFIGNS,'name'), + ), + (CONFIGNS,'config-item-set'): ( + (CONFIGNS,'name'), ), # required_attributes - (NUMBERNS,u'boolean-style'): ( - (STYLENS,u'name'), - ), - (NUMBERNS,u'currency-style'): ( - (STYLENS,u'name'), - ), - (NUMBERNS,u'date-style'): ( - (STYLENS,u'name'), - ), - (NUMBERNS,u'embedded-text'): ( - (NUMBERNS,u'position'), - ), - (NUMBERNS,u'number-style'): ( - (STYLENS,u'name'), - ), - (NUMBERNS,u'percentage-style'): ( - (STYLENS,u'name'), - ), - (NUMBERNS,u'text-style'): ( - (STYLENS,u'name'), - ), - (NUMBERNS,u'time-style'): ( - (STYLENS,u'name'), - ), - (DR3DNS,u'extrude'): ( - (SVGNS,u'd'), - (SVGNS,u'viewBox'), - ), - (DR3DNS,u'light'): ( - (DR3DNS,u'direction'), - ), - (DR3DNS,u'rotate'): ( - (SVGNS,u'viewBox'), - (SVGNS,u'd'), + (NUMBERNS,'boolean-style'): ( + (STYLENS,'name'), + ), + (NUMBERNS,'currency-style'): ( + (STYLENS,'name'), + ), + (NUMBERNS,'date-style'): ( + (STYLENS,'name'), + ), + (NUMBERNS,'embedded-text'): ( + (NUMBERNS,'position'), + ), + (NUMBERNS,'number-style'): ( + (STYLENS,'name'), + ), + (NUMBERNS,'percentage-style'): ( + (STYLENS,'name'), + ), + (NUMBERNS,'text-style'): ( + (STYLENS,'name'), + ), + (NUMBERNS,'time-style'): ( + (STYLENS,'name'), + ), + (DR3DNS,'extrude'): ( + (SVGNS,'d'), + (SVGNS,'viewBox'), + ), + (DR3DNS,'light'): ( + (DR3DNS,'direction'), + ), + (DR3DNS,'rotate'): ( + (SVGNS,'viewBox'), + (SVGNS,'d'), ), # required_attributes - (DRAWNS,u'a'): ( - (XLINKNS,u'href'), - ), - (DRAWNS,u'area-circle'): ( - (SVGNS,u'cy'), - (SVGNS,u'cx'), - (SVGNS,u'r'), - ), - (DRAWNS,u'area-polygon'): ( - (SVGNS,u'height'), - (SVGNS,u'width'), - (DRAWNS,u'points'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (SVGNS,u'viewBox'), - ), - (DRAWNS,u'area-rectangle'): ( - (SVGNS,u'y'), - (SVGNS,u'x'), - (SVGNS,u'height'), - (SVGNS,u'width'), - ), - (DRAWNS,u'contour-path'): ( - (DRAWNS,u'recreate-on-edit'), - (SVGNS,u'viewBox'), - (SVGNS,u'd'), - ), - (DRAWNS,u'contour-polygon'): ( - (DRAWNS,u'points'), - (DRAWNS,u'recreate-on-edit'), - (SVGNS,u'viewBox'), - ), - (DRAWNS,u'control'): ( - (DRAWNS,u'control'), - ), - (DRAWNS,u'fill-image'): ( - (XLINKNS,u'href'), - (DRAWNS,u'name'), - ), - (DRAWNS,u'floating-frame'): ( - (XLINKNS,u'href'), - ), - (DRAWNS,u'glue-point'): ( - (SVGNS,u'y'), - (SVGNS,u'x'), - (DRAWNS,u'id'), - (DRAWNS,u'escape-direction'), + (DRAWNS,'a'): ( + (XLINKNS,'href'), + ), + (DRAWNS,'area-circle'): ( + (SVGNS,'cy'), + (SVGNS,'cx'), + (SVGNS,'r'), + ), + (DRAWNS,'area-polygon'): ( + (SVGNS,'height'), + (SVGNS,'width'), + (DRAWNS,'points'), + (SVGNS,'y'), + (SVGNS,'x'), + (SVGNS,'viewBox'), + ), + (DRAWNS,'area-rectangle'): ( + (SVGNS,'y'), + (SVGNS,'x'), + (SVGNS,'height'), + (SVGNS,'width'), + ), + (DRAWNS,'contour-path'): ( + (DRAWNS,'recreate-on-edit'), + (SVGNS,'viewBox'), + (SVGNS,'d'), + ), + (DRAWNS,'contour-polygon'): ( + (DRAWNS,'points'), + (DRAWNS,'recreate-on-edit'), + (SVGNS,'viewBox'), + ), + (DRAWNS,'control'): ( + (DRAWNS,'control'), + ), + (DRAWNS,'fill-image'): ( + (XLINKNS,'href'), + (DRAWNS,'name'), + ), + (DRAWNS,'floating-frame'): ( + (XLINKNS,'href'), + ), + (DRAWNS,'glue-point'): ( + (SVGNS,'y'), + (SVGNS,'x'), + (DRAWNS,'id'), + (DRAWNS,'escape-direction'), ), # required_attributes - (DRAWNS,u'gradient'): ( - (DRAWNS,u'style'), - ), - (DRAWNS,u'handle'): ( - (DRAWNS,u'handle-position'), - ), - (DRAWNS,u'hatch'): ( - (DRAWNS,u'style'), - (DRAWNS,u'name'), - ), - (DRAWNS,u'layer'): ( - (DRAWNS,u'name'), - ), - (DRAWNS,u'line'): ( - (SVGNS,u'y1'), - (SVGNS,u'x2'), - (SVGNS,u'x1'), - (SVGNS,u'y2'), - ), - (DRAWNS,u'marker'): ( - (SVGNS,u'd'), - (DRAWNS,u'name'), - (SVGNS,u'viewBox'), - ), - (DRAWNS,u'measure'): ( - (SVGNS,u'y1'), - (SVGNS,u'x2'), - (SVGNS,u'x1'), - (SVGNS,u'y2'), - ), - (DRAWNS,u'opacity'): ( - (DRAWNS,u'style'), - ), - (DRAWNS,u'page'): ( - (DRAWNS,u'master-page-name'), - ), - (DRAWNS,u'path'): ( - (SVGNS,u'd'), - (SVGNS,u'viewBox'), - ), - (DRAWNS,u'plugin'): ( - (XLINKNS,u'href'), - ), - (DRAWNS,u'polygon'): ( - (DRAWNS,u'points'), - (SVGNS,u'viewBox'), + (DRAWNS,'gradient'): ( + (DRAWNS,'style'), + ), + (DRAWNS,'handle'): ( + (DRAWNS,'handle-position'), + ), + (DRAWNS,'hatch'): ( + (DRAWNS,'style'), + (DRAWNS,'name'), + ), + (DRAWNS,'layer'): ( + (DRAWNS,'name'), + ), + (DRAWNS,'line'): ( + (SVGNS,'y1'), + (SVGNS,'x2'), + (SVGNS,'x1'), + (SVGNS,'y2'), + ), + (DRAWNS,'marker'): ( + (SVGNS,'d'), + (DRAWNS,'name'), + (SVGNS,'viewBox'), + ), + (DRAWNS,'measure'): ( + (SVGNS,'y1'), + (SVGNS,'x2'), + (SVGNS,'x1'), + (SVGNS,'y2'), + ), + (DRAWNS,'opacity'): ( + (DRAWNS,'style'), + ), + (DRAWNS,'page'): ( + (DRAWNS,'master-page-name'), + ), + (DRAWNS,'path'): ( + (SVGNS,'d'), + (SVGNS,'viewBox'), + ), + (DRAWNS,'plugin'): ( + (XLINKNS,'href'), + ), + (DRAWNS,'polygon'): ( + (DRAWNS,'points'), + (SVGNS,'viewBox'), ), # required_attributes - (DRAWNS,u'polyline'): ( - (DRAWNS,u'points'), - (SVGNS,u'viewBox'), - ), - (DRAWNS,u'regular-polygon'): ( - (DRAWNS,u'corners'), - ), - (DRAWNS,u'stroke-dash'): ( - (DRAWNS,u'name'), - ), - (FORMNS,u'button'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'checkbox'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'combobox'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'connection-resource'): ( - (XLINKNS,u'href'), - ), - (FORMNS,u'date'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'file'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'fixed-text'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'formatted-text'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'frame'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'generic-control'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'grid'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'hidden'): ( - (FORMNS,u'id'), + (DRAWNS,'polyline'): ( + (DRAWNS,'points'), + (SVGNS,'viewBox'), + ), + (DRAWNS,'regular-polygon'): ( + (DRAWNS,'corners'), + ), + (DRAWNS,'stroke-dash'): ( + (DRAWNS,'name'), + ), + (FORMNS,'button'): ( + (FORMNS,'id'), + ), + (FORMNS,'checkbox'): ( + (FORMNS,'id'), + ), + (FORMNS,'combobox'): ( + (FORMNS,'id'), + ), + (FORMNS,'connection-resource'): ( + (XLINKNS,'href'), + ), + (FORMNS,'date'): ( + (FORMNS,'id'), + ), + (FORMNS,'file'): ( + (FORMNS,'id'), + ), + (FORMNS,'fixed-text'): ( + (FORMNS,'id'), + ), + (FORMNS,'formatted-text'): ( + (FORMNS,'id'), + ), + (FORMNS,'frame'): ( + (FORMNS,'id'), + ), + (FORMNS,'generic-control'): ( + (FORMNS,'id'), + ), + (FORMNS,'grid'): ( + (FORMNS,'id'), + ), + (FORMNS,'hidden'): ( + (FORMNS,'id'), ), # required_attributes - (FORMNS,u'image'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'image-frame'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'list-property'): ( - (FORMNS,u'property-name'), - ), - (FORMNS,u'list-value'): ( - (OFFICENS,u'string-value'), - ), - (FORMNS,u'listbox'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'number'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'password'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'property'): ( - (FORMNS,u'property-name'), - ), - (FORMNS,u'radio'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'text'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'textarea'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'time'): ( - (FORMNS,u'id'), - ), - (FORMNS,u'value-range'): ( - (FORMNS,u'id'), - ), - (MANIFESTNS,u'algorithm') : ( - (MANIFESTNS,u'algorithm-name'), - (MANIFESTNS,u'initialisation-vector'), - ), - (MANIFESTNS,u'encryption-data') : ( - (MANIFESTNS,u'checksum-type'), - (MANIFESTNS,u'checksum'), - ), - (MANIFESTNS,u'file-entry') : ( - (MANIFESTNS,u'full-path'), - (MANIFESTNS,u'media-type'), - ), - (MANIFESTNS,u'key-derivation') : ( - (MANIFESTNS,u'key-derivation-name'), - (MANIFESTNS,u'salt'), - (MANIFESTNS,u'iteration-count'), + (FORMNS,'image'): ( + (FORMNS,'id'), + ), + (FORMNS,'image-frame'): ( + (FORMNS,'id'), + ), + (FORMNS,'list-property'): ( + (FORMNS,'property-name'), + ), + (FORMNS,'list-value'): ( + (OFFICENS,'string-value'), + ), + (FORMNS,'listbox'): ( + (FORMNS,'id'), + ), + (FORMNS,'number'): ( + (FORMNS,'id'), + ), + (FORMNS,'password'): ( + (FORMNS,'id'), + ), + (FORMNS,'property'): ( + (FORMNS,'property-name'), + ), + (FORMNS,'radio'): ( + (FORMNS,'id'), + ), + (FORMNS,'text'): ( + (FORMNS,'id'), + ), + (FORMNS,'textarea'): ( + (FORMNS,'id'), + ), + (FORMNS,'time'): ( + (FORMNS,'id'), + ), + (FORMNS,'value-range'): ( + (FORMNS,'id'), + ), + (MANIFESTNS,'algorithm') : ( + (MANIFESTNS,'algorithm-name'), + (MANIFESTNS,'initialisation-vector'), + ), + (MANIFESTNS,'encryption-data') : ( + (MANIFESTNS,'checksum-type'), + (MANIFESTNS,'checksum'), + ), + (MANIFESTNS,'file-entry') : ( + (MANIFESTNS,'full-path'), + (MANIFESTNS,'media-type'), + ), + (MANIFESTNS,'key-derivation') : ( + (MANIFESTNS,'key-derivation-name'), + (MANIFESTNS,'salt'), + (MANIFESTNS,'iteration-count'), ), # required_attributes - (METANS,u'template'): ( - (XLINKNS,u'href'), - ), - (METANS,u'user-defined'): ( - (METANS,u'name'), - ), - (OFFICENS,u'dde-source'): ( - (OFFICENS,u'dde-topic'), - (OFFICENS,u'dde-application'), - (OFFICENS,u'dde-item'), - ), - (OFFICENS,u'document'): ( - (OFFICENS,u'mimetype'), - ), - (OFFICENS,u'script'): ( - (SCRIPTNS,u'language'), - ), - (PRESENTATIONNS,u'date-time-decl'): ( - (PRESENTATIONNS,u'source'), - (PRESENTATIONNS,u'name'), - ), - (PRESENTATIONNS,u'dim'): ( - (DRAWNS,u'color'), - (DRAWNS,u'shape-id'), + (METANS,'template'): ( + (XLINKNS,'href'), + ), + (METANS,'user-defined'): ( + (METANS,'name'), + ), + (OFFICENS,'dde-source'): ( + (OFFICENS,'dde-topic'), + (OFFICENS,'dde-application'), + (OFFICENS,'dde-item'), + ), + (OFFICENS,'document'): ( + (OFFICENS,'mimetype'), + ), + (OFFICENS,'script'): ( + (SCRIPTNS,'language'), + ), + (PRESENTATIONNS,'date-time-decl'): ( + (PRESENTATIONNS,'source'), + (PRESENTATIONNS,'name'), + ), + (PRESENTATIONNS,'dim'): ( + (DRAWNS,'color'), + (DRAWNS,'shape-id'), ), # required_attributes - (PRESENTATIONNS,u'event-listener'): ( - (PRESENTATIONNS,u'action'), - (SCRIPTNS,u'event-name'), - ), - (PRESENTATIONNS,u'footer-decl'): ( - (PRESENTATIONNS,u'name'), - ), - (PRESENTATIONNS,u'header-decl'): ( - (PRESENTATIONNS,u'name'), - ), - (PRESENTATIONNS,u'hide-shape'): ( - (DRAWNS,u'shape-id'), - ), - (PRESENTATIONNS,u'hide-text'): ( - (DRAWNS,u'shape-id'), - ), - (PRESENTATIONNS,u'placeholder'): ( - (SVGNS,u'y'), - (SVGNS,u'x'), - (SVGNS,u'height'), - (PRESENTATIONNS,u'object'), - (SVGNS,u'width'), - ), - (PRESENTATIONNS,u'play'): ( - (DRAWNS,u'shape-id'), - ), - (PRESENTATIONNS,u'show'): ( - (PRESENTATIONNS,u'name'), - (PRESENTATIONNS,u'pages'), - ), - (PRESENTATIONNS,u'show-shape'): ( - (DRAWNS,u'shape-id'), - ), - (PRESENTATIONNS,u'show-text'): ( - (DRAWNS,u'shape-id'), - ), - (PRESENTATIONNS,u'sound'): ( - (XLINKNS,u'href'), - ), - (SCRIPTNS,u'event-listener'): ( - (SCRIPTNS,u'language'), - (SCRIPTNS,u'event-name'), - ), - (STYLENS,u'column'): ( - (STYLENS,u'rel-width'), + (PRESENTATIONNS,'event-listener'): ( + (PRESENTATIONNS,'action'), + (SCRIPTNS,'event-name'), + ), + (PRESENTATIONNS,'footer-decl'): ( + (PRESENTATIONNS,'name'), + ), + (PRESENTATIONNS,'header-decl'): ( + (PRESENTATIONNS,'name'), + ), + (PRESENTATIONNS,'hide-shape'): ( + (DRAWNS,'shape-id'), + ), + (PRESENTATIONNS,'hide-text'): ( + (DRAWNS,'shape-id'), + ), + (PRESENTATIONNS,'placeholder'): ( + (SVGNS,'y'), + (SVGNS,'x'), + (SVGNS,'height'), + (PRESENTATIONNS,'object'), + (SVGNS,'width'), + ), + (PRESENTATIONNS,'play'): ( + (DRAWNS,'shape-id'), + ), + (PRESENTATIONNS,'show'): ( + (PRESENTATIONNS,'name'), + (PRESENTATIONNS,'pages'), + ), + (PRESENTATIONNS,'show-shape'): ( + (DRAWNS,'shape-id'), + ), + (PRESENTATIONNS,'show-text'): ( + (DRAWNS,'shape-id'), + ), + (PRESENTATIONNS,'sound'): ( + (XLINKNS,'href'), + ), + (SCRIPTNS,'event-listener'): ( + (SCRIPTNS,'language'), + (SCRIPTNS,'event-name'), + ), + (STYLENS,'column'): ( + (STYLENS,'rel-width'), ), # required_attributes - (STYLENS,u'column-sep'): ( - (STYLENS,u'width'), - ), - (STYLENS,u'columns'): ( - (FONS,u'column-count'), - ), - (STYLENS,u'font-face'): ( - (STYLENS,u'name'), - ), - (STYLENS,u'handout-master'): ( - (STYLENS,u'page-layout-name'), - ), - (STYLENS,u'map'): ( - (STYLENS,u'apply-style-name'), - (STYLENS,u'condition'), - ), - (STYLENS,u'master-page'): ( - (STYLENS,u'page-layout-name'), - (STYLENS,u'name'), - ), - (STYLENS,u'page-layout'): ( - (STYLENS,u'name'), - ), - (STYLENS,u'presentation-page-layout'): ( - (STYLENS,u'name'), - ), - (STYLENS,u'style'): ( - (STYLENS,u'name'), - ), - (STYLENS,u'tab-stop'): ( - (STYLENS,u'position'), - ), - (SVGNS,u'definition-src'): ( - (XLINKNS,u'href'), - ), - (SVGNS,u'font-face-uri'): ( - (XLINKNS,u'href'), - ), - (SVGNS,u'linearGradient'): ( - (DRAWNS,u'name'), - ), - (SVGNS,u'radialGradient'): ( - (DRAWNS,u'name'), - ), - (SVGNS,u'stop'): ( - (SVGNS,u'offset'), + (STYLENS,'column-sep'): ( + (STYLENS,'width'), + ), + (STYLENS,'columns'): ( + (FONS,'column-count'), + ), + (STYLENS,'font-face'): ( + (STYLENS,'name'), + ), + (STYLENS,'handout-master'): ( + (STYLENS,'page-layout-name'), + ), + (STYLENS,'map'): ( + (STYLENS,'apply-style-name'), + (STYLENS,'condition'), + ), + (STYLENS,'master-page'): ( + (STYLENS,'page-layout-name'), + (STYLENS,'name'), + ), + (STYLENS,'page-layout'): ( + (STYLENS,'name'), + ), + (STYLENS,'presentation-page-layout'): ( + (STYLENS,'name'), + ), + (STYLENS,'style'): ( + (STYLENS,'name'), + ), + (STYLENS,'tab-stop'): ( + (STYLENS,'position'), + ), + (SVGNS,'definition-src'): ( + (XLINKNS,'href'), + ), + (SVGNS,'font-face-uri'): ( + (XLINKNS,'href'), + ), + (SVGNS,'linearGradient'): ( + (DRAWNS,'name'), + ), + (SVGNS,'radialGradient'): ( + (DRAWNS,'name'), + ), + (SVGNS,'stop'): ( + (SVGNS,'offset'), ), # required_attributes - (TABLENS,u'body'): ( - (TEXTNS,u'style-name'), - ), - (TABLENS,u'cell-address'): ( - (TABLENS,u'column'), - (TABLENS,u'table'), - (TABLENS,u'row'), - ), - (TABLENS,u'cell-content-change'): ( - (TABLENS,u'id'), - ), - (TABLENS,u'cell-range-source'): ( - (TABLENS,u'last-row-spanned'), - (TABLENS,u'last-column-spanned'), - (XLINKNS,u'href'), - (TABLENS,u'name'), - ), - (TABLENS,u'consolidation'): ( - (TABLENS,u'function'), - (TABLENS,u'source-cell-range-addresses'), - (TABLENS,u'target-cell-address'), - ), - (TABLENS,u'content-validation'): ( - (TABLENS,u'name'), - ), - (TABLENS,u'data-pilot-display-info'): ( - (TABLENS,u'member-count'), - (TABLENS,u'data-field'), - (TABLENS,u'enabled'), - (TABLENS,u'display-member-mode'), + (TABLENS,'body'): ( + (TEXTNS,'style-name'), + ), + (TABLENS,'cell-address'): ( + (TABLENS,'column'), + (TABLENS,'table'), + (TABLENS,'row'), + ), + (TABLENS,'cell-content-change'): ( + (TABLENS,'id'), + ), + (TABLENS,'cell-range-source'): ( + (TABLENS,'last-row-spanned'), + (TABLENS,'last-column-spanned'), + (XLINKNS,'href'), + (TABLENS,'name'), + ), + (TABLENS,'consolidation'): ( + (TABLENS,'function'), + (TABLENS,'source-cell-range-addresses'), + (TABLENS,'target-cell-address'), + ), + (TABLENS,'content-validation'): ( + (TABLENS,'name'), + ), + (TABLENS,'data-pilot-display-info'): ( + (TABLENS,'member-count'), + (TABLENS,'data-field'), + (TABLENS,'enabled'), + (TABLENS,'display-member-mode'), ), # required_attributes - (TABLENS,u'data-pilot-field'): ( - (TABLENS,u'source-field-name'), - ), - (TABLENS,u'data-pilot-field-reference'): ( - (TABLENS,u'field-name'), - (TABLENS,u'type'), - ), - (TABLENS,u'data-pilot-group'): ( - (TABLENS,u'name'), - ), - (TABLENS,u'data-pilot-group-member'): ( - (TABLENS,u'name'), - ), - (TABLENS,u'data-pilot-groups'): ( - (TABLENS,u'source-field-name'), - (TABLENS,u'step'), - (TABLENS,u'grouped-by'), - ), - (TABLENS,u'data-pilot-layout-info'): ( - (TABLENS,u'add-empty-lines'), - (TABLENS,u'layout-mode'), - ), - (TABLENS,u'data-pilot-member'): ( - (TABLENS,u'name'), - ), - (TABLENS,u'data-pilot-sort-info'): ( - (TABLENS,u'order'), - ), - (TABLENS,u'data-pilot-subtotal'): ( - (TABLENS,u'function'), - ), - (TABLENS,u'data-pilot-table'): ( - (TABLENS,u'target-range-address'), - (TABLENS,u'name'), - ), - (TABLENS,u'database-range'): ( - (TABLENS,u'target-range-address'), + (TABLENS,'data-pilot-field'): ( + (TABLENS,'source-field-name'), + ), + (TABLENS,'data-pilot-field-reference'): ( + (TABLENS,'field-name'), + (TABLENS,'type'), + ), + (TABLENS,'data-pilot-group'): ( + (TABLENS,'name'), + ), + (TABLENS,'data-pilot-group-member'): ( + (TABLENS,'name'), + ), + (TABLENS,'data-pilot-groups'): ( + (TABLENS,'source-field-name'), + (TABLENS,'step'), + (TABLENS,'grouped-by'), + ), + (TABLENS,'data-pilot-layout-info'): ( + (TABLENS,'add-empty-lines'), + (TABLENS,'layout-mode'), + ), + (TABLENS,'data-pilot-member'): ( + (TABLENS,'name'), + ), + (TABLENS,'data-pilot-sort-info'): ( + (TABLENS,'order'), + ), + (TABLENS,'data-pilot-subtotal'): ( + (TABLENS,'function'), + ), + (TABLENS,'data-pilot-table'): ( + (TABLENS,'target-range-address'), + (TABLENS,'name'), + ), + (TABLENS,'database-range'): ( + (TABLENS,'target-range-address'), ), # required_attributes - (TABLENS,u'database-source-query'): ( - (TABLENS,u'query-name'), - (TABLENS,u'database-name'), - ), - (TABLENS,u'database-source-sql'): ( - (TABLENS,u'database-name'), - (TABLENS,u'sql-statement'), - ), - (TABLENS,u'database-source-table'): ( - (TABLENS,u'database-table-name'), - (TABLENS,u'database-name'), - ), - (TABLENS,u'deletion'): ( - (TABLENS,u'position'), - (TABLENS,u'type'), - (TABLENS,u'id'), - ), - (TABLENS,u'dependency'): ( - (TABLENS,u'id'), - ), - (TABLENS,u'even-columns'): ( - (TEXTNS,u'style-name'), - ), - (TABLENS,u'even-rows'): ( - (TEXTNS,u'style-name'), - ), - (TABLENS,u'filter-condition'): ( - (TABLENS,u'operator'), - (TABLENS,u'field-number'), - (TABLENS,u'value'), - ), - (TABLENS,u'first-column'): ( - (TEXTNS,u'style-name'), - ), - (TABLENS,u'first-row'): ( - (TEXTNS,u'style-name'), - ), - (TABLENS,u'insertion'): ( - (TABLENS,u'position'), - (TABLENS,u'type'), - (TABLENS,u'id'), - ), - (TABLENS,u'insertion-cut-off'): ( - (TABLENS,u'position'), - (TABLENS,u'id'), + (TABLENS,'database-source-query'): ( + (TABLENS,'query-name'), + (TABLENS,'database-name'), + ), + (TABLENS,'database-source-sql'): ( + (TABLENS,'database-name'), + (TABLENS,'sql-statement'), + ), + (TABLENS,'database-source-table'): ( + (TABLENS,'database-table-name'), + (TABLENS,'database-name'), + ), + (TABLENS,'deletion'): ( + (TABLENS,'position'), + (TABLENS,'type'), + (TABLENS,'id'), + ), + (TABLENS,'dependency'): ( + (TABLENS,'id'), + ), + (TABLENS,'even-columns'): ( + (TEXTNS,'style-name'), + ), + (TABLENS,'even-rows'): ( + (TEXTNS,'style-name'), + ), + (TABLENS,'filter-condition'): ( + (TABLENS,'operator'), + (TABLENS,'field-number'), + (TABLENS,'value'), + ), + (TABLENS,'first-column'): ( + (TEXTNS,'style-name'), + ), + (TABLENS,'first-row'): ( + (TEXTNS,'style-name'), + ), + (TABLENS,'insertion'): ( + (TABLENS,'position'), + (TABLENS,'type'), + (TABLENS,'id'), + ), + (TABLENS,'insertion-cut-off'): ( + (TABLENS,'position'), + (TABLENS,'id'), ), # required_attributes - (TABLENS,u'label-range'): ( - (TABLENS,u'label-cell-range-address'), - (TABLENS,u'data-cell-range-address'), - (TABLENS,u'orientation'), - ), - (TABLENS,u'last-column'): ( - (TEXTNS,u'style-name'), - ), - (TABLENS,u'last-row'): ( - (TEXTNS,u'style-name'), - ), - (TABLENS,u'movement'): ( - (TABLENS,u'id'), - ), - (TABLENS,u'named-expression'): ( - (TABLENS,u'expression'), - (TABLENS,u'name'), - ), - (TABLENS,u'named-range'): ( - (TABLENS,u'name'), - (TABLENS,u'cell-range-address'), - ), - (TABLENS,u'odd-columns'): ( - (TEXTNS,u'style-name'), - ), - (TABLENS,u'odd-rows'): ( - (TEXTNS,u'style-name'), - ), - (TABLENS,u'operation'): ( - (TABLENS,u'index'), - (TABLENS,u'name'), + (TABLENS,'label-range'): ( + (TABLENS,'label-cell-range-address'), + (TABLENS,'data-cell-range-address'), + (TABLENS,'orientation'), + ), + (TABLENS,'last-column'): ( + (TEXTNS,'style-name'), + ), + (TABLENS,'last-row'): ( + (TEXTNS,'style-name'), + ), + (TABLENS,'movement'): ( + (TABLENS,'id'), + ), + (TABLENS,'named-expression'): ( + (TABLENS,'expression'), + (TABLENS,'name'), + ), + (TABLENS,'named-range'): ( + (TABLENS,'name'), + (TABLENS,'cell-range-address'), + ), + (TABLENS,'odd-columns'): ( + (TEXTNS,'style-name'), + ), + (TABLENS,'odd-rows'): ( + (TEXTNS,'style-name'), + ), + (TABLENS,'operation'): ( + (TABLENS,'index'), + (TABLENS,'name'), ), # required_attributes - (TABLENS,u'scenario'): ( - (TABLENS,u'is-active'), - (TABLENS,u'scenario-ranges'), - ), - (TABLENS,u'sort-by'): ( - (TABLENS,u'field-number'), - ), - (TABLENS,u'source-cell-range'): ( - (TABLENS,u'cell-range-address'), - ), - (TABLENS,u'source-service'): ( - (TABLENS,u'source-name'), - (TABLENS,u'object-name'), - (TABLENS,u'name'), - ), - (TABLENS,u'subtotal-field'): ( - (TABLENS,u'function'), - (TABLENS,u'field-number'), - ), - (TABLENS,u'subtotal-rule'): ( - (TABLENS,u'group-by-field-number'), - ), - (TABLENS,u'table-source'): ( - (XLINKNS,u'href'), - ), - (TABLENS,u'table-template'): ( - (TEXTNS,u'last-row-end-column'), - (TEXTNS,u'first-row-end-column'), - (TEXTNS,u'name'), - (TEXTNS,u'last-row-start-column'), - (TEXTNS,u'first-row-start-column'), - ), - (TEXTNS,u'a'): ( - (XLINKNS,u'href'), + (TABLENS,'scenario'): ( + (TABLENS,'is-active'), + (TABLENS,'scenario-ranges'), + ), + (TABLENS,'sort-by'): ( + (TABLENS,'field-number'), + ), + (TABLENS,'source-cell-range'): ( + (TABLENS,'cell-range-address'), + ), + (TABLENS,'source-service'): ( + (TABLENS,'source-name'), + (TABLENS,'object-name'), + (TABLENS,'name'), + ), + (TABLENS,'subtotal-field'): ( + (TABLENS,'function'), + (TABLENS,'field-number'), + ), + (TABLENS,'subtotal-rule'): ( + (TABLENS,'group-by-field-number'), + ), + (TABLENS,'table-source'): ( + (XLINKNS,'href'), + ), + (TABLENS,'table-template'): ( + (TEXTNS,'last-row-end-column'), + (TEXTNS,'first-row-end-column'), + (TEXTNS,'name'), + (TEXTNS,'last-row-start-column'), + (TEXTNS,'first-row-start-column'), + ), + (TEXTNS,'a'): ( + (XLINKNS,'href'), ), # required_attributes - (TEXTNS,u'alphabetical-index'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'alphabetical-index-auto-mark-file'): ( - (XLINKNS,u'href'), - ), - (TEXTNS,u'alphabetical-index-entry-template'): ( - (TEXTNS,u'style-name'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'alphabetical-index-mark'): ( - (TEXTNS,u'string-value'), - ), - (TEXTNS,u'alphabetical-index-mark-end'): ( - (TEXTNS,u'id'), - ), - (TEXTNS,u'alphabetical-index-mark-start'): ( - (TEXTNS,u'id'), - ), - (TEXTNS,u'bibliography'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'bibliography-entry-template'): ( - (TEXTNS,u'style-name'), - (TEXTNS,u'bibliography-type'), - ), - (TEXTNS,u'bibliography-mark'): ( - (TEXTNS,u'bibliography-type'), - ), - (TEXTNS,u'bookmark'): ( - (TEXTNS,u'name'), + (TEXTNS,'alphabetical-index'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'alphabetical-index-auto-mark-file'): ( + (XLINKNS,'href'), + ), + (TEXTNS,'alphabetical-index-entry-template'): ( + (TEXTNS,'style-name'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'alphabetical-index-mark'): ( + (TEXTNS,'string-value'), + ), + (TEXTNS,'alphabetical-index-mark-end'): ( + (TEXTNS,'id'), + ), + (TEXTNS,'alphabetical-index-mark-start'): ( + (TEXTNS,'id'), + ), + (TEXTNS,'bibliography'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'bibliography-entry-template'): ( + (TEXTNS,'style-name'), + (TEXTNS,'bibliography-type'), + ), + (TEXTNS,'bibliography-mark'): ( + (TEXTNS,'bibliography-type'), + ), + (TEXTNS,'bookmark'): ( + (TEXTNS,'name'), ), # required_attributes - (TEXTNS,u'bookmark-end'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'bookmark-start'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'change'): ( - (TEXTNS,u'change-id'), - ), - (TEXTNS,u'change-end'): ( - (TEXTNS,u'change-id'), - ), - (TEXTNS,u'change-start'): ( - (TEXTNS,u'change-id'), - ), - (TEXTNS,u'changed-region'): ( - (TEXTNS,u'id'), - ), - (TEXTNS,u'chapter'): ( - (TEXTNS,u'display'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'conditional-text'): ( - (TEXTNS,u'string-value-if-true'), - (TEXTNS,u'string-value-if-false'), - (TEXTNS,u'condition'), - ), - (TEXTNS,u'database-display'): ( - (TEXTNS,u'column-name'), - (TEXTNS,u'table-name'), - ), - (TEXTNS,u'database-name'): ( - (TEXTNS,u'table-name'), - ), - (TEXTNS,u'database-next'): ( - (TEXTNS,u'table-name'), - ), - (TEXTNS,u'database-row-number'): ( - (TEXTNS,u'table-name'), - ), - (TEXTNS,u'database-row-select'): ( - (TEXTNS,u'table-name'), - ), - (TEXTNS,u'dde-connection'): ( - (TEXTNS,u'connection-name'), + (TEXTNS,'bookmark-end'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'bookmark-start'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'change'): ( + (TEXTNS,'change-id'), + ), + (TEXTNS,'change-end'): ( + (TEXTNS,'change-id'), + ), + (TEXTNS,'change-start'): ( + (TEXTNS,'change-id'), + ), + (TEXTNS,'changed-region'): ( + (TEXTNS,'id'), + ), + (TEXTNS,'chapter'): ( + (TEXTNS,'display'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'conditional-text'): ( + (TEXTNS,'string-value-if-true'), + (TEXTNS,'string-value-if-false'), + (TEXTNS,'condition'), + ), + (TEXTNS,'database-display'): ( + (TEXTNS,'column-name'), + (TEXTNS,'table-name'), + ), + (TEXTNS,'database-name'): ( + (TEXTNS,'table-name'), + ), + (TEXTNS,'database-next'): ( + (TEXTNS,'table-name'), + ), + (TEXTNS,'database-row-number'): ( + (TEXTNS,'table-name'), + ), + (TEXTNS,'database-row-select'): ( + (TEXTNS,'table-name'), + ), + (TEXTNS,'dde-connection'): ( + (TEXTNS,'connection-name'), ), # required_attributes - (TEXTNS,u'dde-connection-decl'): ( - (OFFICENS,u'dde-topic'), - (OFFICENS,u'dde-application'), - (OFFICENS,u'name'), - (OFFICENS,u'dde-item'), - ), - (TEXTNS,u'h'): ( - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'hidden-paragraph'): ( - (TEXTNS,u'condition'), - ), - (TEXTNS,u'hidden-text'): ( - (TEXTNS,u'string-value'), - (TEXTNS,u'condition'), - ), - (TEXTNS,u'illustration-index'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'illustration-index-entry-template'): ( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'index-entry-bibliography'): ( - (TEXTNS,u'bibliography-data-field'), - ), - (TEXTNS,u'index-source-style'): ( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'index-source-styles'): ( - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'index-title'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'list-level-style-bullet'): ( - (TEXTNS,u'bullet-char'), - (TEXTNS,u'level'), - ), - (TEXTNS,u'list-level-style-image'): ( - (TEXTNS,u'level'), - ), - (TEXTNS,u'list-level-style-number'): ( - (TEXTNS,u'level'), - ), - (TEXTNS,u'list-style'): ( - (STYLENS,u'name'), + (TEXTNS,'dde-connection-decl'): ( + (OFFICENS,'dde-topic'), + (OFFICENS,'dde-application'), + (OFFICENS,'name'), + (OFFICENS,'dde-item'), + ), + (TEXTNS,'h'): ( + (TEXTNS,'outline-level'), + ), + (TEXTNS,'hidden-paragraph'): ( + (TEXTNS,'condition'), + ), + (TEXTNS,'hidden-text'): ( + (TEXTNS,'string-value'), + (TEXTNS,'condition'), + ), + (TEXTNS,'illustration-index'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'illustration-index-entry-template'): ( + (TEXTNS,'style-name'), + ), + (TEXTNS,'index-entry-bibliography'): ( + (TEXTNS,'bibliography-data-field'), + ), + (TEXTNS,'index-source-style'): ( + (TEXTNS,'style-name'), + ), + (TEXTNS,'index-source-styles'): ( + (TEXTNS,'outline-level'), + ), + (TEXTNS,'index-title'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'list-level-style-bullet'): ( + (TEXTNS,'bullet-char'), + (TEXTNS,'level'), + ), + (TEXTNS,'list-level-style-image'): ( + (TEXTNS,'level'), + ), + (TEXTNS,'list-level-style-number'): ( + (TEXTNS,'level'), + ), + (TEXTNS,'list-style'): ( + (STYLENS,'name'), ), # required_attributes - (TEXTNS,u'measure'): ( - (TEXTNS,u'kind'), - ), - (TEXTNS,u'note'): ( - (TEXTNS,u'note-class'), - ), - (TEXTNS,u'note-ref'): ( - (TEXTNS,u'note-class'), - ), - (TEXTNS,u'notes-configuration'): ( - (TEXTNS,u'note-class'), - ), - (TEXTNS,u'object-index'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'object-index-entry-template'): ( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'outline-level-style'): ( - (TEXTNS,u'level'), - ), - (TEXTNS,u'page'): ( - (TEXTNS,u'master-page-name'), - ), - (TEXTNS,u'page-continuation'): ( - (TEXTNS,u'select-page'), - ), - (TEXTNS,u'placeholder'): ( - (TEXTNS,u'placeholder-type'), - ), - (TEXTNS,u'reference-mark'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'reference-mark-end'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'reference-mark-start'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'section'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'sequence'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'sequence-decl'): ( - (TEXTNS,u'display-outline-level'), - (TEXTNS,u'name'), + (TEXTNS,'measure'): ( + (TEXTNS,'kind'), + ), + (TEXTNS,'note'): ( + (TEXTNS,'note-class'), + ), + (TEXTNS,'note-ref'): ( + (TEXTNS,'note-class'), + ), + (TEXTNS,'notes-configuration'): ( + (TEXTNS,'note-class'), + ), + (TEXTNS,'object-index'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'object-index-entry-template'): ( + (TEXTNS,'style-name'), + ), + (TEXTNS,'outline-level-style'): ( + (TEXTNS,'level'), + ), + (TEXTNS,'page'): ( + (TEXTNS,'master-page-name'), + ), + (TEXTNS,'page-continuation'): ( + (TEXTNS,'select-page'), + ), + (TEXTNS,'placeholder'): ( + (TEXTNS,'placeholder-type'), + ), + (TEXTNS,'reference-mark'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'reference-mark-end'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'reference-mark-start'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'section'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'sequence'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'sequence-decl'): ( + (TEXTNS,'display-outline-level'), + (TEXTNS,'name'), ), # required_attributes - (TEXTNS,u'sort-key'): ( - (TEXTNS,u'key'), - ), - (TEXTNS,u'table-index'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'table-index-entry-template'): ( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'table-of-content'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'table-of-content-entry-template'): ( - (TEXTNS,u'style-name'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'toc-mark'): ( - (TEXTNS,u'string-value'), - ), - (TEXTNS,u'toc-mark-end'): ( - (TEXTNS,u'id'), - ), - (TEXTNS,u'toc-mark-start'): ( - (TEXTNS,u'id'), - ), - (TEXTNS,u'user-defined'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'user-field-decl'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'user-field-get'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'user-field-input'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'user-index'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'user-index-entry-template'): ( - (TEXTNS,u'style-name'), - (TEXTNS,u'outline-level'), + (TEXTNS,'sort-key'): ( + (TEXTNS,'key'), + ), + (TEXTNS,'table-index'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'table-index-entry-template'): ( + (TEXTNS,'style-name'), + ), + (TEXTNS,'table-of-content'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'table-of-content-entry-template'): ( + (TEXTNS,'style-name'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'toc-mark'): ( + (TEXTNS,'string-value'), + ), + (TEXTNS,'toc-mark-end'): ( + (TEXTNS,'id'), + ), + (TEXTNS,'toc-mark-start'): ( + (TEXTNS,'id'), + ), + (TEXTNS,'user-defined'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'user-field-decl'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'user-field-get'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'user-field-input'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'user-index'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'user-index-entry-template'): ( + (TEXTNS,'style-name'), + (TEXTNS,'outline-level'), ), # required_attributes - (TEXTNS,u'user-index-mark'): ( - (TEXTNS,u'index-name'), - (TEXTNS,u'string-value'), - ), - (TEXTNS,u'user-index-mark-end'): ( - (TEXTNS,u'id'), - ), - (TEXTNS,u'user-index-mark-start'): ( - (TEXTNS,u'index-name'), - (TEXTNS,u'id'), - ), - (TEXTNS,u'user-index-source'): ( - (TEXTNS,u'index-name'), - ), - (TEXTNS,u'variable-decl'): ( - (TEXTNS,u'name'), - (OFFICENS,u'value-type'), - ), - (TEXTNS,u'variable-get'): ( - (TEXTNS,u'name'), - ), - (TEXTNS,u'variable-input'): ( - (TEXTNS,u'name'), - (OFFICENS,u'value-type'), - ), - (TEXTNS,u'variable-set'): ( - (TEXTNS,u'name'), + (TEXTNS,'user-index-mark'): ( + (TEXTNS,'index-name'), + (TEXTNS,'string-value'), + ), + (TEXTNS,'user-index-mark-end'): ( + (TEXTNS,'id'), + ), + (TEXTNS,'user-index-mark-start'): ( + (TEXTNS,'index-name'), + (TEXTNS,'id'), + ), + (TEXTNS,'user-index-source'): ( + (TEXTNS,'index-name'), + ), + (TEXTNS,'variable-decl'): ( + (TEXTNS,'name'), + (OFFICENS,'value-type'), + ), + (TEXTNS,'variable-get'): ( + (TEXTNS,'name'), + ), + (TEXTNS,'variable-input'): ( + (TEXTNS,'name'), + (OFFICENS,'value-type'), + ), + (TEXTNS,'variable-set'): ( + (TEXTNS,'name'), ), } @@ -4226,17 +4226,17 @@ # None means anything goes allowed_attributes = { - (DCNS,u'creator'):( - ), - (DCNS,u'date'):( - ), - (DCNS,u'description'):( - ), - (DCNS,u'language'):( - ), - (DCNS,u'subject'):( - ), - (DCNS,u'title'):( + (DCNS,'creator'):( + ), + (DCNS,'date'):( + ), + (DCNS,'description'):( + ), + (DCNS,'language'):( + ), + (DCNS,'subject'):( + ), + (DCNS,'title'):( ), # Completes Dublin Core start # (DCNS,'contributor') : ( @@ -4258,1747 +4258,1747 @@ # (DCNS,'type') : ( # ), # Completes Dublin Core end - (MATHNS,u'math'): None, - (XFORMSNS,u'model'): None, + (MATHNS,'math'): None, + (XFORMSNS,'model'): None, # allowed_attributes - (ANIMNS,u'animate'):( - (ANIMNS,u'formula'), - (ANIMNS,u'sub-item'), - (SMILNS,u'accelerate'), - (SMILNS,u'accumulate'), - (SMILNS,u'additive'), - (SMILNS,u'attributeName'), - (SMILNS,u'autoReverse'), - (SMILNS,u'begin'), - (SMILNS,u'by'), - (SMILNS,u'calcMode'), - (SMILNS,u'decelerate'), - (SMILNS,u'dur'), - (SMILNS,u'end'), - (SMILNS,u'fill'), - (SMILNS,u'fillDefault'), - (SMILNS,u'from'), - (SMILNS,u'keySplines'), - (SMILNS,u'keyTimes'), - (SMILNS,u'repeatCount'), - (SMILNS,u'repeatDur'), - (SMILNS,u'restart'), - (SMILNS,u'restartDefault'), - (SMILNS,u'targetElement'), - (SMILNS,u'to'), - (SMILNS,u'values'), + (ANIMNS,'animate'):( + (ANIMNS,'formula'), + (ANIMNS,'sub-item'), + (SMILNS,'accelerate'), + (SMILNS,'accumulate'), + (SMILNS,'additive'), + (SMILNS,'attributeName'), + (SMILNS,'autoReverse'), + (SMILNS,'begin'), + (SMILNS,'by'), + (SMILNS,'calcMode'), + (SMILNS,'decelerate'), + (SMILNS,'dur'), + (SMILNS,'end'), + (SMILNS,'fill'), + (SMILNS,'fillDefault'), + (SMILNS,'from'), + (SMILNS,'keySplines'), + (SMILNS,'keyTimes'), + (SMILNS,'repeatCount'), + (SMILNS,'repeatDur'), + (SMILNS,'restart'), + (SMILNS,'restartDefault'), + (SMILNS,'targetElement'), + (SMILNS,'to'), + (SMILNS,'values'), ), # allowed_attributes - (ANIMNS,u'animateColor'):( - (ANIMNS,u'color-interpolation'), - (ANIMNS,u'color-interpolation-direction'), - (ANIMNS,u'formula'), - (ANIMNS,u'sub-item'), - (SMILNS,u'accelerate'), - (SMILNS,u'accumulate'), - (SMILNS,u'additive'), - (SMILNS,u'attributeName'), - (SMILNS,u'autoReverse'), - (SMILNS,u'begin'), - (SMILNS,u'by'), - (SMILNS,u'calcMode'), - (SMILNS,u'decelerate'), - (SMILNS,u'dur'), - (SMILNS,u'end'), - (SMILNS,u'fill'), - (SMILNS,u'fillDefault'), - (SMILNS,u'from'), - (SMILNS,u'keySplines'), - (SMILNS,u'keyTimes'), - (SMILNS,u'repeatCount'), - (SMILNS,u'repeatDur'), - (SMILNS,u'restart'), - (SMILNS,u'restartDefault'), - (SMILNS,u'targetElement'), - (SMILNS,u'to'), - (SMILNS,u'values'), + (ANIMNS,'animateColor'):( + (ANIMNS,'color-interpolation'), + (ANIMNS,'color-interpolation-direction'), + (ANIMNS,'formula'), + (ANIMNS,'sub-item'), + (SMILNS,'accelerate'), + (SMILNS,'accumulate'), + (SMILNS,'additive'), + (SMILNS,'attributeName'), + (SMILNS,'autoReverse'), + (SMILNS,'begin'), + (SMILNS,'by'), + (SMILNS,'calcMode'), + (SMILNS,'decelerate'), + (SMILNS,'dur'), + (SMILNS,'end'), + (SMILNS,'fill'), + (SMILNS,'fillDefault'), + (SMILNS,'from'), + (SMILNS,'keySplines'), + (SMILNS,'keyTimes'), + (SMILNS,'repeatCount'), + (SMILNS,'repeatDur'), + (SMILNS,'restart'), + (SMILNS,'restartDefault'), + (SMILNS,'targetElement'), + (SMILNS,'to'), + (SMILNS,'values'), ), # allowed_attributes - (ANIMNS,u'animateMotion'):( - (ANIMNS,u'formula'), - (ANIMNS,u'sub-item'), - (SMILNS,u'accelerate'), - (SMILNS,u'accumulate'), - (SMILNS,u'additive'), - (SMILNS,u'attributeName'), - (SMILNS,u'autoReverse'), - (SMILNS,u'begin'), - (SMILNS,u'by'), - (SMILNS,u'calcMode'), - (SMILNS,u'decelerate'), - (SMILNS,u'dur'), - (SMILNS,u'end'), - (SMILNS,u'fill'), - (SMILNS,u'fillDefault'), - (SMILNS,u'from'), - (SMILNS,u'keySplines'), - (SMILNS,u'keyTimes'), - (SMILNS,u'repeatCount'), - (SMILNS,u'repeatDur'), - (SMILNS,u'restart'), - (SMILNS,u'restartDefault'), - (SMILNS,u'targetElement'), - (SMILNS,u'to'), - (SMILNS,u'values'), - (SVGNS,u'origin'), - (SVGNS,u'path'), + (ANIMNS,'animateMotion'):( + (ANIMNS,'formula'), + (ANIMNS,'sub-item'), + (SMILNS,'accelerate'), + (SMILNS,'accumulate'), + (SMILNS,'additive'), + (SMILNS,'attributeName'), + (SMILNS,'autoReverse'), + (SMILNS,'begin'), + (SMILNS,'by'), + (SMILNS,'calcMode'), + (SMILNS,'decelerate'), + (SMILNS,'dur'), + (SMILNS,'end'), + (SMILNS,'fill'), + (SMILNS,'fillDefault'), + (SMILNS,'from'), + (SMILNS,'keySplines'), + (SMILNS,'keyTimes'), + (SMILNS,'repeatCount'), + (SMILNS,'repeatDur'), + (SMILNS,'restart'), + (SMILNS,'restartDefault'), + (SMILNS,'targetElement'), + (SMILNS,'to'), + (SMILNS,'values'), + (SVGNS,'origin'), + (SVGNS,'path'), ), # allowed_attributes - (ANIMNS,u'animateTransform'):( - (ANIMNS,u'formula'), - (ANIMNS,u'sub-item'), - (SMILNS,u'accelerate'), - (SMILNS,u'accumulate'), - (SMILNS,u'additive'), - (SMILNS,u'attributeName'), - (SMILNS,u'autoReverse'), - (SMILNS,u'begin'), - (SMILNS,u'by'), - (SMILNS,u'decelerate'), - (SMILNS,u'dur'), - (SMILNS,u'end'), - (SMILNS,u'fill'), - (SMILNS,u'fillDefault'), - (SMILNS,u'from'), - (SMILNS,u'repeatCount'), - (SMILNS,u'repeatDur'), - (SMILNS,u'restart'), - (SMILNS,u'restartDefault'), - (SMILNS,u'targetElement'), - (SMILNS,u'to'), - (SMILNS,u'values'), - (SVGNS,u'type'), + (ANIMNS,'animateTransform'):( + (ANIMNS,'formula'), + (ANIMNS,'sub-item'), + (SMILNS,'accelerate'), + (SMILNS,'accumulate'), + (SMILNS,'additive'), + (SMILNS,'attributeName'), + (SMILNS,'autoReverse'), + (SMILNS,'begin'), + (SMILNS,'by'), + (SMILNS,'decelerate'), + (SMILNS,'dur'), + (SMILNS,'end'), + (SMILNS,'fill'), + (SMILNS,'fillDefault'), + (SMILNS,'from'), + (SMILNS,'repeatCount'), + (SMILNS,'repeatDur'), + (SMILNS,'restart'), + (SMILNS,'restartDefault'), + (SMILNS,'targetElement'), + (SMILNS,'to'), + (SMILNS,'values'), + (SVGNS,'type'), ), # allowed_attributes - (ANIMNS,u'audio'):( - (ANIMNS,u'audio-level'), - (ANIMNS,u'id'), - (PRESENTATIONNS,u'group-id'), - (PRESENTATIONNS,u'master-element'), - (PRESENTATIONNS,u'node-type'), - (PRESENTATIONNS,u'preset-class'), - (PRESENTATIONNS,u'preset-id'), - (PRESENTATIONNS,u'preset-sub-type'), - (SMILNS,u'begin'), - (SMILNS,u'dur'), - (SMILNS,u'end'), - (SMILNS,u'repeatCount'), - (SMILNS,u'repeatDur'), - (XLINKNS,u'href'), - ), - (ANIMNS,u'command'):( - (PRESENTATIONNS,u'node-type'), - (SMILNS,u'begin'), - (SMILNS,u'end'), - (PRESENTATIONNS,u'group-id'), - (PRESENTATIONNS,u'preset-class'), - (PRESENTATIONNS,u'preset-id'), - (ANIMNS,u'sub-item'), - (ANIMNS,u'command'), - (PRESENTATIONNS,u'preset-sub-type'), - (SMILNS,u'targetElement'), - (ANIMNS,u'id'), - (PRESENTATIONNS,u'master-element'), + (ANIMNS,'audio'):( + (ANIMNS,'audio-level'), + (ANIMNS,'id'), + (PRESENTATIONNS,'group-id'), + (PRESENTATIONNS,'master-element'), + (PRESENTATIONNS,'node-type'), + (PRESENTATIONNS,'preset-class'), + (PRESENTATIONNS,'preset-id'), + (PRESENTATIONNS,'preset-sub-type'), + (SMILNS,'begin'), + (SMILNS,'dur'), + (SMILNS,'end'), + (SMILNS,'repeatCount'), + (SMILNS,'repeatDur'), + (XLINKNS,'href'), + ), + (ANIMNS,'command'):( + (PRESENTATIONNS,'node-type'), + (SMILNS,'begin'), + (SMILNS,'end'), + (PRESENTATIONNS,'group-id'), + (PRESENTATIONNS,'preset-class'), + (PRESENTATIONNS,'preset-id'), + (ANIMNS,'sub-item'), + (ANIMNS,'command'), + (PRESENTATIONNS,'preset-sub-type'), + (SMILNS,'targetElement'), + (ANIMNS,'id'), + (PRESENTATIONNS,'master-element'), ), # allowed_attributes - (ANIMNS,u'iterate'):( - (ANIMNS,u'id'), - (ANIMNS,u'iterate-interval'), - (ANIMNS,u'iterate-type'), - (ANIMNS,u'sub-item'), - (PRESENTATIONNS,u'group-id'), - (PRESENTATIONNS,u'master-element'), - (PRESENTATIONNS,u'node-type'), - (PRESENTATIONNS,u'preset-class'), - (PRESENTATIONNS,u'preset-id'), - (PRESENTATIONNS,u'preset-sub-type'), - (SMILNS,u'accelerate'), - (SMILNS,u'autoReverse'), - (SMILNS,u'begin'), - (SMILNS,u'decelerate'), - (SMILNS,u'dur'), - (SMILNS,u'end'), - (SMILNS,u'endsync'), - (SMILNS,u'fill'), - (SMILNS,u'fillDefault'), - (SMILNS,u'repeatCount'), - (SMILNS,u'repeatDur'), - (SMILNS,u'restart'), - (SMILNS,u'restartDefault'), - (SMILNS,u'targetElement'), - ), - (ANIMNS,u'par'):( - (PRESENTATIONNS,u'node-type'), - (SMILNS,u'decelerate'), - (SMILNS,u'begin'), - (SMILNS,u'end'), - (PRESENTATIONNS,u'group-id'), - (SMILNS,u'accelerate'), - (SMILNS,u'repeatDur'), - (SMILNS,u'repeatCount'), - (SMILNS,u'autoReverse'), - (PRESENTATIONNS,u'preset-class'), - (SMILNS,u'fillDefault'), - (PRESENTATIONNS,u'preset-id'), - (PRESENTATIONNS,u'preset-sub-type'), - (SMILNS,u'restartDefault'), - (SMILNS,u'endsync'), - (SMILNS,u'dur'), - (SMILNS,u'fill'), - (ANIMNS,u'id'), - (SMILNS,u'restart'), - (PRESENTATIONNS,u'master-element'), + (ANIMNS,'iterate'):( + (ANIMNS,'id'), + (ANIMNS,'iterate-interval'), + (ANIMNS,'iterate-type'), + (ANIMNS,'sub-item'), + (PRESENTATIONNS,'group-id'), + (PRESENTATIONNS,'master-element'), + (PRESENTATIONNS,'node-type'), + (PRESENTATIONNS,'preset-class'), + (PRESENTATIONNS,'preset-id'), + (PRESENTATIONNS,'preset-sub-type'), + (SMILNS,'accelerate'), + (SMILNS,'autoReverse'), + (SMILNS,'begin'), + (SMILNS,'decelerate'), + (SMILNS,'dur'), + (SMILNS,'end'), + (SMILNS,'endsync'), + (SMILNS,'fill'), + (SMILNS,'fillDefault'), + (SMILNS,'repeatCount'), + (SMILNS,'repeatDur'), + (SMILNS,'restart'), + (SMILNS,'restartDefault'), + (SMILNS,'targetElement'), + ), + (ANIMNS,'par'):( + (PRESENTATIONNS,'node-type'), + (SMILNS,'decelerate'), + (SMILNS,'begin'), + (SMILNS,'end'), + (PRESENTATIONNS,'group-id'), + (SMILNS,'accelerate'), + (SMILNS,'repeatDur'), + (SMILNS,'repeatCount'), + (SMILNS,'autoReverse'), + (PRESENTATIONNS,'preset-class'), + (SMILNS,'fillDefault'), + (PRESENTATIONNS,'preset-id'), + (PRESENTATIONNS,'preset-sub-type'), + (SMILNS,'restartDefault'), + (SMILNS,'endsync'), + (SMILNS,'dur'), + (SMILNS,'fill'), + (ANIMNS,'id'), + (SMILNS,'restart'), + (PRESENTATIONNS,'master-element'), ), # allowed_attributes - (ANIMNS,u'param'):( - (ANIMNS,u'name'), - (ANIMNS,u'value'), - ), - (ANIMNS,u'seq'):( - (ANIMNS,u'id'), - (PRESENTATIONNS,u'group-id'), - (PRESENTATIONNS,u'master-element'), - (PRESENTATIONNS,u'node-type'), - (PRESENTATIONNS,u'preset-class'), - (PRESENTATIONNS,u'preset-id'), - (PRESENTATIONNS,u'preset-sub-type'), - (SMILNS,u'accelerate'), - (SMILNS,u'autoReverse'), - (SMILNS,u'begin'), - (SMILNS,u'decelerate'), - (SMILNS,u'dur'), - (SMILNS,u'end'), - (SMILNS,u'endsync'), - (SMILNS,u'fill'), - (SMILNS,u'fillDefault'), - (SMILNS,u'repeatCount'), - (SMILNS,u'repeatDur'), - (SMILNS,u'restart'), - (SMILNS,u'restartDefault'), - ), - (ANIMNS,u'set'):( - (ANIMNS,u'sub-item'), - (SMILNS,u'accelerate'), - (SMILNS,u'accumulate'), - (SMILNS,u'autoReverse'), - (SMILNS,u'additive'), - (SMILNS,u'attributeName'), - (SMILNS,u'begin'), - (SMILNS,u'decelerate'), - (SMILNS,u'dur'), - (SMILNS,u'end'), - (SMILNS,u'fill'), - (SMILNS,u'fillDefault'), - (SMILNS,u'repeatCount'), - (SMILNS,u'repeatDur'), - (SMILNS,u'restart'), - (SMILNS,u'restartDefault'), - (SMILNS,u'targetElement'), - (SMILNS,u'to'), + (ANIMNS,'param'):( + (ANIMNS,'name'), + (ANIMNS,'value'), + ), + (ANIMNS,'seq'):( + (ANIMNS,'id'), + (PRESENTATIONNS,'group-id'), + (PRESENTATIONNS,'master-element'), + (PRESENTATIONNS,'node-type'), + (PRESENTATIONNS,'preset-class'), + (PRESENTATIONNS,'preset-id'), + (PRESENTATIONNS,'preset-sub-type'), + (SMILNS,'accelerate'), + (SMILNS,'autoReverse'), + (SMILNS,'begin'), + (SMILNS,'decelerate'), + (SMILNS,'dur'), + (SMILNS,'end'), + (SMILNS,'endsync'), + (SMILNS,'fill'), + (SMILNS,'fillDefault'), + (SMILNS,'repeatCount'), + (SMILNS,'repeatDur'), + (SMILNS,'restart'), + (SMILNS,'restartDefault'), + ), + (ANIMNS,'set'):( + (ANIMNS,'sub-item'), + (SMILNS,'accelerate'), + (SMILNS,'accumulate'), + (SMILNS,'autoReverse'), + (SMILNS,'additive'), + (SMILNS,'attributeName'), + (SMILNS,'begin'), + (SMILNS,'decelerate'), + (SMILNS,'dur'), + (SMILNS,'end'), + (SMILNS,'fill'), + (SMILNS,'fillDefault'), + (SMILNS,'repeatCount'), + (SMILNS,'repeatDur'), + (SMILNS,'restart'), + (SMILNS,'restartDefault'), + (SMILNS,'targetElement'), + (SMILNS,'to'), ), # allowed_attributes - (ANIMNS,u'transitionFilter'):( - (ANIMNS,u'formula'), - (ANIMNS,u'sub-item'), - (SMILNS,u'accelerate'), - (SMILNS,u'accumulate'), - (SMILNS,u'additive'), - (SMILNS,u'autoReverse'), - (SMILNS,u'begin'), - (SMILNS,u'by'), - (SMILNS,u'calcMode'), - (SMILNS,u'decelerate'), - (SMILNS,u'direction'), - (SMILNS,u'dur'), - (SMILNS,u'end'), - (SMILNS,u'fadeColor'), - (SMILNS,u'fill'), - (SMILNS,u'fillDefault'), - (SMILNS,u'from'), - (SMILNS,u'mode'), - (SMILNS,u'repeatCount'), - (SMILNS,u'repeatDur'), - (SMILNS,u'restart'), - (SMILNS,u'restartDefault'), - (SMILNS,u'subtype'), - (SMILNS,u'targetElement'), - (SMILNS,u'to'), - (SMILNS,u'type'), - (SMILNS,u'values'), + (ANIMNS,'transitionFilter'):( + (ANIMNS,'formula'), + (ANIMNS,'sub-item'), + (SMILNS,'accelerate'), + (SMILNS,'accumulate'), + (SMILNS,'additive'), + (SMILNS,'autoReverse'), + (SMILNS,'begin'), + (SMILNS,'by'), + (SMILNS,'calcMode'), + (SMILNS,'decelerate'), + (SMILNS,'direction'), + (SMILNS,'dur'), + (SMILNS,'end'), + (SMILNS,'fadeColor'), + (SMILNS,'fill'), + (SMILNS,'fillDefault'), + (SMILNS,'from'), + (SMILNS,'mode'), + (SMILNS,'repeatCount'), + (SMILNS,'repeatDur'), + (SMILNS,'restart'), + (SMILNS,'restartDefault'), + (SMILNS,'subtype'), + (SMILNS,'targetElement'), + (SMILNS,'to'), + (SMILNS,'type'), + (SMILNS,'values'), ), # allowed_attributes - (CHARTNS,u'axis'):( - (CHARTNS,u'style-name'), - (CHARTNS,u'dimension'), - (CHARTNS,u'name'), - ), - (CHARTNS,u'categories'):( - (TABLENS,u'cell-range-address'), - ), - (CHARTNS,u'chart'):( - (CHARTNS,u'column-mapping'), - (CHARTNS,u'row-mapping'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (CHARTNS,u'style-name'), - (CHARTNS,u'class'), - ), - (CHARTNS,u'data-point'):( - (CHARTNS,u'repeated'), - (CHARTNS,u'style-name'), - ), - (CHARTNS,u'domain'):( - (TABLENS,u'cell-range-address'), - ), - (CHARTNS,u'error-indicator'):( - (CHARTNS,u'style-name'), - ), - (CHARTNS,u'floor'):( - (SVGNS,u'width'), - (CHARTNS,u'style-name'), + (CHARTNS,'axis'):( + (CHARTNS,'style-name'), + (CHARTNS,'dimension'), + (CHARTNS,'name'), + ), + (CHARTNS,'categories'):( + (TABLENS,'cell-range-address'), + ), + (CHARTNS,'chart'):( + (CHARTNS,'column-mapping'), + (CHARTNS,'row-mapping'), + (SVGNS,'height'), + (SVGNS,'width'), + (CHARTNS,'style-name'), + (CHARTNS,'class'), + ), + (CHARTNS,'data-point'):( + (CHARTNS,'repeated'), + (CHARTNS,'style-name'), + ), + (CHARTNS,'domain'):( + (TABLENS,'cell-range-address'), + ), + (CHARTNS,'error-indicator'):( + (CHARTNS,'style-name'), + ), + (CHARTNS,'floor'):( + (SVGNS,'width'), + (CHARTNS,'style-name'), ), # allowed_attributes - (CHARTNS,u'footer'):( - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'cell-range'), - (CHARTNS,u'style-name'), - ), - (CHARTNS,u'grid'):( - (CHARTNS,u'style-name'), - (CHARTNS,u'class'), - ), - (CHARTNS,u'legend'):( - (CHARTNS,u'legend-align'), - (STYLENS,u'legend-expansion-aspect-ratio'), - (STYLENS,u'legend-expansion'), - (CHARTNS,u'legend-position'), - (CHARTNS,u'style-name'), - (SVGNS,u'y'), - (SVGNS,u'x'), - ), - (CHARTNS,u'mean-value'):( - (CHARTNS,u'style-name'), - ), - (CHARTNS,u'plot-area'):( - (DR3DNS,u'ambient-color'), - (DR3DNS,u'distance'), - (DR3DNS,u'vrp'), - (DR3DNS,u'focal-length'), - (CHARTNS,u'data-source-has-labels'), - (DR3DNS,u'lighting-mode'), - (DR3DNS,u'shade-mode'), - (DR3DNS,u'transform'), - (DR3DNS,u'shadow-slant'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (CHARTNS,u'style-name'), - (DR3DNS,u'vup'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (DR3DNS,u'vpn'), - (TABLENS,u'cell-range-address'), - (DR3DNS,u'projection'), - ), - (CHARTNS,u'regression-curve'):( - (CHARTNS,u'style-name'), - ), - (CHARTNS,u'series'):( - (CHARTNS,u'style-name'), - (CHARTNS,u'attached-axis'), - (CHARTNS,u'values-cell-range-address'), - (CHARTNS,u'label-cell-address'), - (CHARTNS,u'class'), - ), - (CHARTNS,u'stock-gain-marker'):( - (CHARTNS,u'style-name'), + (CHARTNS,'footer'):( + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'cell-range'), + (CHARTNS,'style-name'), + ), + (CHARTNS,'grid'):( + (CHARTNS,'style-name'), + (CHARTNS,'class'), + ), + (CHARTNS,'legend'):( + (CHARTNS,'legend-align'), + (STYLENS,'legend-expansion-aspect-ratio'), + (STYLENS,'legend-expansion'), + (CHARTNS,'legend-position'), + (CHARTNS,'style-name'), + (SVGNS,'y'), + (SVGNS,'x'), + ), + (CHARTNS,'mean-value'):( + (CHARTNS,'style-name'), + ), + (CHARTNS,'plot-area'):( + (DR3DNS,'ambient-color'), + (DR3DNS,'distance'), + (DR3DNS,'vrp'), + (DR3DNS,'focal-length'), + (CHARTNS,'data-source-has-labels'), + (DR3DNS,'lighting-mode'), + (DR3DNS,'shade-mode'), + (DR3DNS,'transform'), + (DR3DNS,'shadow-slant'), + (SVGNS,'height'), + (SVGNS,'width'), + (CHARTNS,'style-name'), + (DR3DNS,'vup'), + (SVGNS,'y'), + (SVGNS,'x'), + (DR3DNS,'vpn'), + (TABLENS,'cell-range-address'), + (DR3DNS,'projection'), + ), + (CHARTNS,'regression-curve'):( + (CHARTNS,'style-name'), + ), + (CHARTNS,'series'):( + (CHARTNS,'style-name'), + (CHARTNS,'attached-axis'), + (CHARTNS,'values-cell-range-address'), + (CHARTNS,'label-cell-address'), + (CHARTNS,'class'), + ), + (CHARTNS,'stock-gain-marker'):( + (CHARTNS,'style-name'), ), # allowed_attributes - (CHARTNS,u'stock-loss-marker'):( - (CHARTNS,u'style-name'), - ), - (CHARTNS,u'stock-range-line'):( - (CHARTNS,u'style-name'), - ), - (CHARTNS,u'subtitle'):( - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'cell-range'), - (CHARTNS,u'style-name'), - ), - (CHARTNS,u'symbol-image'):( - (XLINKNS,u'href'), - ), - (CHARTNS,u'title'):( - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'cell-range'), - (CHARTNS,u'style-name'), - ), - (CHARTNS,u'wall'):( - (SVGNS,u'width'), - (CHARTNS,u'style-name'), - ), - (CONFIGNS,u'config-item'):( - (CONFIGNS,u'type'), - (CONFIGNS,u'name'), - ), - (CONFIGNS,u'config-item-map-entry'):( - (CONFIGNS,u'name'), - ), - (CONFIGNS,u'config-item-map-indexed'):( - (CONFIGNS,u'name'), - ), - (CONFIGNS,u'config-item-map-named'):( - (CONFIGNS,u'name'), - ), - (CONFIGNS,u'config-item-set'):( - (CONFIGNS,u'name'), + (CHARTNS,'stock-loss-marker'):( + (CHARTNS,'style-name'), + ), + (CHARTNS,'stock-range-line'):( + (CHARTNS,'style-name'), + ), + (CHARTNS,'subtitle'):( + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'cell-range'), + (CHARTNS,'style-name'), + ), + (CHARTNS,'symbol-image'):( + (XLINKNS,'href'), + ), + (CHARTNS,'title'):( + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'cell-range'), + (CHARTNS,'style-name'), + ), + (CHARTNS,'wall'):( + (SVGNS,'width'), + (CHARTNS,'style-name'), + ), + (CONFIGNS,'config-item'):( + (CONFIGNS,'type'), + (CONFIGNS,'name'), + ), + (CONFIGNS,'config-item-map-entry'):( + (CONFIGNS,'name'), + ), + (CONFIGNS,'config-item-map-indexed'):( + (CONFIGNS,'name'), + ), + (CONFIGNS,'config-item-map-named'):( + (CONFIGNS,'name'), + ), + (CONFIGNS,'config-item-set'):( + (CONFIGNS,'name'), ), # allowed_attributes - (NUMBERNS,u'am-pm'):( - ), - (NUMBERNS,u'boolean'):( - ), - (NUMBERNS,u'boolean-style'):( - (NUMBERNS,u'transliteration-language'), - (STYLENS,u'name'), - (STYLENS,u'display-name'), - (NUMBERNS,u'language'), - (NUMBERNS,u'title'), - (NUMBERNS,u'country'), - (NUMBERNS,u'transliteration-format'), - (NUMBERNS,u'transliteration-style'), - (STYLENS,u'volatile'), - (NUMBERNS,u'transliteration-country'), - ), - (NUMBERNS,u'currency-style'):( - (NUMBERNS,u'transliteration-language'), - (STYLENS,u'name'), - (STYLENS,u'display-name'), - (NUMBERNS,u'language'), - (NUMBERNS,u'title'), - (NUMBERNS,u'country'), - (NUMBERNS,u'transliteration-format'), - (NUMBERNS,u'transliteration-style'), - (STYLENS,u'volatile'), - (NUMBERNS,u'transliteration-country'), - (NUMBERNS,u'automatic-order'), - ), - (NUMBERNS,u'currency-symbol'):( - (NUMBERNS,u'country'), - (NUMBERNS,u'language'), + (NUMBERNS,'am-pm'):( + ), + (NUMBERNS,'boolean'):( + ), + (NUMBERNS,'boolean-style'):( + (NUMBERNS,'transliteration-language'), + (STYLENS,'name'), + (STYLENS,'display-name'), + (NUMBERNS,'language'), + (NUMBERNS,'title'), + (NUMBERNS,'country'), + (NUMBERNS,'transliteration-format'), + (NUMBERNS,'transliteration-style'), + (STYLENS,'volatile'), + (NUMBERNS,'transliteration-country'), + ), + (NUMBERNS,'currency-style'):( + (NUMBERNS,'transliteration-language'), + (STYLENS,'name'), + (STYLENS,'display-name'), + (NUMBERNS,'language'), + (NUMBERNS,'title'), + (NUMBERNS,'country'), + (NUMBERNS,'transliteration-format'), + (NUMBERNS,'transliteration-style'), + (STYLENS,'volatile'), + (NUMBERNS,'transliteration-country'), + (NUMBERNS,'automatic-order'), + ), + (NUMBERNS,'currency-symbol'):( + (NUMBERNS,'country'), + (NUMBERNS,'language'), ), # allowed_attributes - (NUMBERNS,u'date-style'):( - (NUMBERNS,u'transliteration-language'), - (STYLENS,u'name'), - (STYLENS,u'display-name'), - (NUMBERNS,u'language'), - (NUMBERNS,u'title'), - (NUMBERNS,u'country'), - (NUMBERNS,u'transliteration-format'), - (NUMBERNS,u'transliteration-style'), - (NUMBERNS,u'format-source'), - (STYLENS,u'volatile'), - (NUMBERNS,u'transliteration-country'), - (NUMBERNS,u'automatic-order'), - ), - (NUMBERNS,u'day'):( - (NUMBERNS,u'style'), - (NUMBERNS,u'calendar'), - ), - (NUMBERNS,u'day-of-week'):( - (NUMBERNS,u'style'), - (NUMBERNS,u'calendar'), - ), - (NUMBERNS,u'embedded-text'):( - (NUMBERNS,u'position'), - ), - (NUMBERNS,u'era'):( - (NUMBERNS,u'style'), - (NUMBERNS,u'calendar'), - ), - (NUMBERNS,u'fraction'):( - (NUMBERNS,u'grouping'), - (NUMBERNS,u'min-denominator-digits'), - (NUMBERNS,u'min-numerator-digits'), - (NUMBERNS,u'min-integer-digits'), - (NUMBERNS,u'denominator-value'), - ), - (NUMBERNS,u'hours'):( - (NUMBERNS,u'style'), + (NUMBERNS,'date-style'):( + (NUMBERNS,'transliteration-language'), + (STYLENS,'name'), + (STYLENS,'display-name'), + (NUMBERNS,'language'), + (NUMBERNS,'title'), + (NUMBERNS,'country'), + (NUMBERNS,'transliteration-format'), + (NUMBERNS,'transliteration-style'), + (NUMBERNS,'format-source'), + (STYLENS,'volatile'), + (NUMBERNS,'transliteration-country'), + (NUMBERNS,'automatic-order'), + ), + (NUMBERNS,'day'):( + (NUMBERNS,'style'), + (NUMBERNS,'calendar'), + ), + (NUMBERNS,'day-of-week'):( + (NUMBERNS,'style'), + (NUMBERNS,'calendar'), + ), + (NUMBERNS,'embedded-text'):( + (NUMBERNS,'position'), + ), + (NUMBERNS,'era'):( + (NUMBERNS,'style'), + (NUMBERNS,'calendar'), + ), + (NUMBERNS,'fraction'):( + (NUMBERNS,'grouping'), + (NUMBERNS,'min-denominator-digits'), + (NUMBERNS,'min-numerator-digits'), + (NUMBERNS,'min-integer-digits'), + (NUMBERNS,'denominator-value'), + ), + (NUMBERNS,'hours'):( + (NUMBERNS,'style'), ), # allowed_attributes - (NUMBERNS,u'minutes'):( - (NUMBERNS,u'style'), - ), - (NUMBERNS,u'month'):( - (NUMBERNS,u'style'), - (NUMBERNS,u'calendar'), - (NUMBERNS,u'possessive-form'), - (NUMBERNS,u'textual'), - ), - (NUMBERNS,u'number'):( - (NUMBERNS,u'display-factor'), - (NUMBERNS,u'decimal-places'), - (NUMBERNS,u'decimal-replacement'), - (NUMBERNS,u'min-integer-digits'), - (NUMBERNS,u'grouping'), - ), - (NUMBERNS,u'number-style'):( - (NUMBERNS,u'transliteration-language'), - (STYLENS,u'name'), - (STYLENS,u'display-name'), - (NUMBERNS,u'language'), - (NUMBERNS,u'title'), - (NUMBERNS,u'country'), - (NUMBERNS,u'transliteration-format'), - (NUMBERNS,u'transliteration-style'), - (STYLENS,u'volatile'), - (NUMBERNS,u'transliteration-country'), + (NUMBERNS,'minutes'):( + (NUMBERNS,'style'), + ), + (NUMBERNS,'month'):( + (NUMBERNS,'style'), + (NUMBERNS,'calendar'), + (NUMBERNS,'possessive-form'), + (NUMBERNS,'textual'), + ), + (NUMBERNS,'number'):( + (NUMBERNS,'display-factor'), + (NUMBERNS,'decimal-places'), + (NUMBERNS,'decimal-replacement'), + (NUMBERNS,'min-integer-digits'), + (NUMBERNS,'grouping'), + ), + (NUMBERNS,'number-style'):( + (NUMBERNS,'transliteration-language'), + (STYLENS,'name'), + (STYLENS,'display-name'), + (NUMBERNS,'language'), + (NUMBERNS,'title'), + (NUMBERNS,'country'), + (NUMBERNS,'transliteration-format'), + (NUMBERNS,'transliteration-style'), + (STYLENS,'volatile'), + (NUMBERNS,'transliteration-country'), ), # allowed_attributes - (NUMBERNS,u'percentage-style'):( - (NUMBERNS,u'transliteration-language'), - (STYLENS,u'name'), - (STYLENS,u'display-name'), - (NUMBERNS,u'language'), - (NUMBERNS,u'title'), - (NUMBERNS,u'country'), - (NUMBERNS,u'transliteration-format'), - (NUMBERNS,u'transliteration-style'), - (STYLENS,u'volatile'), - (NUMBERNS,u'transliteration-country'), - ), - (NUMBERNS,u'quarter'):( - (NUMBERNS,u'style'), - (NUMBERNS,u'calendar'), - ), - (NUMBERNS,u'scientific-number'):( - (NUMBERNS,u'min-exponent-digits'), - (NUMBERNS,u'decimal-places'), - (NUMBERNS,u'min-integer-digits'), - (NUMBERNS,u'grouping'), - ), - (NUMBERNS,u'seconds'):( - (NUMBERNS,u'style'), - (NUMBERNS,u'decimal-places'), - ), - (NUMBERNS,u'text'):( - ), - (NUMBERNS,u'text-content'):( - ), - (NUMBERNS,u'text-style'):( - (NUMBERNS,u'transliteration-language'), - (STYLENS,u'name'), - (STYLENS,u'display-name'), - (NUMBERNS,u'language'), - (NUMBERNS,u'title'), - (NUMBERNS,u'country'), - (NUMBERNS,u'transliteration-format'), - (NUMBERNS,u'transliteration-style'), - (STYLENS,u'volatile'), - (NUMBERNS,u'transliteration-country'), - ), - (NUMBERNS,u'time-style'):( - (NUMBERNS,u'transliteration-language'), - (NUMBERNS,u'transliteration-format'), - (STYLENS,u'name'), - (STYLENS,u'display-name'), - (NUMBERNS,u'language'), - (NUMBERNS,u'title'), - (NUMBERNS,u'country'), - (NUMBERNS,u'truncate-on-overflow'), - (NUMBERNS,u'transliteration-style'), - (NUMBERNS,u'format-source'), - (STYLENS,u'volatile'), - (NUMBERNS,u'transliteration-country'), - ), - (NUMBERNS,u'week-of-year'):( - (NUMBERNS,u'calendar'), - ), - (NUMBERNS,u'year'):( - (NUMBERNS,u'style'), - (NUMBERNS,u'calendar'), - ), - (DR3DNS,u'cube'):( - (DR3DNS,u'min-edge'), - (DR3DNS,u'max-edge'), - (DRAWNS,u'layer'), - (DR3DNS,u'transform'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (DRAWNS,u'id'), - ), - (DR3DNS,u'extrude'):( - (DRAWNS,u'layer'), - (SVGNS,u'd'), - (DR3DNS,u'transform'), - (SVGNS,u'viewBox'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (DRAWNS,u'id'), - ), - (DR3DNS,u'light'):( - (DR3DNS,u'diffuse-color'), - (DR3DNS,u'direction'), - (DR3DNS,u'specular'), - (DR3DNS,u'enabled'), - ), - (DR3DNS,u'rotate'):( - (DRAWNS,u'layer'), - (SVGNS,u'd'), - (DR3DNS,u'transform'), - (SVGNS,u'viewBox'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (DRAWNS,u'id'), + (NUMBERNS,'percentage-style'):( + (NUMBERNS,'transliteration-language'), + (STYLENS,'name'), + (STYLENS,'display-name'), + (NUMBERNS,'language'), + (NUMBERNS,'title'), + (NUMBERNS,'country'), + (NUMBERNS,'transliteration-format'), + (NUMBERNS,'transliteration-style'), + (STYLENS,'volatile'), + (NUMBERNS,'transliteration-country'), + ), + (NUMBERNS,'quarter'):( + (NUMBERNS,'style'), + (NUMBERNS,'calendar'), + ), + (NUMBERNS,'scientific-number'):( + (NUMBERNS,'min-exponent-digits'), + (NUMBERNS,'decimal-places'), + (NUMBERNS,'min-integer-digits'), + (NUMBERNS,'grouping'), + ), + (NUMBERNS,'seconds'):( + (NUMBERNS,'style'), + (NUMBERNS,'decimal-places'), + ), + (NUMBERNS,'text'):( + ), + (NUMBERNS,'text-content'):( + ), + (NUMBERNS,'text-style'):( + (NUMBERNS,'transliteration-language'), + (STYLENS,'name'), + (STYLENS,'display-name'), + (NUMBERNS,'language'), + (NUMBERNS,'title'), + (NUMBERNS,'country'), + (NUMBERNS,'transliteration-format'), + (NUMBERNS,'transliteration-style'), + (STYLENS,'volatile'), + (NUMBERNS,'transliteration-country'), + ), + (NUMBERNS,'time-style'):( + (NUMBERNS,'transliteration-language'), + (NUMBERNS,'transliteration-format'), + (STYLENS,'name'), + (STYLENS,'display-name'), + (NUMBERNS,'language'), + (NUMBERNS,'title'), + (NUMBERNS,'country'), + (NUMBERNS,'truncate-on-overflow'), + (NUMBERNS,'transliteration-style'), + (NUMBERNS,'format-source'), + (STYLENS,'volatile'), + (NUMBERNS,'transliteration-country'), + ), + (NUMBERNS,'week-of-year'):( + (NUMBERNS,'calendar'), + ), + (NUMBERNS,'year'):( + (NUMBERNS,'style'), + (NUMBERNS,'calendar'), + ), + (DR3DNS,'cube'):( + (DR3DNS,'min-edge'), + (DR3DNS,'max-edge'), + (DRAWNS,'layer'), + (DR3DNS,'transform'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (DRAWNS,'id'), + ), + (DR3DNS,'extrude'):( + (DRAWNS,'layer'), + (SVGNS,'d'), + (DR3DNS,'transform'), + (SVGNS,'viewBox'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (DRAWNS,'id'), + ), + (DR3DNS,'light'):( + (DR3DNS,'diffuse-color'), + (DR3DNS,'direction'), + (DR3DNS,'specular'), + (DR3DNS,'enabled'), + ), + (DR3DNS,'rotate'):( + (DRAWNS,'layer'), + (SVGNS,'d'), + (DR3DNS,'transform'), + (SVGNS,'viewBox'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (DRAWNS,'id'), ), # allowed_attributes - (DR3DNS,u'scene'):( - (DR3DNS,u'ambient-color'), - (DR3DNS,u'distance'), - (DR3DNS,u'focal-length'), - (DR3DNS,u'lighting-mode'), - (DR3DNS,u'projection'), - (DR3DNS,u'shade-mode'), - (DR3DNS,u'shadow-slant'), - (DR3DNS,u'transform'), - (DR3DNS,u'vpn'), - (DR3DNS,u'vrp'), - (DR3DNS,u'vup'), - (DRAWNS,u'id'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'layer'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (PRESENTATIONNS,u'style-name'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (SVGNS,u'x'), - (SVGNS,u'y'), - (TABLENS,u'end-cell-address'), - (TABLENS,u'end-x'), - (TABLENS,u'end-y'), - (TABLENS,u'table-background'), - (TEXTNS,u'anchor-page-number'), - (TEXTNS,u'anchor-type'), - ), - (DR3DNS,u'sphere'):( - (DRAWNS,u'layer'), - (DR3DNS,u'center'), - (DR3DNS,u'transform'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (DRAWNS,u'id'), - (DR3DNS,u'size'), - ), - (DRAWNS,u'a'):( - (OFFICENS,u'name'), - (OFFICENS,u'title'), - (XLINKNS,u'show'), - (OFFICENS,u'target-frame-name'), - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (OFFICENS,u'server-map'), - ), - (DRAWNS,u'applet'):( - (DRAWNS,u'code'), - (XLINKNS,u'show'), - (DRAWNS,u'object'), - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (DRAWNS,u'archive'), - (DRAWNS,u'may-script'), - ), - (DRAWNS,u'area-circle'):( - (OFFICENS,u'name'), - (XLINKNS,u'show'), - (SVGNS,u'cx'), - (XLINKNS,u'type'), - (DRAWNS,u'nohref'), - (SVGNS,u'cy'), - (XLINKNS,u'href'), - (SVGNS,u'r'), - (OFFICENS,u'target-frame-name'), - ), - (DRAWNS,u'area-polygon'):( - (OFFICENS,u'name'), - (XLINKNS,u'show'), - (XLINKNS,u'type'), - (SVGNS,u'height'), - (DRAWNS,u'nohref'), - (SVGNS,u'width'), - (XLINKNS,u'href'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (OFFICENS,u'target-frame-name'), - (SVGNS,u'viewBox'), - (DRAWNS,u'points'), - ), - (DRAWNS,u'area-rectangle'):( - (OFFICENS,u'name'), - (XLINKNS,u'show'), - (XLINKNS,u'type'), - (SVGNS,u'height'), - (DRAWNS,u'nohref'), - (SVGNS,u'width'), - (XLINKNS,u'href'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (OFFICENS,u'target-frame-name'), - ), - (DRAWNS,u'caption'):( - (TABLENS,u'table-background'), - (DRAWNS,u'layer'), - (DRAWNS,u'caption-id'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'name'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'caption-point-y'), - (DRAWNS,u'caption-point-x'), - (DRAWNS,u'transform'), - (TABLENS,u'end-y'), - (DRAWNS,u'corner-radius'), - (SVGNS,u'width'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (SVGNS,u'height'), - (DRAWNS,u'id'), - (TEXTNS,u'anchor-type'), - ), - (DRAWNS,u'circle'):( - (DRAWNS,u'end-angle'), - (DRAWNS,u'id'), - (DRAWNS,u'kind'), - (DRAWNS,u'layer'), - (DRAWNS,u'name'), - (DRAWNS,u'start-angle'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'transform'), - (DRAWNS,u'z-index'), - (PRESENTATIONNS,u'class-names'), - (PRESENTATIONNS,u'style-name'), - (SVGNS,u'cx'), - (SVGNS,u'cy'), - (SVGNS,u'height'), - (SVGNS,u'r'), - (SVGNS,u'width'), - (SVGNS,u'x'), - (SVGNS,u'y'), - (TABLENS,u'end-cell-address'), - (TABLENS,u'end-x'), - (TABLENS,u'end-y'), - (TABLENS,u'table-background'), - (TEXTNS,u'anchor-page-number'), - (TEXTNS,u'anchor-type'), - ), - (DRAWNS,u'connector'):( - (DRAWNS,u'layer'), - (DRAWNS,u'end-shape'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y1'), - (SVGNS,u'y2'), - (TABLENS,u'table-background'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'transform'), - (DRAWNS,u'id'), - (TABLENS,u'end-y'), - (TABLENS,u'end-x'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'type'), - (DRAWNS,u'start-shape'), - (DRAWNS,u'z-index'), - (PRESENTATIONNS,u'style-name'), - (DRAWNS,u'start-glue-point'), - (SVGNS,u'x2'), - (SVGNS,u'x1'), - (TEXTNS,u'anchor-type'), - (DRAWNS,u'line-skew'), - (DRAWNS,u'name'), - (DRAWNS,u'end-glue-point'), - (DRAWNS,u'text-style-name'), - ), - (DRAWNS,u'contour-path'):( - (SVGNS,u'd'), - (SVGNS,u'width'), - (DRAWNS,u'recreate-on-edit'), - (SVGNS,u'viewBox'), - (SVGNS,u'height'), - ), - (DRAWNS,u'contour-polygon'):( - (SVGNS,u'width'), - (DRAWNS,u'points'), - (DRAWNS,u'recreate-on-edit'), - (SVGNS,u'viewBox'), - (SVGNS,u'height'), - ), - (DRAWNS,u'control'):( - (DRAWNS,u'control'), - (DRAWNS,u'layer'), - (DRAWNS,u'caption-id'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'name'), - (DRAWNS,u'text-style-name'), - (TABLENS,u'table-background'), - (DRAWNS,u'transform'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'end-y'), - (DRAWNS,u'id'), - (TEXTNS,u'anchor-type'), - ), - (DRAWNS,u'custom-shape'):( - (DRAWNS,u'engine'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'layer'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'name'), - (DRAWNS,u'text-style-name'), - (TABLENS,u'table-background'), - (DRAWNS,u'transform'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'end-y'), - (DRAWNS,u'data'), - (DRAWNS,u'id'), - (TEXTNS,u'anchor-type'), + (DR3DNS,'scene'):( + (DR3DNS,'ambient-color'), + (DR3DNS,'distance'), + (DR3DNS,'focal-length'), + (DR3DNS,'lighting-mode'), + (DR3DNS,'projection'), + (DR3DNS,'shade-mode'), + (DR3DNS,'shadow-slant'), + (DR3DNS,'transform'), + (DR3DNS,'vpn'), + (DR3DNS,'vrp'), + (DR3DNS,'vup'), + (DRAWNS,'id'), + (DRAWNS,'caption-id'), + (DRAWNS,'layer'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (PRESENTATIONNS,'style-name'), + (SVGNS,'height'), + (SVGNS,'width'), + (SVGNS,'x'), + (SVGNS,'y'), + (TABLENS,'end-cell-address'), + (TABLENS,'end-x'), + (TABLENS,'end-y'), + (TABLENS,'table-background'), + (TEXTNS,'anchor-page-number'), + (TEXTNS,'anchor-type'), + ), + (DR3DNS,'sphere'):( + (DRAWNS,'layer'), + (DR3DNS,'center'), + (DR3DNS,'transform'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (DRAWNS,'id'), + (DR3DNS,'size'), + ), + (DRAWNS,'a'):( + (OFFICENS,'name'), + (OFFICENS,'title'), + (XLINKNS,'show'), + (OFFICENS,'target-frame-name'), + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (XLINKNS,'type'), + (OFFICENS,'server-map'), + ), + (DRAWNS,'applet'):( + (DRAWNS,'code'), + (XLINKNS,'show'), + (DRAWNS,'object'), + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (XLINKNS,'type'), + (DRAWNS,'archive'), + (DRAWNS,'may-script'), + ), + (DRAWNS,'area-circle'):( + (OFFICENS,'name'), + (XLINKNS,'show'), + (SVGNS,'cx'), + (XLINKNS,'type'), + (DRAWNS,'nohref'), + (SVGNS,'cy'), + (XLINKNS,'href'), + (SVGNS,'r'), + (OFFICENS,'target-frame-name'), + ), + (DRAWNS,'area-polygon'):( + (OFFICENS,'name'), + (XLINKNS,'show'), + (XLINKNS,'type'), + (SVGNS,'height'), + (DRAWNS,'nohref'), + (SVGNS,'width'), + (XLINKNS,'href'), + (SVGNS,'y'), + (SVGNS,'x'), + (OFFICENS,'target-frame-name'), + (SVGNS,'viewBox'), + (DRAWNS,'points'), + ), + (DRAWNS,'area-rectangle'):( + (OFFICENS,'name'), + (XLINKNS,'show'), + (XLINKNS,'type'), + (SVGNS,'height'), + (DRAWNS,'nohref'), + (SVGNS,'width'), + (XLINKNS,'href'), + (SVGNS,'y'), + (SVGNS,'x'), + (OFFICENS,'target-frame-name'), + ), + (DRAWNS,'caption'):( + (TABLENS,'table-background'), + (DRAWNS,'layer'), + (DRAWNS,'caption-id'), + (TABLENS,'end-cell-address'), + (DRAWNS,'name'), + (DRAWNS,'text-style-name'), + (DRAWNS,'caption-point-y'), + (DRAWNS,'caption-point-x'), + (DRAWNS,'transform'), + (TABLENS,'end-y'), + (DRAWNS,'corner-radius'), + (SVGNS,'width'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y'), + (SVGNS,'x'), + (SVGNS,'height'), + (DRAWNS,'id'), + (TEXTNS,'anchor-type'), + ), + (DRAWNS,'circle'):( + (DRAWNS,'end-angle'), + (DRAWNS,'id'), + (DRAWNS,'kind'), + (DRAWNS,'layer'), + (DRAWNS,'name'), + (DRAWNS,'start-angle'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (DRAWNS,'caption-id'), + (DRAWNS,'text-style-name'), + (DRAWNS,'transform'), + (DRAWNS,'z-index'), + (PRESENTATIONNS,'class-names'), + (PRESENTATIONNS,'style-name'), + (SVGNS,'cx'), + (SVGNS,'cy'), + (SVGNS,'height'), + (SVGNS,'r'), + (SVGNS,'width'), + (SVGNS,'x'), + (SVGNS,'y'), + (TABLENS,'end-cell-address'), + (TABLENS,'end-x'), + (TABLENS,'end-y'), + (TABLENS,'table-background'), + (TEXTNS,'anchor-page-number'), + (TEXTNS,'anchor-type'), + ), + (DRAWNS,'connector'):( + (DRAWNS,'layer'), + (DRAWNS,'end-shape'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y1'), + (SVGNS,'y2'), + (TABLENS,'table-background'), + (TABLENS,'end-cell-address'), + (DRAWNS,'transform'), + (DRAWNS,'id'), + (TABLENS,'end-y'), + (TABLENS,'end-x'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (DRAWNS,'caption-id'), + (DRAWNS,'type'), + (DRAWNS,'start-shape'), + (DRAWNS,'z-index'), + (PRESENTATIONNS,'style-name'), + (DRAWNS,'start-glue-point'), + (SVGNS,'x2'), + (SVGNS,'x1'), + (TEXTNS,'anchor-type'), + (DRAWNS,'line-skew'), + (DRAWNS,'name'), + (DRAWNS,'end-glue-point'), + (DRAWNS,'text-style-name'), + ), + (DRAWNS,'contour-path'):( + (SVGNS,'d'), + (SVGNS,'width'), + (DRAWNS,'recreate-on-edit'), + (SVGNS,'viewBox'), + (SVGNS,'height'), + ), + (DRAWNS,'contour-polygon'):( + (SVGNS,'width'), + (DRAWNS,'points'), + (DRAWNS,'recreate-on-edit'), + (SVGNS,'viewBox'), + (SVGNS,'height'), + ), + (DRAWNS,'control'):( + (DRAWNS,'control'), + (DRAWNS,'layer'), + (DRAWNS,'caption-id'), + (TABLENS,'end-cell-address'), + (DRAWNS,'name'), + (DRAWNS,'text-style-name'), + (TABLENS,'table-background'), + (DRAWNS,'transform'), + (SVGNS,'height'), + (SVGNS,'width'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'end-y'), + (DRAWNS,'id'), + (TEXTNS,'anchor-type'), + ), + (DRAWNS,'custom-shape'):( + (DRAWNS,'engine'), + (DRAWNS,'caption-id'), + (DRAWNS,'layer'), + (TABLENS,'end-cell-address'), + (DRAWNS,'name'), + (DRAWNS,'text-style-name'), + (TABLENS,'table-background'), + (DRAWNS,'transform'), + (SVGNS,'height'), + (SVGNS,'width'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'end-y'), + (DRAWNS,'data'), + (DRAWNS,'id'), + (TEXTNS,'anchor-type'), ), # allowed_attributes - (DRAWNS,u'ellipse'):( - (DRAWNS,u'layer'), - (DRAWNS,u'start-angle'), - (SVGNS,u'cy'), - (SVGNS,u'cx'), - (TABLENS,u'table-background'), - (TABLENS,u'end-cell-address'), - (SVGNS,u'rx'), - (DRAWNS,u'transform'), - (DRAWNS,u'id'), - (SVGNS,u'width'), - (TABLENS,u'end-y'), - (TABLENS,u'end-x'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (DRAWNS,u'end-angle'), - (DRAWNS,u'z-index'), - (DRAWNS,u'caption-id'), - (PRESENTATIONNS,u'style-name'), - (SVGNS,u'height'), - (TEXTNS,u'anchor-type'), - (SVGNS,u'ry'), - (DRAWNS,u'kind'), - (DRAWNS,u'name'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (DRAWNS,u'text-style-name'), + (DRAWNS,'ellipse'):( + (DRAWNS,'layer'), + (DRAWNS,'start-angle'), + (SVGNS,'cy'), + (SVGNS,'cx'), + (TABLENS,'table-background'), + (TABLENS,'end-cell-address'), + (SVGNS,'rx'), + (DRAWNS,'transform'), + (DRAWNS,'id'), + (SVGNS,'width'), + (TABLENS,'end-y'), + (TABLENS,'end-x'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (DRAWNS,'end-angle'), + (DRAWNS,'z-index'), + (DRAWNS,'caption-id'), + (PRESENTATIONNS,'style-name'), + (SVGNS,'height'), + (TEXTNS,'anchor-type'), + (SVGNS,'ry'), + (DRAWNS,'kind'), + (DRAWNS,'name'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y'), + (SVGNS,'x'), + (DRAWNS,'text-style-name'), ), # allowed_attributes - (DRAWNS,u'enhanced-geometry'):( - (DRAWNS,u'extrusion-rotation-center'), - (DRAWNS,u'extrusion-shininess'), - (DRAWNS,u'extrusion-rotation-angle'), - (DRAWNS,u'extrusion-allowed'), - (DRAWNS,u'extrusion-first-light-level'), - (DRAWNS,u'extrusion-specularity'), - (DRAWNS,u'extrusion-viewpoint'), - (DRAWNS,u'extrusion-second-light-level'), - (DRAWNS,u'extrusion-origin'), - (DRAWNS,u'extrusion-color'), - (SVGNS,u'viewBox'), - (DR3DNS,u'projection'), - (DRAWNS,u'extrusion-metal'), - (DRAWNS,u'extrusion-number-of-line-segments'), - (DRAWNS,u'text-path-same-letter-heights'), - (DRAWNS,u'extrusion-first-light-harsh'), - (DRAWNS,u'enhanced-path'), - (DRAWNS,u'text-rotate-angle'), - (DRAWNS,u'type'), - (DRAWNS,u'glue-point-leaving-directions'), - (DRAWNS,u'concentric-gradient-fill-allowed'), - (DRAWNS,u'text-path-scale'), - (DRAWNS,u'extrusion-brightness'), - (DRAWNS,u'extrusion-first-light-direction'), - (DRAWNS,u'extrusion-light-face'), - (DRAWNS,u'text-path-allowed'), - (DRAWNS,u'glue-points'), - (DRAWNS,u'mirror-vertical'), - (DRAWNS,u'extrusion-depth'), - (DRAWNS,u'extrusion-diffusion'), - (DRAWNS,u'extrusion-second-light-direction'), - (DRAWNS,u'extrusion-skew'), - (DR3DNS,u'shade-mode'), - (DRAWNS,u'path-stretchpoint-y'), - (DRAWNS,u'modifiers'), - (DRAWNS,u'extrusion'), - (DRAWNS,u'path-stretchpoint-x'), - (DRAWNS,u'text-areas'), - (DRAWNS,u'mirror-horizontal'), - (DRAWNS,u'text-path-mode'), - (DRAWNS,u'extrusion-second-light-harsh'), - (DRAWNS,u'glue-point-type'), - (DRAWNS,u'text-path'), + (DRAWNS,'enhanced-geometry'):( + (DRAWNS,'extrusion-rotation-center'), + (DRAWNS,'extrusion-shininess'), + (DRAWNS,'extrusion-rotation-angle'), + (DRAWNS,'extrusion-allowed'), + (DRAWNS,'extrusion-first-light-level'), + (DRAWNS,'extrusion-specularity'), + (DRAWNS,'extrusion-viewpoint'), + (DRAWNS,'extrusion-second-light-level'), + (DRAWNS,'extrusion-origin'), + (DRAWNS,'extrusion-color'), + (SVGNS,'viewBox'), + (DR3DNS,'projection'), + (DRAWNS,'extrusion-metal'), + (DRAWNS,'extrusion-number-of-line-segments'), + (DRAWNS,'text-path-same-letter-heights'), + (DRAWNS,'extrusion-first-light-harsh'), + (DRAWNS,'enhanced-path'), + (DRAWNS,'text-rotate-angle'), + (DRAWNS,'type'), + (DRAWNS,'glue-point-leaving-directions'), + (DRAWNS,'concentric-gradient-fill-allowed'), + (DRAWNS,'text-path-scale'), + (DRAWNS,'extrusion-brightness'), + (DRAWNS,'extrusion-first-light-direction'), + (DRAWNS,'extrusion-light-face'), + (DRAWNS,'text-path-allowed'), + (DRAWNS,'glue-points'), + (DRAWNS,'mirror-vertical'), + (DRAWNS,'extrusion-depth'), + (DRAWNS,'extrusion-diffusion'), + (DRAWNS,'extrusion-second-light-direction'), + (DRAWNS,'extrusion-skew'), + (DR3DNS,'shade-mode'), + (DRAWNS,'path-stretchpoint-y'), + (DRAWNS,'modifiers'), + (DRAWNS,'extrusion'), + (DRAWNS,'path-stretchpoint-x'), + (DRAWNS,'text-areas'), + (DRAWNS,'mirror-horizontal'), + (DRAWNS,'text-path-mode'), + (DRAWNS,'extrusion-second-light-harsh'), + (DRAWNS,'glue-point-type'), + (DRAWNS,'text-path'), ), # allowed_attributes - (DRAWNS,u'equation'):( - (DRAWNS,u'formula'), - (DRAWNS,u'name'), - ), - (DRAWNS,u'fill-image'):( - (DRAWNS,u'name'), - (XLINKNS,u'show'), - (XLINKNS,u'actuate'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (XLINKNS,u'href'), - (DRAWNS,u'display-name'), - (XLINKNS,u'type'), - ), - (DRAWNS,u'floating-frame'):( - (XLINKNS,u'href'), - (XLINKNS,u'actuate'), - (DRAWNS,u'frame-name'), - (XLINKNS,u'type'), - (XLINKNS,u'show'), - ), - (DRAWNS,u'frame'):( - (DRAWNS,u'copy-of'), - (DRAWNS,u'id'), - (DRAWNS,u'layer'), - (DRAWNS,u'name'), - (DRAWNS,u'class-names'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'style-name'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'transform'), - (DRAWNS,u'z-index'), - (PRESENTATIONNS,u'class'), - (PRESENTATIONNS,u'class-names'), - (PRESENTATIONNS,u'placeholder'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'user-transformed'), - (STYLENS,u'rel-height'), - (STYLENS,u'rel-width'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (SVGNS,u'x'), - (SVGNS,u'y'), - (TABLENS,u'end-cell-address'), - (TABLENS,u'end-x'), - (TABLENS,u'end-y'), - (TABLENS,u'table-background'), - (TEXTNS,u'anchor-page-number'), - (TEXTNS,u'anchor-type'), + (DRAWNS,'equation'):( + (DRAWNS,'formula'), + (DRAWNS,'name'), + ), + (DRAWNS,'fill-image'):( + (DRAWNS,'name'), + (XLINKNS,'show'), + (XLINKNS,'actuate'), + (SVGNS,'height'), + (SVGNS,'width'), + (XLINKNS,'href'), + (DRAWNS,'display-name'), + (XLINKNS,'type'), + ), + (DRAWNS,'floating-frame'):( + (XLINKNS,'href'), + (XLINKNS,'actuate'), + (DRAWNS,'frame-name'), + (XLINKNS,'type'), + (XLINKNS,'show'), + ), + (DRAWNS,'frame'):( + (DRAWNS,'copy-of'), + (DRAWNS,'id'), + (DRAWNS,'layer'), + (DRAWNS,'name'), + (DRAWNS,'class-names'), + (DRAWNS,'caption-id'), + (DRAWNS,'style-name'), + (DRAWNS,'text-style-name'), + (DRAWNS,'transform'), + (DRAWNS,'z-index'), + (PRESENTATIONNS,'class'), + (PRESENTATIONNS,'class-names'), + (PRESENTATIONNS,'placeholder'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'user-transformed'), + (STYLENS,'rel-height'), + (STYLENS,'rel-width'), + (SVGNS,'height'), + (SVGNS,'width'), + (SVGNS,'x'), + (SVGNS,'y'), + (TABLENS,'end-cell-address'), + (TABLENS,'end-x'), + (TABLENS,'end-y'), + (TABLENS,'table-background'), + (TEXTNS,'anchor-page-number'), + (TEXTNS,'anchor-type'), ), # allowed_attributes - (DRAWNS,u'g'):( - (DRAWNS,u'id'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'name'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (DRAWNS,u'z-index'), - (PRESENTATIONNS,u'class-names'), - (PRESENTATIONNS,u'style-name'), - (SVGNS,u'y'), - (TABLENS,u'end-cell-address'), - (TABLENS,u'end-x'), - (TABLENS,u'end-y'), - (TABLENS,u'table-background'), - (TEXTNS,u'anchor-page-number'), - (TEXTNS,u'anchor-type'), - ), - (DRAWNS,u'glue-point'):( - (SVGNS,u'y'), - (SVGNS,u'x'), - (DRAWNS,u'align'), - (DRAWNS,u'id'), - (DRAWNS,u'escape-direction'), - ), - (DRAWNS,u'gradient'):( - (DRAWNS,u'style'), - (DRAWNS,u'angle'), - (DRAWNS,u'name'), - (DRAWNS,u'end-color'), - (DRAWNS,u'start-color'), - (DRAWNS,u'cy'), - (DRAWNS,u'cx'), - (DRAWNS,u'display-name'), - (DRAWNS,u'border'), - (DRAWNS,u'end-intensity'), - (DRAWNS,u'start-intensity'), - ), - (DRAWNS,u'handle'):( - (DRAWNS,u'handle-radius-range-minimum'), - (DRAWNS,u'handle-switched'), - (DRAWNS,u'handle-range-y-maximum'), - (DRAWNS,u'handle-mirror-horizontal'), - (DRAWNS,u'handle-range-x-maximum'), - (DRAWNS,u'handle-mirror-vertical'), - (DRAWNS,u'handle-range-y-minimum'), - (DRAWNS,u'handle-radius-range-maximum'), - (DRAWNS,u'handle-range-x-minimum'), - (DRAWNS,u'handle-position'), - (DRAWNS,u'handle-polar'), - ), - (DRAWNS,u'hatch'):( - (DRAWNS,u'distance'), - (DRAWNS,u'style'), - (DRAWNS,u'name'), - (DRAWNS,u'color'), - (DRAWNS,u'display-name'), - (DRAWNS,u'rotation'), - ), - (DRAWNS,u'image'):( - (DRAWNS,u'filter-name'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (XLINKNS,u'actuate'), - (XLINKNS,u'show'), - ), - (DRAWNS,u'image-map'):( - ), - (DRAWNS,u'layer'):( - (DRAWNS,u'protected'), - (DRAWNS,u'name'), - (DRAWNS,u'display'), + (DRAWNS,'g'):( + (DRAWNS,'id'), + (DRAWNS,'caption-id'), + (DRAWNS,'name'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (DRAWNS,'z-index'), + (PRESENTATIONNS,'class-names'), + (PRESENTATIONNS,'style-name'), + (SVGNS,'y'), + (TABLENS,'end-cell-address'), + (TABLENS,'end-x'), + (TABLENS,'end-y'), + (TABLENS,'table-background'), + (TEXTNS,'anchor-page-number'), + (TEXTNS,'anchor-type'), + ), + (DRAWNS,'glue-point'):( + (SVGNS,'y'), + (SVGNS,'x'), + (DRAWNS,'align'), + (DRAWNS,'id'), + (DRAWNS,'escape-direction'), + ), + (DRAWNS,'gradient'):( + (DRAWNS,'style'), + (DRAWNS,'angle'), + (DRAWNS,'name'), + (DRAWNS,'end-color'), + (DRAWNS,'start-color'), + (DRAWNS,'cy'), + (DRAWNS,'cx'), + (DRAWNS,'display-name'), + (DRAWNS,'border'), + (DRAWNS,'end-intensity'), + (DRAWNS,'start-intensity'), + ), + (DRAWNS,'handle'):( + (DRAWNS,'handle-radius-range-minimum'), + (DRAWNS,'handle-switched'), + (DRAWNS,'handle-range-y-maximum'), + (DRAWNS,'handle-mirror-horizontal'), + (DRAWNS,'handle-range-x-maximum'), + (DRAWNS,'handle-mirror-vertical'), + (DRAWNS,'handle-range-y-minimum'), + (DRAWNS,'handle-radius-range-maximum'), + (DRAWNS,'handle-range-x-minimum'), + (DRAWNS,'handle-position'), + (DRAWNS,'handle-polar'), + ), + (DRAWNS,'hatch'):( + (DRAWNS,'distance'), + (DRAWNS,'style'), + (DRAWNS,'name'), + (DRAWNS,'color'), + (DRAWNS,'display-name'), + (DRAWNS,'rotation'), + ), + (DRAWNS,'image'):( + (DRAWNS,'filter-name'), + (XLINKNS,'href'), + (XLINKNS,'type'), + (XLINKNS,'actuate'), + (XLINKNS,'show'), + ), + (DRAWNS,'image-map'):( + ), + (DRAWNS,'layer'):( + (DRAWNS,'protected'), + (DRAWNS,'name'), + (DRAWNS,'display'), ), # allowed_attributes - (DRAWNS,u'layer-set'):( - ), - (DRAWNS,u'line'):( - (DRAWNS,u'class-names'), - (DRAWNS,u'id'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'layer'), - (DRAWNS,u'name'), - (DRAWNS,u'style-name'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'transform'), - (DRAWNS,u'z-index'), - (PRESENTATIONNS,u'class-names'), - (PRESENTATIONNS,u'style-name'), - (SVGNS,u'x1'), - (SVGNS,u'x2'), - (SVGNS,u'y1'), - (SVGNS,u'y2'), - (TABLENS,u'end-cell-address'), - (TABLENS,u'end-x'), - (TABLENS,u'end-y'), - (TABLENS,u'table-background'), - (TEXTNS,u'anchor-page-number'), - (TEXTNS,u'anchor-type'), - ), - (DRAWNS,u'marker'):( - (SVGNS,u'd'), - (DRAWNS,u'display-name'), - (DRAWNS,u'name'), - (SVGNS,u'viewBox'), + (DRAWNS,'layer-set'):( + ), + (DRAWNS,'line'):( + (DRAWNS,'class-names'), + (DRAWNS,'id'), + (DRAWNS,'caption-id'), + (DRAWNS,'layer'), + (DRAWNS,'name'), + (DRAWNS,'style-name'), + (DRAWNS,'text-style-name'), + (DRAWNS,'transform'), + (DRAWNS,'z-index'), + (PRESENTATIONNS,'class-names'), + (PRESENTATIONNS,'style-name'), + (SVGNS,'x1'), + (SVGNS,'x2'), + (SVGNS,'y1'), + (SVGNS,'y2'), + (TABLENS,'end-cell-address'), + (TABLENS,'end-x'), + (TABLENS,'end-y'), + (TABLENS,'table-background'), + (TEXTNS,'anchor-page-number'), + (TEXTNS,'anchor-type'), + ), + (DRAWNS,'marker'):( + (SVGNS,'d'), + (DRAWNS,'display-name'), + (DRAWNS,'name'), + (SVGNS,'viewBox'), ), # allowed_attributes - (DRAWNS,u'measure'):( - (TABLENS,u'end-cell-address'), - (DRAWNS,u'layer'), - (SVGNS,u'y2'), - (DRAWNS,u'name'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'transform'), - (TABLENS,u'table-background'), - (SVGNS,u'x2'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y1'), - (DRAWNS,u'caption-id'), - (TABLENS,u'end-y'), - (SVGNS,u'x1'), - (DRAWNS,u'id'), - (TEXTNS,u'anchor-type'), - ), - (DRAWNS,u'object'):( - (XLINKNS,u'type'), - (XLINKNS,u'href'), - (DRAWNS,u'notify-on-update-of-ranges'), - (XLINKNS,u'actuate'), - (XLINKNS,u'show'), - ), - (DRAWNS,u'object-ole'):( - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (DRAWNS,u'class-id'), - (XLINKNS,u'show'), - ), - (DRAWNS,u'opacity'):( - (DRAWNS,u'style'), - (DRAWNS,u'angle'), - (DRAWNS,u'name'), - (DRAWNS,u'start'), - (DRAWNS,u'cy'), - (DRAWNS,u'cx'), - (DRAWNS,u'end'), - (DRAWNS,u'display-name'), - (DRAWNS,u'border'), - ), - (DRAWNS,u'page'):( - (PRESENTATIONNS,u'presentation-page-layout-name'), - (DRAWNS,u'name'), - (DRAWNS,u'nav-order'), - (PRESENTATIONNS,u'use-footer-name'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'use-header-name'), - (DRAWNS,u'master-page-name'), - (DRAWNS,u'id'), - (PRESENTATIONNS,u'use-date-time-name'), - ), - (DRAWNS,u'page-thumbnail'):( - (TABLENS,u'table-background'), - (DRAWNS,u'caption-id'), - (PRESENTATIONNS,u'user-transformed'), - (DRAWNS,u'layer'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'name'), - (DRAWNS,u'id'), - (DRAWNS,u'transform'), - (DRAWNS,u'page-number'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'end-y'), - (PRESENTATIONNS,u'placeholder'), - (PRESENTATIONNS,u'class'), - (TEXTNS,u'anchor-type'), - ), - (DRAWNS,u'param'):( - (DRAWNS,u'name'), - (DRAWNS,u'value'), + (DRAWNS,'measure'):( + (TABLENS,'end-cell-address'), + (DRAWNS,'layer'), + (SVGNS,'y2'), + (DRAWNS,'name'), + (DRAWNS,'text-style-name'), + (DRAWNS,'transform'), + (TABLENS,'table-background'), + (SVGNS,'x2'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y1'), + (DRAWNS,'caption-id'), + (TABLENS,'end-y'), + (SVGNS,'x1'), + (DRAWNS,'id'), + (TEXTNS,'anchor-type'), + ), + (DRAWNS,'object'):( + (XLINKNS,'type'), + (XLINKNS,'href'), + (DRAWNS,'notify-on-update-of-ranges'), + (XLINKNS,'actuate'), + (XLINKNS,'show'), + ), + (DRAWNS,'object-ole'):( + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (XLINKNS,'type'), + (DRAWNS,'class-id'), + (XLINKNS,'show'), + ), + (DRAWNS,'opacity'):( + (DRAWNS,'style'), + (DRAWNS,'angle'), + (DRAWNS,'name'), + (DRAWNS,'start'), + (DRAWNS,'cy'), + (DRAWNS,'cx'), + (DRAWNS,'end'), + (DRAWNS,'display-name'), + (DRAWNS,'border'), + ), + (DRAWNS,'page'):( + (PRESENTATIONNS,'presentation-page-layout-name'), + (DRAWNS,'name'), + (DRAWNS,'nav-order'), + (PRESENTATIONNS,'use-footer-name'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'use-header-name'), + (DRAWNS,'master-page-name'), + (DRAWNS,'id'), + (PRESENTATIONNS,'use-date-time-name'), + ), + (DRAWNS,'page-thumbnail'):( + (TABLENS,'table-background'), + (DRAWNS,'caption-id'), + (PRESENTATIONNS,'user-transformed'), + (DRAWNS,'layer'), + (TABLENS,'end-cell-address'), + (DRAWNS,'name'), + (DRAWNS,'id'), + (DRAWNS,'transform'), + (DRAWNS,'page-number'), + (SVGNS,'height'), + (SVGNS,'width'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'end-y'), + (PRESENTATIONNS,'placeholder'), + (PRESENTATIONNS,'class'), + (TEXTNS,'anchor-type'), + ), + (DRAWNS,'param'):( + (DRAWNS,'name'), + (DRAWNS,'value'), ), # allowed_attributes - (DRAWNS,u'path'):( - (TABLENS,u'table-background'), - (DRAWNS,u'layer'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'caption-id'), - (SVGNS,u'd'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'id'), - (DRAWNS,u'transform'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (TEXTNS,u'anchor-type'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'end-y'), - (SVGNS,u'viewBox'), - (DRAWNS,u'name'), - ), - (DRAWNS,u'plugin'):( - (XLINKNS,u'type'), - (XLINKNS,u'href'), - (DRAWNS,u'mime-type'), - (XLINKNS,u'actuate'), - (XLINKNS,u'show'), - ), - (DRAWNS,u'polygon'):( - (DRAWNS,u'caption-id'), - (TABLENS,u'table-background'), - (DRAWNS,u'layer'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'name'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'id'), - (DRAWNS,u'transform'), - (PRESENTATIONNS,u'style-name'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (DRAWNS,u'z-index'), - (DRAWNS,u'points'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'end-y'), - (SVGNS,u'viewBox'), - (TEXTNS,u'anchor-type'), + (DRAWNS,'path'):( + (TABLENS,'table-background'), + (DRAWNS,'layer'), + (TABLENS,'end-cell-address'), + (DRAWNS,'caption-id'), + (SVGNS,'d'), + (DRAWNS,'text-style-name'), + (DRAWNS,'id'), + (DRAWNS,'transform'), + (SVGNS,'height'), + (SVGNS,'width'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (TEXTNS,'anchor-type'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'end-y'), + (SVGNS,'viewBox'), + (DRAWNS,'name'), + ), + (DRAWNS,'plugin'):( + (XLINKNS,'type'), + (XLINKNS,'href'), + (DRAWNS,'mime-type'), + (XLINKNS,'actuate'), + (XLINKNS,'show'), + ), + (DRAWNS,'polygon'):( + (DRAWNS,'caption-id'), + (TABLENS,'table-background'), + (DRAWNS,'layer'), + (TABLENS,'end-cell-address'), + (DRAWNS,'name'), + (DRAWNS,'text-style-name'), + (DRAWNS,'id'), + (DRAWNS,'transform'), + (PRESENTATIONNS,'style-name'), + (SVGNS,'height'), + (SVGNS,'width'), + (DRAWNS,'z-index'), + (DRAWNS,'points'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'end-y'), + (SVGNS,'viewBox'), + (TEXTNS,'anchor-type'), ), # allowed_attributes - (DRAWNS,u'polyline'):( - (TABLENS,u'table-background'), - (DRAWNS,u'layer'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'name'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'id'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'transform'), - (PRESENTATIONNS,u'style-name'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (DRAWNS,u'z-index'), - (DRAWNS,u'points'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (TEXTNS,u'anchor-page-number'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'end-y'), - (SVGNS,u'viewBox'), - (TEXTNS,u'anchor-type'), - ), - (DRAWNS,u'rect'):( - (DRAWNS,u'corner-radius'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'id'), - (DRAWNS,u'layer'), - (DRAWNS,u'name'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'transform'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (PRESENTATIONNS,u'style-name'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (SVGNS,u'x'), - (SVGNS,u'y'), - (TABLENS,u'end-cell-address'), - (TABLENS,u'end-x'), - (TABLENS,u'end-y'), - (TABLENS,u'table-background'), - (TEXTNS,u'anchor-page-number'), - (TEXTNS,u'anchor-type'), + (DRAWNS,'polyline'):( + (TABLENS,'table-background'), + (DRAWNS,'layer'), + (TABLENS,'end-cell-address'), + (DRAWNS,'name'), + (DRAWNS,'text-style-name'), + (DRAWNS,'id'), + (DRAWNS,'caption-id'), + (DRAWNS,'transform'), + (PRESENTATIONNS,'style-name'), + (SVGNS,'height'), + (SVGNS,'width'), + (DRAWNS,'z-index'), + (DRAWNS,'points'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (TEXTNS,'anchor-page-number'), + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'end-y'), + (SVGNS,'viewBox'), + (TEXTNS,'anchor-type'), + ), + (DRAWNS,'rect'):( + (DRAWNS,'corner-radius'), + (DRAWNS,'caption-id'), + (DRAWNS,'id'), + (DRAWNS,'layer'), + (DRAWNS,'name'), + (DRAWNS,'text-style-name'), + (DRAWNS,'transform'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (PRESENTATIONNS,'style-name'), + (SVGNS,'height'), + (SVGNS,'width'), + (SVGNS,'x'), + (SVGNS,'y'), + (TABLENS,'end-cell-address'), + (TABLENS,'end-x'), + (TABLENS,'end-y'), + (TABLENS,'table-background'), + (TEXTNS,'anchor-page-number'), + (TEXTNS,'anchor-type'), ), # allowed_attributes - (DRAWNS,u'regular-polygon'):( - (TABLENS,u'table-background'), - (DRAWNS,u'layer'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'caption-id'), - (DRAWNS,u'name'), - (DRAWNS,u'text-style-name'), - (TEXTNS,u'anchor-page-number'), - (DRAWNS,u'concave'), - (DRAWNS,u'sharpness'), - (DRAWNS,u'transform'), - (SVGNS,u'height'), - (SVGNS,u'width'), - (DRAWNS,u'z-index'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (DRAWNS,u'corners'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'end-y'), - (DRAWNS,u'id'), - (TEXTNS,u'anchor-type'), - ), - (DRAWNS,u'stroke-dash'):( - (DRAWNS,u'distance'), - (DRAWNS,u'dots1-length'), - (DRAWNS,u'name'), - (DRAWNS,u'dots2-length'), - (DRAWNS,u'style'), - (DRAWNS,u'dots1'), - (DRAWNS,u'display-name'), - (DRAWNS,u'dots2'), - ), - (DRAWNS,u'text-box'):( - (FONS,u'min-width'), - (DRAWNS,u'corner-radius'), - (FONS,u'max-height'), - (FONS,u'min-height'), - (DRAWNS,u'chain-next-name'), - (FONS,u'max-width'), - (TEXTNS,u'id'), + (DRAWNS,'regular-polygon'):( + (TABLENS,'table-background'), + (DRAWNS,'layer'), + (TABLENS,'end-cell-address'), + (DRAWNS,'caption-id'), + (DRAWNS,'name'), + (DRAWNS,'text-style-name'), + (TEXTNS,'anchor-page-number'), + (DRAWNS,'concave'), + (DRAWNS,'sharpness'), + (DRAWNS,'transform'), + (SVGNS,'height'), + (SVGNS,'width'), + (DRAWNS,'z-index'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (DRAWNS,'corners'), + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'end-y'), + (DRAWNS,'id'), + (TEXTNS,'anchor-type'), + ), + (DRAWNS,'stroke-dash'):( + (DRAWNS,'distance'), + (DRAWNS,'dots1-length'), + (DRAWNS,'name'), + (DRAWNS,'dots2-length'), + (DRAWNS,'style'), + (DRAWNS,'dots1'), + (DRAWNS,'display-name'), + (DRAWNS,'dots2'), + ), + (DRAWNS,'text-box'):( + (FONS,'min-width'), + (DRAWNS,'corner-radius'), + (FONS,'max-height'), + (FONS,'min-height'), + (DRAWNS,'chain-next-name'), + (FONS,'max-width'), + (TEXTNS,'id'), ), # allowed_attributes - (FORMNS,u'button'):( - (FORMNS,u'tab-stop'), - (FORMNS,u'focus-on-click'), - (FORMNS,u'image-align'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'button-type'), - (FORMNS,u'title'), - (FORMNS,u'default-button'), - (FORMNS,u'value'), - (FORMNS,u'label'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'image-data'), - (XLINKNS,u'href'), - (FORMNS,u'toggle'), - (FORMNS,u'xforms-submission'), - (OFFICENS,u'target-frame'), - (FORMNS,u'id'), - (FORMNS,u'image-position'), - ), - (FORMNS,u'checkbox'):( - (FORMNS,u'tab-stop'), - (FORMNS,u'image-align'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'data-field'), - (FORMNS,u'title'), - (FORMNS,u'is-tristate'), - (FORMNS,u'current-state'), - (FORMNS,u'value'), - (FORMNS,u'label'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'state'), - (FORMNS,u'visual-effect'), - (FORMNS,u'id'), - (FORMNS,u'image-position'), - ), - (FORMNS,u'column'):( - (FORMNS,u'control-implementation'), - (FORMNS,u'text-style-name'), - (FORMNS,u'name'), - (FORMNS,u'label'), - ), - (FORMNS,u'combobox'):( - (FORMNS,u'convert-empty-to-null'), - (FORMNS,u'max-length'), - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'dropdown'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'data-field'), - (FORMNS,u'tab-index'), - (FORMNS,u'auto-complete'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'readonly'), - (FORMNS,u'list-source'), - (FORMNS,u'title'), - (FORMNS,u'list-source-type'), - (FORMNS,u'id'), - (FORMNS,u'current-value'), - (FORMNS,u'size'), + (FORMNS,'button'):( + (FORMNS,'tab-stop'), + (FORMNS,'focus-on-click'), + (FORMNS,'image-align'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'button-type'), + (FORMNS,'title'), + (FORMNS,'default-button'), + (FORMNS,'value'), + (FORMNS,'label'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'image-data'), + (XLINKNS,'href'), + (FORMNS,'toggle'), + (FORMNS,'xforms-submission'), + (OFFICENS,'target-frame'), + (FORMNS,'id'), + (FORMNS,'image-position'), + ), + (FORMNS,'checkbox'):( + (FORMNS,'tab-stop'), + (FORMNS,'image-align'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'data-field'), + (FORMNS,'title'), + (FORMNS,'is-tristate'), + (FORMNS,'current-state'), + (FORMNS,'value'), + (FORMNS,'label'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'state'), + (FORMNS,'visual-effect'), + (FORMNS,'id'), + (FORMNS,'image-position'), + ), + (FORMNS,'column'):( + (FORMNS,'control-implementation'), + (FORMNS,'text-style-name'), + (FORMNS,'name'), + (FORMNS,'label'), + ), + (FORMNS,'combobox'):( + (FORMNS,'convert-empty-to-null'), + (FORMNS,'max-length'), + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'dropdown'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'data-field'), + (FORMNS,'tab-index'), + (FORMNS,'auto-complete'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'readonly'), + (FORMNS,'list-source'), + (FORMNS,'title'), + (FORMNS,'list-source-type'), + (FORMNS,'id'), + (FORMNS,'current-value'), + (FORMNS,'size'), ), # allowed_attributes - (FORMNS,u'connection-resource'):( - (XLINKNS,u'href'), - ), - (FORMNS,u'date'):( - (FORMNS,u'convert-empty-to-null'), - (FORMNS,u'max-length'), - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (FORMNS,u'min-value'), - (FORMNS,u'data-field'), - (FORMNS,u'max-value'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'readonly'), - (XFORMSNS,u'bind'), - (FORMNS,u'title'), - (FORMNS,u'id'), - (FORMNS,u'current-value'), - ), - (FORMNS,u'file'):( - (FORMNS,u'max-length'), - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'title'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'readonly'), - (FORMNS,u'id'), - (FORMNS,u'current-value'), - ), - (FORMNS,u'fixed-text'):( - (FORMNS,u'name'), - (FORMNS,u'for'), - (FORMNS,u'title'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'multi-line'), - (FORMNS,u'label'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'id'), + (FORMNS,'connection-resource'):( + (XLINKNS,'href'), + ), + (FORMNS,'date'):( + (FORMNS,'convert-empty-to-null'), + (FORMNS,'max-length'), + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (FORMNS,'min-value'), + (FORMNS,'data-field'), + (FORMNS,'max-value'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'readonly'), + (XFORMSNS,'bind'), + (FORMNS,'title'), + (FORMNS,'id'), + (FORMNS,'current-value'), + ), + (FORMNS,'file'):( + (FORMNS,'max-length'), + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'title'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'readonly'), + (FORMNS,'id'), + (FORMNS,'current-value'), + ), + (FORMNS,'fixed-text'):( + (FORMNS,'name'), + (FORMNS,'for'), + (FORMNS,'title'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'multi-line'), + (FORMNS,'label'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'id'), ), # allowed_attributes - (FORMNS,u'form'):( - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (FORMNS,u'allow-deletes'), - (FORMNS,u'command-type'), - (FORMNS,u'apply-filter'), - (XLINKNS,u'type'), - (FORMNS,u'method'), - (OFFICENS,u'target-frame'), - (FORMNS,u'navigation-mode'), - (FORMNS,u'detail-fields'), - (FORMNS,u'master-fields'), - (FORMNS,u'allow-updates'), - (FORMNS,u'name'), - (FORMNS,u'tab-cycle'), - (FORMNS,u'control-implementation'), - (FORMNS,u'escape-processing'), - (FORMNS,u'filter'), - (FORMNS,u'command'), - (FORMNS,u'datasource'), - (FORMNS,u'enctype'), - (FORMNS,u'allow-inserts'), - (FORMNS,u'ignore-result'), - (FORMNS,u'order'), - ), - (FORMNS,u'formatted-text'):( - (FORMNS,u'convert-empty-to-null'), - (FORMNS,u'max-length'), - (FORMNS,u'tab-stop'), - (FORMNS,u'max-value'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'data-field'), - (FORMNS,u'title'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'readonly'), - (FORMNS,u'min-value'), - (FORMNS,u'validation'), - (FORMNS,u'id'), - (FORMNS,u'current-value'), - ), - (FORMNS,u'frame'):( - (FORMNS,u'name'), - (FORMNS,u'for'), - (FORMNS,u'title'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'label'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'id'), + (FORMNS,'form'):( + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (FORMNS,'allow-deletes'), + (FORMNS,'command-type'), + (FORMNS,'apply-filter'), + (XLINKNS,'type'), + (FORMNS,'method'), + (OFFICENS,'target-frame'), + (FORMNS,'navigation-mode'), + (FORMNS,'detail-fields'), + (FORMNS,'master-fields'), + (FORMNS,'allow-updates'), + (FORMNS,'name'), + (FORMNS,'tab-cycle'), + (FORMNS,'control-implementation'), + (FORMNS,'escape-processing'), + (FORMNS,'filter'), + (FORMNS,'command'), + (FORMNS,'datasource'), + (FORMNS,'enctype'), + (FORMNS,'allow-inserts'), + (FORMNS,'ignore-result'), + (FORMNS,'order'), + ), + (FORMNS,'formatted-text'):( + (FORMNS,'convert-empty-to-null'), + (FORMNS,'max-length'), + (FORMNS,'tab-stop'), + (FORMNS,'max-value'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'data-field'), + (FORMNS,'title'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'readonly'), + (FORMNS,'min-value'), + (FORMNS,'validation'), + (FORMNS,'id'), + (FORMNS,'current-value'), + ), + (FORMNS,'frame'):( + (FORMNS,'name'), + (FORMNS,'for'), + (FORMNS,'title'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'label'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'id'), ), # allowed_attributes - (FORMNS,u'generic-control'):( - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'name'), - (FORMNS,u'id'), - ), - (FORMNS,u'grid'):( - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'title'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'id'), - ), - (FORMNS,u'hidden'):( - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'name'), - (FORMNS,u'value'), - (FORMNS,u'id'), - ), - (FORMNS,u'image'):( - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'button-type'), - (FORMNS,u'title'), - (FORMNS,u'value'), - (OFFICENS,u'target-frame'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'image-data'), - (XLINKNS,u'href'), - (FORMNS,u'id'), - ), - (FORMNS,u'image-frame'):( - (FORMNS,u'name'), - (FORMNS,u'title'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'data-field'), - (FORMNS,u'readonly'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'image-data'), - (FORMNS,u'id'), - ), - (FORMNS,u'item'):( - (FORMNS,u'label'), - ), - (FORMNS,u'list-property'):( - (FORMNS,u'property-name'), - (OFFICENS,u'value-type'), - ), - (FORMNS,u'list-value'):( - (OFFICENS,u'string-value'), + (FORMNS,'generic-control'):( + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'name'), + (FORMNS,'id'), + ), + (FORMNS,'grid'):( + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'title'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'id'), + ), + (FORMNS,'hidden'):( + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'name'), + (FORMNS,'value'), + (FORMNS,'id'), + ), + (FORMNS,'image'):( + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'button-type'), + (FORMNS,'title'), + (FORMNS,'value'), + (OFFICENS,'target-frame'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'image-data'), + (XLINKNS,'href'), + (FORMNS,'id'), + ), + (FORMNS,'image-frame'):( + (FORMNS,'name'), + (FORMNS,'title'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'data-field'), + (FORMNS,'readonly'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'image-data'), + (FORMNS,'id'), + ), + (FORMNS,'item'):( + (FORMNS,'label'), + ), + (FORMNS,'list-property'):( + (FORMNS,'property-name'), + (OFFICENS,'value-type'), + ), + (FORMNS,'list-value'):( + (OFFICENS,'string-value'), ), # allowed_attributes - (FORMNS,u'listbox'):( - (FORMNS,u'tab-stop'), - (FORMNS,u'bound-column'), - (FORMNS,u'multiple'), - (FORMNS,u'name'), - (FORMNS,u'dropdown'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'data-field'), - (FORMNS,u'tab-index'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'list-source'), - (FORMNS,u'title'), - (FORMNS,u'list-source-type'), - (FORMNS,u'id'), - (FORMNS,u'xforms-list-source'), - (FORMNS,u'size'), - ), - (FORMNS,u'number'):( - (FORMNS,u'convert-empty-to-null'), - (FORMNS,u'max-length'), - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (FORMNS,u'min-value'), - (FORMNS,u'data-field'), - (FORMNS,u'max-value'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'readonly'), - (XFORMSNS,u'bind'), - (FORMNS,u'title'), - (FORMNS,u'id'), - (FORMNS,u'current-value'), - ), - (FORMNS,u'option'):( - (FORMNS,u'current-selected'), - (FORMNS,u'selected'), - (FORMNS,u'value'), - (FORMNS,u'label'), - ), - (FORMNS,u'password'):( - (FORMNS,u'convert-empty-to-null'), - (FORMNS,u'max-length'), - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'title'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'echo-char'), - (FORMNS,u'id'), - ), - (FORMNS,u'properties'):( - ), - (FORMNS,u'property'):( - (OFFICENS,u'string-value'), - (OFFICENS,u'value'), - (OFFICENS,u'boolean-value'), - (FORMNS,u'property-name'), - (OFFICENS,u'currency'), - (OFFICENS,u'date-value'), - (OFFICENS,u'value-type'), - (OFFICENS,u'time-value'), - ), - (FORMNS,u'radio'):( - (FORMNS,u'tab-stop'), - (FORMNS,u'selected'), - (FORMNS,u'image-align'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'data-field'), - (FORMNS,u'current-selected'), - (FORMNS,u'value'), - (FORMNS,u'label'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'title'), - (FORMNS,u'visual-effect'), - (FORMNS,u'id'), - (FORMNS,u'image-position'), - ), - (FORMNS,u'text'):( - (FORMNS,u'convert-empty-to-null'), - (FORMNS,u'max-length'), - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'data-field'), - (FORMNS,u'title'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'readonly'), - (FORMNS,u'id'), - (FORMNS,u'current-value'), - ), - (FORMNS,u'textarea'):( - (FORMNS,u'convert-empty-to-null'), - (FORMNS,u'max-length'), - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'data-field'), - (FORMNS,u'title'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'readonly'), - (FORMNS,u'id'), - (FORMNS,u'current-value'), - ), - (FORMNS,u'time'):( - (FORMNS,u'convert-empty-to-null'), - (FORMNS,u'max-length'), - (FORMNS,u'tab-stop'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (FORMNS,u'min-value'), - (FORMNS,u'data-field'), - (FORMNS,u'max-value'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'readonly'), - (XFORMSNS,u'bind'), - (FORMNS,u'title'), - (FORMNS,u'id'), - (FORMNS,u'current-value'), - ), - (FORMNS,u'value-range'):( - (FORMNS,u'tab-stop'), - (FORMNS,u'max-value'), - (FORMNS,u'name'), - (FORMNS,u'tab-index'), - (FORMNS,u'control-implementation'), - (XFORMSNS,u'bind'), - (FORMNS,u'title'), - (FORMNS,u'value'), - (FORMNS,u'disabled'), - (FORMNS,u'printable'), - (FORMNS,u'orientation'), - (FORMNS,u'page-step-size'), - (FORMNS,u'delay-for-repeat'), - (FORMNS,u'min-value'), - (FORMNS,u'id'), - (FORMNS,u'step-size'), + (FORMNS,'listbox'):( + (FORMNS,'tab-stop'), + (FORMNS,'bound-column'), + (FORMNS,'multiple'), + (FORMNS,'name'), + (FORMNS,'dropdown'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'data-field'), + (FORMNS,'tab-index'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'list-source'), + (FORMNS,'title'), + (FORMNS,'list-source-type'), + (FORMNS,'id'), + (FORMNS,'xforms-list-source'), + (FORMNS,'size'), + ), + (FORMNS,'number'):( + (FORMNS,'convert-empty-to-null'), + (FORMNS,'max-length'), + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (FORMNS,'min-value'), + (FORMNS,'data-field'), + (FORMNS,'max-value'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'readonly'), + (XFORMSNS,'bind'), + (FORMNS,'title'), + (FORMNS,'id'), + (FORMNS,'current-value'), + ), + (FORMNS,'option'):( + (FORMNS,'current-selected'), + (FORMNS,'selected'), + (FORMNS,'value'), + (FORMNS,'label'), + ), + (FORMNS,'password'):( + (FORMNS,'convert-empty-to-null'), + (FORMNS,'max-length'), + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'title'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'echo-char'), + (FORMNS,'id'), + ), + (FORMNS,'properties'):( + ), + (FORMNS,'property'):( + (OFFICENS,'string-value'), + (OFFICENS,'value'), + (OFFICENS,'boolean-value'), + (FORMNS,'property-name'), + (OFFICENS,'currency'), + (OFFICENS,'date-value'), + (OFFICENS,'value-type'), + (OFFICENS,'time-value'), + ), + (FORMNS,'radio'):( + (FORMNS,'tab-stop'), + (FORMNS,'selected'), + (FORMNS,'image-align'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'data-field'), + (FORMNS,'current-selected'), + (FORMNS,'value'), + (FORMNS,'label'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'title'), + (FORMNS,'visual-effect'), + (FORMNS,'id'), + (FORMNS,'image-position'), + ), + (FORMNS,'text'):( + (FORMNS,'convert-empty-to-null'), + (FORMNS,'max-length'), + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'data-field'), + (FORMNS,'title'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'readonly'), + (FORMNS,'id'), + (FORMNS,'current-value'), + ), + (FORMNS,'textarea'):( + (FORMNS,'convert-empty-to-null'), + (FORMNS,'max-length'), + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'data-field'), + (FORMNS,'title'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'readonly'), + (FORMNS,'id'), + (FORMNS,'current-value'), + ), + (FORMNS,'time'):( + (FORMNS,'convert-empty-to-null'), + (FORMNS,'max-length'), + (FORMNS,'tab-stop'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (FORMNS,'min-value'), + (FORMNS,'data-field'), + (FORMNS,'max-value'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'readonly'), + (XFORMSNS,'bind'), + (FORMNS,'title'), + (FORMNS,'id'), + (FORMNS,'current-value'), + ), + (FORMNS,'value-range'):( + (FORMNS,'tab-stop'), + (FORMNS,'max-value'), + (FORMNS,'name'), + (FORMNS,'tab-index'), + (FORMNS,'control-implementation'), + (XFORMSNS,'bind'), + (FORMNS,'title'), + (FORMNS,'value'), + (FORMNS,'disabled'), + (FORMNS,'printable'), + (FORMNS,'orientation'), + (FORMNS,'page-step-size'), + (FORMNS,'delay-for-repeat'), + (FORMNS,'min-value'), + (FORMNS,'id'), + (FORMNS,'step-size'), ), (MANIFESTNS,'algorithm') : ( (MANIFESTNS,'algorithm-name'), @@ -6018,2409 +6018,2409 @@ (MANIFESTNS,'salt'), (MANIFESTNS,'iteration-count'), ), - (MANIFESTNS,u'manifest'):( + (MANIFESTNS,'manifest'):( ), # allowed_attributes - (METANS,u'auto-reload'):( - (METANS,u'delay'), - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (XLINKNS,u'show'), - ), - (METANS,u'creation-date'):( - ), - (METANS,u'date-string'):( - ), - (METANS,u'document-statistic'):( - (METANS,u'non-whitespace-character-count'), - (METANS,u'ole-object-count'), - (METANS,u'table-count'), - (METANS,u'row-count'), - (METANS,u'character-count'), - (METANS,u'sentence-count'), - (METANS,u'draw-count'), - (METANS,u'paragraph-count'), - (METANS,u'word-count'), - (METANS,u'object-count'), - (METANS,u'syllable-count'), - (METANS,u'image-count'), - (METANS,u'page-count'), - (METANS,u'frame-count'), - (METANS,u'cell-count'), - ), - (METANS,u'editing-cycles'):( - ), - (METANS,u'editing-duration'):( - ), - (METANS,u'generator'):( + (METANS,'auto-reload'):( + (METANS,'delay'), + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (XLINKNS,'type'), + (XLINKNS,'show'), + ), + (METANS,'creation-date'):( + ), + (METANS,'date-string'):( + ), + (METANS,'document-statistic'):( + (METANS,'non-whitespace-character-count'), + (METANS,'ole-object-count'), + (METANS,'table-count'), + (METANS,'row-count'), + (METANS,'character-count'), + (METANS,'sentence-count'), + (METANS,'draw-count'), + (METANS,'paragraph-count'), + (METANS,'word-count'), + (METANS,'object-count'), + (METANS,'syllable-count'), + (METANS,'image-count'), + (METANS,'page-count'), + (METANS,'frame-count'), + (METANS,'cell-count'), + ), + (METANS,'editing-cycles'):( + ), + (METANS,'editing-duration'):( + ), + (METANS,'generator'):( ), # allowed_attributes - (METANS,u'hyperlink-behaviour'):( - (OFFICENS,u'target-frame-name'), - (XLINKNS,u'show'), - ), - (METANS,u'initial-creator'):( - ), - (METANS,u'keyword'):( - ), - (METANS,u'print-date'):( - ), - (METANS,u'printed-by'):( - ), - (METANS,u'template'):( - (METANS,u'date'), - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (XLINKNS,u'title'), - ), - (METANS,u'user-defined'):( - (METANS,u'name'), - (METANS,u'value-type'), - ), - (OFFICENS,u'annotation'):( - (DRAWNS,u'layer'), - (SVGNS,u'height'), - (TEXTNS,u'anchor-page-number'), - (TABLENS,u'table-background'), - (TABLENS,u'end-cell-address'), - (DRAWNS,u'transform'), - (DRAWNS,u'id'), - (SVGNS,u'width'), - (DRAWNS,u'class-names'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'class-names'), - (TABLENS,u'end-x'), - (DRAWNS,u'text-style-name'), - (DRAWNS,u'z-index'), - (PRESENTATIONNS,u'style-name'), - (TEXTNS,u'anchor-type'), - (DRAWNS,u'name'), - (DRAWNS,u'caption-point-y'), - (DRAWNS,u'caption-point-x'), - (DRAWNS,u'corner-radius'), - (SVGNS,u'y'), - (SVGNS,u'x'), - (TABLENS,u'end-y'), - (OFFICENS,u'display'), - ), - (OFFICENS,u'automatic-styles'):( - ), - (OFFICENS,u'binary-data'):( - ), - (OFFICENS,u'body'):( - ), - (OFFICENS,u'change-info'):( - ), - (OFFICENS,u'chart'):( - ), - (OFFICENS,u'dde-source'):( - (OFFICENS,u'dde-application'), - (OFFICENS,u'automatic-update'), - (OFFICENS,u'conversion-mode'), - (OFFICENS,u'dde-item'), - (OFFICENS,u'dde-topic'), - (OFFICENS,u'name'), - ), - (OFFICENS,u'document'):( - (OFFICENS,u'mimetype'), - (OFFICENS,u'version'), - ), - (OFFICENS,u'document-content'):( - (OFFICENS,u'version'), - ), - (OFFICENS,u'document-meta'):( - (OFFICENS,u'version'), - ), - (OFFICENS,u'document-settings'):( - (OFFICENS,u'version'), - ), - (OFFICENS,u'document-styles'):( - (OFFICENS,u'version'), - ), - (OFFICENS,u'drawing'):( - ), - (OFFICENS,u'event-listeners'):( - ), - (OFFICENS,u'font-face-decls'):( - ), - (OFFICENS,u'forms'):( - (FORMNS,u'automatic-focus'), - (FORMNS,u'apply-design-mode'), - ), - (OFFICENS,u'image'):( + (METANS,'hyperlink-behaviour'):( + (OFFICENS,'target-frame-name'), + (XLINKNS,'show'), + ), + (METANS,'initial-creator'):( + ), + (METANS,'keyword'):( + ), + (METANS,'print-date'):( + ), + (METANS,'printed-by'):( + ), + (METANS,'template'):( + (METANS,'date'), + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (XLINKNS,'type'), + (XLINKNS,'title'), + ), + (METANS,'user-defined'):( + (METANS,'name'), + (METANS,'value-type'), + ), + (OFFICENS,'annotation'):( + (DRAWNS,'layer'), + (SVGNS,'height'), + (TEXTNS,'anchor-page-number'), + (TABLENS,'table-background'), + (TABLENS,'end-cell-address'), + (DRAWNS,'transform'), + (DRAWNS,'id'), + (SVGNS,'width'), + (DRAWNS,'class-names'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'class-names'), + (TABLENS,'end-x'), + (DRAWNS,'text-style-name'), + (DRAWNS,'z-index'), + (PRESENTATIONNS,'style-name'), + (TEXTNS,'anchor-type'), + (DRAWNS,'name'), + (DRAWNS,'caption-point-y'), + (DRAWNS,'caption-point-x'), + (DRAWNS,'corner-radius'), + (SVGNS,'y'), + (SVGNS,'x'), + (TABLENS,'end-y'), + (OFFICENS,'display'), + ), + (OFFICENS,'automatic-styles'):( + ), + (OFFICENS,'binary-data'):( + ), + (OFFICENS,'body'):( + ), + (OFFICENS,'change-info'):( + ), + (OFFICENS,'chart'):( + ), + (OFFICENS,'dde-source'):( + (OFFICENS,'dde-application'), + (OFFICENS,'automatic-update'), + (OFFICENS,'conversion-mode'), + (OFFICENS,'dde-item'), + (OFFICENS,'dde-topic'), + (OFFICENS,'name'), + ), + (OFFICENS,'document'):( + (OFFICENS,'mimetype'), + (OFFICENS,'version'), + ), + (OFFICENS,'document-content'):( + (OFFICENS,'version'), + ), + (OFFICENS,'document-meta'):( + (OFFICENS,'version'), + ), + (OFFICENS,'document-settings'):( + (OFFICENS,'version'), + ), + (OFFICENS,'document-styles'):( + (OFFICENS,'version'), + ), + (OFFICENS,'drawing'):( + ), + (OFFICENS,'event-listeners'):( + ), + (OFFICENS,'font-face-decls'):( + ), + (OFFICENS,'forms'):( + (FORMNS,'automatic-focus'), + (FORMNS,'apply-design-mode'), + ), + (OFFICENS,'image'):( ), # allowed_attributes - (OFFICENS,u'master-styles'):( - ), - (OFFICENS,u'meta'):( - ), - (OFFICENS,u'presentation'):( - ), - (OFFICENS,u'script'):( - (SCRIPTNS,u'language'), - ), - (OFFICENS,u'scripts'):( - ), - (OFFICENS,u'settings'):( - ), - (OFFICENS,u'spreadsheet'):( - (TABLENS,u'structure-protected'), - (TABLENS,u'protection-key'), - ), - (OFFICENS,u'styles'):( - ), - (OFFICENS,u'text'):( - (TEXTNS,u'global'), - (TEXTNS,u'use-soft-page-breaks'), - ), - (PRESENTATIONNS,u'animation-group'):( - ), - (PRESENTATIONNS,u'animations'):( - ), - (PRESENTATIONNS,u'date-time'):( - ), - (PRESENTATIONNS,u'date-time-decl'):( - (PRESENTATIONNS,u'source'), - (STYLENS,u'data-style-name'), - (PRESENTATIONNS,u'name'), - ), - (PRESENTATIONNS,u'dim'):( - (DRAWNS,u'color'), - (DRAWNS,u'shape-id'), - ), - (PRESENTATIONNS,u'event-listener'):( - (PRESENTATIONNS,u'direction'), - (XLINKNS,u'show'), - (XLINKNS,u'type'), - (XLINKNS,u'actuate'), - (PRESENTATIONNS,u'effect'), - (SCRIPTNS,u'event-name'), - (PRESENTATIONNS,u'start-scale'), - (XLINKNS,u'href'), - (PRESENTATIONNS,u'verb'), - (PRESENTATIONNS,u'action'), - (PRESENTATIONNS,u'speed'), - ), - (PRESENTATIONNS,u'footer'):( - ), - (PRESENTATIONNS,u'footer-decl'):( - (PRESENTATIONNS,u'name'), - ), - (PRESENTATIONNS,u'header'):( - ), - (PRESENTATIONNS,u'header-decl'):( - (PRESENTATIONNS,u'name'), - ), - (PRESENTATIONNS,u'hide-shape'):( - (PRESENTATIONNS,u'direction'), - (PRESENTATIONNS,u'effect'), - (PRESENTATIONNS,u'delay'), - (PRESENTATIONNS,u'start-scale'), - (PRESENTATIONNS,u'path-id'), - (PRESENTATIONNS,u'speed'), - (DRAWNS,u'shape-id'), + (OFFICENS,'master-styles'):( + ), + (OFFICENS,'meta'):( + ), + (OFFICENS,'presentation'):( + ), + (OFFICENS,'script'):( + (SCRIPTNS,'language'), + ), + (OFFICENS,'scripts'):( + ), + (OFFICENS,'settings'):( + ), + (OFFICENS,'spreadsheet'):( + (TABLENS,'structure-protected'), + (TABLENS,'protection-key'), + ), + (OFFICENS,'styles'):( + ), + (OFFICENS,'text'):( + (TEXTNS,'global'), + (TEXTNS,'use-soft-page-breaks'), + ), + (PRESENTATIONNS,'animation-group'):( + ), + (PRESENTATIONNS,'animations'):( + ), + (PRESENTATIONNS,'date-time'):( + ), + (PRESENTATIONNS,'date-time-decl'):( + (PRESENTATIONNS,'source'), + (STYLENS,'data-style-name'), + (PRESENTATIONNS,'name'), + ), + (PRESENTATIONNS,'dim'):( + (DRAWNS,'color'), + (DRAWNS,'shape-id'), + ), + (PRESENTATIONNS,'event-listener'):( + (PRESENTATIONNS,'direction'), + (XLINKNS,'show'), + (XLINKNS,'type'), + (XLINKNS,'actuate'), + (PRESENTATIONNS,'effect'), + (SCRIPTNS,'event-name'), + (PRESENTATIONNS,'start-scale'), + (XLINKNS,'href'), + (PRESENTATIONNS,'verb'), + (PRESENTATIONNS,'action'), + (PRESENTATIONNS,'speed'), + ), + (PRESENTATIONNS,'footer'):( + ), + (PRESENTATIONNS,'footer-decl'):( + (PRESENTATIONNS,'name'), + ), + (PRESENTATIONNS,'header'):( + ), + (PRESENTATIONNS,'header-decl'):( + (PRESENTATIONNS,'name'), + ), + (PRESENTATIONNS,'hide-shape'):( + (PRESENTATIONNS,'direction'), + (PRESENTATIONNS,'effect'), + (PRESENTATIONNS,'delay'), + (PRESENTATIONNS,'start-scale'), + (PRESENTATIONNS,'path-id'), + (PRESENTATIONNS,'speed'), + (DRAWNS,'shape-id'), ), # allowed_attributes - (PRESENTATIONNS,u'hide-text'):( - (PRESENTATIONNS,u'direction'), - (PRESENTATIONNS,u'effect'), - (PRESENTATIONNS,u'delay'), - (PRESENTATIONNS,u'start-scale'), - (PRESENTATIONNS,u'path-id'), - (PRESENTATIONNS,u'speed'), - (DRAWNS,u'shape-id'), - ), - (PRESENTATIONNS,u'notes'):( - (STYLENS,u'page-layout-name'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'use-header-name'), - (PRESENTATIONNS,u'use-date-time-name'), - (PRESENTATIONNS,u'use-footer-name'), - ), - (PRESENTATIONNS,u'placeholder'):( - (SVGNS,u'y'), - (SVGNS,u'x'), - (SVGNS,u'height'), - (PRESENTATIONNS,u'object'), - (SVGNS,u'width'), - ), - (PRESENTATIONNS,u'play'):( - (PRESENTATIONNS,u'speed'), - (DRAWNS,u'shape-id'), + (PRESENTATIONNS,'hide-text'):( + (PRESENTATIONNS,'direction'), + (PRESENTATIONNS,'effect'), + (PRESENTATIONNS,'delay'), + (PRESENTATIONNS,'start-scale'), + (PRESENTATIONNS,'path-id'), + (PRESENTATIONNS,'speed'), + (DRAWNS,'shape-id'), + ), + (PRESENTATIONNS,'notes'):( + (STYLENS,'page-layout-name'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'use-header-name'), + (PRESENTATIONNS,'use-date-time-name'), + (PRESENTATIONNS,'use-footer-name'), + ), + (PRESENTATIONNS,'placeholder'):( + (SVGNS,'y'), + (SVGNS,'x'), + (SVGNS,'height'), + (PRESENTATIONNS,'object'), + (SVGNS,'width'), + ), + (PRESENTATIONNS,'play'):( + (PRESENTATIONNS,'speed'), + (DRAWNS,'shape-id'), ), # allowed_attributes - (PRESENTATIONNS,u'settings'):( - (PRESENTATIONNS,u'animations'), - (PRESENTATIONNS,u'endless'), - (PRESENTATIONNS,u'force-manual'), - (PRESENTATIONNS,u'full-screen'), - (PRESENTATIONNS,u'mouse-as-pen'), - (PRESENTATIONNS,u'mouse-visible'), - (PRESENTATIONNS,u'pause'), - (PRESENTATIONNS,u'show'), - (PRESENTATIONNS,u'show-end-of-presentation-slide'), - (PRESENTATIONNS,u'show-logo'), - (PRESENTATIONNS,u'start-page'), - (PRESENTATIONNS,u'start-with-navigator'), - (PRESENTATIONNS,u'stay-on-top'), - (PRESENTATIONNS,u'transition-on-click'), - ), - (PRESENTATIONNS,u'show'):( - (PRESENTATIONNS,u'name'), - (PRESENTATIONNS,u'pages'), - ), - (PRESENTATIONNS,u'show-shape'):( - (PRESENTATIONNS,u'direction'), - (PRESENTATIONNS,u'effect'), - (PRESENTATIONNS,u'delay'), - (PRESENTATIONNS,u'start-scale'), - (PRESENTATIONNS,u'path-id'), - (PRESENTATIONNS,u'speed'), - (DRAWNS,u'shape-id'), - ), - (PRESENTATIONNS,u'show-text'):( - (PRESENTATIONNS,u'direction'), - (PRESENTATIONNS,u'effect'), - (PRESENTATIONNS,u'delay'), - (PRESENTATIONNS,u'start-scale'), - (PRESENTATIONNS,u'path-id'), - (PRESENTATIONNS,u'speed'), - (DRAWNS,u'shape-id'), - ), - (PRESENTATIONNS,u'sound'):( - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (PRESENTATIONNS,u'play-full'), - (XLINKNS,u'show'), + (PRESENTATIONNS,'settings'):( + (PRESENTATIONNS,'animations'), + (PRESENTATIONNS,'endless'), + (PRESENTATIONNS,'force-manual'), + (PRESENTATIONNS,'full-screen'), + (PRESENTATIONNS,'mouse-as-pen'), + (PRESENTATIONNS,'mouse-visible'), + (PRESENTATIONNS,'pause'), + (PRESENTATIONNS,'show'), + (PRESENTATIONNS,'show-end-of-presentation-slide'), + (PRESENTATIONNS,'show-logo'), + (PRESENTATIONNS,'start-page'), + (PRESENTATIONNS,'start-with-navigator'), + (PRESENTATIONNS,'stay-on-top'), + (PRESENTATIONNS,'transition-on-click'), + ), + (PRESENTATIONNS,'show'):( + (PRESENTATIONNS,'name'), + (PRESENTATIONNS,'pages'), + ), + (PRESENTATIONNS,'show-shape'):( + (PRESENTATIONNS,'direction'), + (PRESENTATIONNS,'effect'), + (PRESENTATIONNS,'delay'), + (PRESENTATIONNS,'start-scale'), + (PRESENTATIONNS,'path-id'), + (PRESENTATIONNS,'speed'), + (DRAWNS,'shape-id'), + ), + (PRESENTATIONNS,'show-text'):( + (PRESENTATIONNS,'direction'), + (PRESENTATIONNS,'effect'), + (PRESENTATIONNS,'delay'), + (PRESENTATIONNS,'start-scale'), + (PRESENTATIONNS,'path-id'), + (PRESENTATIONNS,'speed'), + (DRAWNS,'shape-id'), + ), + (PRESENTATIONNS,'sound'):( + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (XLINKNS,'type'), + (PRESENTATIONNS,'play-full'), + (XLINKNS,'show'), ), # allowed_attributes - (SCRIPTNS,u'event-listener'):( - (SCRIPTNS,u'language'), - (SCRIPTNS,u'macro-name'), - (XLINKNS,u'actuate'), - (SCRIPTNS,u'event-name'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - ), - (STYLENS,u'background-image'):( - (DRAWNS,u'opacity'), - (STYLENS,u'repeat'), - (XLINKNS,u'show'), - (XLINKNS,u'actuate'), - (STYLENS,u'filter-name'), - (XLINKNS,u'href'), - (STYLENS,u'position'), - (XLINKNS,u'type'), - ), - (STYLENS,u'chart-properties'): ( - (CHARTNS,u'connect-bars'), - (CHARTNS,u'data-label-number'), - (CHARTNS,u'data-label-symbol'), - (CHARTNS,u'data-label-text'), - (CHARTNS,u'deep'), - (CHARTNS,u'display-label'), - (CHARTNS,u'error-category'), - (CHARTNS,u'error-lower-indicator'), - (CHARTNS,u'error-lower-limit'), - (CHARTNS,u'error-margin'), - (CHARTNS,u'error-percentage'), - (CHARTNS,u'error-upper-indicator'), - (CHARTNS,u'error-upper-limit'), - (CHARTNS,u'gap-width'), - (CHARTNS,u'interpolation'), - (CHARTNS,u'interval-major'), - (CHARTNS,u'interval-minor-divisor'), - (CHARTNS,u'japanese-candle-stick'), - (CHARTNS,u'label-arrangement'), - (CHARTNS,u'lines'), - (CHARTNS,u'link-data-style-to-source'), - (CHARTNS,u'logarithmic'), - (CHARTNS,u'maximum'), - (CHARTNS,u'mean-value'), - (CHARTNS,u'minimum'), - (CHARTNS,u'origin'), - (CHARTNS,u'overlap'), - (CHARTNS,u'percentage'), - (CHARTNS,u'pie-offset'), - (CHARTNS,u'regression-type'), - (CHARTNS,u'scale-text'), - (CHARTNS,u'series-source'), - (CHARTNS,u'solid-type'), - (CHARTNS,u'spline-order'), - (CHARTNS,u'spline-resolution'), - (CHARTNS,u'stacked'), - (CHARTNS,u'symbol-height'), - (CHARTNS,u'symbol-name'), - (CHARTNS,u'symbol-type'), - (CHARTNS,u'symbol-width'), - (CHARTNS,u'text-overlap'), - (CHARTNS,u'three-dimensional'), - (CHARTNS,u'tick-marks-major-inner'), - (CHARTNS,u'tick-marks-major-outer'), - (CHARTNS,u'tick-marks-minor-inner'), - (CHARTNS,u'tick-marks-minor-outer'), - (CHARTNS,u'vertical'), - (CHARTNS,u'visible'), - (STYLENS,u'direction'), - (STYLENS,u'rotation-angle'), - (TEXTNS,u'line-break'), - ), - (STYLENS,u'column'):( - (FONS,u'end-indent'), - (FONS,u'space-before'), - (FONS,u'start-indent'), - (FONS,u'space-after'), - (STYLENS,u'rel-width'), - ), - (STYLENS,u'column-sep'):( - (STYLENS,u'color'), - (STYLENS,u'width'), - (STYLENS,u'style'), - (STYLENS,u'vertical-align'), - (STYLENS,u'height'), - ), - (STYLENS,u'columns'):( - (FONS,u'column-count'), - (FONS,u'column-gap'), - ), - (STYLENS,u'default-style'):( - (STYLENS,u'family'), + (SCRIPTNS,'event-listener'):( + (SCRIPTNS,'language'), + (SCRIPTNS,'macro-name'), + (XLINKNS,'actuate'), + (SCRIPTNS,'event-name'), + (XLINKNS,'href'), + (XLINKNS,'type'), + ), + (STYLENS,'background-image'):( + (DRAWNS,'opacity'), + (STYLENS,'repeat'), + (XLINKNS,'show'), + (XLINKNS,'actuate'), + (STYLENS,'filter-name'), + (XLINKNS,'href'), + (STYLENS,'position'), + (XLINKNS,'type'), + ), + (STYLENS,'chart-properties'): ( + (CHARTNS,'connect-bars'), + (CHARTNS,'data-label-number'), + (CHARTNS,'data-label-symbol'), + (CHARTNS,'data-label-text'), + (CHARTNS,'deep'), + (CHARTNS,'display-label'), + (CHARTNS,'error-category'), + (CHARTNS,'error-lower-indicator'), + (CHARTNS,'error-lower-limit'), + (CHARTNS,'error-margin'), + (CHARTNS,'error-percentage'), + (CHARTNS,'error-upper-indicator'), + (CHARTNS,'error-upper-limit'), + (CHARTNS,'gap-width'), + (CHARTNS,'interpolation'), + (CHARTNS,'interval-major'), + (CHARTNS,'interval-minor-divisor'), + (CHARTNS,'japanese-candle-stick'), + (CHARTNS,'label-arrangement'), + (CHARTNS,'lines'), + (CHARTNS,'link-data-style-to-source'), + (CHARTNS,'logarithmic'), + (CHARTNS,'maximum'), + (CHARTNS,'mean-value'), + (CHARTNS,'minimum'), + (CHARTNS,'origin'), + (CHARTNS,'overlap'), + (CHARTNS,'percentage'), + (CHARTNS,'pie-offset'), + (CHARTNS,'regression-type'), + (CHARTNS,'scale-text'), + (CHARTNS,'series-source'), + (CHARTNS,'solid-type'), + (CHARTNS,'spline-order'), + (CHARTNS,'spline-resolution'), + (CHARTNS,'stacked'), + (CHARTNS,'symbol-height'), + (CHARTNS,'symbol-name'), + (CHARTNS,'symbol-type'), + (CHARTNS,'symbol-width'), + (CHARTNS,'text-overlap'), + (CHARTNS,'three-dimensional'), + (CHARTNS,'tick-marks-major-inner'), + (CHARTNS,'tick-marks-major-outer'), + (CHARTNS,'tick-marks-minor-inner'), + (CHARTNS,'tick-marks-minor-outer'), + (CHARTNS,'vertical'), + (CHARTNS,'visible'), + (STYLENS,'direction'), + (STYLENS,'rotation-angle'), + (TEXTNS,'line-break'), + ), + (STYLENS,'column'):( + (FONS,'end-indent'), + (FONS,'space-before'), + (FONS,'start-indent'), + (FONS,'space-after'), + (STYLENS,'rel-width'), + ), + (STYLENS,'column-sep'):( + (STYLENS,'color'), + (STYLENS,'width'), + (STYLENS,'style'), + (STYLENS,'vertical-align'), + (STYLENS,'height'), + ), + (STYLENS,'columns'):( + (FONS,'column-count'), + (FONS,'column-gap'), + ), + (STYLENS,'default-style'):( + (STYLENS,'family'), ), # allowed_attributes - (STYLENS,u'drawing-page-properties'): ( - (DRAWNS,u'fill'), - (DRAWNS,u'fill-color'), - (DRAWNS,u'secondary-fill-color'), - (DRAWNS,u'fill-gradient-name'), - (DRAWNS,u'gradient-step-count'), - (DRAWNS,u'fill-hatch-name'), - (DRAWNS,u'fill-hatch-solid'), - (DRAWNS,u'fill-image-name'), - (STYLENS,u'repeat'), - (DRAWNS,u'fill-image-width'), - (DRAWNS,u'fill-image-height'), - (DRAWNS,u'fill-image-ref-point-x'), - (DRAWNS,u'fill-image-ref-point-y'), - (DRAWNS,u'fill-image-ref-point'), - (DRAWNS,u'tile-repeat-offset'), - (DRAWNS,u'opacity'), - (DRAWNS,u'opacity-name'), - (SVGNS,u'fill-rule'), - (PRESENTATIONNS,u'transition-type'), - (PRESENTATIONNS,u'transition-style'), - (PRESENTATIONNS,u'transition-speed'), - (SMILNS,u'type'), - (SMILNS,u'subtype'), - (SMILNS,u'direction'), - (SMILNS,u'fadeColor'), - (PRESENTATIONNS,u'duration'), - (PRESENTATIONNS,u'visibility'), - (DRAWNS,u'background-size'), - (PRESENTATIONNS,u'background-objects-visible'), - (PRESENTATIONNS,u'background-visible'), - (PRESENTATIONNS,u'display-header'), - (PRESENTATIONNS,u'display-footer'), - (PRESENTATIONNS,u'display-page-number'), - (PRESENTATIONNS,u'display-date-time'), - ), - (STYLENS,u'drop-cap'):( - (STYLENS,u'distance'), - (STYLENS,u'length'), - (STYLENS,u'style-name'), - (STYLENS,u'lines'), + (STYLENS,'drawing-page-properties'): ( + (DRAWNS,'fill'), + (DRAWNS,'fill-color'), + (DRAWNS,'secondary-fill-color'), + (DRAWNS,'fill-gradient-name'), + (DRAWNS,'gradient-step-count'), + (DRAWNS,'fill-hatch-name'), + (DRAWNS,'fill-hatch-solid'), + (DRAWNS,'fill-image-name'), + (STYLENS,'repeat'), + (DRAWNS,'fill-image-width'), + (DRAWNS,'fill-image-height'), + (DRAWNS,'fill-image-ref-point-x'), + (DRAWNS,'fill-image-ref-point-y'), + (DRAWNS,'fill-image-ref-point'), + (DRAWNS,'tile-repeat-offset'), + (DRAWNS,'opacity'), + (DRAWNS,'opacity-name'), + (SVGNS,'fill-rule'), + (PRESENTATIONNS,'transition-type'), + (PRESENTATIONNS,'transition-style'), + (PRESENTATIONNS,'transition-speed'), + (SMILNS,'type'), + (SMILNS,'subtype'), + (SMILNS,'direction'), + (SMILNS,'fadeColor'), + (PRESENTATIONNS,'duration'), + (PRESENTATIONNS,'visibility'), + (DRAWNS,'background-size'), + (PRESENTATIONNS,'background-objects-visible'), + (PRESENTATIONNS,'background-visible'), + (PRESENTATIONNS,'display-header'), + (PRESENTATIONNS,'display-footer'), + (PRESENTATIONNS,'display-page-number'), + (PRESENTATIONNS,'display-date-time'), + ), + (STYLENS,'drop-cap'):( + (STYLENS,'distance'), + (STYLENS,'length'), + (STYLENS,'style-name'), + (STYLENS,'lines'), ), # allowed_attributes - (STYLENS,u'font-face'):( - (STYLENS,u'font-adornments'), - (STYLENS,u'font-charset'), - (STYLENS,u'font-family-generic'), - (STYLENS,u'font-pitch'), - (STYLENS,u'name'), - (SVGNS,u'accent-height'), - (SVGNS,u'alphabetic'), - (SVGNS,u'ascent'), - (SVGNS,u'bbox'), - (SVGNS,u'cap-height'), - (SVGNS,u'descent'), - (SVGNS,u'font-family'), - (SVGNS,u'font-size'), - (SVGNS,u'font-stretch'), - (SVGNS,u'font-style'), - (SVGNS,u'font-variant'), - (SVGNS,u'font-weight'), - (SVGNS,u'hanging'), - (SVGNS,u'ideographic'), - (SVGNS,u'mathematical'), - (SVGNS,u'overline-position'), - (SVGNS,u'overline-thickness'), - (SVGNS,u'panose-1'), - (SVGNS,u'slope'), - (SVGNS,u'stemh'), - (SVGNS,u'stemv'), - (SVGNS,u'strikethrough-position'), - (SVGNS,u'strikethrough-thickness'), - (SVGNS,u'underline-position'), - (SVGNS,u'underline-thickness'), - (SVGNS,u'unicode-range'), - (SVGNS,u'units-per-em'), - (SVGNS,u'v-alphabetic'), - (SVGNS,u'v-hanging'), - (SVGNS,u'v-ideographic'), - (SVGNS,u'v-mathematical'), - (SVGNS,u'widths'), - (SVGNS,u'x-height'), - ), - (STYLENS,u'footer'):( - (STYLENS,u'display'), - ), - (STYLENS,u'footer-left'):( - (STYLENS,u'display'), - ), - (STYLENS,u'footer-style'):( - ), - (STYLENS,u'footnote-sep'):( - (STYLENS,u'distance-after-sep'), - (STYLENS,u'color'), - (STYLENS,u'rel-width'), - (STYLENS,u'width'), - (STYLENS,u'distance-before-sep'), - (STYLENS,u'line-style'), - (STYLENS,u'adjustment'), + (STYLENS,'font-face'):( + (STYLENS,'font-adornments'), + (STYLENS,'font-charset'), + (STYLENS,'font-family-generic'), + (STYLENS,'font-pitch'), + (STYLENS,'name'), + (SVGNS,'accent-height'), + (SVGNS,'alphabetic'), + (SVGNS,'ascent'), + (SVGNS,'bbox'), + (SVGNS,'cap-height'), + (SVGNS,'descent'), + (SVGNS,'font-family'), + (SVGNS,'font-size'), + (SVGNS,'font-stretch'), + (SVGNS,'font-style'), + (SVGNS,'font-variant'), + (SVGNS,'font-weight'), + (SVGNS,'hanging'), + (SVGNS,'ideographic'), + (SVGNS,'mathematical'), + (SVGNS,'overline-position'), + (SVGNS,'overline-thickness'), + (SVGNS,'panose-1'), + (SVGNS,'slope'), + (SVGNS,'stemh'), + (SVGNS,'stemv'), + (SVGNS,'strikethrough-position'), + (SVGNS,'strikethrough-thickness'), + (SVGNS,'underline-position'), + (SVGNS,'underline-thickness'), + (SVGNS,'unicode-range'), + (SVGNS,'units-per-em'), + (SVGNS,'v-alphabetic'), + (SVGNS,'v-hanging'), + (SVGNS,'v-ideographic'), + (SVGNS,'v-mathematical'), + (SVGNS,'widths'), + (SVGNS,'x-height'), + ), + (STYLENS,'footer'):( + (STYLENS,'display'), + ), + (STYLENS,'footer-left'):( + (STYLENS,'display'), + ), + (STYLENS,'footer-style'):( + ), + (STYLENS,'footnote-sep'):( + (STYLENS,'distance-after-sep'), + (STYLENS,'color'), + (STYLENS,'rel-width'), + (STYLENS,'width'), + (STYLENS,'distance-before-sep'), + (STYLENS,'line-style'), + (STYLENS,'adjustment'), ), # allowed_attributes - (STYLENS,u'graphic-properties'): ( - (DR3DNS,u'ambient-color'), - (DR3DNS,u'back-scale'), - (DR3DNS,u'backface-culling'), - (DR3DNS,u'close-back'), - (DR3DNS,u'close-front'), - (DR3DNS,u'depth'), - (DR3DNS,u'diffuse-color'), - (DR3DNS,u'edge-rounding'), - (DR3DNS,u'edge-rounding-mode'), - (DR3DNS,u'emissive-color'), - (DR3DNS,u'end-angle'), - (DR3DNS,u'horizontal-segments'), - (DR3DNS,u'lighting-mode'), - (DR3DNS,u'normals-direction'), - (DR3DNS,u'normals-kind'), - (DR3DNS,u'shadow'), - (DR3DNS,u'shininess'), - (DR3DNS,u'specular-color'), - (DR3DNS,u'texture-filter'), - (DR3DNS,u'texture-generation-mode-x'), - (DR3DNS,u'texture-generation-mode-y'), - (DR3DNS,u'texture-kind'), - (DR3DNS,u'texture-mode'), - (DR3DNS,u'vertical-segments'), - (DRAWNS,u'auto-grow-height'), - (DRAWNS,u'auto-grow-width'), - (DRAWNS,u'blue'), - (DRAWNS,u'caption-angle'), - (DRAWNS,u'caption-angle-type'), - (DRAWNS,u'caption-escape'), - (DRAWNS,u'caption-escape-direction'), - (DRAWNS,u'caption-fit-line-length'), - (DRAWNS,u'caption-gap'), - (DRAWNS,u'caption-line-length'), - (DRAWNS,u'caption-type'), - (DRAWNS,u'color-inversion'), - (DRAWNS,u'color-mode'), - (DRAWNS,u'contrast'), - (DRAWNS,u'decimal-places'), - (DRAWNS,u'end-guide'), - (DRAWNS,u'end-line-spacing-horizontal'), - (DRAWNS,u'end-line-spacing-vertical'), - (DRAWNS,u'fill'), - (DRAWNS,u'fill-color'), - (DRAWNS,u'fill-gradient-name'), - (DRAWNS,u'fill-hatch-name'), - (DRAWNS,u'fill-hatch-solid'), - (DRAWNS,u'fill-image-height'), - (DRAWNS,u'fill-image-name'), - (DRAWNS,u'fill-image-ref-point'), - (DRAWNS,u'fill-image-ref-point-x'), - (DRAWNS,u'fill-image-ref-point-y'), - (DRAWNS,u'fill-image-width'), + (STYLENS,'graphic-properties'): ( + (DR3DNS,'ambient-color'), + (DR3DNS,'back-scale'), + (DR3DNS,'backface-culling'), + (DR3DNS,'close-back'), + (DR3DNS,'close-front'), + (DR3DNS,'depth'), + (DR3DNS,'diffuse-color'), + (DR3DNS,'edge-rounding'), + (DR3DNS,'edge-rounding-mode'), + (DR3DNS,'emissive-color'), + (DR3DNS,'end-angle'), + (DR3DNS,'horizontal-segments'), + (DR3DNS,'lighting-mode'), + (DR3DNS,'normals-direction'), + (DR3DNS,'normals-kind'), + (DR3DNS,'shadow'), + (DR3DNS,'shininess'), + (DR3DNS,'specular-color'), + (DR3DNS,'texture-filter'), + (DR3DNS,'texture-generation-mode-x'), + (DR3DNS,'texture-generation-mode-y'), + (DR3DNS,'texture-kind'), + (DR3DNS,'texture-mode'), + (DR3DNS,'vertical-segments'), + (DRAWNS,'auto-grow-height'), + (DRAWNS,'auto-grow-width'), + (DRAWNS,'blue'), + (DRAWNS,'caption-angle'), + (DRAWNS,'caption-angle-type'), + (DRAWNS,'caption-escape'), + (DRAWNS,'caption-escape-direction'), + (DRAWNS,'caption-fit-line-length'), + (DRAWNS,'caption-gap'), + (DRAWNS,'caption-line-length'), + (DRAWNS,'caption-type'), + (DRAWNS,'color-inversion'), + (DRAWNS,'color-mode'), + (DRAWNS,'contrast'), + (DRAWNS,'decimal-places'), + (DRAWNS,'end-guide'), + (DRAWNS,'end-line-spacing-horizontal'), + (DRAWNS,'end-line-spacing-vertical'), + (DRAWNS,'fill'), + (DRAWNS,'fill-color'), + (DRAWNS,'fill-gradient-name'), + (DRAWNS,'fill-hatch-name'), + (DRAWNS,'fill-hatch-solid'), + (DRAWNS,'fill-image-height'), + (DRAWNS,'fill-image-name'), + (DRAWNS,'fill-image-ref-point'), + (DRAWNS,'fill-image-ref-point-x'), + (DRAWNS,'fill-image-ref-point-y'), + (DRAWNS,'fill-image-width'), # allowed_attributes - (DRAWNS,u'fit-to-contour'), - (DRAWNS,u'fit-to-size'), - (DRAWNS,u'frame-display-border'), - (DRAWNS,u'frame-display-scrollbar'), - (DRAWNS,u'frame-margin-horizontal'), - (DRAWNS,u'frame-margin-vertical'), - (DRAWNS,u'gamma'), - (DRAWNS,u'gradient-step-count'), - (DRAWNS,u'green'), - (DRAWNS,u'guide-distance'), - (DRAWNS,u'guide-overhang'), - (DRAWNS,u'image-opacity'), - (DRAWNS,u'line-distance'), - (DRAWNS,u'luminance'), - (DRAWNS,u'marker-end'), - (DRAWNS,u'marker-end-center'), - (DRAWNS,u'marker-end-width'), - (DRAWNS,u'marker-start'), - (DRAWNS,u'marker-start-center'), - (DRAWNS,u'marker-start-width'), - (DRAWNS,u'measure-align'), - (DRAWNS,u'measure-vertical-align'), - (DRAWNS,u'ole-draw-aspect'), - (DRAWNS,u'opacity'), - (DRAWNS,u'opacity-name'), - (DRAWNS,u'parallel'), - (DRAWNS,u'placing'), - (DRAWNS,u'red'), - (DRAWNS,u'secondary-fill-color'), - (DRAWNS,u'shadow'), - (DRAWNS,u'shadow-color'), - (DRAWNS,u'shadow-offset-x'), - (DRAWNS,u'shadow-offset-y'), - (DRAWNS,u'shadow-opacity'), - (DRAWNS,u'show-unit'), - (DRAWNS,u'start-guide'), - (DRAWNS,u'start-line-spacing-horizontal'), - (DRAWNS,u'start-line-spacing-vertical'), - (DRAWNS,u'stroke'), - (DRAWNS,u'stroke-dash'), - (DRAWNS,u'stroke-dash-names'), - (DRAWNS,u'stroke-linejoin'), - (DRAWNS,u'symbol-color'), - (DRAWNS,u'textarea-horizontal-align'), - (DRAWNS,u'textarea-vertical-align'), - (DRAWNS,u'tile-repeat-offset'), - (DRAWNS,u'unit'), - (DRAWNS,u'visible-area-height'), - (DRAWNS,u'visible-area-left'), - (DRAWNS,u'visible-area-top'), - (DRAWNS,u'visible-area-width'), - (DRAWNS,u'wrap-influence-on-position'), + (DRAWNS,'fit-to-contour'), + (DRAWNS,'fit-to-size'), + (DRAWNS,'frame-display-border'), + (DRAWNS,'frame-display-scrollbar'), + (DRAWNS,'frame-margin-horizontal'), + (DRAWNS,'frame-margin-vertical'), + (DRAWNS,'gamma'), + (DRAWNS,'gradient-step-count'), + (DRAWNS,'green'), + (DRAWNS,'guide-distance'), + (DRAWNS,'guide-overhang'), + (DRAWNS,'image-opacity'), + (DRAWNS,'line-distance'), + (DRAWNS,'luminance'), + (DRAWNS,'marker-end'), + (DRAWNS,'marker-end-center'), + (DRAWNS,'marker-end-width'), + (DRAWNS,'marker-start'), + (DRAWNS,'marker-start-center'), + (DRAWNS,'marker-start-width'), + (DRAWNS,'measure-align'), + (DRAWNS,'measure-vertical-align'), + (DRAWNS,'ole-draw-aspect'), + (DRAWNS,'opacity'), + (DRAWNS,'opacity-name'), + (DRAWNS,'parallel'), + (DRAWNS,'placing'), + (DRAWNS,'red'), + (DRAWNS,'secondary-fill-color'), + (DRAWNS,'shadow'), + (DRAWNS,'shadow-color'), + (DRAWNS,'shadow-offset-x'), + (DRAWNS,'shadow-offset-y'), + (DRAWNS,'shadow-opacity'), + (DRAWNS,'show-unit'), + (DRAWNS,'start-guide'), + (DRAWNS,'start-line-spacing-horizontal'), + (DRAWNS,'start-line-spacing-vertical'), + (DRAWNS,'stroke'), + (DRAWNS,'stroke-dash'), + (DRAWNS,'stroke-dash-names'), + (DRAWNS,'stroke-linejoin'), + (DRAWNS,'symbol-color'), + (DRAWNS,'textarea-horizontal-align'), + (DRAWNS,'textarea-vertical-align'), + (DRAWNS,'tile-repeat-offset'), + (DRAWNS,'unit'), + (DRAWNS,'visible-area-height'), + (DRAWNS,'visible-area-left'), + (DRAWNS,'visible-area-top'), + (DRAWNS,'visible-area-width'), + (DRAWNS,'wrap-influence-on-position'), # allowed_attributes - (FONS,u'background-color'), - (FONS,u'border'), - (FONS,u'border-bottom'), - (FONS,u'border-left'), - (FONS,u'border-right'), - (FONS,u'border-top'), - (FONS,u'clip'), - (FONS,u'margin'), - (FONS,u'margin-bottom'), - (FONS,u'margin-left'), - (FONS,u'margin-right'), - (FONS,u'margin-top'), - (FONS,u'max-height'), - (FONS,u'max-width'), - (FONS,u'min-height'), - (FONS,u'min-width'), - (FONS,u'padding'), - (FONS,u'padding-bottom'), - (FONS,u'padding-left'), - (FONS,u'padding-right'), - (FONS,u'padding-top'), - (FONS,u'wrap-option'), - (STYLENS,u'border-line-width'), - (STYLENS,u'border-line-width-bottom'), - (STYLENS,u'border-line-width-left'), - (STYLENS,u'border-line-width-right'), - (STYLENS,u'border-line-width-top'), - (STYLENS,u'editable'), - (STYLENS,u'flow-with-text'), - (STYLENS,u'horizontal-pos'), - (STYLENS,u'horizontal-rel'), - (STYLENS,u'mirror'), - (STYLENS,u'number-wrapped-paragraphs'), - (STYLENS,u'overflow-behavior'), - (STYLENS,u'print-content'), - (STYLENS,u'protect'), - (STYLENS,u'rel-height'), - (STYLENS,u'rel-width'), - (STYLENS,u'repeat'), - (STYLENS,u'run-through'), - (STYLENS,u'shadow'), - (STYLENS,u'vertical-pos'), - (STYLENS,u'vertical-rel'), - (STYLENS,u'wrap'), - (STYLENS,u'wrap-contour'), - (STYLENS,u'wrap-contour-mode'), - (STYLENS,u'wrap-dynamic-threshold'), - (STYLENS,u'writing-mode'), - (SVGNS,u'fill-rule'), - (SVGNS,u'height'), - (SVGNS,u'stroke-color'), - (SVGNS,u'stroke-opacity'), - (SVGNS,u'stroke-width'), - (SVGNS,u'width'), - (SVGNS,u'x'), - (SVGNS,u'y'), - (TEXTNS,u'anchor-page-number'), - (TEXTNS,u'anchor-type'), - (TEXTNS,u'animation'), - (TEXTNS,u'animation-delay'), - (TEXTNS,u'animation-direction'), - (TEXTNS,u'animation-repeat'), - (TEXTNS,u'animation-start-inside'), - (TEXTNS,u'animation-steps'), - (TEXTNS,u'animation-stop-inside'), - ), - (STYLENS,u'handout-master'):( - (PRESENTATIONNS,u'presentation-page-layout-name'), - (STYLENS,u'page-layout-name'), - (PRESENTATIONNS,u'use-footer-name'), - (DRAWNS,u'style-name'), - (PRESENTATIONNS,u'use-header-name'), - (PRESENTATIONNS,u'use-date-time-name'), + (FONS,'background-color'), + (FONS,'border'), + (FONS,'border-bottom'), + (FONS,'border-left'), + (FONS,'border-right'), + (FONS,'border-top'), + (FONS,'clip'), + (FONS,'margin'), + (FONS,'margin-bottom'), + (FONS,'margin-left'), + (FONS,'margin-right'), + (FONS,'margin-top'), + (FONS,'max-height'), + (FONS,'max-width'), + (FONS,'min-height'), + (FONS,'min-width'), + (FONS,'padding'), + (FONS,'padding-bottom'), + (FONS,'padding-left'), + (FONS,'padding-right'), + (FONS,'padding-top'), + (FONS,'wrap-option'), + (STYLENS,'border-line-width'), + (STYLENS,'border-line-width-bottom'), + (STYLENS,'border-line-width-left'), + (STYLENS,'border-line-width-right'), + (STYLENS,'border-line-width-top'), + (STYLENS,'editable'), + (STYLENS,'flow-with-text'), + (STYLENS,'horizontal-pos'), + (STYLENS,'horizontal-rel'), + (STYLENS,'mirror'), + (STYLENS,'number-wrapped-paragraphs'), + (STYLENS,'overflow-behavior'), + (STYLENS,'print-content'), + (STYLENS,'protect'), + (STYLENS,'rel-height'), + (STYLENS,'rel-width'), + (STYLENS,'repeat'), + (STYLENS,'run-through'), + (STYLENS,'shadow'), + (STYLENS,'vertical-pos'), + (STYLENS,'vertical-rel'), + (STYLENS,'wrap'), + (STYLENS,'wrap-contour'), + (STYLENS,'wrap-contour-mode'), + (STYLENS,'wrap-dynamic-threshold'), + (STYLENS,'writing-mode'), + (SVGNS,'fill-rule'), + (SVGNS,'height'), + (SVGNS,'stroke-color'), + (SVGNS,'stroke-opacity'), + (SVGNS,'stroke-width'), + (SVGNS,'width'), + (SVGNS,'x'), + (SVGNS,'y'), + (TEXTNS,'anchor-page-number'), + (TEXTNS,'anchor-type'), + (TEXTNS,'animation'), + (TEXTNS,'animation-delay'), + (TEXTNS,'animation-direction'), + (TEXTNS,'animation-repeat'), + (TEXTNS,'animation-start-inside'), + (TEXTNS,'animation-steps'), + (TEXTNS,'animation-stop-inside'), + ), + (STYLENS,'handout-master'):( + (PRESENTATIONNS,'presentation-page-layout-name'), + (STYLENS,'page-layout-name'), + (PRESENTATIONNS,'use-footer-name'), + (DRAWNS,'style-name'), + (PRESENTATIONNS,'use-header-name'), + (PRESENTATIONNS,'use-date-time-name'), ), # allowed_attributes - (STYLENS,u'header'):( - (STYLENS,u'display'), - ), - (STYLENS,u'header-footer-properties'): ( - (FONS,u'background-color'), - (FONS,u'border'), - (FONS,u'border-bottom'), - (FONS,u'border-left'), - (FONS,u'border-right'), - (FONS,u'border-top'), - (FONS,u'margin'), - (FONS,u'margin-bottom'), - (FONS,u'margin-left'), - (FONS,u'margin-right'), - (FONS,u'margin-top'), - (FONS,u'min-height'), - (FONS,u'padding'), - (FONS,u'padding-bottom'), - (FONS,u'padding-left'), - (FONS,u'padding-right'), - (FONS,u'padding-top'), - (STYLENS,u'border-line-width'), - (STYLENS,u'border-line-width-bottom'), - (STYLENS,u'border-line-width-left'), - (STYLENS,u'border-line-width-right'), - (STYLENS,u'border-line-width-top'), - (STYLENS,u'dynamic-spacing'), - (STYLENS,u'shadow'), - (SVGNS,u'height'), - ), - (STYLENS,u'header-left'):( - (STYLENS,u'display'), - ), - (STYLENS,u'header-style'):( + (STYLENS,'header'):( + (STYLENS,'display'), + ), + (STYLENS,'header-footer-properties'): ( + (FONS,'background-color'), + (FONS,'border'), + (FONS,'border-bottom'), + (FONS,'border-left'), + (FONS,'border-right'), + (FONS,'border-top'), + (FONS,'margin'), + (FONS,'margin-bottom'), + (FONS,'margin-left'), + (FONS,'margin-right'), + (FONS,'margin-top'), + (FONS,'min-height'), + (FONS,'padding'), + (FONS,'padding-bottom'), + (FONS,'padding-left'), + (FONS,'padding-right'), + (FONS,'padding-top'), + (STYLENS,'border-line-width'), + (STYLENS,'border-line-width-bottom'), + (STYLENS,'border-line-width-left'), + (STYLENS,'border-line-width-right'), + (STYLENS,'border-line-width-top'), + (STYLENS,'dynamic-spacing'), + (STYLENS,'shadow'), + (SVGNS,'height'), + ), + (STYLENS,'header-left'):( + (STYLENS,'display'), + ), + (STYLENS,'header-style'):( ), # allowed_attributes - (STYLENS,u'list-level-properties'): ( - (FONS,u'height'), - (FONS,u'text-align'), - (FONS,u'width'), - (STYLENS,u'font-name'), - (STYLENS,u'vertical-pos'), - (STYLENS,u'vertical-rel'), - (SVGNS,u'y'), - (TEXTNS,u'min-label-distance'), - (TEXTNS,u'min-label-width'), - (TEXTNS,u'space-before'), - ), - (STYLENS,u'map'):( - (STYLENS,u'apply-style-name'), - (STYLENS,u'base-cell-address'), - (STYLENS,u'condition'), - ), - (STYLENS,u'master-page'):( - (STYLENS,u'page-layout-name'), - (STYLENS,u'display-name'), - (DRAWNS,u'style-name'), - (STYLENS,u'name'), - (STYLENS,u'next-style-name'), - ), - (STYLENS,u'page-layout'):( - (STYLENS,u'name'), - (STYLENS,u'page-usage'), + (STYLENS,'list-level-properties'): ( + (FONS,'height'), + (FONS,'text-align'), + (FONS,'width'), + (STYLENS,'font-name'), + (STYLENS,'vertical-pos'), + (STYLENS,'vertical-rel'), + (SVGNS,'y'), + (TEXTNS,'min-label-distance'), + (TEXTNS,'min-label-width'), + (TEXTNS,'space-before'), + ), + (STYLENS,'map'):( + (STYLENS,'apply-style-name'), + (STYLENS,'base-cell-address'), + (STYLENS,'condition'), + ), + (STYLENS,'master-page'):( + (STYLENS,'page-layout-name'), + (STYLENS,'display-name'), + (DRAWNS,'style-name'), + (STYLENS,'name'), + (STYLENS,'next-style-name'), + ), + (STYLENS,'page-layout'):( + (STYLENS,'name'), + (STYLENS,'page-usage'), ), # allowed_attributes - (STYLENS,u'page-layout-properties'): ( - (FONS,u'background-color'), - (FONS,u'border'), - (FONS,u'border-bottom'), - (FONS,u'border-left'), - (FONS,u'border-right'), - (FONS,u'border-top'), - (FONS,u'margin'), - (FONS,u'margin-bottom'), - (FONS,u'margin-left'), - (FONS,u'margin-right'), - (FONS,u'margin-top'), - (FONS,u'padding'), - (FONS,u'padding-bottom'), - (FONS,u'padding-left'), - (FONS,u'padding-right'), - (FONS,u'padding-top'), - (FONS,u'page-height'), - (FONS,u'page-width'), - (STYLENS,u'border-line-width'), - (STYLENS,u'border-line-width-bottom'), - (STYLENS,u'border-line-width-left'), - (STYLENS,u'border-line-width-right'), - (STYLENS,u'border-line-width-top'), - (STYLENS,u'first-page-number'), - (STYLENS,u'footnote-max-height'), - (STYLENS,u'layout-grid-base-height'), - (STYLENS,u'layout-grid-color'), - (STYLENS,u'layout-grid-display'), - (STYLENS,u'layout-grid-lines'), - (STYLENS,u'layout-grid-mode'), - (STYLENS,u'layout-grid-print'), - (STYLENS,u'layout-grid-ruby-below'), - (STYLENS,u'layout-grid-ruby-height'), - (STYLENS,u'num-format'), - (STYLENS,u'num-letter-sync'), - (STYLENS,u'num-prefix'), - (STYLENS,u'num-suffix'), - (STYLENS,u'paper-tray-name'), - (STYLENS,u'print'), - (STYLENS,u'print-orientation'), - (STYLENS,u'print-page-order'), - (STYLENS,u'register-truth-ref-style-name'), - (STYLENS,u'scale-to'), - (STYLENS,u'scale-to-pages'), - (STYLENS,u'shadow'), - (STYLENS,u'table-centering'), - (STYLENS,u'writing-mode'), + (STYLENS,'page-layout-properties'): ( + (FONS,'background-color'), + (FONS,'border'), + (FONS,'border-bottom'), + (FONS,'border-left'), + (FONS,'border-right'), + (FONS,'border-top'), + (FONS,'margin'), + (FONS,'margin-bottom'), + (FONS,'margin-left'), + (FONS,'margin-right'), + (FONS,'margin-top'), + (FONS,'padding'), + (FONS,'padding-bottom'), + (FONS,'padding-left'), + (FONS,'padding-right'), + (FONS,'padding-top'), + (FONS,'page-height'), + (FONS,'page-width'), + (STYLENS,'border-line-width'), + (STYLENS,'border-line-width-bottom'), + (STYLENS,'border-line-width-left'), + (STYLENS,'border-line-width-right'), + (STYLENS,'border-line-width-top'), + (STYLENS,'first-page-number'), + (STYLENS,'footnote-max-height'), + (STYLENS,'layout-grid-base-height'), + (STYLENS,'layout-grid-color'), + (STYLENS,'layout-grid-display'), + (STYLENS,'layout-grid-lines'), + (STYLENS,'layout-grid-mode'), + (STYLENS,'layout-grid-print'), + (STYLENS,'layout-grid-ruby-below'), + (STYLENS,'layout-grid-ruby-height'), + (STYLENS,'num-format'), + (STYLENS,'num-letter-sync'), + (STYLENS,'num-prefix'), + (STYLENS,'num-suffix'), + (STYLENS,'paper-tray-name'), + (STYLENS,'print'), + (STYLENS,'print-orientation'), + (STYLENS,'print-page-order'), + (STYLENS,'register-truth-ref-style-name'), + (STYLENS,'scale-to'), + (STYLENS,'scale-to-pages'), + (STYLENS,'shadow'), + (STYLENS,'table-centering'), + (STYLENS,'writing-mode'), ), # allowed_attributes - (STYLENS,u'paragraph-properties'): ( - (FONS,u'background-color'), - (FONS,u'border'), - (FONS,u'border-bottom'), - (FONS,u'border-left'), - (FONS,u'border-right'), - (FONS,u'border-top'), - (FONS,u'break-after'), - (FONS,u'break-before'), - (FONS,u'hyphenation-keep'), - (FONS,u'hyphenation-ladder-count'), - (FONS,u'keep-together'), - (FONS,u'keep-with-next'), - (FONS,u'line-height'), - (FONS,u'margin'), - (FONS,u'margin-bottom'), - (FONS,u'margin-left'), - (FONS,u'margin-right'), - (FONS,u'margin-top'), - (FONS,u'orphans'), - (FONS,u'padding'), - (FONS,u'padding-bottom'), - (FONS,u'padding-left'), - (FONS,u'padding-right'), - (FONS,u'padding-top'), - (FONS,u'text-align'), - (FONS,u'text-align-last'), - (FONS,u'text-indent'), - (FONS,u'widows'), - (STYLENS,u'auto-text-indent'), - (STYLENS,u'background-transparency'), - (STYLENS,u'border-line-width'), - (STYLENS,u'border-line-width-bottom'), - (STYLENS,u'border-line-width-left'), - (STYLENS,u'border-line-width-right'), - (STYLENS,u'border-line-width-top'), - (STYLENS,u'font-independent-line-spacing'), - (STYLENS,u'justify-single-word'), - (STYLENS,u'line-break'), - (STYLENS,u'line-height-at-least'), - (STYLENS,u'line-spacing'), - (STYLENS,u'page-number'), - (STYLENS,u'punctuation-wrap'), - (STYLENS,u'register-true'), - (STYLENS,u'shadow'), - (STYLENS,u'snap-to-layout-grid'), - (STYLENS,u'tab-stop-distance'), - (STYLENS,u'text-autospace'), - (STYLENS,u'vertical-align'), - (STYLENS,u'writing-mode'), - (STYLENS,u'writing-mode-automatic'), - (TEXTNS,u'line-number'), - (TEXTNS,u'number-lines'), - ), - (STYLENS,u'presentation-page-layout'):( - (STYLENS,u'display-name'), - (STYLENS,u'name'), + (STYLENS,'paragraph-properties'): ( + (FONS,'background-color'), + (FONS,'border'), + (FONS,'border-bottom'), + (FONS,'border-left'), + (FONS,'border-right'), + (FONS,'border-top'), + (FONS,'break-after'), + (FONS,'break-before'), + (FONS,'hyphenation-keep'), + (FONS,'hyphenation-ladder-count'), + (FONS,'keep-together'), + (FONS,'keep-with-next'), + (FONS,'line-height'), + (FONS,'margin'), + (FONS,'margin-bottom'), + (FONS,'margin-left'), + (FONS,'margin-right'), + (FONS,'margin-top'), + (FONS,'orphans'), + (FONS,'padding'), + (FONS,'padding-bottom'), + (FONS,'padding-left'), + (FONS,'padding-right'), + (FONS,'padding-top'), + (FONS,'text-align'), + (FONS,'text-align-last'), + (FONS,'text-indent'), + (FONS,'widows'), + (STYLENS,'auto-text-indent'), + (STYLENS,'background-transparency'), + (STYLENS,'border-line-width'), + (STYLENS,'border-line-width-bottom'), + (STYLENS,'border-line-width-left'), + (STYLENS,'border-line-width-right'), + (STYLENS,'border-line-width-top'), + (STYLENS,'font-independent-line-spacing'), + (STYLENS,'justify-single-word'), + (STYLENS,'line-break'), + (STYLENS,'line-height-at-least'), + (STYLENS,'line-spacing'), + (STYLENS,'page-number'), + (STYLENS,'punctuation-wrap'), + (STYLENS,'register-true'), + (STYLENS,'shadow'), + (STYLENS,'snap-to-layout-grid'), + (STYLENS,'tab-stop-distance'), + (STYLENS,'text-autospace'), + (STYLENS,'vertical-align'), + (STYLENS,'writing-mode'), + (STYLENS,'writing-mode-automatic'), + (TEXTNS,'line-number'), + (TEXTNS,'number-lines'), + ), + (STYLENS,'presentation-page-layout'):( + (STYLENS,'display-name'), + (STYLENS,'name'), ), # allowed_attributes - (STYLENS,u'region-center'):( - ), - (STYLENS,u'region-left'):( - ), - (STYLENS,u'region-right'):( - ), - (STYLENS,u'ruby-properties'): ( - (STYLENS,u'ruby-position'), - (STYLENS,u'ruby-align'), - ), - (STYLENS,u'section-properties'): ( - (FONS,u'background-color'), - (FONS,u'margin-left'), - (FONS,u'margin-right'), - (STYLENS,u'protect'), - (STYLENS,u'writing-mode'), - (TEXTNS,u'dont-balance-text-columns'), - ), - (STYLENS,u'style'):( - (STYLENS,u'family'), - (STYLENS,u'list-style-name'), - (STYLENS,u'name'), - (STYLENS,u'auto-update'), - (STYLENS,u'default-outline-level'), - (STYLENS,u'class'), - (STYLENS,u'next-style-name'), - (STYLENS,u'data-style-name'), - (STYLENS,u'master-page-name'), - (STYLENS,u'display-name'), - (STYLENS,u'parent-style-name'), + (STYLENS,'region-center'):( + ), + (STYLENS,'region-left'):( + ), + (STYLENS,'region-right'):( + ), + (STYLENS,'ruby-properties'): ( + (STYLENS,'ruby-position'), + (STYLENS,'ruby-align'), + ), + (STYLENS,'section-properties'): ( + (FONS,'background-color'), + (FONS,'margin-left'), + (FONS,'margin-right'), + (STYLENS,'protect'), + (STYLENS,'writing-mode'), + (TEXTNS,'dont-balance-text-columns'), + ), + (STYLENS,'style'):( + (STYLENS,'family'), + (STYLENS,'list-style-name'), + (STYLENS,'name'), + (STYLENS,'auto-update'), + (STYLENS,'default-outline-level'), + (STYLENS,'class'), + (STYLENS,'next-style-name'), + (STYLENS,'data-style-name'), + (STYLENS,'master-page-name'), + (STYLENS,'display-name'), + (STYLENS,'parent-style-name'), ), # allowed_attributes - (STYLENS,u'tab-stop'):( - (STYLENS,u'leader-text-style'), - (STYLENS,u'leader-width'), - (STYLENS,u'leader-style'), - (STYLENS,u'char'), - (STYLENS,u'leader-color'), - (STYLENS,u'position'), - (STYLENS,u'leader-text'), - (STYLENS,u'type'), - (STYLENS,u'leader-type'), - ), - (STYLENS,u'tab-stops'):( - ), - (STYLENS,u'table-cell-properties'): ( - (FONS,u'background-color'), - (FONS,u'border'), - (FONS,u'border-bottom'), - (FONS,u'border-left'), - (FONS,u'border-right'), - (FONS,u'border-top'), - (FONS,u'padding'), - (FONS,u'padding-bottom'), - (FONS,u'padding-left'), - (FONS,u'padding-right'), - (FONS,u'padding-top'), - (FONS,u'wrap-option'), - (STYLENS,u'border-line-width'), - (STYLENS,u'border-line-width-bottom'), - (STYLENS,u'border-line-width-left'), - (STYLENS,u'border-line-width-right'), - (STYLENS,u'border-line-width-top'), - (STYLENS,u'cell-protect'), - (STYLENS,u'decimal-places'), - (STYLENS,u'diagonal-bl-tr'), - (STYLENS,u'diagonal-bl-tr-widths'), - (STYLENS,u'diagonal-tl-br'), - (STYLENS,u'diagonal-tl-br-widths'), - (STYLENS,u'direction'), - (STYLENS,u'glyph-orientation-vertical'), - (STYLENS,u'print-content'), - (STYLENS,u'repeat-content'), - (STYLENS,u'rotation-align'), - (STYLENS,u'rotation-angle'), - (STYLENS,u'shadow'), - (STYLENS,u'shrink-to-fit'), - (STYLENS,u'text-align-source'), - (STYLENS,u'vertical-align'), + (STYLENS,'tab-stop'):( + (STYLENS,'leader-text-style'), + (STYLENS,'leader-width'), + (STYLENS,'leader-style'), + (STYLENS,'char'), + (STYLENS,'leader-color'), + (STYLENS,'position'), + (STYLENS,'leader-text'), + (STYLENS,'type'), + (STYLENS,'leader-type'), + ), + (STYLENS,'tab-stops'):( + ), + (STYLENS,'table-cell-properties'): ( + (FONS,'background-color'), + (FONS,'border'), + (FONS,'border-bottom'), + (FONS,'border-left'), + (FONS,'border-right'), + (FONS,'border-top'), + (FONS,'padding'), + (FONS,'padding-bottom'), + (FONS,'padding-left'), + (FONS,'padding-right'), + (FONS,'padding-top'), + (FONS,'wrap-option'), + (STYLENS,'border-line-width'), + (STYLENS,'border-line-width-bottom'), + (STYLENS,'border-line-width-left'), + (STYLENS,'border-line-width-right'), + (STYLENS,'border-line-width-top'), + (STYLENS,'cell-protect'), + (STYLENS,'decimal-places'), + (STYLENS,'diagonal-bl-tr'), + (STYLENS,'diagonal-bl-tr-widths'), + (STYLENS,'diagonal-tl-br'), + (STYLENS,'diagonal-tl-br-widths'), + (STYLENS,'direction'), + (STYLENS,'glyph-orientation-vertical'), + (STYLENS,'print-content'), + (STYLENS,'repeat-content'), + (STYLENS,'rotation-align'), + (STYLENS,'rotation-angle'), + (STYLENS,'shadow'), + (STYLENS,'shrink-to-fit'), + (STYLENS,'text-align-source'), + (STYLENS,'vertical-align'), ), # allowed_attributes - (STYLENS,u'table-column-properties'): ( - (FONS,u'break-after'), - (FONS,u'break-before'), - (STYLENS,u'column-width'), - (STYLENS,u'rel-column-width'), - (STYLENS,u'use-optimal-column-width'), - ), - (STYLENS,u'table-properties'): ( - (FONS,u'background-color'), - (FONS,u'break-after'), - (FONS,u'break-before'), - (FONS,u'keep-with-next'), - (FONS,u'margin'), - (FONS,u'margin-bottom'), - (FONS,u'margin-left'), - (FONS,u'margin-right'), - (FONS,u'margin-top'), - (STYLENS,u'may-break-between-rows'), - (STYLENS,u'page-number'), - (STYLENS,u'rel-width'), - (STYLENS,u'shadow'), - (STYLENS,u'width'), - (STYLENS,u'writing-mode'), - (TABLENS,u'align'), - (TABLENS,u'border-model'), - (TABLENS,u'display'), - ), - (STYLENS,u'table-row-properties'): ( - (FONS,u'background-color'), - (FONS,u'break-after'), - (FONS,u'break-before'), - (FONS,u'keep-together'), - (STYLENS,u'min-row-height'), - (STYLENS,u'row-height'), - (STYLENS,u'use-optimal-row-height'), + (STYLENS,'table-column-properties'): ( + (FONS,'break-after'), + (FONS,'break-before'), + (STYLENS,'column-width'), + (STYLENS,'rel-column-width'), + (STYLENS,'use-optimal-column-width'), + ), + (STYLENS,'table-properties'): ( + (FONS,'background-color'), + (FONS,'break-after'), + (FONS,'break-before'), + (FONS,'keep-with-next'), + (FONS,'margin'), + (FONS,'margin-bottom'), + (FONS,'margin-left'), + (FONS,'margin-right'), + (FONS,'margin-top'), + (STYLENS,'may-break-between-rows'), + (STYLENS,'page-number'), + (STYLENS,'rel-width'), + (STYLENS,'shadow'), + (STYLENS,'width'), + (STYLENS,'writing-mode'), + (TABLENS,'align'), + (TABLENS,'border-model'), + (TABLENS,'display'), + ), + (STYLENS,'table-row-properties'): ( + (FONS,'background-color'), + (FONS,'break-after'), + (FONS,'break-before'), + (FONS,'keep-together'), + (STYLENS,'min-row-height'), + (STYLENS,'row-height'), + (STYLENS,'use-optimal-row-height'), ), # allowed_attributes - (STYLENS,u'text-properties'): ( - (FONS,u'background-color'), - (FONS,u'color'), - (FONS,u'country'), - (FONS,u'font-family'), - (FONS,u'font-size'), - (FONS,u'font-style'), - (FONS,u'font-variant'), - (FONS,u'font-weight'), - (FONS,u'hyphenate'), - (FONS,u'hyphenation-push-char-count'), - (FONS,u'hyphenation-remain-char-count'), - (FONS,u'language'), - (FONS,u'letter-spacing'), - (FONS,u'text-shadow'), - (FONS,u'text-transform'), - (STYLENS,u'country-asian'), - (STYLENS,u'country-complex'), - (STYLENS,u'font-charset'), - (STYLENS,u'font-charset-asian'), - (STYLENS,u'font-charset-complex'), - (STYLENS,u'font-family-asian'), - (STYLENS,u'font-family-complex'), - (STYLENS,u'font-family-generic'), - (STYLENS,u'font-family-generic-asian'), - (STYLENS,u'font-family-generic-complex'), - (STYLENS,u'font-name'), - (STYLENS,u'font-name-asian'), - (STYLENS,u'font-name-complex'), - (STYLENS,u'font-pitch'), - (STYLENS,u'font-pitch-asian'), - (STYLENS,u'font-pitch-complex'), - (STYLENS,u'font-relief'), - (STYLENS,u'font-size-asian'), - (STYLENS,u'font-size-complex'), - (STYLENS,u'font-size-rel'), - (STYLENS,u'font-size-rel-asian'), - (STYLENS,u'font-size-rel-complex'), - (STYLENS,u'font-style-asian'), - (STYLENS,u'font-style-complex'), - (STYLENS,u'font-style-name'), - (STYLENS,u'font-style-name-asian'), - (STYLENS,u'font-style-name-complex'), - (STYLENS,u'font-weight-asian'), - (STYLENS,u'font-weight-complex'), - (STYLENS,u'language-asian'), - (STYLENS,u'language-complex'), - (STYLENS,u'letter-kerning'), - (STYLENS,u'script-type'), - (STYLENS,u'text-blinking'), - (STYLENS,u'text-combine'), - (STYLENS,u'text-combine-end-char'), - (STYLENS,u'text-combine-start-char'), - (STYLENS,u'text-emphasize'), - (STYLENS,u'text-line-through-color'), - (STYLENS,u'text-line-through-mode'), - (STYLENS,u'text-line-through-style'), - (STYLENS,u'text-line-through-text'), - (STYLENS,u'text-line-through-text-style'), - (STYLENS,u'text-line-through-type'), - (STYLENS,u'text-line-through-width'), - (STYLENS,u'text-outline'), - (STYLENS,u'text-position'), - (STYLENS,u'text-rotation-angle'), - (STYLENS,u'text-rotation-scale'), - (STYLENS,u'text-scale'), - (STYLENS,u'text-underline-color'), - (STYLENS,u'text-underline-mode'), - (STYLENS,u'text-underline-style'), - (STYLENS,u'text-underline-type'), - (STYLENS,u'text-underline-width'), - (STYLENS,u'use-window-font-color'), - (TEXTNS,u'condition'), - (TEXTNS,u'display'), - ), - (SVGNS,u'definition-src'):( - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - ), - (SVGNS,u'desc'):( - ), - (SVGNS,u'font-face-format'):( - (SVGNS,u'string'), + (STYLENS,'text-properties'): ( + (FONS,'background-color'), + (FONS,'color'), + (FONS,'country'), + (FONS,'font-family'), + (FONS,'font-size'), + (FONS,'font-style'), + (FONS,'font-variant'), + (FONS,'font-weight'), + (FONS,'hyphenate'), + (FONS,'hyphenation-push-char-count'), + (FONS,'hyphenation-remain-char-count'), + (FONS,'language'), + (FONS,'letter-spacing'), + (FONS,'text-shadow'), + (FONS,'text-transform'), + (STYLENS,'country-asian'), + (STYLENS,'country-complex'), + (STYLENS,'font-charset'), + (STYLENS,'font-charset-asian'), + (STYLENS,'font-charset-complex'), + (STYLENS,'font-family-asian'), + (STYLENS,'font-family-complex'), + (STYLENS,'font-family-generic'), + (STYLENS,'font-family-generic-asian'), + (STYLENS,'font-family-generic-complex'), + (STYLENS,'font-name'), + (STYLENS,'font-name-asian'), + (STYLENS,'font-name-complex'), + (STYLENS,'font-pitch'), + (STYLENS,'font-pitch-asian'), + (STYLENS,'font-pitch-complex'), + (STYLENS,'font-relief'), + (STYLENS,'font-size-asian'), + (STYLENS,'font-size-complex'), + (STYLENS,'font-size-rel'), + (STYLENS,'font-size-rel-asian'), + (STYLENS,'font-size-rel-complex'), + (STYLENS,'font-style-asian'), + (STYLENS,'font-style-complex'), + (STYLENS,'font-style-name'), + (STYLENS,'font-style-name-asian'), + (STYLENS,'font-style-name-complex'), + (STYLENS,'font-weight-asian'), + (STYLENS,'font-weight-complex'), + (STYLENS,'language-asian'), + (STYLENS,'language-complex'), + (STYLENS,'letter-kerning'), + (STYLENS,'script-type'), + (STYLENS,'text-blinking'), + (STYLENS,'text-combine'), + (STYLENS,'text-combine-end-char'), + (STYLENS,'text-combine-start-char'), + (STYLENS,'text-emphasize'), + (STYLENS,'text-line-through-color'), + (STYLENS,'text-line-through-mode'), + (STYLENS,'text-line-through-style'), + (STYLENS,'text-line-through-text'), + (STYLENS,'text-line-through-text-style'), + (STYLENS,'text-line-through-type'), + (STYLENS,'text-line-through-width'), + (STYLENS,'text-outline'), + (STYLENS,'text-position'), + (STYLENS,'text-rotation-angle'), + (STYLENS,'text-rotation-scale'), + (STYLENS,'text-scale'), + (STYLENS,'text-underline-color'), + (STYLENS,'text-underline-mode'), + (STYLENS,'text-underline-style'), + (STYLENS,'text-underline-type'), + (STYLENS,'text-underline-width'), + (STYLENS,'use-window-font-color'), + (TEXTNS,'condition'), + (TEXTNS,'display'), + ), + (SVGNS,'definition-src'):( + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (XLINKNS,'type'), + ), + (SVGNS,'desc'):( + ), + (SVGNS,'font-face-format'):( + (SVGNS,'string'), ), # allowed_attributes - (SVGNS,u'font-face-name'):( - (SVGNS,u'name'), - ), - (SVGNS,u'font-face-src'):( - ), - (SVGNS,u'font-face-uri'):( - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - ), - (SVGNS,u'linearGradient'):( - (SVGNS,u'y2'), - (DRAWNS,u'name'), - (SVGNS,u'spreadMethod'), - (SVGNS,u'gradientUnits'), - (SVGNS,u'x2'), - (SVGNS,u'gradientTransform'), - (SVGNS,u'y1'), - (DRAWNS,u'display-name'), - (SVGNS,u'x1'), - ), - (SVGNS,u'radialGradient'):( - (DRAWNS,u'name'), - (SVGNS,u'fx'), - (SVGNS,u'fy'), - (SVGNS,u'spreadMethod'), - (SVGNS,u'gradientUnits'), - (SVGNS,u'cy'), - (SVGNS,u'cx'), - (SVGNS,u'gradientTransform'), - (DRAWNS,u'display-name'), - (SVGNS,u'r'), - ), - (SVGNS,u'stop'):( - (SVGNS,u'stop-color'), - (SVGNS,u'stop-opacity'), - (SVGNS,u'offset'), - ), - (SVGNS,u'title'):( + (SVGNS,'font-face-name'):( + (SVGNS,'name'), + ), + (SVGNS,'font-face-src'):( + ), + (SVGNS,'font-face-uri'):( + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (XLINKNS,'type'), + ), + (SVGNS,'linearGradient'):( + (SVGNS,'y2'), + (DRAWNS,'name'), + (SVGNS,'spreadMethod'), + (SVGNS,'gradientUnits'), + (SVGNS,'x2'), + (SVGNS,'gradientTransform'), + (SVGNS,'y1'), + (DRAWNS,'display-name'), + (SVGNS,'x1'), + ), + (SVGNS,'radialGradient'):( + (DRAWNS,'name'), + (SVGNS,'fx'), + (SVGNS,'fy'), + (SVGNS,'spreadMethod'), + (SVGNS,'gradientUnits'), + (SVGNS,'cy'), + (SVGNS,'cx'), + (SVGNS,'gradientTransform'), + (DRAWNS,'display-name'), + (SVGNS,'r'), + ), + (SVGNS,'stop'):( + (SVGNS,'stop-color'), + (SVGNS,'stop-opacity'), + (SVGNS,'offset'), + ), + (SVGNS,'title'):( ), # allowed_attributes - (TABLENS,u'body'):( - (TEXTNS,u'paragraph-style-name'), - (TEXTNS,u'style-name'), - ), - (TABLENS,u'calculation-settings'):( - (TABLENS,u'automatic-find-labels'), - (TABLENS,u'case-sensitive'), - (TABLENS,u'search-criteria-must-apply-to-whole-cell'), - (TABLENS,u'precision-as-shown'), - (TABLENS,u'use-regular-expressions'), - (TABLENS,u'null-year'), - ), - (TABLENS,u'cell-address'):( - (TABLENS,u'column'), - (TABLENS,u'table'), - (TABLENS,u'row'), - ), - (TABLENS,u'cell-content-change'):( - (TABLENS,u'id'), - (TABLENS,u'rejecting-change-id'), - (TABLENS,u'acceptance-state'), - ), - (TABLENS,u'cell-content-deletion'):( - (TABLENS,u'id'), - ), - (TABLENS,u'cell-range-source'):( - (TABLENS,u'last-row-spanned'), - (TABLENS,u'last-column-spanned'), - (TABLENS,u'name'), - (TABLENS,u'filter-options'), - (XLINKNS,u'actuate'), - (TABLENS,u'filter-name'), - (XLINKNS,u'href'), - (TABLENS,u'refresh-delay'), - (XLINKNS,u'type'), - ), - (TABLENS,u'change-deletion'):( - (TABLENS,u'id'), - ), - (TABLENS,u'change-track-table-cell'):( - (OFFICENS,u'string-value'), - (TABLENS,u'cell-address'), - (TABLENS,u'number-matrix-columns-spanned'), - (TABLENS,u'number-matrix-rows-spanned'), - (TABLENS,u'matrix-covered'), - (OFFICENS,u'value-type'), - (OFFICENS,u'boolean-value'), - (OFFICENS,u'currency'), - (OFFICENS,u'date-value'), - (OFFICENS,u'value'), - (TABLENS,u'formula'), - (OFFICENS,u'time-value'), - ), - (TABLENS,u'consolidation'):( - (TABLENS,u'function'), - (TABLENS,u'source-cell-range-addresses'), - (TABLENS,u'target-cell-address'), - (TABLENS,u'link-to-source-data'), - (TABLENS,u'use-labels'), - ), - (TABLENS,u'content-validation'):( - (TABLENS,u'base-cell-address'), - (TABLENS,u'display-list'), - (TABLENS,u'allow-empty-cell'), - (TABLENS,u'name'), - (TABLENS,u'condition'), - ), - (TABLENS,u'content-validations'):( + (TABLENS,'body'):( + (TEXTNS,'paragraph-style-name'), + (TEXTNS,'style-name'), + ), + (TABLENS,'calculation-settings'):( + (TABLENS,'automatic-find-labels'), + (TABLENS,'case-sensitive'), + (TABLENS,'search-criteria-must-apply-to-whole-cell'), + (TABLENS,'precision-as-shown'), + (TABLENS,'use-regular-expressions'), + (TABLENS,'null-year'), + ), + (TABLENS,'cell-address'):( + (TABLENS,'column'), + (TABLENS,'table'), + (TABLENS,'row'), + ), + (TABLENS,'cell-content-change'):( + (TABLENS,'id'), + (TABLENS,'rejecting-change-id'), + (TABLENS,'acceptance-state'), + ), + (TABLENS,'cell-content-deletion'):( + (TABLENS,'id'), + ), + (TABLENS,'cell-range-source'):( + (TABLENS,'last-row-spanned'), + (TABLENS,'last-column-spanned'), + (TABLENS,'name'), + (TABLENS,'filter-options'), + (XLINKNS,'actuate'), + (TABLENS,'filter-name'), + (XLINKNS,'href'), + (TABLENS,'refresh-delay'), + (XLINKNS,'type'), + ), + (TABLENS,'change-deletion'):( + (TABLENS,'id'), + ), + (TABLENS,'change-track-table-cell'):( + (OFFICENS,'string-value'), + (TABLENS,'cell-address'), + (TABLENS,'number-matrix-columns-spanned'), + (TABLENS,'number-matrix-rows-spanned'), + (TABLENS,'matrix-covered'), + (OFFICENS,'value-type'), + (OFFICENS,'boolean-value'), + (OFFICENS,'currency'), + (OFFICENS,'date-value'), + (OFFICENS,'value'), + (TABLENS,'formula'), + (OFFICENS,'time-value'), + ), + (TABLENS,'consolidation'):( + (TABLENS,'function'), + (TABLENS,'source-cell-range-addresses'), + (TABLENS,'target-cell-address'), + (TABLENS,'link-to-source-data'), + (TABLENS,'use-labels'), + ), + (TABLENS,'content-validation'):( + (TABLENS,'base-cell-address'), + (TABLENS,'display-list'), + (TABLENS,'allow-empty-cell'), + (TABLENS,'name'), + (TABLENS,'condition'), + ), + (TABLENS,'content-validations'):( ), # allowed_attributes - (TABLENS,u'covered-table-cell'):( - (TABLENS,u'protect'), - (OFFICENS,u'string-value'), - (OFFICENS,u'value'), - (OFFICENS,u'boolean-value'), - (OFFICENS,u'currency'), - (OFFICENS,u'date-value'), - (TABLENS,u'style-name'), - (TABLENS,u'content-validation-name'), - (OFFICENS,u'value-type'), - (TABLENS,u'number-columns-repeated'), - (TABLENS,u'formula'), - (OFFICENS,u'time-value'), - ), - (TABLENS,u'cut-offs'):( - ), - (TABLENS,u'data-pilot-display-info'):( - (TABLENS,u'member-count'), - (TABLENS,u'data-field'), - (TABLENS,u'enabled'), - (TABLENS,u'display-member-mode'), - ), - (TABLENS,u'data-pilot-field'):( - (TABLENS,u'selected-page'), - (TABLENS,u'function'), - (TABLENS,u'orientation'), - (TABLENS,u'used-hierarchy'), - (TABLENS,u'is-data-layout-field'), - (TABLENS,u'source-field-name'), - ), - (TABLENS,u'data-pilot-field-reference'):( - (TABLENS,u'member-name'), - (TABLENS,u'field-name'), - (TABLENS,u'member-type'), - (TABLENS,u'type'), + (TABLENS,'covered-table-cell'):( + (TABLENS,'protect'), + (OFFICENS,'string-value'), + (OFFICENS,'value'), + (OFFICENS,'boolean-value'), + (OFFICENS,'currency'), + (OFFICENS,'date-value'), + (TABLENS,'style-name'), + (TABLENS,'content-validation-name'), + (OFFICENS,'value-type'), + (TABLENS,'number-columns-repeated'), + (TABLENS,'formula'), + (OFFICENS,'time-value'), + ), + (TABLENS,'cut-offs'):( + ), + (TABLENS,'data-pilot-display-info'):( + (TABLENS,'member-count'), + (TABLENS,'data-field'), + (TABLENS,'enabled'), + (TABLENS,'display-member-mode'), + ), + (TABLENS,'data-pilot-field'):( + (TABLENS,'selected-page'), + (TABLENS,'function'), + (TABLENS,'orientation'), + (TABLENS,'used-hierarchy'), + (TABLENS,'is-data-layout-field'), + (TABLENS,'source-field-name'), + ), + (TABLENS,'data-pilot-field-reference'):( + (TABLENS,'member-name'), + (TABLENS,'field-name'), + (TABLENS,'member-type'), + (TABLENS,'type'), ), # allowed_attributes - (TABLENS,u'data-pilot-group'):( - (TABLENS,u'name'), - ), - (TABLENS,u'data-pilot-group-member'):( - (TABLENS,u'name'), - ), - (TABLENS,u'data-pilot-groups'):( - (TABLENS,u'date-end'), - (TABLENS,u'end'), - (TABLENS,u'start'), - (TABLENS,u'source-field-name'), - (TABLENS,u'step'), - (TABLENS,u'date-start'), - (TABLENS,u'grouped-by'), - ), - (TABLENS,u'data-pilot-layout-info'):( - (TABLENS,u'add-empty-lines'), - (TABLENS,u'layout-mode'), - ), - (TABLENS,u'data-pilot-level'):( - (TABLENS,u'show-empty'), + (TABLENS,'data-pilot-group'):( + (TABLENS,'name'), + ), + (TABLENS,'data-pilot-group-member'):( + (TABLENS,'name'), + ), + (TABLENS,'data-pilot-groups'):( + (TABLENS,'date-end'), + (TABLENS,'end'), + (TABLENS,'start'), + (TABLENS,'source-field-name'), + (TABLENS,'step'), + (TABLENS,'date-start'), + (TABLENS,'grouped-by'), + ), + (TABLENS,'data-pilot-layout-info'):( + (TABLENS,'add-empty-lines'), + (TABLENS,'layout-mode'), + ), + (TABLENS,'data-pilot-level'):( + (TABLENS,'show-empty'), ), # allowed_attributes - (TABLENS,u'data-pilot-member'):( - (TABLENS,u'show-details'), - (TABLENS,u'name'), - (TABLENS,u'display'), - ), - (TABLENS,u'data-pilot-members'):( - ), - (TABLENS,u'data-pilot-sort-info'):( - (TABLENS,u'data-field'), - (TABLENS,u'sort-mode'), - (TABLENS,u'order'), - ), - (TABLENS,u'data-pilot-subtotal'):( - (TABLENS,u'function'), - ), - (TABLENS,u'data-pilot-subtotals'):( - ), - (TABLENS,u'data-pilot-table'):( - (TABLENS,u'buttons'), - (TABLENS,u'application-data'), - (TABLENS,u'name'), - (TABLENS,u'drill-down-on-double-click'), - (TABLENS,u'target-range-address'), - (TABLENS,u'ignore-empty-rows'), - (TABLENS,u'identify-categories'), - (TABLENS,u'show-filter-button'), - (TABLENS,u'grand-total'), + (TABLENS,'data-pilot-member'):( + (TABLENS,'show-details'), + (TABLENS,'name'), + (TABLENS,'display'), + ), + (TABLENS,'data-pilot-members'):( + ), + (TABLENS,'data-pilot-sort-info'):( + (TABLENS,'data-field'), + (TABLENS,'sort-mode'), + (TABLENS,'order'), + ), + (TABLENS,'data-pilot-subtotal'):( + (TABLENS,'function'), + ), + (TABLENS,'data-pilot-subtotals'):( + ), + (TABLENS,'data-pilot-table'):( + (TABLENS,'buttons'), + (TABLENS,'application-data'), + (TABLENS,'name'), + (TABLENS,'drill-down-on-double-click'), + (TABLENS,'target-range-address'), + (TABLENS,'ignore-empty-rows'), + (TABLENS,'identify-categories'), + (TABLENS,'show-filter-button'), + (TABLENS,'grand-total'), ), # allowed_attributes - (TABLENS,u'data-pilot-tables'):( - ), - (TABLENS,u'database-range'):( - (TABLENS,u'orientation'), - (TABLENS,u'target-range-address'), - (TABLENS,u'contains-header'), - (TABLENS,u'on-update-keep-size'), - (TABLENS,u'name'), - (TABLENS,u'is-selection'), - (TABLENS,u'refresh-delay'), - (TABLENS,u'display-filter-buttons'), - (TABLENS,u'has-persistent-data'), - (TABLENS,u'on-update-keep-styles'), - ), - (TABLENS,u'database-ranges'):( - ), - (TABLENS,u'database-source-query'):( - (TABLENS,u'query-name'), - (TABLENS,u'database-name'), + (TABLENS,'data-pilot-tables'):( + ), + (TABLENS,'database-range'):( + (TABLENS,'orientation'), + (TABLENS,'target-range-address'), + (TABLENS,'contains-header'), + (TABLENS,'on-update-keep-size'), + (TABLENS,'name'), + (TABLENS,'is-selection'), + (TABLENS,'refresh-delay'), + (TABLENS,'display-filter-buttons'), + (TABLENS,'has-persistent-data'), + (TABLENS,'on-update-keep-styles'), + ), + (TABLENS,'database-ranges'):( + ), + (TABLENS,'database-source-query'):( + (TABLENS,'query-name'), + (TABLENS,'database-name'), ), # allowed_attributes - (TABLENS,u'database-source-sql'):( - (TABLENS,u'parse-sql-statement'), - (TABLENS,u'database-name'), - (TABLENS,u'sql-statement'), - ), - (TABLENS,u'database-source-table'):( - (TABLENS,u'database-table-name'), - (TABLENS,u'database-name'), - ), - (TABLENS,u'dde-link'):( - ), - (TABLENS,u'dde-links'):( - ), - (TABLENS,u'deletion'):( - (TABLENS,u'rejecting-change-id'), - (TABLENS,u'multi-deletion-spanned'), - (TABLENS,u'acceptance-state'), - (TABLENS,u'table'), - (TABLENS,u'position'), - (TABLENS,u'type'), - (TABLENS,u'id'), + (TABLENS,'database-source-sql'):( + (TABLENS,'parse-sql-statement'), + (TABLENS,'database-name'), + (TABLENS,'sql-statement'), + ), + (TABLENS,'database-source-table'):( + (TABLENS,'database-table-name'), + (TABLENS,'database-name'), + ), + (TABLENS,'dde-link'):( + ), + (TABLENS,'dde-links'):( + ), + (TABLENS,'deletion'):( + (TABLENS,'rejecting-change-id'), + (TABLENS,'multi-deletion-spanned'), + (TABLENS,'acceptance-state'), + (TABLENS,'table'), + (TABLENS,'position'), + (TABLENS,'type'), + (TABLENS,'id'), ), # allowed_attributes - (TABLENS,u'deletions'):( - ), - (TABLENS,u'dependencies'):( - ), - (TABLENS,u'dependency'):( - (TABLENS,u'id'), - ), - (TABLENS,u'detective'):( - ), - (TABLENS,u'error-macro'):( - (TABLENS,u'execute'), - ), - (TABLENS,u'error-message'):( - (TABLENS,u'display'), - (TABLENS,u'message-type'), - (TABLENS,u'title'), - ), - (TABLENS,u'even-columns'):( - (TEXTNS,u'paragraph-style-name'), - (TEXTNS,u'style-name'), - ), - (TABLENS,u'even-rows'):( - (TEXTNS,u'paragraph-style-name'), - (TEXTNS,u'style-name'), + (TABLENS,'deletions'):( + ), + (TABLENS,'dependencies'):( + ), + (TABLENS,'dependency'):( + (TABLENS,'id'), + ), + (TABLENS,'detective'):( + ), + (TABLENS,'error-macro'):( + (TABLENS,'execute'), + ), + (TABLENS,'error-message'):( + (TABLENS,'display'), + (TABLENS,'message-type'), + (TABLENS,'title'), + ), + (TABLENS,'even-columns'):( + (TEXTNS,'paragraph-style-name'), + (TEXTNS,'style-name'), + ), + (TABLENS,'even-rows'):( + (TEXTNS,'paragraph-style-name'), + (TEXTNS,'style-name'), ), # allowed_attributes - (TABLENS,u'filter'):( - (TABLENS,u'target-range-address'), - (TABLENS,u'display-duplicates'), - (TABLENS,u'condition-source-range-address'), - (TABLENS,u'condition-source'), - ), - (TABLENS,u'filter-and'):( - ), - (TABLENS,u'filter-condition'):( - (TABLENS,u'operator'), - (TABLENS,u'field-number'), - (TABLENS,u'data-type'), - (TABLENS,u'case-sensitive'), - (TABLENS,u'value'), - ), - (TABLENS,u'filter-or'):( - ), - (TABLENS,u'first-column'):( - (TEXTNS,u'paragraph-style-name'), - (TEXTNS,u'style-name'), - ), - (TABLENS,u'first-row'):( - (TEXTNS,u'paragraph-style-name'), - (TEXTNS,u'style-name'), + (TABLENS,'filter'):( + (TABLENS,'target-range-address'), + (TABLENS,'display-duplicates'), + (TABLENS,'condition-source-range-address'), + (TABLENS,'condition-source'), + ), + (TABLENS,'filter-and'):( + ), + (TABLENS,'filter-condition'):( + (TABLENS,'operator'), + (TABLENS,'field-number'), + (TABLENS,'data-type'), + (TABLENS,'case-sensitive'), + (TABLENS,'value'), + ), + (TABLENS,'filter-or'):( + ), + (TABLENS,'first-column'):( + (TEXTNS,'paragraph-style-name'), + (TEXTNS,'style-name'), + ), + (TABLENS,'first-row'):( + (TEXTNS,'paragraph-style-name'), + (TEXTNS,'style-name'), ), # allowed_attributes - (TABLENS,u'help-message'):( - (TABLENS,u'display'), - (TABLENS,u'title'), - ), - (TABLENS,u'highlighted-range'):( - (TABLENS,u'contains-error'), - (TABLENS,u'direction'), - (TABLENS,u'marked-invalid'), - (TABLENS,u'cell-range-address'), - ), - (TABLENS,u'insertion'):( - (TABLENS,u'count'), - (TABLENS,u'rejecting-change-id'), - (TABLENS,u'acceptance-state'), - (TABLENS,u'table'), - (TABLENS,u'position'), - (TABLENS,u'type'), - (TABLENS,u'id'), - ), - (TABLENS,u'insertion-cut-off'):( - (TABLENS,u'position'), - (TABLENS,u'id'), - ), - (TABLENS,u'iteration'):( - (TABLENS,u'status'), - (TABLENS,u'maximum-difference'), - (TABLENS,u'steps'), + (TABLENS,'help-message'):( + (TABLENS,'display'), + (TABLENS,'title'), + ), + (TABLENS,'highlighted-range'):( + (TABLENS,'contains-error'), + (TABLENS,'direction'), + (TABLENS,'marked-invalid'), + (TABLENS,'cell-range-address'), + ), + (TABLENS,'insertion'):( + (TABLENS,'count'), + (TABLENS,'rejecting-change-id'), + (TABLENS,'acceptance-state'), + (TABLENS,'table'), + (TABLENS,'position'), + (TABLENS,'type'), + (TABLENS,'id'), + ), + (TABLENS,'insertion-cut-off'):( + (TABLENS,'position'), + (TABLENS,'id'), + ), + (TABLENS,'iteration'):( + (TABLENS,'status'), + (TABLENS,'maximum-difference'), + (TABLENS,'steps'), ), # allowed_attributes - (TABLENS,u'label-range'):( - (TABLENS,u'label-cell-range-address'), - (TABLENS,u'data-cell-range-address'), - (TABLENS,u'orientation'), - ), - (TABLENS,u'label-ranges'):( - ), - (TABLENS,u'last-column'):( - (TEXTNS,u'paragraph-style-name'), - (TEXTNS,u'style-name'), - ), - (TABLENS,u'last-row'):( - (TEXTNS,u'paragraph-style-name'), - (TEXTNS,u'style-name'), - ), - (TABLENS,u'movement'):( - (TABLENS,u'id'), - (TABLENS,u'rejecting-change-id'), - (TABLENS,u'acceptance-state'), - ), - (TABLENS,u'movement-cut-off'):( - (TABLENS,u'position'), - (TABLENS,u'end-position'), - (TABLENS,u'start-position'), - ), - (TABLENS,u'named-expression'):( - (TABLENS,u'base-cell-address'), - (TABLENS,u'expression'), - (TABLENS,u'name'), - ), - (TABLENS,u'named-expressions'):( - ), - (TABLENS,u'named-range'):( - (TABLENS,u'range-usable-as'), - (TABLENS,u'base-cell-address'), - (TABLENS,u'name'), - (TABLENS,u'cell-range-address'), - ), - (TABLENS,u'null-date'):( - (TABLENS,u'date-value'), - (TABLENS,u'value-type'), - ), - (TABLENS,u'odd-columns'):( - (TEXTNS,u'paragraph-style-name'), - (TEXTNS,u'style-name'), - ), - (TABLENS,u'odd-rows'):( - (TEXTNS,u'paragraph-style-name'), - (TEXTNS,u'style-name'), - ), - (TABLENS,u'operation'):( - (TABLENS,u'index'), - (TABLENS,u'name'), - ), - (TABLENS,u'previous'):( - (TABLENS,u'id'), - ), - (TABLENS,u'scenario'):( - (TABLENS,u'comment'), - (TABLENS,u'border-color'), - (TABLENS,u'copy-back'), - (TABLENS,u'is-active'), - (TABLENS,u'protected'), - (TABLENS,u'copy-formulas'), - (TABLENS,u'copy-styles'), - (TABLENS,u'scenario-ranges'), - (TABLENS,u'display-border'), - ), - (TABLENS,u'shapes'):( - ), - (TABLENS,u'sort'):( - (TABLENS,u'case-sensitive'), - (TABLENS,u'algorithm'), - (TABLENS,u'target-range-address'), - (TABLENS,u'country'), - (TABLENS,u'language'), - (TABLENS,u'bind-styles-to-content'), - ), - (TABLENS,u'sort-by'):( - (TABLENS,u'field-number'), - (TABLENS,u'data-type'), - (TABLENS,u'order'), - ), - (TABLENS,u'sort-groups'):( - (TABLENS,u'data-type'), - (TABLENS,u'order'), - ), - (TABLENS,u'source-cell-range'):( - (TABLENS,u'cell-range-address'), - ), - (TABLENS,u'source-range-address'):( - (TABLENS,u'column'), - (TABLENS,u'end-column'), - (TABLENS,u'start-table'), - (TABLENS,u'end-row'), - (TABLENS,u'table'), - (TABLENS,u'start-row'), - (TABLENS,u'row'), - (TABLENS,u'end-table'), - (TABLENS,u'start-column'), + (TABLENS,'label-range'):( + (TABLENS,'label-cell-range-address'), + (TABLENS,'data-cell-range-address'), + (TABLENS,'orientation'), + ), + (TABLENS,'label-ranges'):( + ), + (TABLENS,'last-column'):( + (TEXTNS,'paragraph-style-name'), + (TEXTNS,'style-name'), + ), + (TABLENS,'last-row'):( + (TEXTNS,'paragraph-style-name'), + (TEXTNS,'style-name'), + ), + (TABLENS,'movement'):( + (TABLENS,'id'), + (TABLENS,'rejecting-change-id'), + (TABLENS,'acceptance-state'), + ), + (TABLENS,'movement-cut-off'):( + (TABLENS,'position'), + (TABLENS,'end-position'), + (TABLENS,'start-position'), + ), + (TABLENS,'named-expression'):( + (TABLENS,'base-cell-address'), + (TABLENS,'expression'), + (TABLENS,'name'), + ), + (TABLENS,'named-expressions'):( + ), + (TABLENS,'named-range'):( + (TABLENS,'range-usable-as'), + (TABLENS,'base-cell-address'), + (TABLENS,'name'), + (TABLENS,'cell-range-address'), + ), + (TABLENS,'null-date'):( + (TABLENS,'date-value'), + (TABLENS,'value-type'), + ), + (TABLENS,'odd-columns'):( + (TEXTNS,'paragraph-style-name'), + (TEXTNS,'style-name'), + ), + (TABLENS,'odd-rows'):( + (TEXTNS,'paragraph-style-name'), + (TEXTNS,'style-name'), + ), + (TABLENS,'operation'):( + (TABLENS,'index'), + (TABLENS,'name'), + ), + (TABLENS,'previous'):( + (TABLENS,'id'), + ), + (TABLENS,'scenario'):( + (TABLENS,'comment'), + (TABLENS,'border-color'), + (TABLENS,'copy-back'), + (TABLENS,'is-active'), + (TABLENS,'protected'), + (TABLENS,'copy-formulas'), + (TABLENS,'copy-styles'), + (TABLENS,'scenario-ranges'), + (TABLENS,'display-border'), + ), + (TABLENS,'shapes'):( + ), + (TABLENS,'sort'):( + (TABLENS,'case-sensitive'), + (TABLENS,'algorithm'), + (TABLENS,'target-range-address'), + (TABLENS,'country'), + (TABLENS,'language'), + (TABLENS,'bind-styles-to-content'), + ), + (TABLENS,'sort-by'):( + (TABLENS,'field-number'), + (TABLENS,'data-type'), + (TABLENS,'order'), + ), + (TABLENS,'sort-groups'):( + (TABLENS,'data-type'), + (TABLENS,'order'), + ), + (TABLENS,'source-cell-range'):( + (TABLENS,'cell-range-address'), + ), + (TABLENS,'source-range-address'):( + (TABLENS,'column'), + (TABLENS,'end-column'), + (TABLENS,'start-table'), + (TABLENS,'end-row'), + (TABLENS,'table'), + (TABLENS,'start-row'), + (TABLENS,'row'), + (TABLENS,'end-table'), + (TABLENS,'start-column'), ), # allowed_attributes - (TABLENS,u'source-service'):( - (TABLENS,u'user-name'), - (TABLENS,u'source-name'), - (TABLENS,u'password'), - (TABLENS,u'object-name'), - (TABLENS,u'name'), - ), - (TABLENS,u'subtotal-field'):( - (TABLENS,u'function'), - (TABLENS,u'field-number'), - ), - (TABLENS,u'subtotal-rule'):( - (TABLENS,u'group-by-field-number'), - ), - (TABLENS,u'subtotal-rules'):( - (TABLENS,u'bind-styles-to-content'), - (TABLENS,u'page-breaks-on-group-change'), - (TABLENS,u'case-sensitive'), - ), - (TABLENS,u'table'):( - (TABLENS,u'name'), - (TABLENS,u'is-sub-table'), - (TABLENS,u'style-name'), - (TABLENS,u'protected'), - (TABLENS,u'print-ranges'), - (TABLENS,u'print'), - (TABLENS,u'protection-key'), - ), - (TABLENS,u'table-cell'):( - (TABLENS,u'protect'), - (TABLENS,u'number-matrix-rows-spanned'), - (TABLENS,u'number-matrix-columns-spanned'), - (OFFICENS,u'string-value'), - (TABLENS,u'number-columns-spanned'), - (OFFICENS,u'value'), - (OFFICENS,u'boolean-value'), - (OFFICENS,u'currency'), - (OFFICENS,u'date-value'), - (TABLENS,u'style-name'), - (TABLENS,u'content-validation-name'), - (OFFICENS,u'value-type'), - (TABLENS,u'number-rows-spanned'), - (TABLENS,u'number-columns-repeated'), - (TABLENS,u'formula'), - (OFFICENS,u'time-value'), + (TABLENS,'source-service'):( + (TABLENS,'user-name'), + (TABLENS,'source-name'), + (TABLENS,'password'), + (TABLENS,'object-name'), + (TABLENS,'name'), + ), + (TABLENS,'subtotal-field'):( + (TABLENS,'function'), + (TABLENS,'field-number'), + ), + (TABLENS,'subtotal-rule'):( + (TABLENS,'group-by-field-number'), + ), + (TABLENS,'subtotal-rules'):( + (TABLENS,'bind-styles-to-content'), + (TABLENS,'page-breaks-on-group-change'), + (TABLENS,'case-sensitive'), + ), + (TABLENS,'table'):( + (TABLENS,'name'), + (TABLENS,'is-sub-table'), + (TABLENS,'style-name'), + (TABLENS,'protected'), + (TABLENS,'print-ranges'), + (TABLENS,'print'), + (TABLENS,'protection-key'), + ), + (TABLENS,'table-cell'):( + (TABLENS,'protect'), + (TABLENS,'number-matrix-rows-spanned'), + (TABLENS,'number-matrix-columns-spanned'), + (OFFICENS,'string-value'), + (TABLENS,'number-columns-spanned'), + (OFFICENS,'value'), + (OFFICENS,'boolean-value'), + (OFFICENS,'currency'), + (OFFICENS,'date-value'), + (TABLENS,'style-name'), + (TABLENS,'content-validation-name'), + (OFFICENS,'value-type'), + (TABLENS,'number-rows-spanned'), + (TABLENS,'number-columns-repeated'), + (TABLENS,'formula'), + (OFFICENS,'time-value'), ), # allowed_attributes - (TABLENS,u'table-column'):( - (TABLENS,u'style-name'), - (TABLENS,u'default-cell-style-name'), - (TABLENS,u'visibility'), - (TABLENS,u'number-columns-repeated'), - ), - (TABLENS,u'table-column-group'):( - (TABLENS,u'display'), - ), - (TABLENS,u'table-columns'):( - ), - (TABLENS,u'table-header-columns'):( - ), - (TABLENS,u'table-header-rows'):( - ), - (TABLENS,u'table-row'):( - (TABLENS,u'number-rows-repeated'), - (TABLENS,u'style-name'), - (TABLENS,u'visibility'), - (TABLENS,u'default-cell-style-name'), - ), - (TABLENS,u'table-row-group'):( - (TABLENS,u'display'), - ), - (TABLENS,u'table-rows'):( - ), - (TABLENS,u'table-source'):( - (TABLENS,u'filter-options'), - (XLINKNS,u'actuate'), - (TABLENS,u'filter-name'), - (XLINKNS,u'href'), - (TABLENS,u'mode'), - (TABLENS,u'table-name'), - (XLINKNS,u'type'), - (TABLENS,u'refresh-delay'), - ), - (TABLENS,u'table-template'):( - (TEXTNS,u'last-row-end-column'), - (TEXTNS,u'first-row-end-column'), - (TEXTNS,u'name'), - (TEXTNS,u'last-row-start-column'), - (TEXTNS,u'first-row-start-column'), - ), - (TABLENS,u'target-range-address'):( - (TABLENS,u'column'), - (TABLENS,u'end-column'), - (TABLENS,u'start-table'), - (TABLENS,u'end-row'), - (TABLENS,u'table'), - (TABLENS,u'start-row'), - (TABLENS,u'row'), - (TABLENS,u'end-table'), - (TABLENS,u'start-column'), - ), - (TABLENS,u'tracked-changes'):( - (TABLENS,u'track-changes'), + (TABLENS,'table-column'):( + (TABLENS,'style-name'), + (TABLENS,'default-cell-style-name'), + (TABLENS,'visibility'), + (TABLENS,'number-columns-repeated'), + ), + (TABLENS,'table-column-group'):( + (TABLENS,'display'), + ), + (TABLENS,'table-columns'):( + ), + (TABLENS,'table-header-columns'):( + ), + (TABLENS,'table-header-rows'):( + ), + (TABLENS,'table-row'):( + (TABLENS,'number-rows-repeated'), + (TABLENS,'style-name'), + (TABLENS,'visibility'), + (TABLENS,'default-cell-style-name'), + ), + (TABLENS,'table-row-group'):( + (TABLENS,'display'), + ), + (TABLENS,'table-rows'):( + ), + (TABLENS,'table-source'):( + (TABLENS,'filter-options'), + (XLINKNS,'actuate'), + (TABLENS,'filter-name'), + (XLINKNS,'href'), + (TABLENS,'mode'), + (TABLENS,'table-name'), + (XLINKNS,'type'), + (TABLENS,'refresh-delay'), + ), + (TABLENS,'table-template'):( + (TEXTNS,'last-row-end-column'), + (TEXTNS,'first-row-end-column'), + (TEXTNS,'name'), + (TEXTNS,'last-row-start-column'), + (TEXTNS,'first-row-start-column'), + ), + (TABLENS,'target-range-address'):( + (TABLENS,'column'), + (TABLENS,'end-column'), + (TABLENS,'start-table'), + (TABLENS,'end-row'), + (TABLENS,'table'), + (TABLENS,'start-row'), + (TABLENS,'row'), + (TABLENS,'end-table'), + (TABLENS,'start-column'), + ), + (TABLENS,'tracked-changes'):( + (TABLENS,'track-changes'), ), # allowed_attributes - (TEXTNS,u'a'):( - (TEXTNS,u'visited-style-name'), - (OFFICENS,u'name'), - (OFFICENS,u'title'), - (XLINKNS,u'show'), - (OFFICENS,u'target-frame-name'), - (XLINKNS,u'actuate'), - (TEXTNS,u'style-name'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - ), - (TEXTNS,u'alphabetical-index'):( - (TEXTNS,u'protected'), - (TEXTNS,u'style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'protection-key'), - ), - (TEXTNS,u'alphabetical-index-auto-mark-file'):( - (XLINKNS,u'href'), - (XLINKNS,u'type'), - ), - (TEXTNS,u'alphabetical-index-entry-template'):( - (TEXTNS,u'style-name'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'alphabetical-index-mark'):( - (TEXTNS,u'main-entry'), - (TEXTNS,u'key1-phonetic'), - (TEXTNS,u'key2'), - (TEXTNS,u'key1'), - (TEXTNS,u'string-value'), - (TEXTNS,u'key2-phonetic'), - (TEXTNS,u'string-value-phonetic'), + (TEXTNS,'a'):( + (TEXTNS,'visited-style-name'), + (OFFICENS,'name'), + (OFFICENS,'title'), + (XLINKNS,'show'), + (OFFICENS,'target-frame-name'), + (XLINKNS,'actuate'), + (TEXTNS,'style-name'), + (XLINKNS,'href'), + (XLINKNS,'type'), + ), + (TEXTNS,'alphabetical-index'):( + (TEXTNS,'protected'), + (TEXTNS,'style-name'), + (TEXTNS,'name'), + (TEXTNS,'protection-key'), + ), + (TEXTNS,'alphabetical-index-auto-mark-file'):( + (XLINKNS,'href'), + (XLINKNS,'type'), + ), + (TEXTNS,'alphabetical-index-entry-template'):( + (TEXTNS,'style-name'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'alphabetical-index-mark'):( + (TEXTNS,'main-entry'), + (TEXTNS,'key1-phonetic'), + (TEXTNS,'key2'), + (TEXTNS,'key1'), + (TEXTNS,'string-value'), + (TEXTNS,'key2-phonetic'), + (TEXTNS,'string-value-phonetic'), ), # allowed_attributes - (TEXTNS,u'alphabetical-index-mark-end'):( - (TEXTNS,u'id'), - ), - (TEXTNS,u'alphabetical-index-mark-start'):( - (TEXTNS,u'main-entry'), - (TEXTNS,u'key1-phonetic'), - (TEXTNS,u'key2'), - (TEXTNS,u'key1'), - (TEXTNS,u'string-value-phonetic'), - (TEXTNS,u'key2-phonetic'), - (TEXTNS,u'id'), - ), - (TEXTNS,u'alphabetical-index-source'):( - (TEXTNS,u'capitalize-entries'), - (FONS,u'language'), - (TEXTNS,u'relative-tab-stop-position'), - (TEXTNS,u'alphabetical-separators'), - (TEXTNS,u'combine-entries-with-pp'), - (TEXTNS,u'combine-entries-with-dash'), - (TEXTNS,u'sort-algorithm'), - (TEXTNS,u'ignore-case'), - (TEXTNS,u'combine-entries'), - (TEXTNS,u'comma-separated'), - (FONS,u'country'), - (TEXTNS,u'index-scope'), - (TEXTNS,u'main-entry-style-name'), - (TEXTNS,u'use-keys-as-entries'), + (TEXTNS,'alphabetical-index-mark-end'):( + (TEXTNS,'id'), + ), + (TEXTNS,'alphabetical-index-mark-start'):( + (TEXTNS,'main-entry'), + (TEXTNS,'key1-phonetic'), + (TEXTNS,'key2'), + (TEXTNS,'key1'), + (TEXTNS,'string-value-phonetic'), + (TEXTNS,'key2-phonetic'), + (TEXTNS,'id'), + ), + (TEXTNS,'alphabetical-index-source'):( + (TEXTNS,'capitalize-entries'), + (FONS,'language'), + (TEXTNS,'relative-tab-stop-position'), + (TEXTNS,'alphabetical-separators'), + (TEXTNS,'combine-entries-with-pp'), + (TEXTNS,'combine-entries-with-dash'), + (TEXTNS,'sort-algorithm'), + (TEXTNS,'ignore-case'), + (TEXTNS,'combine-entries'), + (TEXTNS,'comma-separated'), + (FONS,'country'), + (TEXTNS,'index-scope'), + (TEXTNS,'main-entry-style-name'), + (TEXTNS,'use-keys-as-entries'), ), # allowed_attributes - (TEXTNS,u'author-initials'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'author-name'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'bibliography'):( - (TEXTNS,u'protected'), - (TEXTNS,u'style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'protection-key'), - ), - (TEXTNS,u'bibliography-configuration'):( - (TEXTNS,u'suffix'), - (FONS,u'language'), - (TEXTNS,u'numbered-entries'), - (FONS,u'country'), - (TEXTNS,u'sort-by-position'), - (TEXTNS,u'sort-algorithm'), - (TEXTNS,u'prefix'), - ), - (TEXTNS,u'bibliography-entry-template'):( - (TEXTNS,u'style-name'), - (TEXTNS,u'bibliography-type'), + (TEXTNS,'author-initials'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'author-name'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'bibliography'):( + (TEXTNS,'protected'), + (TEXTNS,'style-name'), + (TEXTNS,'name'), + (TEXTNS,'protection-key'), + ), + (TEXTNS,'bibliography-configuration'):( + (TEXTNS,'suffix'), + (FONS,'language'), + (TEXTNS,'numbered-entries'), + (FONS,'country'), + (TEXTNS,'sort-by-position'), + (TEXTNS,'sort-algorithm'), + (TEXTNS,'prefix'), + ), + (TEXTNS,'bibliography-entry-template'):( + (TEXTNS,'style-name'), + (TEXTNS,'bibliography-type'), ), # allowed_attributes - (TEXTNS,u'bibliography-mark'):( - (TEXTNS,u'address'), - (TEXTNS,u'annote'), - (TEXTNS,u'author'), - (TEXTNS,u'bibliography-type'), - (TEXTNS,u'booktitle'), - (TEXTNS,u'chapter'), - (TEXTNS,u'custom1'), - (TEXTNS,u'custom2'), - (TEXTNS,u'custom3'), - (TEXTNS,u'custom4'), - (TEXTNS,u'custom5'), - (TEXTNS,u'edition'), - (TEXTNS,u'editor'), - (TEXTNS,u'howpublished'), - (TEXTNS,u'identifier'), - (TEXTNS,u'institution'), - (TEXTNS,u'isbn'), - (TEXTNS,u'issn'), - (TEXTNS,u'journal'), - (TEXTNS,u'month'), - (TEXTNS,u'note'), - (TEXTNS,u'number'), - (TEXTNS,u'organizations'), - (TEXTNS,u'pages'), - (TEXTNS,u'publisher'), - (TEXTNS,u'report-type'), - (TEXTNS,u'school'), - (TEXTNS,u'series'), - (TEXTNS,u'title'), - (TEXTNS,u'url'), - (TEXTNS,u'volume'), - (TEXTNS,u'year'), - ), - (TEXTNS,u'bibliography-source'):( - ), - (TEXTNS,u'bookmark'):( - (TEXTNS,u'name'), - ), - (TEXTNS,u'bookmark-end'):( - (TEXTNS,u'name'), - ), - (TEXTNS,u'bookmark-ref'):( - (TEXTNS,u'ref-name'), - (TEXTNS,u'reference-format'), - ), - (TEXTNS,u'bookmark-start'):( - (TEXTNS,u'name'), + (TEXTNS,'bibliography-mark'):( + (TEXTNS,'address'), + (TEXTNS,'annote'), + (TEXTNS,'author'), + (TEXTNS,'bibliography-type'), + (TEXTNS,'booktitle'), + (TEXTNS,'chapter'), + (TEXTNS,'custom1'), + (TEXTNS,'custom2'), + (TEXTNS,'custom3'), + (TEXTNS,'custom4'), + (TEXTNS,'custom5'), + (TEXTNS,'edition'), + (TEXTNS,'editor'), + (TEXTNS,'howpublished'), + (TEXTNS,'identifier'), + (TEXTNS,'institution'), + (TEXTNS,'isbn'), + (TEXTNS,'issn'), + (TEXTNS,'journal'), + (TEXTNS,'month'), + (TEXTNS,'note'), + (TEXTNS,'number'), + (TEXTNS,'organizations'), + (TEXTNS,'pages'), + (TEXTNS,'publisher'), + (TEXTNS,'report-type'), + (TEXTNS,'school'), + (TEXTNS,'series'), + (TEXTNS,'title'), + (TEXTNS,'url'), + (TEXTNS,'volume'), + (TEXTNS,'year'), + ), + (TEXTNS,'bibliography-source'):( + ), + (TEXTNS,'bookmark'):( + (TEXTNS,'name'), + ), + (TEXTNS,'bookmark-end'):( + (TEXTNS,'name'), + ), + (TEXTNS,'bookmark-ref'):( + (TEXTNS,'ref-name'), + (TEXTNS,'reference-format'), + ), + (TEXTNS,'bookmark-start'):( + (TEXTNS,'name'), ), # allowed_attributes - (TEXTNS,u'change'):( - (TEXTNS,u'change-id'), - ), - (TEXTNS,u'change-end'):( - (TEXTNS,u'change-id'), - ), - (TEXTNS,u'change-start'):( - (TEXTNS,u'change-id'), - ), - (TEXTNS,u'changed-region'):( - (TEXTNS,u'id'), - ), - (TEXTNS,u'chapter'):( - (TEXTNS,u'display'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'conditional-text'):( - (TEXTNS,u'string-value-if-true'), - (TEXTNS,u'current-value'), - (TEXTNS,u'string-value-if-false'), - (TEXTNS,u'condition'), - ), - (TEXTNS,u'creation-date'):( - (TEXTNS,u'date-value'), - (TEXTNS,u'fixed'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'creation-time'):( - (TEXTNS,u'fixed'), - (TEXTNS,u'time-value'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'creator'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'database-display'):( - (TEXTNS,u'column-name'), - (TEXTNS,u'table-name'), - (TEXTNS,u'table-type'), - (TEXTNS,u'database-name'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'database-name'):( - (TEXTNS,u'table-name'), - (TEXTNS,u'table-type'), - (TEXTNS,u'database-name'), - ), - (TEXTNS,u'database-next'):( - (TEXTNS,u'table-name'), - (TEXTNS,u'table-type'), - (TEXTNS,u'database-name'), - (TEXTNS,u'condition'), - ), - (TEXTNS,u'database-row-number'):( - (STYLENS,u'num-format'), - (TEXTNS,u'database-name'), - (TEXTNS,u'value'), - (STYLENS,u'num-letter-sync'), - (TEXTNS,u'table-name'), - (TEXTNS,u'table-type'), - ), - (TEXTNS,u'database-row-select'):( - (TEXTNS,u'row-number'), - (TEXTNS,u'table-name'), - (TEXTNS,u'table-type'), - (TEXTNS,u'database-name'), - (TEXTNS,u'condition'), + (TEXTNS,'change'):( + (TEXTNS,'change-id'), + ), + (TEXTNS,'change-end'):( + (TEXTNS,'change-id'), + ), + (TEXTNS,'change-start'):( + (TEXTNS,'change-id'), + ), + (TEXTNS,'changed-region'):( + (TEXTNS,'id'), + ), + (TEXTNS,'chapter'):( + (TEXTNS,'display'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'conditional-text'):( + (TEXTNS,'string-value-if-true'), + (TEXTNS,'current-value'), + (TEXTNS,'string-value-if-false'), + (TEXTNS,'condition'), + ), + (TEXTNS,'creation-date'):( + (TEXTNS,'date-value'), + (TEXTNS,'fixed'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'creation-time'):( + (TEXTNS,'fixed'), + (TEXTNS,'time-value'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'creator'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'database-display'):( + (TEXTNS,'column-name'), + (TEXTNS,'table-name'), + (TEXTNS,'table-type'), + (TEXTNS,'database-name'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'database-name'):( + (TEXTNS,'table-name'), + (TEXTNS,'table-type'), + (TEXTNS,'database-name'), + ), + (TEXTNS,'database-next'):( + (TEXTNS,'table-name'), + (TEXTNS,'table-type'), + (TEXTNS,'database-name'), + (TEXTNS,'condition'), + ), + (TEXTNS,'database-row-number'):( + (STYLENS,'num-format'), + (TEXTNS,'database-name'), + (TEXTNS,'value'), + (STYLENS,'num-letter-sync'), + (TEXTNS,'table-name'), + (TEXTNS,'table-type'), + ), + (TEXTNS,'database-row-select'):( + (TEXTNS,'row-number'), + (TEXTNS,'table-name'), + (TEXTNS,'table-type'), + (TEXTNS,'database-name'), + (TEXTNS,'condition'), ), # allowed_attributes - (TEXTNS,u'date'):( - (TEXTNS,u'date-value'), - (TEXTNS,u'fixed'), - (TEXTNS,u'date-adjust'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'dde-connection'):( - (TEXTNS,u'connection-name'), - ), - (TEXTNS,u'dde-connection-decl'):( - (OFFICENS,u'automatic-update'), - (OFFICENS,u'dde-topic'), - (OFFICENS,u'dde-application'), - (OFFICENS,u'name'), - (OFFICENS,u'dde-item'), - ), - (TEXTNS,u'dde-connection-decls'):( - ), - (TEXTNS,u'deletion'):( - ), - (TEXTNS,u'description'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'editing-cycles'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'editing-duration'):( - (TEXTNS,u'duration'), - (TEXTNS,u'fixed'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'execute-macro'):( - (TEXTNS,u'name'), - ), - (TEXTNS,u'expression'):( - (TEXTNS,u'display'), - (OFFICENS,u'string-value'), - (OFFICENS,u'value'), - (OFFICENS,u'boolean-value'), - (OFFICENS,u'currency'), - (OFFICENS,u'date-value'), - (STYLENS,u'data-style-name'), - (OFFICENS,u'value-type'), - (TEXTNS,u'formula'), - (OFFICENS,u'time-value'), - ), - (TEXTNS,u'file-name'):( - (TEXTNS,u'fixed'), - (TEXTNS,u'display'), + (TEXTNS,'date'):( + (TEXTNS,'date-value'), + (TEXTNS,'fixed'), + (TEXTNS,'date-adjust'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'dde-connection'):( + (TEXTNS,'connection-name'), + ), + (TEXTNS,'dde-connection-decl'):( + (OFFICENS,'automatic-update'), + (OFFICENS,'dde-topic'), + (OFFICENS,'dde-application'), + (OFFICENS,'name'), + (OFFICENS,'dde-item'), + ), + (TEXTNS,'dde-connection-decls'):( + ), + (TEXTNS,'deletion'):( + ), + (TEXTNS,'description'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'editing-cycles'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'editing-duration'):( + (TEXTNS,'duration'), + (TEXTNS,'fixed'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'execute-macro'):( + (TEXTNS,'name'), + ), + (TEXTNS,'expression'):( + (TEXTNS,'display'), + (OFFICENS,'string-value'), + (OFFICENS,'value'), + (OFFICENS,'boolean-value'), + (OFFICENS,'currency'), + (OFFICENS,'date-value'), + (STYLENS,'data-style-name'), + (OFFICENS,'value-type'), + (TEXTNS,'formula'), + (OFFICENS,'time-value'), + ), + (TEXTNS,'file-name'):( + (TEXTNS,'fixed'), + (TEXTNS,'display'), ), # allowed_attributes - (TEXTNS,u'format-change'):( - ), - (TEXTNS,u'h'):( - (TEXTNS,u'restart-numbering'), - (TEXTNS,u'cond-style-name'), - (TEXTNS,u'is-list-header'), - (TEXTNS,u'style-name'), - (TEXTNS,u'class-names'), - (TEXTNS,u'start-value'), - (TEXTNS,u'id'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'hidden-paragraph'):( - (TEXTNS,u'is-hidden'), - (TEXTNS,u'condition'), - ), - (TEXTNS,u'hidden-text'):( - (TEXTNS,u'string-value'), - (TEXTNS,u'is-hidden'), - (TEXTNS,u'condition'), - ), - (TEXTNS,u'illustration-index'):( - (TEXTNS,u'protected'), - (TEXTNS,u'style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'protection-key'), - ), - (TEXTNS,u'illustration-index-entry-template'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'illustration-index-source'):( - (TEXTNS,u'index-scope'), - (TEXTNS,u'caption-sequence-name'), - (TEXTNS,u'use-caption'), - (TEXTNS,u'caption-sequence-format'), - (TEXTNS,u'relative-tab-stop-position'), - ), - (TEXTNS,u'index-body'):( - ), - (TEXTNS,u'index-entry-bibliography'):( - (TEXTNS,u'bibliography-data-field'), - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'index-entry-chapter'):( - (TEXTNS,u'style-name'), - (TEXTNS,u'display'), + (TEXTNS,'format-change'):( + ), + (TEXTNS,'h'):( + (TEXTNS,'restart-numbering'), + (TEXTNS,'cond-style-name'), + (TEXTNS,'is-list-header'), + (TEXTNS,'style-name'), + (TEXTNS,'class-names'), + (TEXTNS,'start-value'), + (TEXTNS,'id'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'hidden-paragraph'):( + (TEXTNS,'is-hidden'), + (TEXTNS,'condition'), + ), + (TEXTNS,'hidden-text'):( + (TEXTNS,'string-value'), + (TEXTNS,'is-hidden'), + (TEXTNS,'condition'), + ), + (TEXTNS,'illustration-index'):( + (TEXTNS,'protected'), + (TEXTNS,'style-name'), + (TEXTNS,'name'), + (TEXTNS,'protection-key'), + ), + (TEXTNS,'illustration-index-entry-template'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'illustration-index-source'):( + (TEXTNS,'index-scope'), + (TEXTNS,'caption-sequence-name'), + (TEXTNS,'use-caption'), + (TEXTNS,'caption-sequence-format'), + (TEXTNS,'relative-tab-stop-position'), + ), + (TEXTNS,'index-body'):( + ), + (TEXTNS,'index-entry-bibliography'):( + (TEXTNS,'bibliography-data-field'), + (TEXTNS,'style-name'), + ), + (TEXTNS,'index-entry-chapter'):( + (TEXTNS,'style-name'), + (TEXTNS,'display'), ), # allowed_attributes - (TEXTNS,u'index-entry-link-end'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'index-entry-link-start'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'index-entry-page-number'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'index-entry-span'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'index-entry-tab-stop'):( - (STYLENS,u'position'), - (TEXTNS,u'style-name'), - (STYLENS,u'type'), - (STYLENS,u'leader-char'), - ), - (TEXTNS,u'index-entry-text'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'index-source-style'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'index-source-styles'):( - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'index-title'):( - (TEXTNS,u'protected'), - (TEXTNS,u'style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'protection-key'), - ), - (TEXTNS,u'index-title-template'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'initial-creator'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'insertion'):( + (TEXTNS,'index-entry-link-end'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'index-entry-link-start'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'index-entry-page-number'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'index-entry-span'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'index-entry-tab-stop'):( + (STYLENS,'position'), + (TEXTNS,'style-name'), + (STYLENS,'type'), + (STYLENS,'leader-char'), + ), + (TEXTNS,'index-entry-text'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'index-source-style'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'index-source-styles'):( + (TEXTNS,'outline-level'), + ), + (TEXTNS,'index-title'):( + (TEXTNS,'protected'), + (TEXTNS,'style-name'), + (TEXTNS,'name'), + (TEXTNS,'protection-key'), + ), + (TEXTNS,'index-title-template'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'initial-creator'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'insertion'):( ), # allowed_attributes - (TEXTNS,u'keywords'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'line-break'):( - ), - (TEXTNS,u'linenumbering-configuration'):( - (TEXTNS,u'number-position'), - (TEXTNS,u'number-lines'), - (STYLENS,u'num-format'), - (TEXTNS,u'count-empty-lines'), - (TEXTNS,u'count-in-text-boxes'), - (TEXTNS,u'style-name'), - (STYLENS,u'num-letter-sync'), - (TEXTNS,u'increment'), - (TEXTNS,u'offset'), - (TEXTNS,u'restart-on-page'), - ), - (TEXTNS,u'linenumbering-separator'):( - (TEXTNS,u'increment'), - ), - (TEXTNS,u'list'):( - (TEXTNS,u'style-name'), - (TEXTNS,u'continue-numbering'), - ), - (TEXTNS,u'list-header'):( - ), - (TEXTNS,u'list-item'):( - (TEXTNS,u'start-value'), - ), - (TEXTNS,u'list-level-style-bullet'):( - (TEXTNS,u'level'), - (STYLENS,u'num-prefix'), - (STYLENS,u'num-suffix'), - (TEXTNS,u'bullet-relative-size'), - (TEXTNS,u'style-name'), - (TEXTNS,u'bullet-char'), - ), - (TEXTNS,u'list-level-style-image'):( - (XLINKNS,u'show'), - (XLINKNS,u'actuate'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (TEXTNS,u'level'), - ), - (TEXTNS,u'list-level-style-number'):( - (TEXTNS,u'level'), - (TEXTNS,u'display-levels'), - (STYLENS,u'num-format'), - (STYLENS,u'num-suffix'), - (TEXTNS,u'style-name'), - (STYLENS,u'num-prefix'), - (STYLENS,u'num-letter-sync'), - (TEXTNS,u'start-value'), + (TEXTNS,'keywords'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'line-break'):( + ), + (TEXTNS,'linenumbering-configuration'):( + (TEXTNS,'number-position'), + (TEXTNS,'number-lines'), + (STYLENS,'num-format'), + (TEXTNS,'count-empty-lines'), + (TEXTNS,'count-in-text-boxes'), + (TEXTNS,'style-name'), + (STYLENS,'num-letter-sync'), + (TEXTNS,'increment'), + (TEXTNS,'offset'), + (TEXTNS,'restart-on-page'), + ), + (TEXTNS,'linenumbering-separator'):( + (TEXTNS,'increment'), + ), + (TEXTNS,'list'):( + (TEXTNS,'style-name'), + (TEXTNS,'continue-numbering'), + ), + (TEXTNS,'list-header'):( + ), + (TEXTNS,'list-item'):( + (TEXTNS,'start-value'), + ), + (TEXTNS,'list-level-style-bullet'):( + (TEXTNS,'level'), + (STYLENS,'num-prefix'), + (STYLENS,'num-suffix'), + (TEXTNS,'bullet-relative-size'), + (TEXTNS,'style-name'), + (TEXTNS,'bullet-char'), + ), + (TEXTNS,'list-level-style-image'):( + (XLINKNS,'show'), + (XLINKNS,'actuate'), + (XLINKNS,'href'), + (XLINKNS,'type'), + (TEXTNS,'level'), + ), + (TEXTNS,'list-level-style-number'):( + (TEXTNS,'level'), + (TEXTNS,'display-levels'), + (STYLENS,'num-format'), + (STYLENS,'num-suffix'), + (TEXTNS,'style-name'), + (STYLENS,'num-prefix'), + (STYLENS,'num-letter-sync'), + (TEXTNS,'start-value'), ), # allowed_attributes - (TEXTNS,u'list-style'):( - (TEXTNS,u'consecutive-numbering'), - (STYLENS,u'display-name'), - (STYLENS,u'name'), - ), - (TEXTNS,u'measure'):( - (TEXTNS,u'kind'), - ), - (TEXTNS,u'modification-date'):( - (TEXTNS,u'date-value'), - (TEXTNS,u'fixed'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'modification-time'):( - (TEXTNS,u'fixed'), - (TEXTNS,u'time-value'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'note'):( - (TEXTNS,u'note-class'), - (TEXTNS,u'id'), - ), - (TEXTNS,u'note-body'):( - ), - (TEXTNS,u'note-citation'):( - (TEXTNS,u'label'), - ), - (TEXTNS,u'note-continuation-notice-backward'):( - ), - (TEXTNS,u'note-continuation-notice-forward'):( - ), - (TEXTNS,u'note-ref'):( - (TEXTNS,u'ref-name'), - (TEXTNS,u'note-class'), - (TEXTNS,u'reference-format'), - ), - (TEXTNS,u'notes-configuration'):( - (TEXTNS,u'citation-body-style-name'), - (STYLENS,u'num-format'), - (TEXTNS,u'default-style-name'), - (STYLENS,u'num-suffix'), - (TEXTNS,u'start-numbering-at'), - (STYLENS,u'num-prefix'), - (STYLENS,u'num-letter-sync'), - (TEXTNS,u'citation-style-name'), - (TEXTNS,u'footnotes-position'), - (TEXTNS,u'master-page-name'), - (TEXTNS,u'start-value'), - (TEXTNS,u'note-class'), - ), - (TEXTNS,u'number'):( - ), - (TEXTNS,u'numbered-paragraph'):( - (TEXTNS,u'continue-numbering'), - (TEXTNS,u'style-name'), - (TEXTNS,u'start-value'), - (TEXTNS,u'level'), - ), - (TEXTNS,u'object-count'):( - (STYLENS,u'num-format'), - (STYLENS,u'num-letter-sync'), - ), - (TEXTNS,u'object-index'):( - (TEXTNS,u'protected'), - (TEXTNS,u'style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'protection-key'), + (TEXTNS,'list-style'):( + (TEXTNS,'consecutive-numbering'), + (STYLENS,'display-name'), + (STYLENS,'name'), + ), + (TEXTNS,'measure'):( + (TEXTNS,'kind'), + ), + (TEXTNS,'modification-date'):( + (TEXTNS,'date-value'), + (TEXTNS,'fixed'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'modification-time'):( + (TEXTNS,'fixed'), + (TEXTNS,'time-value'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'note'):( + (TEXTNS,'note-class'), + (TEXTNS,'id'), + ), + (TEXTNS,'note-body'):( + ), + (TEXTNS,'note-citation'):( + (TEXTNS,'label'), + ), + (TEXTNS,'note-continuation-notice-backward'):( + ), + (TEXTNS,'note-continuation-notice-forward'):( + ), + (TEXTNS,'note-ref'):( + (TEXTNS,'ref-name'), + (TEXTNS,'note-class'), + (TEXTNS,'reference-format'), + ), + (TEXTNS,'notes-configuration'):( + (TEXTNS,'citation-body-style-name'), + (STYLENS,'num-format'), + (TEXTNS,'default-style-name'), + (STYLENS,'num-suffix'), + (TEXTNS,'start-numbering-at'), + (STYLENS,'num-prefix'), + (STYLENS,'num-letter-sync'), + (TEXTNS,'citation-style-name'), + (TEXTNS,'footnotes-position'), + (TEXTNS,'master-page-name'), + (TEXTNS,'start-value'), + (TEXTNS,'note-class'), + ), + (TEXTNS,'number'):( + ), + (TEXTNS,'numbered-paragraph'):( + (TEXTNS,'continue-numbering'), + (TEXTNS,'style-name'), + (TEXTNS,'start-value'), + (TEXTNS,'level'), + ), + (TEXTNS,'object-count'):( + (STYLENS,'num-format'), + (STYLENS,'num-letter-sync'), + ), + (TEXTNS,'object-index'):( + (TEXTNS,'protected'), + (TEXTNS,'style-name'), + (TEXTNS,'name'), + (TEXTNS,'protection-key'), ), # allowed_attributes - (TEXTNS,u'object-index-entry-template'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'object-index-source'):( - (TEXTNS,u'use-draw-objects'), - (TEXTNS,u'use-math-objects'), - (TEXTNS,u'relative-tab-stop-position'), - (TEXTNS,u'use-chart-objects'), - (TEXTNS,u'index-scope'), - (TEXTNS,u'use-spreadsheet-objects'), - (TEXTNS,u'use-other-objects'), - ), - (TEXTNS,u'outline-level-style'):( - (TEXTNS,u'level'), - (TEXTNS,u'display-levels'), - (STYLENS,u'num-format'), - (STYLENS,u'num-suffix'), - (TEXTNS,u'style-name'), - (STYLENS,u'num-prefix'), - (STYLENS,u'num-letter-sync'), - (TEXTNS,u'start-value'), - ), - (TEXTNS,u'outline-style'):( - ), - (TEXTNS,u'p'):( - (TEXTNS,u'cond-style-name'), - (TEXTNS,u'style-name'), - (TEXTNS,u'class-names'), - (TEXTNS,u'id'), - ), - (TEXTNS,u'page'):( - (TEXTNS,u'master-page-name'), - ), - (TEXTNS,u'page-continuation'):( - (TEXTNS,u'string-value'), - (TEXTNS,u'select-page'), - ), - (TEXTNS,u'page-number'):( - (TEXTNS,u'page-adjust'), - (STYLENS,u'num-format'), - (TEXTNS,u'fixed'), - (STYLENS,u'num-letter-sync'), - (TEXTNS,u'select-page'), - ), - (TEXTNS,u'page-sequence'):( - ), - (TEXTNS,u'page-variable-get'):( - (STYLENS,u'num-format'), - (STYLENS,u'num-letter-sync'), - ), - (TEXTNS,u'page-variable-set'):( - (TEXTNS,u'active'), - (TEXTNS,u'page-adjust'), - ), - (TEXTNS,u'placeholder'):( - (TEXTNS,u'placeholder-type'), - (TEXTNS,u'description'), - ), - (TEXTNS,u'print-date'):( - (TEXTNS,u'date-value'), - (TEXTNS,u'fixed'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'print-time'):( - (TEXTNS,u'fixed'), - (TEXTNS,u'time-value'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'printed-by'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'reference-mark'):( - (TEXTNS,u'name'), - ), - (TEXTNS,u'reference-mark-end'):( - (TEXTNS,u'name'), - ), - (TEXTNS,u'reference-mark-start'):( - (TEXTNS,u'name'), - ), - (TEXTNS,u'ruby'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'ruby-base'):( - ), - (TEXTNS,u'ruby-text'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u's'):( - (TEXTNS,u'c'), - ), - (TEXTNS,u'script'):( - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (SCRIPTNS,u'language'), - ), - (TEXTNS,u'section'):( - (TEXTNS,u'name'), - (TEXTNS,u'protection-key'), - (TEXTNS,u'style-name'), - (TEXTNS,u'protected'), - (TEXTNS,u'display'), - (TEXTNS,u'condition'), - ), - (TEXTNS,u'section-source'):( - (TEXTNS,u'filter-name'), - (XLINKNS,u'href'), - (XLINKNS,u'type'), - (TEXTNS,u'section-name'), - (XLINKNS,u'show'), - ), - (TEXTNS,u'sender-city'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-company'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-country'):( - (TEXTNS,u'fixed'), + (TEXTNS,'object-index-entry-template'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'object-index-source'):( + (TEXTNS,'use-draw-objects'), + (TEXTNS,'use-math-objects'), + (TEXTNS,'relative-tab-stop-position'), + (TEXTNS,'use-chart-objects'), + (TEXTNS,'index-scope'), + (TEXTNS,'use-spreadsheet-objects'), + (TEXTNS,'use-other-objects'), + ), + (TEXTNS,'outline-level-style'):( + (TEXTNS,'level'), + (TEXTNS,'display-levels'), + (STYLENS,'num-format'), + (STYLENS,'num-suffix'), + (TEXTNS,'style-name'), + (STYLENS,'num-prefix'), + (STYLENS,'num-letter-sync'), + (TEXTNS,'start-value'), + ), + (TEXTNS,'outline-style'):( + ), + (TEXTNS,'p'):( + (TEXTNS,'cond-style-name'), + (TEXTNS,'style-name'), + (TEXTNS,'class-names'), + (TEXTNS,'id'), + ), + (TEXTNS,'page'):( + (TEXTNS,'master-page-name'), + ), + (TEXTNS,'page-continuation'):( + (TEXTNS,'string-value'), + (TEXTNS,'select-page'), + ), + (TEXTNS,'page-number'):( + (TEXTNS,'page-adjust'), + (STYLENS,'num-format'), + (TEXTNS,'fixed'), + (STYLENS,'num-letter-sync'), + (TEXTNS,'select-page'), + ), + (TEXTNS,'page-sequence'):( + ), + (TEXTNS,'page-variable-get'):( + (STYLENS,'num-format'), + (STYLENS,'num-letter-sync'), + ), + (TEXTNS,'page-variable-set'):( + (TEXTNS,'active'), + (TEXTNS,'page-adjust'), + ), + (TEXTNS,'placeholder'):( + (TEXTNS,'placeholder-type'), + (TEXTNS,'description'), + ), + (TEXTNS,'print-date'):( + (TEXTNS,'date-value'), + (TEXTNS,'fixed'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'print-time'):( + (TEXTNS,'fixed'), + (TEXTNS,'time-value'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'printed-by'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'reference-mark'):( + (TEXTNS,'name'), + ), + (TEXTNS,'reference-mark-end'):( + (TEXTNS,'name'), + ), + (TEXTNS,'reference-mark-start'):( + (TEXTNS,'name'), + ), + (TEXTNS,'ruby'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'ruby-base'):( + ), + (TEXTNS,'ruby-text'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'s'):( + (TEXTNS,'c'), + ), + (TEXTNS,'script'):( + (XLINKNS,'href'), + (XLINKNS,'type'), + (SCRIPTNS,'language'), + ), + (TEXTNS,'section'):( + (TEXTNS,'name'), + (TEXTNS,'protection-key'), + (TEXTNS,'style-name'), + (TEXTNS,'protected'), + (TEXTNS,'display'), + (TEXTNS,'condition'), + ), + (TEXTNS,'section-source'):( + (TEXTNS,'filter-name'), + (XLINKNS,'href'), + (XLINKNS,'type'), + (TEXTNS,'section-name'), + (XLINKNS,'show'), + ), + (TEXTNS,'sender-city'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-company'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-country'):( + (TEXTNS,'fixed'), ), # allowed_attributes - (TEXTNS,u'sender-email'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-fax'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-firstname'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-initials'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-lastname'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-phone-private'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-phone-work'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-position'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-postal-code'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-state-or-province'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-street'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sender-title'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'sequence'):( - (TEXTNS,u'formula'), - (STYLENS,u'num-format'), - (STYLENS,u'num-letter-sync'), - (TEXTNS,u'name'), - (TEXTNS,u'ref-name'), - ), - (TEXTNS,u'sequence-decl'):( - (TEXTNS,u'separation-character'), - (TEXTNS,u'display-outline-level'), - (TEXTNS,u'name'), - ), - (TEXTNS,u'sequence-decls'):( - ), - (TEXTNS,u'sequence-ref'):( - (TEXTNS,u'ref-name'), - (TEXTNS,u'reference-format'), - ), - (TEXTNS,u'sheet-name'):( - ), - (TEXTNS,u'soft-page-break'):( - ), - (TEXTNS,u'sort-key'):( - (TEXTNS,u'sort-ascending'), - (TEXTNS,u'key'), + (TEXTNS,'sender-email'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-fax'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-firstname'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-initials'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-lastname'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-phone-private'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-phone-work'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-position'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-postal-code'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-state-or-province'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-street'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sender-title'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'sequence'):( + (TEXTNS,'formula'), + (STYLENS,'num-format'), + (STYLENS,'num-letter-sync'), + (TEXTNS,'name'), + (TEXTNS,'ref-name'), + ), + (TEXTNS,'sequence-decl'):( + (TEXTNS,'separation-character'), + (TEXTNS,'display-outline-level'), + (TEXTNS,'name'), + ), + (TEXTNS,'sequence-decls'):( + ), + (TEXTNS,'sequence-ref'):( + (TEXTNS,'ref-name'), + (TEXTNS,'reference-format'), + ), + (TEXTNS,'sheet-name'):( + ), + (TEXTNS,'soft-page-break'):( + ), + (TEXTNS,'sort-key'):( + (TEXTNS,'sort-ascending'), + (TEXTNS,'key'), ), # allowed_attributes - (TEXTNS,u'span'):( - (TEXTNS,u'style-name'), - (TEXTNS,u'class-names'), - ), - (TEXTNS,u'subject'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'tab'):( - (TEXTNS,u'tab-ref'), - ), - (TEXTNS,u'table-formula'):( - (TEXTNS,u'formula'), - (STYLENS,u'data-style-name'), - (TEXTNS,u'display'), - ), - (TEXTNS,u'table-index'):( - (TEXTNS,u'protected'), - (TEXTNS,u'style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'protection-key'), - ), - (TEXTNS,u'table-index-entry-template'):( - (TEXTNS,u'style-name'), - ), - (TEXTNS,u'table-index-source'):( - (TEXTNS,u'index-scope'), - (TEXTNS,u'caption-sequence-name'), - (TEXTNS,u'use-caption'), - (TEXTNS,u'caption-sequence-format'), - (TEXTNS,u'relative-tab-stop-position'), + (TEXTNS,'span'):( + (TEXTNS,'style-name'), + (TEXTNS,'class-names'), + ), + (TEXTNS,'subject'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'tab'):( + (TEXTNS,'tab-ref'), + ), + (TEXTNS,'table-formula'):( + (TEXTNS,'formula'), + (STYLENS,'data-style-name'), + (TEXTNS,'display'), + ), + (TEXTNS,'table-index'):( + (TEXTNS,'protected'), + (TEXTNS,'style-name'), + (TEXTNS,'name'), + (TEXTNS,'protection-key'), + ), + (TEXTNS,'table-index-entry-template'):( + (TEXTNS,'style-name'), + ), + (TEXTNS,'table-index-source'):( + (TEXTNS,'index-scope'), + (TEXTNS,'caption-sequence-name'), + (TEXTNS,'use-caption'), + (TEXTNS,'caption-sequence-format'), + (TEXTNS,'relative-tab-stop-position'), ), # allowed_attributes - (TEXTNS,u'table-of-content'):( - (TEXTNS,u'protected'), - (TEXTNS,u'style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'protection-key'), - ), - (TEXTNS,u'table-of-content-entry-template'):( - (TEXTNS,u'style-name'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'table-of-content-source'):( - (TEXTNS,u'index-scope'), - (TEXTNS,u'outline-level'), - (TEXTNS,u'relative-tab-stop-position'), - (TEXTNS,u'use-index-marks'), - (TEXTNS,u'use-outline-level'), - (TEXTNS,u'use-index-source-styles'), - ), - (TEXTNS,u'template-name'):( - (TEXTNS,u'display'), - ), - (TEXTNS,u'text-input'):( - (TEXTNS,u'description'), - ), - (TEXTNS,u'time'):( - (TEXTNS,u'time-adjust'), - (TEXTNS,u'fixed'), - (TEXTNS,u'time-value'), - (STYLENS,u'data-style-name'), - ), - (TEXTNS,u'title'):( - (TEXTNS,u'fixed'), - ), - (TEXTNS,u'toc-mark'):( - (TEXTNS,u'string-value'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'toc-mark-end'):( - (TEXTNS,u'id'), - ), - (TEXTNS,u'toc-mark-start'):( - (TEXTNS,u'id'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'tracked-changes'):( - (TEXTNS,u'track-changes'), - ), - (TEXTNS,u'user-defined'):( - (TEXTNS,u'name'), - (OFFICENS,u'string-value'), - (OFFICENS,u'value'), - (OFFICENS,u'boolean-value'), - (OFFICENS,u'date-value'), - (STYLENS,u'data-style-name'), - (TEXTNS,u'fixed'), - (OFFICENS,u'time-value'), - ), - (TEXTNS,u'user-field-decl'):( - (TEXTNS,u'name'), - (OFFICENS,u'string-value'), - (OFFICENS,u'value'), - (OFFICENS,u'boolean-value'), - (OFFICENS,u'currency'), - (OFFICENS,u'date-value'), - (OFFICENS,u'value-type'), - (TEXTNS,u'formula'), - (OFFICENS,u'time-value'), - ), - (TEXTNS,u'user-field-decls'):( - ), - (TEXTNS,u'user-field-get'):( - (STYLENS,u'data-style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'display'), + (TEXTNS,'table-of-content'):( + (TEXTNS,'protected'), + (TEXTNS,'style-name'), + (TEXTNS,'name'), + (TEXTNS,'protection-key'), + ), + (TEXTNS,'table-of-content-entry-template'):( + (TEXTNS,'style-name'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'table-of-content-source'):( + (TEXTNS,'index-scope'), + (TEXTNS,'outline-level'), + (TEXTNS,'relative-tab-stop-position'), + (TEXTNS,'use-index-marks'), + (TEXTNS,'use-outline-level'), + (TEXTNS,'use-index-source-styles'), + ), + (TEXTNS,'template-name'):( + (TEXTNS,'display'), + ), + (TEXTNS,'text-input'):( + (TEXTNS,'description'), + ), + (TEXTNS,'time'):( + (TEXTNS,'time-adjust'), + (TEXTNS,'fixed'), + (TEXTNS,'time-value'), + (STYLENS,'data-style-name'), + ), + (TEXTNS,'title'):( + (TEXTNS,'fixed'), + ), + (TEXTNS,'toc-mark'):( + (TEXTNS,'string-value'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'toc-mark-end'):( + (TEXTNS,'id'), + ), + (TEXTNS,'toc-mark-start'):( + (TEXTNS,'id'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'tracked-changes'):( + (TEXTNS,'track-changes'), + ), + (TEXTNS,'user-defined'):( + (TEXTNS,'name'), + (OFFICENS,'string-value'), + (OFFICENS,'value'), + (OFFICENS,'boolean-value'), + (OFFICENS,'date-value'), + (STYLENS,'data-style-name'), + (TEXTNS,'fixed'), + (OFFICENS,'time-value'), + ), + (TEXTNS,'user-field-decl'):( + (TEXTNS,'name'), + (OFFICENS,'string-value'), + (OFFICENS,'value'), + (OFFICENS,'boolean-value'), + (OFFICENS,'currency'), + (OFFICENS,'date-value'), + (OFFICENS,'value-type'), + (TEXTNS,'formula'), + (OFFICENS,'time-value'), + ), + (TEXTNS,'user-field-decls'):( + ), + (TEXTNS,'user-field-get'):( + (STYLENS,'data-style-name'), + (TEXTNS,'name'), + (TEXTNS,'display'), ), # allowed_attributes - (TEXTNS,u'user-field-input'):( - (STYLENS,u'data-style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'description'), - ), - (TEXTNS,u'user-index'):( - (TEXTNS,u'protected'), - (TEXTNS,u'style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'protection-key'), - ), - (TEXTNS,u'user-index-entry-template'):( - (TEXTNS,u'style-name'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'user-index-mark'):( - (TEXTNS,u'index-name'), - (TEXTNS,u'string-value'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'user-index-mark-end'):( - (TEXTNS,u'id'), - (TEXTNS,u'outline-level'), - ), - (TEXTNS,u'user-index-mark-start'):( - (TEXTNS,u'index-name'), - (TEXTNS,u'id'), - (TEXTNS,u'outline-level'), + (TEXTNS,'user-field-input'):( + (STYLENS,'data-style-name'), + (TEXTNS,'name'), + (TEXTNS,'description'), + ), + (TEXTNS,'user-index'):( + (TEXTNS,'protected'), + (TEXTNS,'style-name'), + (TEXTNS,'name'), + (TEXTNS,'protection-key'), + ), + (TEXTNS,'user-index-entry-template'):( + (TEXTNS,'style-name'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'user-index-mark'):( + (TEXTNS,'index-name'), + (TEXTNS,'string-value'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'user-index-mark-end'):( + (TEXTNS,'id'), + (TEXTNS,'outline-level'), + ), + (TEXTNS,'user-index-mark-start'):( + (TEXTNS,'index-name'), + (TEXTNS,'id'), + (TEXTNS,'outline-level'), ), # allowed_attributes - (TEXTNS,u'user-index-source'):( - (TEXTNS,u'copy-outline-levels'), - (TEXTNS,u'index-name'), - (TEXTNS,u'index-scope'), - (TEXTNS,u'relative-tab-stop-position'), - (TEXTNS,u'use-floating-frames'), - (TEXTNS,u'use-graphics'), - (TEXTNS,u'use-index-marks'), - (TEXTNS,u'use-objects'), - (TEXTNS,u'use-tables'), - ), - (TEXTNS,u'variable-decl'):( - (TEXTNS,u'name'), - (OFFICENS,u'value-type'), - ), - (TEXTNS,u'variable-decls'):( - ), - (TEXTNS,u'variable-get'):( - (STYLENS,u'data-style-name'), - (TEXTNS,u'name'), - (TEXTNS,u'display'), - ), - (TEXTNS,u'variable-input'):( - (STYLENS,u'data-style-name'), - (TEXTNS,u'display'), - (TEXTNS,u'name'), - (OFFICENS,u'value-type'), - (TEXTNS,u'description'), - ), - (TEXTNS,u'variable-set'):( - (TEXTNS,u'name'), - (TEXTNS,u'display'), - (OFFICENS,u'string-value'), - (OFFICENS,u'value'), - (OFFICENS,u'boolean-value'), - (OFFICENS,u'currency'), - (OFFICENS,u'date-value'), - (STYLENS,u'data-style-name'), - (OFFICENS,u'value-type'), - (TEXTNS,u'formula'), - (OFFICENS,u'time-value'), + (TEXTNS,'user-index-source'):( + (TEXTNS,'copy-outline-levels'), + (TEXTNS,'index-name'), + (TEXTNS,'index-scope'), + (TEXTNS,'relative-tab-stop-position'), + (TEXTNS,'use-floating-frames'), + (TEXTNS,'use-graphics'), + (TEXTNS,'use-index-marks'), + (TEXTNS,'use-objects'), + (TEXTNS,'use-tables'), + ), + (TEXTNS,'variable-decl'):( + (TEXTNS,'name'), + (OFFICENS,'value-typRefactoringTool: Refactored ./tablib/packages/odf/table.py RefactoringTool: Refactored ./tablib/packages/odf/teletype.py RefactoringTool: Refactored ./tablib/packages/odf/elementtypes.py e'), + ), + (TEXTNS,'variable-decls'):( + ), + (TEXTNS,'variable-get'):( + (STYLENS,'data-style-name'), + (TEXTNS,'name'), + (TEXTNS,'display'), + ), + (TEXTNS,'variable-input'):( + (STYLENS,'data-style-name'), + (TEXTNS,'display'), + (TEXTNS,'name'), + (OFFICENS,'value-type'), + (TEXTNS,'description'), + ), + (TEXTNS,'variable-set'):( + (TEXTNS,'name'), + (TEXTNS,'display'), + (OFFICENS,'string-value'), + (OFFICENS,'value'), + (OFFICENS,'boolean-value'), + (OFFICENS,'currency'), + (OFFICENS,'date-value'), + (STYLENS,'data-style-name'), + (OFFICENS,'value-type'), + (TEXTNS,'formula'), + (OFFICENS,'time-value'), ), # allowed_attributes } --- ./tablib/packages/odf/table.py (original) +++ ./tablib/packages/odf/table.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import TABLENS -from element import Element +from .namespaces import TABLENS +from .element import Element # Autogenerated --- ./tablib/packages/odf/teletype.py (original) +++ ./tablib/packages/odf/teletype.py (refactored) @@ -120,11 +120,11 @@ elif child.nodeType == Node.ELEMENT_NODE: subElement = child tagName = subElement.qname; - if tagName == (u"urn:oasis:names:tc:opendocument:xmlns:text:1.0", u"line-break"): + if tagName == ("urn:oasis:names:tc:opendocument:xmlns:text:1.0", "line-break"): result.append("\n") - elif tagName == (u"urn:oasis:names:tc:opendocument:xmlns:text:1.0", u"tab"): + elif tagName == ("urn:oasis:names:tc:opendocument:xmlns:text:1.0", "tab"): result.append("\t") - elif tagName == (u"urn:oasis:names:tc:opendocument:xmlns:text:1.0", u"s"): + elif tagName == ("urn:oasis:names:tc:opendocument:xmlns:text:1.0", "s"): c = subElement.getAttribute('c') if c: spaceCount = int(c) --- ./tablib/packages/odf/elementtypes.py (original) +++ ./tablib/packages/odf/elementtypes.py (refactored) @@ -19,307 +19,307 @@ # Contributor(s): # -from namespaces import * +from .namespaces import * # Inline element don't cause a box # They are analogous to the HTML elements SPAN, B, I etc. inline_elements = ( - (TEXTNS,u'a'), - (TEXTNS,u'author-initials'), - (TEXTNS,u'author-name'), - (TEXTNS,u'bibliography-mark'), - (TEXTNS,u'bookmark-ref'), - (TEXTNS,u'chapter'), - (TEXTNS,u'character-count'), - (TEXTNS,u'conditional-text'), - (TEXTNS,u'creation-date'), - (TEXTNS,u'creation-time'), - (TEXTNS,u'creator'), - (TEXTNS,u'database-display'), - (TEXTNS,u'database-name'), - (TEXTNS,u'database-next'), - (TEXTNS,u'database-row-number'), - (TEXTNS,u'database-row-select'), - (TEXTNS,u'date'), - (TEXTNS,u'dde-connection'), - (TEXTNS,u'description'), - (TEXTNS,u'editing-cycles'), - (TEXTNS,u'editing-duration'), - (TEXTNS,u'execute-macro'), - (TEXTNS,u'expression'), - (TEXTNS,u'file-name'), - (TEXTNS,u'hidden-paragraph'), - (TEXTNS,u'hidden-text'), - (TEXTNS,u'image-count'), - (TEXTNS,u'initial-creator'), - (TEXTNS,u'keywords'), - (TEXTNS,u'measure'), - (TEXTNS,u'modification-date'), - (TEXTNS,u'modification-time'), - (TEXTNS,u'note-ref'), - (TEXTNS,u'object-count'), - (TEXTNS,u'page-continuation'), - (TEXTNS,u'page-count'), - (TEXTNS,u'page-number'), - (TEXTNS,u'page-variable-get'), - (TEXTNS,u'page-variable-set'), - (TEXTNS,u'paragraph-count'), - (TEXTNS,u'placeholder'), - (TEXTNS,u'print-date'), - (TEXTNS,u'printed-by'), - (TEXTNS,u'print-time'), - (TEXTNS,u'reference-ref'), - (TEXTNS,u'ruby'), - (TEXTNS,u'ruby-base'), - (TEXTNS,u'ruby-text'), - (TEXTNS,u'script'), - (TEXTNS,u'sender-city'), - (TEXTNS,u'sender-company'), - (TEXTNS,u'sender-country'), - (TEXTNS,u'sender-email'), - (TEXTNS,u'sender-fax'), - (TEXTNS,u'sender-firstname'), - (TEXTNS,u'sender-initials'), - (TEXTNS,u'sender-lastname'), - (TEXTNS,u'sender-phone-private'), - (TEXTNS,u'sender-phone-work'), - (TEXTNS,u'sender-position'), - (TEXTNS,u'sender-postal-code'), - (TEXTNS,u'sender-state-or-province'), - (TEXTNS,u'sender-street'), - (TEXTNS,u'sender-title'), - (TEXTNS,u'sequence'), - (TEXTNS,u'sequence-ref'), - (TEXTNS,u'sheet-name'), - (TEXTNS,u'span'), - (TEXTNS,u'subject'), - (TEXTNS,u'table-count'), - (TEXTNS,u'table-formula'), - (TEXTNS,u'template-name'), - (TEXTNS,u'text-input'), - (TEXTNS,u'time'), - (TEXTNS,u'title'), - (TEXTNS,u'user-defined'), - (TEXTNS,u'user-field-get'), - (TEXTNS,u'user-field-input'), - (TEXTNS,u'variable-get'), - (TEXTNS,u'variable-input'), - (TEXTNS,u'variable-set'), - (TEXTNS,u'word-count'), + (TEXTNS,'a'), + (TEXTNS,'author-initials'), + (TEXTNS,'author-name'), + (TEXTNS,'bibliography-mark'), + (TEXTNS,'bookmark-ref'), + (TEXTNS,'chapter'), + (TEXTNS,'character-count'), + (TEXTNS,'conditional-text'), + (TEXTNS,'creation-date'), + (TEXTNS,'creation-time'), + (TEXTNS,'creator'), + (TEXTNS,'database-display'), + (TEXTNS,'database-name'), + (TEXTNS,'database-next'), + (TEXTNS,'database-row-number'), + (TEXTNS,'database-row-select'), + (TEXTNS,'date'), + (TEXTNS,'dde-connection'), + (TEXTNS,'description'), + (TEXTNS,'editing-cycles'), + (TEXTNS,'editing-duration'), + (TEXTNS,'execute-macro'), + (TEXTNS,'expression'), + (TEXTNS,'file-name'), + (TEXTNS,'hidden-paragraph'), + (TEXTNS,'hidden-text'), + (TEXTNS,'image-count'), + (TEXTNS,'initial-creator'), + (TEXTNS,'keywords'), + (TEXTNS,'measure'), + (TEXTNS,'modification-date'), + (TEXTNS,'modification-time'), + (TEXTNS,'note-ref'), + (TEXTNS,'object-count'), + (TEXTNS,'page-continuation'), + (TEXTNS,'page-count'), + (TEXTNS,'page-number'), + (TEXTNS,'page-variable-get'), + (TEXTNS,'page-variable-set'), + (TEXTNS,'paragraph-count'), + (TEXTNS,'placeholder'), + (TEXTNS,'print-date'), + (TEXTNS,'printed-by'), + (TEXTNS,'print-time'), + (TEXTNS,'reference-ref'), + (TEXTNS,'ruby'), + (TEXTNS,'ruby-base'), + (TEXTNS,'ruby-text'), + (TEXTNS,'script'), + (TEXTNS,'sender-city'), + (TEXTNS,'sender-company'), + (TEXTNS,'sender-country'), + (TEXTNS,'sender-email'), + (TEXTNS,'sender-fax'), + (TEXTNS,'sender-firstname'), + (TEXTNS,'sender-initials'), + (TEXTNS,'sender-lastname'), + (TEXTNS,'sender-phone-private'), + (TEXTNS,'sender-phone-work'), + (TEXTNS,'sender-position'), + (TEXTNS,'sender-postal-code'), + (TEXTNS,'sender-state-or-province'), + (TEXTNS,'sender-street'), + (TEXTNS,'sender-title'), + (TEXTNS,'sequence'), + (TEXTNS,'sequence-ref'), + (TEXTNS,'sheet-name'), + (TEXTNS,'span'), + (TEXTNS,'subject'), + (TEXTNS,'table-count'), + (TEXTNS,'table-formula'), + (TEXTNS,'template-name'), + (TEXTNS,'text-input'), + (TEXTNS,'time'), + (TEXTNS,'title'), + (TEXTNS,'user-defined'), + (TEXTNS,'user-field-get'), + (TEXTNS,'user-field-input'), + (TEXTNS,'variable-get'), + (TEXTNS,'variable-input'), + (TEXTNS,'variable-set'), + (TEXTNS,'word-count'), ) # It is almost impossible to determine what elements are block elements. # There are so many that don't fit the form block_elements = ( - (TEXTNS,u'h'), - (TEXTNS,u'p'), - (TEXTNS,u'list'), - (TEXTNS,u'list-item'), - (TEXTNS,u'section'), + (TEXTNS,'h'), + (TEXTNS,'p'), + (TEXTNS,'list'), + (TEXTNS,'list-item'), + (TEXTNS,'section'), ) declarative_elements = ( - (OFFICENS,u'font-face-decls'), - (PRESENTATIONNS,u'date-time-decl'), - (PRESENTATIONNS,u'footer-decl'), - (PRESENTATIONNS,u'header-decl'), - (TABLENS,u'table-template'), - (TEXTNS,u'alphabetical-index-entry-template'), - (TEXTNS,u'alphabetical-index-source'), - (TEXTNS,u'bibliography-entry-template'), - (TEXTNS,u'bibliography-source'), - (TEXTNS,u'dde-connection-decls'), - (TEXTNS,u'illustration-index-entry-template'), - (TEXTNS,u'illustration-index-source'), - (TEXTNS,u'index-source-styles'), - (TEXTNS,u'index-title-template'), - (TEXTNS,u'note-continuation-notice-backward'), - (TEXTNS,u'note-continuation-notice-forward'), - (TEXTNS,u'notes-configuration'), - (TEXTNS,u'object-index-entry-template'), - (TEXTNS,u'object-index-source'), - (TEXTNS,u'sequence-decls'), - (TEXTNS,u'table-index-entry-template'), - (TEXTNS,u'table-index-source'), - (TEXTNS,u'table-of-content-entry-template'), - (TEXTNS,u'table-of-content-source'), - (TEXTNS,u'user-field-decls'), - (TEXTNS,u'user-index-entry-template'), - (TEXTNS,u'user-index-source'), - (TEXTNS,u'variable-decls'), + (OFFICENS,'font-face-decls'), + (PRESENTATIONNS,'date-time-decl'), + (PRESENTATIONNS,'footer-decl'), + (PRESENTATIONNS,'header-decl'), + (TABLENS,'table-template'), + (TEXTNS,'alphabetical-index-entry-template'), + (TEXTNS,'alphabetical-index-source'), + (TEXTNS,'bibliography-entry-template'), + (TEXTNS,'bibliography-source'), + (TEXTNS,'dde-connection-decls'), + (TEXTNS,'illustration-index-entry-template'), + (TEXTNS,'illustration-index-source'), + (TEXTNS,'index-source-styles'), + (TEXTNS,'index-title-template'), + (TEXTNS,'note-continuation-notice-backward'), + (TEXTNS,'note-continuation-notice-forward'), + (TEXTNS,'notes-configuration'), + (TEXTNS,'object-index-entry-template'), + (TEXTNS,'object-index-source'), + (TEXTNS,'sequence-decls'), + (TEXTNS,'table-index-entry-template'), + (TEXTNS,'table-index-source'), + (TEXTNS,'table-of-content-entry-template'), + (TEXTNS,'table-of-content-source'), + (TEXTNS,'user-field-decls'), + (TEXTNS,'user-index-entry-template'), + (TEXTNS,'user-index-source'), + (TEXTNS,'variable-decls'), ) empty_elements = ( - (ANIMNS,u'animate'), - (ANIMNS,u'animateColor'), - (ANIMNS,u'animateMotion'), - (ANIMNS,u'animateTransform'), - (ANIMNS,u'audio'), - (ANIMNS,u'param'), - (ANIMNS,u'set'), - (ANIMNS,u'transitionFilter'), - (CHARTNS,u'categories'), - (CHARTNS,u'data-point'), - (CHARTNS,u'domain'), - (CHARTNS,u'error-indicator'), - (CHARTNS,u'floor'), - (CHARTNS,u'grid'), - (CHARTNS,u'legend'), - (CHARTNS,u'mean-value'), - (CHARTNS,u'regression-curve'), - (CHARTNS,u'stock-gain-marker'), - (CHARTNS,u'stock-loss-marker'), - (CHARTNS,u'stock-range-line'), - (CHARTNS,u'symbol-image'), - (CHARTNS,u'wall'), - (DR3DNS,u'cube'), - (DR3DNS,u'extrude'), - (DR3DNS,u'light'), - (DR3DNS,u'rotate'), - (DR3DNS,u'sphere'), - (DRAWNS,u'contour-path'), - (DRAWNS,u'contour-polygon'), - (DRAWNS,u'equation'), - (DRAWNS,u'fill-image'), - (DRAWNS,u'floating-frame'), - (DRAWNS,u'glue-point'), - (DRAWNS,u'gradient'), - (DRAWNS,u'handle'), - (DRAWNS,u'hatch'), - (DRAWNS,u'layer'), - (DRAWNS,u'marker'), - (DRAWNS,u'opacity'), - (DRAWNS,u'page-thumbnail'), - (DRAWNS,u'param'), - (DRAWNS,u'stroke-dash'), - (FORMNS,u'connection-resource'), - (FORMNS,u'list-value'), - (FORMNS,u'property'), - (MANIFESTNS,u'algorithm'), - (MANIFESTNS,u'key-derivation'), - (METANS,u'auto-reload'), - (METANS,u'document-statistic'), - (METANS,u'hyperlink-behaviour'), - (METANS,u'template'), - (NUMBERNS,u'am-pm'), - (NUMBERNS,u'boolean'), - (NUMBERNS,u'day'), - (NUMBERNS,u'day-of-week'), - (NUMBERNS,u'era'), - (NUMBERNS,u'fraction'), - (NUMBERNS,u'hours'), - (NUMBERNS,u'minutes'), - (NUMBERNS,u'month'), - (NUMBERNS,u'quarter'), - (NUMBERNS,u'scientific-number'), - (NUMBERNS,u'seconds'), - (NUMBERNS,u'text-content'), - (NUMBERNS,u'week-of-year'), - (NUMBERNS,u'year'), - (OFFICENS,u'dde-source'), - (PRESENTATIONNS,u'date-time'), - (PRESENTATIONNS,u'footer'), - (PRESENTATIONNS,u'header'), - (PRESENTATIONNS,u'placeholder'), - (PRESENTATIONNS,u'play'), - (PRESENTATIONNS,u'show'), - (PRESENTATIONNS,u'sound'), - (SCRIPTNS,u'event-listener'), - (STYLENS,u'column'), - (STYLENS,u'column-sep'), - (STYLENS,u'drop-cap'), - (STYLENS,u'footnote-sep'), - (STYLENS,u'list-level-properties'), - (STYLENS,u'map'), - (STYLENS,u'ruby-properties'), - (STYLENS,u'table-column-properties'), - (STYLENS,u'tab-stop'), - (STYLENS,u'text-properties'), - (SVGNS,u'definition-src'), - (SVGNS,u'font-face-format'), - (SVGNS,u'font-face-name'), - (SVGNS,u'stop'), - (TABLENS,u'body'), - (TABLENS,u'cell-address'), - (TABLENS,u'cell-range-source'), - (TABLENS,u'change-deletion'), - (TABLENS,u'consolidation'), - (TABLENS,u'database-source-query'), - (TABLENS,u'database-source-sql'), - (TABLENS,u'database-source-table'), - (TABLENS,u'data-pilot-display-info'), - (TABLENS,u'data-pilot-field-reference'), - (TABLENS,u'data-pilot-group-member'), - (TABLENS,u'data-pilot-layout-info'), - (TABLENS,u'data-pilot-member'), - (TABLENS,u'data-pilot-sort-info'), - (TABLENS,u'data-pilot-subtotal'), - (TABLENS,u'dependency'), - (TABLENS,u'error-macro'), - (TABLENS,u'even-columns'), - (TABLENS,u'even-rows'), - (TABLENS,u'filter-condition'), - (TABLENS,u'first-column'), - (TABLENS,u'first-row'), - (TABLENS,u'highlighted-range'), - (TABLENS,u'insertion-cut-off'), - (TABLENS,u'iteration'), - (TABLENS,u'label-range'), - (TABLENS,u'last-column'), - (TABLENS,u'last-row'), - (TABLENS,u'movement-cut-off'), - (TABLENS,u'named-expression'), - (TABLENS,u'named-range'), - (TABLENS,u'null-date'), - (TABLENS,u'odd-columns'), - (TABLENS,u'odd-rows'), - (TABLENS,u'operation'), - (TABLENS,u'scenario'), - (TABLENS,u'sort-by'), - (TABLENS,u'sort-groups'), - (TABLENS,u'source-range-address'), - (TABLENS,u'source-service'), - (TABLENS,u'subtotal-field'), - (TABLENS,u'table-column'), - (TABLENS,u'table-source'), - (TABLENS,u'target-range-address'), - (TEXTNS,u'alphabetical-index-auto-mark-file'), - (TEXTNS,u'alphabetical-index-mark'), - (TEXTNS,u'alphabetical-index-mark-end'), - (TEXTNS,u'alphabetical-index-mark-start'), - (TEXTNS,u'bookmark'), - (TEXTNS,u'bookmark-end'), - (TEXTNS,u'bookmark-start'), - (TEXTNS,u'change'), - (TEXTNS,u'change-end'), - (TEXTNS,u'change-start'), - (TEXTNS,u'dde-connection-decl'), - (TEXTNS,u'index-entry-bibliography'), - (TEXTNS,u'index-entry-chapter'), - (TEXTNS,u'index-entry-link-end'), - (TEXTNS,u'index-entry-link-start'), - (TEXTNS,u'index-entry-page-number'), - (TEXTNS,u'index-entry-tab-stop'), - (TEXTNS,u'index-entry-text'), - (TEXTNS,u'index-source-style'), - (TEXTNS,u'line-break'), - (TEXTNS,u'page'), - (TEXTNS,u'reference-mark'), - (TEXTNS,u'reference-mark-end'), - (TEXTNS,u'reference-mark-start'), - (TEXTNS,u's'), - (TEXTNS,u'section-source'), - (TEXTNS,u'sequence-decl'), - (TEXTNS,u'soft-page-break'), - (TEXTNS,u'sort-key'), - (TEXTNS,u'tab'), - (TEXTNS,u'toc-mark'), - (TEXTNS,u'toc-mark-end'), - (TEXTNS,u'toc-mark-start'), - (TEXTNS,u'user-field-decl'), - (TEXTNS,u'user-index-mark'), - (TEXTNS,u'user-index-mark-end'), - (TEXTNS,u'user-index-mark-start'), - (TEXTNS,u'variable-decl') + (ANIMNS,'animate'), + (ANIMNS,'animateColor'), + (ANIMNS,'animateMotion'), + (ANIMNS,'animateTransform'), + (ANIMNS,'audio'), + (ANIMNS,'param'), + (ANIMNS,'set'), + (ANIMNS,'transitionFilter'), + (CHARTNS,'categories'), + (CHARTNS,'data-point'), + (CHARTNS,'domain'), + (CHARTNS,'error-indicator'), + (CHARTNS,'floor'), + (CHARTNS,'grid'), + (CHARTNS,'legend'), + (CHARTNS,'mean-value'), + (CHARTNS,'regression-curve'), + (CHARTNS,'stock-gain-marker'), + (CHARTNS,'stock-loss-marker'), + (CHARTNS,'stock-range-line'), + (CHARTNS,'symbol-image'), + (CHARTNS,'wall'), + (DR3DNS,'cube'), + (DR3DNS,'extrude'), + (DR3DNS,'light'), + (DR3DNS,'rotate'), + (DR3DNS,'sphere'), + (DRAWNS,'contour-path'), + (DRAWNS,'contour-polygon'), + (DRAWNS,'equation'), + (DRAWNS,'fill-image'), + (DRAWNS,'floating-frame'), + (DRAWNS,'glue-point'), + (DRAWNS,'gradient'), + (DRAWNS,'handle'), + (DRAWNS,'hatch'), + (DRAWNS,'layer'), + (DRAWNS,'marker'), + (DRAWNS,'opacity'), + (DRAWNS,'page-thumbnail'), + (DRAWNS,'param'), + (DRAWNS,'stroke-dash'), + (FORMNS,'connection-resource'), + (FORMNS,'list-value'), + (FORMNS,'property'), + (MANIFESTNS,'algorithm'), + (MANIFESTNS,'key-derivation'), + (METANS,'auto-reload'), + (METANS,'document-statistic'), + (METANS,'hyperlink-behaviour'), + (METANS,'template'), + (NUMBERNS,'am-pm'), + (NUMBERNS,'boolean'), + (NUMBERNS,'day'), + (NUMBERNS,'day-of-week'), + (NUMBERNS,'era'), + (NUMBERNS,'fraction'), + (NUMBERNS,'hours'), + (NUMBERNS,'minutes'), + (NUMBERNS,'month'), + (NUMBERNS,'quarter'), + (NUMBERNS,'scientific-number'), + (NUMBERNS,'seconds'), + (NUMBERNS,'text-content'), + (NUMBERNS,'week-of-year'), + (NUMBERNS,'year'), + (OFFICENS,'dde-source'), + (PRESENTATIONNS,'date-time'), + (PRESENTATIONNS,'footer'), + (PRESENTATIONNS,'header'), + (PRESENTATIONNS,'placeholder'), + (PRESENTATIONNS,'play'), + (PRESENTATIONNS,'show'), + (PRESENTATIONNS,'sound'), + (SCRIPTNS,'event-listener'), + (STYLENS,'column'), + (STYLENS,'column-sep'), + (STYLENS,'drop-cap'), + (STYLENS,'footnote-sep'), + (STYLENS,'list-level-properties'), + (STYLENS,'map'), + (STYLENS,'ruby-properties'), + (STYLENS,'table-column-properties'), + (STYLENS,'tab-stop'), + (STYLENS,'text-properties'), + (SVGNS,'definition-src'), + (SVGNS,'font-face-format'), + (SVGNS,'font-face-name'), + (SVGNS,'stop'), + (TABLENS,'body'), + (TABLENS,'cell-address'), + (TABLENS,'cell-range-source'), + (TABLENS,'change-deletion'), + (TABLENS,'consolidation'), + (TABLENS,'database-source-query'), + (TABLENS,'database-source-sql'), + (TABLENS,'database-source-table'), + (TABLENS,'data-pilot-display-info'), + (TABLENS,'data-pilot-field-reference'), + (TABLENS,'data-pilot-group-member'), + (TABLENS,'data-pilot-layout-info'), + (TABLENS,'data-pilot-member'), + (TABLENS,'data-pilot-sort-info'), + (TABLENS,'data-pilot-subtotal'), + (TABLENS,'dependency'), + (TABLENS,'error-macro'), + (TABLENS,'even-columns'), + (TABLENS,'even-rows'), + (TABLENS,'filter-condition'), + (TABLENS,'first-column'), + (TABLENS,'first-row'), + (TABLENS,'highlighted-range'), + (TABLENS,'insertion-cut-off'), + (TABLENS,'iteration'), + (TABLENS,'label-range'), + (TABLENS,'last-column'), + (TABLENS,'last-row'), + (TABLENS,'movement-cut-off'), + (TABLENS,'named-expression'), + (TABLENS,'named-range'), + (TABLENS,'null-date'), + (TABLENS,'odd-columns'), + (TABLENS,'odd-rows'), + (TABLENS,'operation'), + (TABLENS,'scenario'), + (TABLENS,'sort-by'), + (TABLENS,'sort-groups'), + (TABLENS,'source-range-address'), + (TABLENS,'source-service'), + (TABLENS,'subtotal-field'), + (TABLENS,'table-column'), + (TABLENS,'table-source'), + (TABLENS,'target-range-address'), + (TEXTNS,'alphabetical-index-auto-mark-file'), + (TEXTNS,'alphabetical-index-mark'), + (TEXTNS,'alphabetical-index-mark-end'), + (TEXTNS,'alphabetical-index-mark-start'), + (TEXTNS,'bookmark'), + (TEXTNS,'bookmark-end'), + (TEXTNS,'bookmark-start'), + (TEXTNS,'change'), + (TEXTNS,'change-end'), + (TEXTNS,'change-start'), + (TEXTNS,'dde-connection-decl'), + (TEXTNS,'index-entry-bibliography'), + (TEXTNS,'index-entry-chapter'), + (TEXTNS,'index-entry-link-end'), + (TEXTNS,'index-entry-link-start'), + (TEXTNS,'index-entry-page-number'), + (TEXTNS,'index-entry-tab-stop'), + (TEXTNS,'index-entry-text'), + (TEXTNS,'index-source-style'), + (TEXTNS,'line-break'), + (TEXTNS,'page'), + (TEXTNS,'reference-mark'), + (TEXTNS,'reference-mark-end'), + (TEXTNS,'reference-mark-start'), + (TEXTNS,'s'), + (TEXTNS,'section-source')RefactoringTool: Refactored ./tablib/packages/odf/odfmanifest.py RefactoringTool: Refactored ./tablib/packages/odf/attrconverters.py , + (TEXTNS,'sequence-decl'), + (TEXTNS,'soft-page-break'), + (TEXTNS,'sort-key'), + (TEXTNS,'tab'), + (TEXTNS,'toc-mark'), + (TEXTNS,'toc-mark-end'), + (TEXTNS,'toc-mark-start'), + (TEXTNS,'user-field-decl'), + (TEXTNS,'user-index-mark'), + (TEXTNS,'user-index-mark-end'), + (TEXTNS,'user-index-mark-start'), + (TEXTNS,'variable-decl') ) --- ./tablib/packages/odf/odfmanifest.py (original) +++ ./tablib/packages/odf/odfmanifest.py (refactored) @@ -24,7 +24,7 @@ from xml.sax import make_parser,handler from xml.sax.xmlreader import InputSource import xml.sax.saxutils -from cStringIO import StringIO +from io import StringIO MANIFESTNS="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" @@ -110,6 +110,6 @@ if __name__ == "__main__": import sys result = odfmanifest(sys.argv[1]) - for file in result.values(): - print "%-40s %-40s" % (file['media-type'], file['full-path']) + for file in list(result.values()): + print("%-40s %-40s" % (file['media-type'], file['full-path'])) --- ./tablib/packages/odf/attrconverters.py (original) +++ ./tablib/packages/odf/attrconverters.py (refactored) @@ -17,7 +17,7 @@ # # Contributor(s): # -from namespaces import * +from .namespaces import * import re, types pattern_color = re.compile(r'#[0-9a-fA-F]{6}') @@ -29,7 +29,7 @@ return arg def cnv_anyURI(attribute, arg, element): - return unicode(arg) + return str(arg) def cnv_boolean(attribute, arg, element): if arg.lower() in ("false","no"): @@ -48,12 +48,12 @@ def cnv_configtype(attribute, arg, element): if str(arg) not in ("boolean", "short", "int", "long", "double", "string", "datetime", "base64Binary"): - raise ValueError, "'%s' not allowed" % str(arg) + raise ValueError("'%s' not allowed" % str(arg)) return str(arg) def cnv_data_source_has_labels(attribute, arg, element): if str(arg) not in ("none","row","column","both"): - raise ValueError, "'%s' not allowed" % str(arg) + raise ValueError("'%s' not allowed" % str(arg)) return str(arg) # Understand different date formats @@ -79,19 +79,19 @@ """ A style family """ if str(arg) not in ("text", "paragraph", "section", "ruby", "table", "table-column", "table-row", "table-cell", "graphic", "presentation", "drawing-page", "chart"): - raise ValueError, "'%s' not allowed" % str(arg) + raise ValueError("'%s' not allowed" % str(arg)) return str(arg) def __save_prefix(attribute, arg, element): prefix = arg.split(':',1)[0] if prefix == arg: - return unicode(arg) + return str(arg) namespace = element.get_knownns(prefix) if namespace is None: #raise ValueError, "'%s' is an unknown prefix" % str(prefix) - return unicode(arg) + return str(arg) p = element.get_nsprefix(namespace) - return unicode(arg) + return str(arg) def cnv_formula(attribute, arg, element): """ A string containing a formula. Formulas do not have a predefined syntax, but the string should @@ -112,7 +112,7 @@ def cnv_legend_position(attribute, arg, element): if str(arg) not in ("start", "end", "top", "bottom", "top-start", "bottom-start", "top-end", "bottom-end"): - raise ValueError, "'%s' not allowed" % str(arg) + raise ValueError("'%s' not allowed" % str(arg)) return str(arg) pattern_length = re.compile(r'-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))') @@ -123,7 +123,7 @@ """ global pattern_length if not pattern_length.match(arg): - raise ValueError, "'%s' is not a valid length" % arg + raise ValueError("'%s' is not a valid length" % arg) return arg def cnv_lengthorpercent(attribute, arg, element): @@ -133,17 +133,17 @@ try: return cnv_percent(attribute, arg, element) except: failed = True if failed: - raise ValueError, "'%s' is not a valid length or percent" % arg + raise ValueError("'%s' is not a valid length or percent" % arg) return arg def cnv_metavaluetype(attribute, arg, element): if str(arg) not in ("float", "date", "time", "boolean", "string"): - raise ValueError, "'%s' not allowed" % str(arg) + raise ValueError("'%s' not allowed" % str(arg)) return str(arg) def cnv_major_minor(attribute, arg, element): if arg not in ('major','minor'): - raise ValueError, "'%s' is not either 'minor' or 'major'" % arg + raise ValueError("'%s' is not either 'minor' or 'major'" % arg) pattern_namespacedToken = re.compile(r'[0-9a-zA-Z_]+:[0-9a-zA-Z._\-]+') @@ -151,14 +151,14 @@ global pattern_namespacedToken if not pattern_namespacedToken.match(arg): - raise ValueError, "'%s' is not a valid namespaced token" % arg + raise ValueError("'%s' is not a valid namespaced token" % arg) return __save_prefix(attribute, arg, element) def cnv_NCName(attribute, arg, element): """ NCName is defined in http://www.w3.org/TR/REC-xml-names/#NT-NCName Essentially an XML name minus ':' """ - if type(arg) in types.StringTypes: + if type(arg) in str: return make_NCName(arg) else: return arg.getAttrNS(STYLENS, 'name') @@ -195,7 +195,7 @@ def cnv_percent(attribute, arg, element): global pattern_percent if not pattern_percent.match(arg): - raise ValueError, "'%s' is not a valid length" % arg + raise ValueError("'%s' is not a valid length" % arg) return arg # Real one doesn't allow floating point values @@ -203,26 +203,26 @@ #pattern_points = re.compile(r'-?[0-9.]+,-?[0-9.]+([ ]+-?[0-9.]+,-?[0-9.]+)*') def cnv_points(attribute, arg, element): global pattern_points - if type(arg) in types.StringTypes: + if type(arg) in str: if not pattern_points.match(arg): - raise ValueError, "x,y are separated by a comma and the points are separated by white spaces" + raise ValueError("x,y are separated by a comma and the points are separated by white spaces") return arg else: try: strarg = ' '.join([ "%d,%d" % p for p in arg]) except: - raise ValueError, "Points must be string or [(0,0),(1,1)] - not %s" % arg + raise ValueError("Points must be string or [(0,0),(1,1)] - not %s" % arg) return strarg def cnv_positiveInteger(attribute, arg, element): return str(arg) def cnv_string(attribute, arg, element): - return unicode(arg) + return str(arg) def cnv_textnoteclass(attribute, arg, element): if str(arg) not in ("footnote", "endnote"): - raise ValueError, "'%s' not allowed" % str(arg) + raise ValueError("'%s' not allowed" % str(arg)) return str(arg) # Understand different time formats @@ -237,475 +237,475 @@ def cnv_viewbox(attribute, arg, element): global pattern_viewbox if not pattern_viewbox.match(arg): - raise ValueError, "viewBox must be four integers separated by whitespaces" + raise ValueError("viewBox must be four integers separated by whitespaces") return arg def cnv_xlinkshow(attribute, arg, element): if str(arg) not in ("new", "replace", "embed"): - raise ValueError, "'%s' not allowed" % str(arg) + raise ValueError("'%s' not allowed" % str(arg)) return str(arg) attrconverters = { - ((ANIMNS,u'audio-level'), None): cnv_double, - ((ANIMNS,u'color-interpolation'), None): cnv_string, - ((ANIMNS,u'color-interpolation-direction'), None): cnv_string, - ((ANIMNS,u'command'), None): cnv_string, - ((ANIMNS,u'formula'), None): cnv_string, - ((ANIMNS,u'id'), None): cnv_ID, - ((ANIMNS,u'iterate-interval'), None): cnv_duration, - ((ANIMNS,u'iterate-type'), None): cnv_string, - ((ANIMNS,u'name'), None): cnv_string, - ((ANIMNS,u'sub-item'), None): cnv_string, - ((ANIMNS,u'value'), None): cnv_string, + ((ANIMNS,'audio-level'), None): cnv_double, + ((ANIMNS,'color-interpolation'), None): cnv_string, + ((ANIMNS,'color-interpolation-direction'), None): cnv_string, + ((ANIMNS,'command'), None): cnv_string, + ((ANIMNS,'formula'), None): cnv_string, + ((ANIMNS,'id'), None): cnv_ID, + ((ANIMNS,'iterate-interval'), None): cnv_duration, + ((ANIMNS,'iterate-type'), None): cnv_string, + ((ANIMNS,'name'), None): cnv_string, + ((ANIMNS,'sub-item'), None): cnv_string, + ((ANIMNS,'value'), None): cnv_string, # ((DBNS,u'type'), None): cnv_namespacedToken, - ((CHARTNS,u'attached-axis'), None): cnv_string, - ((CHARTNS,u'class'), (CHARTNS,u'grid')): cnv_major_minor, - ((CHARTNS,u'class'), None): cnv_namespacedToken, - ((CHARTNS,u'column-mapping'), None): cnv_string, - ((CHARTNS,u'connect-bars'), None): cnv_boolean, - ((CHARTNS,u'data-label-number'), None): cnv_string, - ((CHARTNS,u'data-label-symbol'), None): cnv_boolean, - ((CHARTNS,u'data-label-text'), None): cnv_boolean, - ((CHARTNS,u'data-source-has-labels'), None): cnv_data_source_has_labels, - ((CHARTNS,u'deep'), None): cnv_boolean, - ((CHARTNS,u'dimension'), None): cnv_string, - ((CHARTNS,u'display-label'), None): cnv_boolean, - ((CHARTNS,u'error-category'), None): cnv_string, - ((CHARTNS,u'error-lower-indicator'), None): cnv_boolean, - ((CHARTNS,u'error-lower-limit'), None): cnv_string, - ((CHARTNS,u'error-margin'), None): cnv_string, - ((CHARTNS,u'error-percentage'), None): cnv_string, - ((CHARTNS,u'error-upper-indicator'), None): cnv_boolean, - ((CHARTNS,u'error-upper-limit'), None): cnv_string, - ((CHARTNS,u'gap-width'), None): cnv_string, - ((CHARTNS,u'interpolation'), None): cnv_string, - ((CHARTNS,u'interval-major'), None): cnv_string, - ((CHARTNS,u'interval-minor-divisor'), None): cnv_string, - ((CHARTNS,u'japanese-candle-stick'), None): cnv_boolean, - ((CHARTNS,u'label-arrangement'), None): cnv_string, - ((CHARTNS,u'label-cell-address'), None): cnv_string, - ((CHARTNS,u'legend-align'), None): cnv_string, - ((CHARTNS,u'legend-position'), None): cnv_legend_position, - ((CHARTNS,u'lines'), None): cnv_boolean, - ((CHARTNS,u'link-data-style-to-source'), None): cnv_boolean, - ((CHARTNS,u'logarithmic'), None): cnv_boolean, - ((CHARTNS,u'maximum'), None): cnv_string, - ((CHARTNS,u'mean-value'), None): cnv_boolean, - ((CHARTNS,u'minimum'), None): cnv_string, - ((CHARTNS,u'name'), None): cnv_string, - ((CHARTNS,u'origin'), None): cnv_string, - ((CHARTNS,u'overlap'), None): cnv_string, - ((CHARTNS,u'percentage'), None): cnv_boolean, - ((CHARTNS,u'pie-offset'), None): cnv_string, - ((CHARTNS,u'regression-type'), None): cnv_string, - ((CHARTNS,u'repeated'), None): cnv_nonNegativeInteger, - ((CHARTNS,u'row-mapping'), None): cnv_string, - ((CHARTNS,u'scale-text'), None): cnv_boolean, - ((CHARTNS,u'series-source'), None): cnv_string, - ((CHARTNS,u'solid-type'), None): cnv_string, - ((CHARTNS,u'spline-order'), None): cnv_string, - ((CHARTNS,u'spline-resolution'), None): cnv_string, - ((CHARTNS,u'stacked'), None): cnv_boolean, - ((CHARTNS,u'style-name'), None): cnv_StyleNameRef, - ((CHARTNS,u'symbol-height'), None): cnv_string, - ((CHARTNS,u'symbol-name'), None): cnv_string, - ((CHARTNS,u'symbol-type'), None): cnv_string, - ((CHARTNS,u'symbol-width'), None): cnv_string, - ((CHARTNS,u'text-overlap'), None): cnv_boolean, - ((CHARTNS,u'three-dimensional'), None): cnv_boolean, - ((CHARTNS,u'tick-marks-major-inner'), None): cnv_boolean, - ((CHARTNS,u'tick-marks-major-outer'), None): cnv_boolean, - ((CHARTNS,u'tick-marks-minor-inner'), None): cnv_boolean, - ((CHARTNS,u'tick-marks-minor-outer'), None): cnv_boolean, - ((CHARTNS,u'values-cell-range-address'), None): cnv_string, - ((CHARTNS,u'vertical'), None): cnv_boolean, - ((CHARTNS,u'visible'), None): cnv_boolean, - ((CONFIGNS,u'name'), None): cnv_formula, - ((CONFIGNS,u'type'), None): cnv_configtype, - ((DR3DNS,u'ambient-color'), None): cnv_string, - ((DR3DNS,u'back-scale'), None): cnv_string, - ((DR3DNS,u'backface-culling'), None): cnv_string, - ((DR3DNS,u'center'), None): cnv_string, - ((DR3DNS,u'close-back'), None): cnv_boolean, - ((DR3DNS,u'close-front'), None): cnv_boolean, - ((DR3DNS,u'depth'), None): cnv_length, - ((DR3DNS,u'diffuse-color'), None): cnv_string, - ((DR3DNS,u'direction'), None): cnv_string, - ((DR3DNS,u'distance'), None): cnv_length, - ((DR3DNS,u'edge-rounding'), None): cnv_string, - ((DR3DNS,u'edge-rounding-mode'), None): cnv_string, - ((DR3DNS,u'emissive-color'), None): cnv_string, - ((DR3DNS,u'enabled'), None): cnv_boolean, - ((DR3DNS,u'end-angle'), None): cnv_string, - ((DR3DNS,u'focal-length'), None): cnv_length, - ((DR3DNS,u'horizontal-segments'), None): cnv_string, - ((DR3DNS,u'lighting-mode'), None): cnv_boolean, - ((DR3DNS,u'max-edge'), None): cnv_string, - ((DR3DNS,u'min-edge'), None): cnv_string, - ((DR3DNS,u'normals-direction'), None): cnv_string, - ((DR3DNS,u'normals-kind'), None): cnv_string, - ((DR3DNS,u'projection'), None): cnv_string, - ((DR3DNS,u'shade-mode'), None): cnv_string, - ((DR3DNS,u'shadow'), None): cnv_string, - ((DR3DNS,u'shadow-slant'), None): cnv_nonNegativeInteger, - ((DR3DNS,u'shininess'), None): cnv_string, - ((DR3DNS,u'size'), None): cnv_string, - ((DR3DNS,u'specular'), None): cnv_boolean, - ((DR3DNS,u'specular-color'), None): cnv_string, - ((DR3DNS,u'texture-filter'), None): cnv_string, - ((DR3DNS,u'texture-generation-mode-x'), None): cnv_string, - ((DR3DNS,u'texture-generation-mode-y'), None): cnv_string, - ((DR3DNS,u'texture-kind'), None): cnv_string, - ((DR3DNS,u'texture-mode'), None): cnv_string, - ((DR3DNS,u'transform'), None): cnv_string, - ((DR3DNS,u'vertical-segments'), None): cnv_string, - ((DR3DNS,u'vpn'), None): cnv_string, - ((DR3DNS,u'vrp'), None): cnv_string, - ((DR3DNS,u'vup'), None): cnv_string, - ((DRAWNS,u'align'), None): cnv_string, - ((DRAWNS,u'angle'), None): cnv_integer, - ((DRAWNS,u'archive'), None): cnv_string, - ((DRAWNS,u'auto-grow-height'), None): cnv_boolean, - ((DRAWNS,u'auto-grow-width'), None): cnv_boolean, - ((DRAWNS,u'background-size'), None): cnv_string, - ((DRAWNS,u'blue'), None): cnv_string, - ((DRAWNS,u'border'), None): cnv_string, - ((DRAWNS,u'caption-angle'), None): cnv_string, - ((DRAWNS,u'caption-angle-type'), None): cnv_string, - ((DRAWNS,u'caption-escape'), None): cnv_string, - ((DRAWNS,u'caption-escape-direction'), None): cnv_string, - ((DRAWNS,u'caption-fit-line-length'), None): cnv_boolean, - ((DRAWNS,u'caption-gap'), None): cnv_string, - ((DRAWNS,u'caption-line-length'), None): cnv_length, - ((DRAWNS,u'caption-point-x'), None): cnv_string, - ((DRAWNS,u'caption-point-y'), None): cnv_string, - ((DRAWNS,u'caption-id'), None): cnv_IDREF, - ((DRAWNS,u'caption-type'), None): cnv_string, - ((DRAWNS,u'chain-next-name'), None): cnv_string, - ((DRAWNS,u'class-id'), None): cnv_string, - ((DRAWNS,u'class-names'), None): cnv_NCNames, - ((DRAWNS,u'code'), None): cnv_string, - ((DRAWNS,u'color'), None): cnv_string, - ((DRAWNS,u'color-inversion'), None): cnv_boolean, - ((DRAWNS,u'color-mode'), None): cnv_string, - ((DRAWNS,u'concave'), None): cnv_string, - ((DRAWNS,u'concentric-gradient-fill-allowed'), None): cnv_boolean, - ((DRAWNS,u'contrast'), None): cnv_string, - ((DRAWNS,u'control'), None): cnv_IDREF, - ((DRAWNS,u'copy-of'), None): cnv_string, - ((DRAWNS,u'corner-radius'), None): cnv_length, - ((DRAWNS,u'corners'), None): cnv_positiveInteger, - ((DRAWNS,u'cx'), None): cnv_string, - ((DRAWNS,u'cy'), None): cnv_string, - ((DRAWNS,u'data'), None): cnv_string, - ((DRAWNS,u'decimal-places'), None): cnv_string, - ((DRAWNS,u'display'), None): cnv_string, - ((DRAWNS,u'display-name'), None): cnv_string, - ((DRAWNS,u'distance'), None): cnv_lengthorpercent, - ((DRAWNS,u'dots1'), None): cnv_integer, - ((DRAWNS,u'dots1-length'), None): cnv_lengthorpercent, - ((DRAWNS,u'dots2'), None): cnv_integer, - ((DRAWNS,u'dots2-length'), None): cnv_lengthorpercent, - ((DRAWNS,u'end-angle'), None): cnv_double, - ((DRAWNS,u'end'), None): cnv_string, - ((DRAWNS,u'end-color'), None): cnv_string, - ((DRAWNS,u'end-glue-point'), None): cnv_nonNegativeInteger, - ((DRAWNS,u'end-guide'), None): cnv_length, - ((DRAWNS,u'end-intensity'), None): cnv_string, - ((DRAWNS,u'end-line-spacing-horizontal'), None): cnv_string, - ((DRAWNS,u'end-line-spacing-vertical'), None): cnv_string, - ((DRAWNS,u'end-shape'), None): cnv_IDREF, - ((DRAWNS,u'engine'), None): cnv_namespacedToken, - ((DRAWNS,u'enhanced-path'), None): cnv_string, - ((DRAWNS,u'escape-direction'), None): cnv_string, - ((DRAWNS,u'extrusion-allowed'), None): cnv_boolean, - ((DRAWNS,u'extrusion-brightness'), None): cnv_string, - ((DRAWNS,u'extrusion'), None): cnv_boolean, - ((DRAWNS,u'extrusion-color'), None): cnv_boolean, - ((DRAWNS,u'extrusion-depth'), None): cnv_double, - ((DRAWNS,u'extrusion-diffusion'), None): cnv_string, - ((DRAWNS,u'extrusion-first-light-direction'), None): cnv_string, - ((DRAWNS,u'extrusion-first-light-harsh'), None): cnv_boolean, - ((DRAWNS,u'extrusion-first-light-level'), None): cnv_string, - ((DRAWNS,u'extrusion-light-face'), None): cnv_boolean, - ((DRAWNS,u'extrusion-metal'), None): cnv_boolean, - ((DRAWNS,u'extrusion-number-of-line-segments'), None): cnv_integer, - ((DRAWNS,u'extrusion-origin'), None): cnv_double, - ((DRAWNS,u'extrusion-rotation-angle'), None): cnv_double, - ((DRAWNS,u'extrusion-rotation-center'), None): cnv_string, - ((DRAWNS,u'extrusion-second-light-direction'), None): cnv_string, - ((DRAWNS,u'extrusion-second-light-harsh'), None): cnv_boolean, - ((DRAWNS,u'extrusion-second-light-level'), None): cnv_string, - ((DRAWNS,u'extrusion-shininess'), None): cnv_string, - ((DRAWNS,u'extrusion-skew'), None): cnv_double, - ((DRAWNS,u'extrusion-specularity'), None): cnv_string, - ((DRAWNS,u'extrusion-viewpoint'), None): cnv_string, - ((DRAWNS,u'fill'), None): cnv_string, - ((DRAWNS,u'fill-color'), None): cnv_string, - ((DRAWNS,u'fill-gradient-name'), None): cnv_string, - ((DRAWNS,u'fill-hatch-name'), None): cnv_string, - ((DRAWNS,u'fill-hatch-solid'), None): cnv_boolean, - ((DRAWNS,u'fill-image-height'), None): cnv_lengthorpercent, - ((DRAWNS,u'fill-image-name'), None): cnv_DrawNameRef, - ((DRAWNS,u'fill-image-ref-point'), None): cnv_string, - ((DRAWNS,u'fill-image-ref-point-x'), None): cnv_string, - ((DRAWNS,u'fill-image-ref-point-y'), None): cnv_string, - ((DRAWNS,u'fill-image-width'), None): cnv_lengthorpercent, - ((DRAWNS,u'filter-name'), None): cnv_string, - ((DRAWNS,u'fit-to-contour'), None): cnv_boolean, - ((DRAWNS,u'fit-to-size'), None): cnv_boolean, - ((DRAWNS,u'formula'), None): cnv_string, - ((DRAWNS,u'frame-display-border'), None): cnv_boolean, - ((DRAWNS,u'frame-display-scrollbar'), None): cnv_boolean, - ((DRAWNS,u'frame-margin-horizontal'), None): cnv_string, - ((DRAWNS,u'frame-margin-vertical'), None): cnv_string, - ((DRAWNS,u'frame-name'), None): cnv_string, - ((DRAWNS,u'gamma'), None): cnv_string, - ((DRAWNS,u'glue-point-leaving-directions'), None): cnv_string, - ((DRAWNS,u'glue-point-type'), None): cnv_string, - ((DRAWNS,u'glue-points'), None): cnv_string, - ((DRAWNS,u'gradient-step-count'), None): cnv_string, - ((DRAWNS,u'green'), None): cnv_string, - ((DRAWNS,u'guide-distance'), None): cnv_string, - ((DRAWNS,u'guide-overhang'), None): cnv_length, - ((DRAWNS,u'handle-mirror-horizontal'), None): cnv_boolean, - ((DRAWNS,u'handle-mirror-vertical'), None): cnv_boolean, - ((DRAWNS,u'handle-polar'), None): cnv_string, - ((DRAWNS,u'handle-position'), None): cnv_string, - ((DRAWNS,u'handle-radius-range-maximum'), None): cnv_string, - ((DRAWNS,u'handle-radius-range-minimum'), None): cnv_string, - ((DRAWNS,u'handle-range-x-maximum'), None): cnv_string, - ((DRAWNS,u'handle-range-x-minimum'), None): cnv_string, - ((DRAWNS,u'handle-range-y-maximum'), None): cnv_string, - ((DRAWNS,u'handle-range-y-minimum'), None): cnv_string, - ((DRAWNS,u'handle-switched'), None): cnv_boolean, + ((CHARTNS,'attached-axis'), None): cnv_string, + ((CHARTNS,'class'), (CHARTNS,'grid')): cnv_major_minor, + ((CHARTNS,'class'), None): cnv_namespacedToken, + ((CHARTNS,'column-mapping'), None): cnv_string, + ((CHARTNS,'connect-bars'), None): cnv_boolean, + ((CHARTNS,'data-label-number'), None): cnv_string, + ((CHARTNS,'data-label-symbol'), None): cnv_boolean, + ((CHARTNS,'data-label-text'), None): cnv_boolean, + ((CHARTNS,'data-source-has-labels'), None): cnv_data_source_has_labels, + ((CHARTNS,'deep'), None): cnv_boolean, + ((CHARTNS,'dimension'), None): cnv_string, + ((CHARTNS,'display-label'), None): cnv_boolean, + ((CHARTNS,'error-category'), None): cnv_string, + ((CHARTNS,'error-lower-indicator'), None): cnv_boolean, + ((CHARTNS,'error-lower-limit'), None): cnv_string, + ((CHARTNS,'error-margin'), None): cnv_string, + ((CHARTNS,'error-percentage'), None): cnv_string, + ((CHARTNS,'error-upper-indicator'), None): cnv_boolean, + ((CHARTNS,'error-upper-limit'), None): cnv_string, + ((CHARTNS,'gap-width'), None): cnv_string, + ((CHARTNS,'interpolation'), None): cnv_string, + ((CHARTNS,'interval-major'), None): cnv_string, + ((CHARTNS,'interval-minor-divisor'), None): cnv_string, + ((CHARTNS,'japanese-candle-stick'), None): cnv_boolean, + ((CHARTNS,'label-arrangement'), None): cnv_string, + ((CHARTNS,'label-cell-address'), None): cnv_string, + ((CHARTNS,'legend-align'), None): cnv_string, + ((CHARTNS,'legend-position'), None): cnv_legend_position, + ((CHARTNS,'lines'), None): cnv_boolean, + ((CHARTNS,'link-data-style-to-source'), None): cnv_boolean, + ((CHARTNS,'logarithmic'), None): cnv_boolean, + ((CHARTNS,'maximum'), None): cnv_string, + ((CHARTNS,'mean-value'), None): cnv_boolean, + ((CHARTNS,'minimum'), None): cnv_string, + ((CHARTNS,'name'), None): cnv_string, + ((CHARTNS,'origin'), None): cnv_string, + ((CHARTNS,'overlap'), None): cnv_string, + ((CHARTNS,'percentage'), None): cnv_boolean, + ((CHARTNS,'pie-offset'), None): cnv_string, + ((CHARTNS,'regression-type'), None): cnv_string, + ((CHARTNS,'repeated'), None): cnv_nonNegativeInteger, + ((CHARTNS,'row-mapping'), None): cnv_string, + ((CHARTNS,'scale-text'), None): cnv_boolean, + ((CHARTNS,'series-source'), None): cnv_string, + ((CHARTNS,'solid-type'), None): cnv_string, + ((CHARTNS,'spline-order'), None): cnv_string, + ((CHARTNS,'spline-resolution'), None): cnv_string, + ((CHARTNS,'stacked'), None): cnv_boolean, + ((CHARTNS,'style-name'), None): cnv_StyleNameRef, + ((CHARTNS,'symbol-height'), None): cnv_string, + ((CHARTNS,'symbol-name'), None): cnv_string, + ((CHARTNS,'symbol-type'), None): cnv_string, + ((CHARTNS,'symbol-width'), None): cnv_string, + ((CHARTNS,'text-overlap'), None): cnv_boolean, + ((CHARTNS,'three-dimensional'), None): cnv_boolean, + ((CHARTNS,'tick-marks-major-inner'), None): cnv_boolean, + ((CHARTNS,'tick-marks-major-outer'), None): cnv_boolean, + ((CHARTNS,'tick-marks-minor-inner'), None): cnv_boolean, + ((CHARTNS,'tick-marks-minor-outer'), None): cnv_boolean, + ((CHARTNS,'values-cell-range-address'), None): cnv_string, + ((CHARTNS,'vertical'), None): cnv_boolean, + ((CHARTNS,'visible'), None): cnv_boolean, + ((CONFIGNS,'name'), None): cnv_formula, + ((CONFIGNS,'type'), None): cnv_configtype, + ((DR3DNS,'ambient-color'), None): cnv_string, + ((DR3DNS,'back-scale'), None): cnv_string, + ((DR3DNS,'backface-culling'), None): cnv_string, + ((DR3DNS,'center'), None): cnv_string, + ((DR3DNS,'close-back'), None): cnv_boolean, + ((DR3DNS,'close-front'), None): cnv_boolean, + ((DR3DNS,'depth'), None): cnv_length, + ((DR3DNS,'diffuse-color'), None): cnv_string, + ((DR3DNS,'direction'), None): cnv_string, + ((DR3DNS,'distance'), None): cnv_length, + ((DR3DNS,'edge-rounding'), None): cnv_string, + ((DR3DNS,'edge-rounding-mode'), None): cnv_string, + ((DR3DNS,'emissive-color'), None): cnv_string, + ((DR3DNS,'enabled'), None): cnv_boolean, + ((DR3DNS,'end-angle'), None): cnv_string, + ((DR3DNS,'focal-length'), None): cnv_length, + ((DR3DNS,'horizontal-segments'), None): cnv_string, + ((DR3DNS,'lighting-mode'), None): cnv_boolean, + ((DR3DNS,'max-edge'), None): cnv_string, + ((DR3DNS,'min-edge'), None): cnv_string, + ((DR3DNS,'normals-direction'), None): cnv_string, + ((DR3DNS,'normals-kind'), None): cnv_string, + ((DR3DNS,'projection'), None): cnv_string, + ((DR3DNS,'shade-mode'), None): cnv_string, + ((DR3DNS,'shadow'), None): cnv_string, + ((DR3DNS,'shadow-slant'), None): cnv_nonNegativeInteger, + ((DR3DNS,'shininess'), None): cnv_string, + ((DR3DNS,'size'), None): cnv_string, + ((DR3DNS,'specular'), None): cnv_boolean, + ((DR3DNS,'specular-color'), None): cnv_string, + ((DR3DNS,'texture-filter'), None): cnv_string, + ((DR3DNS,'texture-generation-mode-x'), None): cnv_string, + ((DR3DNS,'texture-generation-mode-y'), None): cnv_string, + ((DR3DNS,'texture-kind'), None): cnv_string, + ((DR3DNS,'texture-mode'), None): cnv_string, + ((DR3DNS,'transform'), None): cnv_string, + ((DR3DNS,'vertical-segments'), None): cnv_string, + ((DR3DNS,'vpn'), None): cnv_string, + ((DR3DNS,'vrp'), None): cnv_string, + ((DR3DNS,'vup'), None): cnv_string, + ((DRAWNS,'align'), None): cnv_string, + ((DRAWNS,'angle'), None): cnv_integer, + ((DRAWNS,'archive'), None): cnv_string, + ((DRAWNS,'auto-grow-height'), None): cnv_boolean, + ((DRAWNS,'auto-grow-width'), None): cnv_boolean, + ((DRAWNS,'background-size'), None): cnv_string, + ((DRAWNS,'blue'), None): cnv_string, + ((DRAWNS,'border'), None): cnv_string, + ((DRAWNS,'caption-angle'), None): cnv_string, + ((DRAWNS,'caption-angle-type'), None): cnv_string, + ((DRAWNS,'caption-escape'), None): cnv_string, + ((DRAWNS,'caption-escape-direction'), None): cnv_string, + ((DRAWNS,'caption-fit-line-length'), None): cnv_boolean, + ((DRAWNS,'caption-gap'), None): cnv_string, + ((DRAWNS,'caption-line-length'), None): cnv_length, + ((DRAWNS,'caption-point-x'), None): cnv_string, + ((DRAWNS,'caption-point-y'), None): cnv_string, + ((DRAWNS,'caption-id'), None): cnv_IDREF, + ((DRAWNS,'caption-type'), None): cnv_string, + ((DRAWNS,'chain-next-name'), None): cnv_string, + ((DRAWNS,'class-id'), None): cnv_string, + ((DRAWNS,'class-names'), None): cnv_NCNames, + ((DRAWNS,'code'), None): cnv_string, + ((DRAWNS,'color'), None): cnv_string, + ((DRAWNS,'color-inversion'), None): cnv_boolean, + ((DRAWNS,'color-mode'), None): cnv_string, + ((DRAWNS,'concave'), None): cnv_string, + ((DRAWNS,'concentric-gradient-fill-allowed'), None): cnv_boolean, + ((DRAWNS,'contrast'), None): cnv_string, + ((DRAWNS,'control'), None): cnv_IDREF, + ((DRAWNS,'copy-of'), None): cnv_string, + ((DRAWNS,'corner-radius'), None): cnv_length, + ((DRAWNS,'corners'), None): cnv_positiveInteger, + ((DRAWNS,'cx'), None): cnv_string, + ((DRAWNS,'cy'), None): cnv_string, + ((DRAWNS,'data'), None): cnv_string, + ((DRAWNS,'decimal-places'), None): cnv_string, + ((DRAWNS,'display'), None): cnv_string, + ((DRAWNS,'display-name'), None): cnv_string, + ((DRAWNS,'distance'), None): cnv_lengthorpercent, + ((DRAWNS,'dots1'), None): cnv_integer, + ((DRAWNS,'dots1-length'), None): cnv_lengthorpercent, + ((DRAWNS,'dots2'), None): cnv_integer, + ((DRAWNS,'dots2-length'), None): cnv_lengthorpercent, + ((DRAWNS,'end-angle'), None): cnv_double, + ((DRAWNS,'end'), None): cnv_string, + ((DRAWNS,'end-color'), None): cnv_string, + ((DRAWNS,'end-glue-point'), None): cnv_nonNegativeInteger, + ((DRAWNS,'end-guide'), None): cnv_length, + ((DRAWNS,'end-intensity'), None): cnv_string, + ((DRAWNS,'end-line-spacing-horizontal'), None): cnv_string, + ((DRAWNS,'end-line-spacing-vertical'), None): cnv_string, + ((DRAWNS,'end-shape'), None): cnv_IDREF, + ((DRAWNS,'engine'), None): cnv_namespacedToken, + ((DRAWNS,'enhanced-path'), None): cnv_string, + ((DRAWNS,'escape-direction'), None): cnv_string, + ((DRAWNS,'extrusion-allowed'), None): cnv_boolean, + ((DRAWNS,'extrusion-brightness'), None): cnv_string, + ((DRAWNS,'extrusion'), None): cnv_boolean, + ((DRAWNS,'extrusion-color'), None): cnv_boolean, + ((DRAWNS,'extrusion-depth'), None): cnv_double, + ((DRAWNS,'extrusion-diffusion'), None): cnv_string, + ((DRAWNS,'extrusion-first-light-direction'), None): cnv_string, + ((DRAWNS,'extrusion-first-light-harsh'), None): cnv_boolean, + ((DRAWNS,'extrusion-first-light-level'), None): cnv_string, + ((DRAWNS,'extrusion-light-face'), None): cnv_boolean, + ((DRAWNS,'extrusion-metal'), None): cnv_boolean, + ((DRAWNS,'extrusion-number-of-line-segments'), None): cnv_integer, + ((DRAWNS,'extrusion-origin'), None): cnv_double, + ((DRAWNS,'extrusion-rotation-angle'), None): cnv_double, + ((DRAWNS,'extrusion-rotation-center'), None): cnv_string, + ((DRAWNS,'extrusion-second-light-direction'), None): cnv_string, + ((DRAWNS,'extrusion-second-light-harsh'), None): cnv_boolean, + ((DRAWNS,'extrusion-second-light-level'), None): cnv_string, + ((DRAWNS,'extrusion-shininess'), None): cnv_string, + ((DRAWNS,'extrusion-skew'), None): cnv_double, + ((DRAWNS,'extrusion-specularity'), None): cnv_string, + ((DRAWNS,'extrusion-viewpoint'), None): cnv_string, + ((DRAWNS,'fill'), None): cnv_string, + ((DRAWNS,'fill-color'), None): cnv_string, + ((DRAWNS,'fill-gradient-name'), None): cnv_string, + ((DRAWNS,'fill-hatch-name'), None): cnv_string, + ((DRAWNS,'fill-hatch-solid'), None): cnv_boolean, + ((DRAWNS,'fill-image-height'), None): cnv_lengthorpercent, + ((DRAWNS,'fill-image-name'), None): cnv_DrawNameRef, + ((DRAWNS,'fill-image-ref-point'), None): cnv_string, + ((DRAWNS,'fill-image-ref-point-x'), None): cnv_string, + ((DRAWNS,'fill-image-ref-point-y'), None): cnv_string, + ((DRAWNS,'fill-image-width'), None): cnv_lengthorpercent, + ((DRAWNS,'filter-name'), None): cnv_string, + ((DRAWNS,'fit-to-contour'), None): cnv_boolean, + ((DRAWNS,'fit-to-size'), None): cnv_boolean, + ((DRAWNS,'formula'), None): cnv_string, + ((DRAWNS,'frame-display-border'), None): cnv_boolean, + ((DRAWNS,'frame-display-scrollbar'), None): cnv_boolean, + ((DRAWNS,'frame-margin-horizontal'), None): cnv_string, + ((DRAWNS,'frame-margin-vertical'), None): cnv_string, + ((DRAWNS,'frame-name'), None): cnv_string, + ((DRAWNS,'gamma'), None): cnv_string, + ((DRAWNS,'glue-point-leaving-directions'), None): cnv_string, + ((DRAWNS,'glue-point-type'), None): cnv_string, + ((DRAWNS,'glue-points'), None): cnv_string, + ((DRAWNS,'gradient-step-count'), None): cnv_string, + ((DRAWNS,'green'), None): cnv_string, + ((DRAWNS,'guide-distance'), None): cnv_string, + ((DRAWNS,'guide-overhang'), None): cnv_length, + ((DRAWNS,'handle-mirror-horizontal'), None): cnv_boolean, + ((DRAWNS,'handle-mirror-vertical'), None): cnv_boolean, + ((DRAWNS,'handle-polar'), None): cnv_string, + ((DRAWNS,'handle-position'), None): cnv_string, + ((DRAWNS,'handle-radius-range-maximum'), None): cnv_string, + ((DRAWNS,'handle-radius-range-minimum'), None): cnv_string, + ((DRAWNS,'handle-range-x-maximum'), None): cnv_string, + ((DRAWNS,'handle-range-x-minimum'), None): cnv_string, + ((DRAWNS,'handle-range-y-maximum'), None): cnv_string, + ((DRAWNS,'handle-range-y-minimum'), None): cnv_string, + ((DRAWNS,'handle-switched'), None): cnv_boolean, # ((DRAWNS,u'id'), None): cnv_ID, # ((DRAWNS,u'id'), None): cnv_nonNegativeInteger, # ?? line 6581 in RNG - ((DRAWNS,u'id'), None): cnv_string, - ((DRAWNS,u'image-opacity'), None): cnv_string, - ((DRAWNS,u'kind'), None): cnv_string, - ((DRAWNS,u'layer'), None): cnv_string, - ((DRAWNS,u'line-distance'), None): cnv_string, - ((DRAWNS,u'line-skew'), None): cnv_string, - ((DRAWNS,u'luminance'), None): cnv_string, - ((DRAWNS,u'marker-end-center'), None): cnv_boolean, - ((DRAWNS,u'marker-end'), None): cnv_string, - ((DRAWNS,u'marker-end-width'), None): cnv_length, - ((DRAWNS,u'marker-start-center'), None): cnv_boolean, - ((DRAWNS,u'marker-start'), None): cnv_string, - ((DRAWNS,u'marker-start-width'), None): cnv_length, - ((DRAWNS,u'master-page-name'), None): cnv_StyleNameRef, - ((DRAWNS,u'may-script'), None): cnv_boolean, - ((DRAWNS,u'measure-align'), None): cnv_string, - ((DRAWNS,u'measure-vertical-align'), None): cnv_string, - ((DRAWNS,u'mime-type'), None): cnv_string, - ((DRAWNS,u'mirror-horizontal'), None): cnv_boolean, - ((DRAWNS,u'mirror-vertical'), None): cnv_boolean, - ((DRAWNS,u'modifiers'), None): cnv_string, - ((DRAWNS,u'name'), None): cnv_NCName, + ((DRAWNS,'id'), None): cnv_string, + ((DRAWNS,'image-opacity'), None): cnv_string, + ((DRAWNS,'kind'), None): cnv_string, + ((DRAWNS,'layer'), None): cnv_string, + ((DRAWNS,'line-distance'), None): cnv_string, + ((DRAWNS,'line-skew'), None): cnv_string, + ((DRAWNS,'luminance'), None): cnv_string, + ((DRAWNS,'marker-end-center'), None): cnv_boolean, + ((DRAWNS,'marker-end'), None): cnv_string, + ((DRAWNS,'marker-end-width'), None): cnv_length, + ((DRAWNS,'marker-start-center'), None): cnv_boolean, + ((DRAWNS,'marker-start'), None): cnv_string, + ((DRAWNS,'marker-start-width'), None): cnv_length, + ((DRAWNS,'master-page-name'), None): cnv_StyleNameRef, + ((DRAWNS,'may-script'), None): cnv_boolean, + ((DRAWNS,'measure-align'), None): cnv_string, + ((DRAWNS,'measure-vertical-align'), None): cnv_string, + ((DRAWNS,'mime-type'), None): cnv_string, + ((DRAWNS,'mirror-horizontal'), None): cnv_boolean, + ((DRAWNS,'mirror-vertical'), None): cnv_boolean, + ((DRAWNS,'modifiers'), None): cnv_string, + ((DRAWNS,'name'), None): cnv_NCName, # ((DRAWNS,u'name'), None): cnv_string, - ((DRAWNS,u'nav-order'), None): cnv_IDREF, - ((DRAWNS,u'nohref'), None): cnv_string, - ((DRAWNS,u'notify-on-update-of-ranges'), None): cnv_string, - ((DRAWNS,u'object'), None): cnv_string, - ((DRAWNS,u'ole-draw-aspect'), None): cnv_string, - ((DRAWNS,u'opacity'), None): cnv_string, - ((DRAWNS,u'opacity-name'), None): cnv_string, - ((DRAWNS,u'page-number'), None): cnv_positiveInteger, - ((DRAWNS,u'parallel'), None): cnv_boolean, - ((DRAWNS,u'path-stretchpoint-x'), None): cnv_double, - ((DRAWNS,u'path-stretchpoint-y'), None): cnv_double, - ((DRAWNS,u'placing'), None): cnv_string, - ((DRAWNS,u'points'), None): cnv_points, - ((DRAWNS,u'protected'), None): cnv_boolean, - ((DRAWNS,u'recreate-on-edit'), None): cnv_boolean, - ((DRAWNS,u'red'), None): cnv_string, - ((DRAWNS,u'rotation'), None): cnv_integer, - ((DRAWNS,u'secondary-fill-color'), None): cnv_string, - ((DRAWNS,u'shadow'), None): cnv_string, - ((DRAWNS,u'shadow-color'), None): cnv_string, - ((DRAWNS,u'shadow-offset-x'), None): cnv_length, - ((DRAWNS,u'shadow-offset-y'), None): cnv_length, - ((DRAWNS,u'shadow-opacity'), None): cnv_string, - ((DRAWNS,u'shape-id'), None): cnv_IDREF, - ((DRAWNS,u'sharpness'), None): cnv_string, - ((DRAWNS,u'show-unit'), None): cnv_boolean, - ((DRAWNS,u'start-angle'), None): cnv_double, - ((DRAWNS,u'start'), None): cnv_string, - ((DRAWNS,u'start-color'), None): cnv_string, - ((DRAWNS,u'start-glue-point'), None): cnv_nonNegativeInteger, - ((DRAWNS,u'start-guide'), None): cnv_length, - ((DRAWNS,u'start-intensity'), None): cnv_string, - ((DRAWNS,u'start-line-spacing-horizontal'), None): cnv_string, - ((DRAWNS,u'start-line-spacing-vertical'), None): cnv_string, - ((DRAWNS,u'start-shape'), None): cnv_IDREF, - ((DRAWNS,u'stroke'), None): cnv_string, - ((DRAWNS,u'stroke-dash'), None): cnv_string, - ((DRAWNS,u'stroke-dash-names'), None): cnv_string, - ((DRAWNS,u'stroke-linejoin'), None): cnv_string, - ((DRAWNS,u'style'), None): cnv_string, - ((DRAWNS,u'style-name'), None): cnv_StyleNameRef, - ((DRAWNS,u'symbol-color'), None): cnv_string, - ((DRAWNS,u'text-areas'), None): cnv_string, - ((DRAWNS,u'text-path-allowed'), None): cnv_boolean, - ((DRAWNS,u'text-path'), None): cnv_boolean, - ((DRAWNS,u'text-path-mode'), None): cnv_string, - ((DRAWNS,u'text-path-same-letter-heights'), None): cnv_boolean, - ((DRAWNS,u'text-path-scale'), None): cnv_string, - ((DRAWNS,u'text-rotate-angle'), None): cnv_double, - ((DRAWNS,u'text-style-name'), None): cnv_StyleNameRef, - ((DRAWNS,u'textarea-horizontal-align'), None): cnv_string, - ((DRAWNS,u'textarea-vertical-align'), None): cnv_string, - ((DRAWNS,u'tile-repeat-offset'), None): cnv_string, - ((DRAWNS,u'transform'), None): cnv_string, - ((DRAWNS,u'type'), None): cnv_string, - ((DRAWNS,u'unit'), None): cnv_string, - ((DRAWNS,u'value'), None): cnv_string, - ((DRAWNS,u'visible-area-height'), None): cnv_string, - ((DRAWNS,u'visible-area-left'), None): cnv_string, - ((DRAWNS,u'visible-area-top'), None): cnv_string, - ((DRAWNS,u'visible-area-width'), None): cnv_string, - ((DRAWNS,u'wrap-influence-on-position'), None): cnv_string, - ((DRAWNS,u'z-index'), None): cnv_nonNegativeInteger, - ((FONS,u'background-color'), None): cnv_string, - ((FONS,u'border-bottom'), None): cnv_string, - ((FONS,u'border'), None): cnv_string, - ((FONS,u'border-left'), None): cnv_string, - ((FONS,u'border-right'), None): cnv_string, - ((FONS,u'border-top'), None): cnv_string, - ((FONS,u'break-after'), None): cnv_string, - ((FONS,u'break-before'), None): cnv_string, - ((FONS,u'clip'), None): cnv_string, - ((FONS,u'color'), None): cnv_string, - ((FONS,u'column-count'), None): cnv_positiveInteger, - ((FONS,u'column-gap'), None): cnv_length, - ((FONS,u'country'), None): cnv_token, - ((FONS,u'end-indent'), None): cnv_length, - ((FONS,u'font-family'), None): cnv_string, - ((FONS,u'font-size'), None): cnv_string, - ((FONS,u'font-style'), None): cnv_string, - ((FONS,u'font-variant'), None): cnv_string, - ((FONS,u'font-weight'), None): cnv_string, - ((FONS,u'height'), None): cnv_string, - ((FONS,u'hyphenate'), None): cnv_boolean, - ((FONS,u'hyphenation-keep'), None): cnv_string, - ((FONS,u'hyphenation-ladder-count'), None): cnv_string, - ((FONS,u'hyphenation-push-char-count'), None): cnv_string, - ((FONS,u'hyphenation-remain-char-count'), None): cnv_string, - ((FONS,u'keep-together'), None): cnv_string, - ((FONS,u'keep-with-next'), None): cnv_string, - ((FONS,u'language'), None): cnv_token, - ((FONS,u'letter-spacing'), None): cnv_string, - ((FONS,u'line-height'), None): cnv_string, - ((FONS,u'margin-bottom'), None): cnv_string, - ((FONS,u'margin'), None): cnv_string, - ((FONS,u'margin-left'), None): cnv_string, - ((FONS,u'margin-right'), None): cnv_string, - ((FONS,u'margin-top'), None): cnv_string, - ((FONS,u'max-height'), None): cnv_string, - ((FONS,u'max-width'), None): cnv_string, - ((FONS,u'min-height'), None): cnv_length, - ((FONS,u'min-width'), None): cnv_string, - ((FONS,u'orphans'), None): cnv_string, - ((FONS,u'padding-bottom'), None): cnv_string, - ((FONS,u'padding'), None): cnv_string, - ((FONS,u'padding-left'), None): cnv_string, - ((FONS,u'padding-right'), None): cnv_string, - ((FONS,u'padding-top'), None): cnv_string, - ((FONS,u'page-height'), None): cnv_length, - ((FONS,u'page-width'), None): cnv_length, - ((FONS,u'space-after'), None): cnv_length, - ((FONS,u'space-before'), None): cnv_length, - ((FONS,u'start-indent'), None): cnv_length, - ((FONS,u'text-align'), None): cnv_string, - ((FONS,u'text-align-last'), None): cnv_string, - ((FONS,u'text-indent'), None): cnv_string, - ((FONS,u'text-shadow'), None): cnv_string, - ((FONS,u'text-transform'), None): cnv_string, - ((FONS,u'widows'), None): cnv_string, - ((FONS,u'width'), None): cnv_string, - ((FONS,u'wrap-option'), None): cnv_string, - ((FORMNS,u'allow-deletes'), None): cnv_boolean, - ((FORMNS,u'allow-inserts'), None): cnv_boolean, - ((FORMNS,u'allow-updates'), None): cnv_boolean, - ((FORMNS,u'apply-design-mode'), None): cnv_boolean, - ((FORMNS,u'apply-filter'), None): cnv_boolean, - ((FORMNS,u'auto-complete'), None): cnv_boolean, - ((FORMNS,u'automatic-focus'), None): cnv_boolean, - ((FORMNS,u'bound-column'), None): cnv_string, - ((FORMNS,u'button-type'), None): cnv_string, - ((FORMNS,u'command'), None): cnv_string, - ((FORMNS,u'command-type'), None): cnv_string, - ((FORMNS,u'control-implementation'), None): cnv_namespacedToken, - ((FORMNS,u'convert-empty-to-null'), None): cnv_boolean, - ((FORMNS,u'current-selected'), None): cnv_boolean, - ((FORMNS,u'current-state'), None): cnv_string, + ((DRAWNS,'nav-order'), None): cnv_IDREF, + ((DRAWNS,'nohref'), None): cnv_string, + ((DRAWNS,'notify-on-update-of-ranges'), None): cnv_string, + ((DRAWNS,'object'), None): cnv_string, + ((DRAWNS,'ole-draw-aspect'), None): cnv_string, + ((DRAWNS,'opacity'), None): cnv_string, + ((DRAWNS,'opacity-name'), None): cnv_string, + ((DRAWNS,'page-number'), None): cnv_positiveInteger, + ((DRAWNS,'parallel'), None): cnv_boolean, + ((DRAWNS,'path-stretchpoint-x'), None): cnv_double, + ((DRAWNS,'path-stretchpoint-y'), None): cnv_double, + ((DRAWNS,'placing'), None): cnv_string, + ((DRAWNS,'points'), None): cnv_points, + ((DRAWNS,'protected'), None): cnv_boolean, + ((DRAWNS,'recreate-on-edit'), None): cnv_boolean, + ((DRAWNS,'red'), None): cnv_string, + ((DRAWNS,'rotation'), None): cnv_integer, + ((DRAWNS,'secondary-fill-color'), None): cnv_string, + ((DRAWNS,'shadow'), None): cnv_string, + ((DRAWNS,'shadow-color'), None): cnv_string, + ((DRAWNS,'shadow-offset-x'), None): cnv_length, + ((DRAWNS,'shadow-offset-y'), None): cnv_length, + ((DRAWNS,'shadow-opacity'), None): cnv_string, + ((DRAWNS,'shape-id'), None): cnv_IDREF, + ((DRAWNS,'sharpness'), None): cnv_string, + ((DRAWNS,'show-unit'), None): cnv_boolean, + ((DRAWNS,'start-angle'), None): cnv_double, + ((DRAWNS,'start'), None): cnv_string, + ((DRAWNS,'start-color'), None): cnv_string, + ((DRAWNS,'start-glue-point'), None): cnv_nonNegativeInteger, + ((DRAWNS,'start-guide'), None): cnv_length, + ((DRAWNS,'start-intensity'), None): cnv_string, + ((DRAWNS,'start-line-spacing-horizontal'), None): cnv_string, + ((DRAWNS,'start-line-spacing-vertical'), None): cnv_string, + ((DRAWNS,'start-shape'), None): cnv_IDREF, + ((DRAWNS,'stroke'), None): cnv_string, + ((DRAWNS,'stroke-dash'), None): cnv_string, + ((DRAWNS,'stroke-dash-names'), None): cnv_string, + ((DRAWNS,'stroke-linejoin'), None): cnv_string, + ((DRAWNS,'style'), None): cnv_string, + ((DRAWNS,'style-name'), None): cnv_StyleNameRef, + ((DRAWNS,'symbol-color'), None): cnv_string, + ((DRAWNS,'text-areas'), None): cnv_string, + ((DRAWNS,'text-path-allowed'), None): cnv_boolean, + ((DRAWNS,'text-path'), None): cnv_boolean, + ((DRAWNS,'text-path-mode'), None): cnv_string, + ((DRAWNS,'text-path-same-letter-heights'), None): cnv_boolean, + ((DRAWNS,'text-path-scale'), None): cnv_string, + ((DRAWNS,'text-rotate-angle'), None): cnv_double, + ((DRAWNS,'text-style-name'), None): cnv_StyleNameRef, + ((DRAWNS,'textarea-horizontal-align'), None): cnv_string, + ((DRAWNS,'textarea-vertical-align'), None): cnv_string, + ((DRAWNS,'tile-repeat-offset'), None): cnv_string, + ((DRAWNS,'transform'), None): cnv_string, + ((DRAWNS,'type'), None): cnv_string, + ((DRAWNS,'unit'), None): cnv_string, + ((DRAWNS,'value'), None): cnv_string, + ((DRAWNS,'visible-area-height'), None): cnv_string, + ((DRAWNS,'visible-area-left'), None): cnv_string, + ((DRAWNS,'visible-area-top'), None): cnv_string, + ((DRAWNS,'visible-area-width'), None): cnv_string, + ((DRAWNS,'wrap-influence-on-position'), None): cnv_string, + ((DRAWNS,'z-index'), None): cnv_nonNegativeInteger, + ((FONS,'background-color'), None): cnv_string, + ((FONS,'border-bottom'), None): cnv_string, + ((FONS,'border'), None): cnv_string, + ((FONS,'border-left'), None): cnv_string, + ((FONS,'border-right'), None): cnv_string, + ((FONS,'border-top'), None): cnv_string, + ((FONS,'break-after'), None): cnv_string, + ((FONS,'break-before'), None): cnv_string, + ((FONS,'clip'), None): cnv_string, + ((FONS,'color'), None): cnv_string, + ((FONS,'column-count'), None): cnv_positiveInteger, + ((FONS,'column-gap'), None): cnv_length, + ((FONS,'country'), None): cnv_token, + ((FONS,'end-indent'), None): cnv_length, + ((FONS,'font-family'), None): cnv_string, + ((FONS,'font-size'), None): cnv_string, + ((FONS,'font-style'), None): cnv_string, + ((FONS,'font-variant'), None): cnv_string, + ((FONS,'font-weight'), None): cnv_string, + ((FONS,'height'), None): cnv_string, + ((FONS,'hyphenate'), None): cnv_boolean, + ((FONS,'hyphenation-keep'), None): cnv_string, + ((FONS,'hyphenation-ladder-count'), None): cnv_string, + ((FONS,'hyphenation-push-char-count'), None): cnv_string, + ((FONS,'hyphenation-remain-char-count'), None): cnv_string, + ((FONS,'keep-together'), None): cnv_string, + ((FONS,'keep-with-next'), None): cnv_string, + ((FONS,'language'), None): cnv_token, + ((FONS,'letter-spacing'), None): cnv_string, + ((FONS,'line-height'), None): cnv_string, + ((FONS,'margin-bottom'), None): cnv_string, + ((FONS,'margin'), None): cnv_string, + ((FONS,'margin-left'), None): cnv_string, + ((FONS,'margin-right'), None): cnv_string, + ((FONS,'margin-top'), None): cnv_string, + ((FONS,'max-height'), None): cnv_string, + ((FONS,'max-width'), None): cnv_string, + ((FONS,'min-height'), None): cnv_length, + ((FONS,'min-width'), None): cnv_string, + ((FONS,'orphans'), None): cnv_string, + ((FONS,'padding-bottom'), None): cnv_string, + ((FONS,'padding'), None): cnv_string, + ((FONS,'padding-left'), None): cnv_string, + ((FONS,'padding-right'), None): cnv_string, + ((FONS,'padding-top'), None): cnv_string, + ((FONS,'page-height'), None): cnv_length, + ((FONS,'page-width'), None): cnv_length, + ((FONS,'space-after'), None): cnv_length, + ((FONS,'space-before'), None): cnv_length, + ((FONS,'start-indent'), None): cnv_length, + ((FONS,'text-align'), None): cnv_string, + ((FONS,'text-align-last'), None): cnv_string, + ((FONS,'text-indent'), None): cnv_string, + ((FONS,'text-shadow'), None): cnv_string, + ((FONS,'text-transform'), None): cnv_string, + ((FONS,'widows'), None): cnv_string, + ((FONS,'width'), None): cnv_string, + ((FONS,'wrap-option'), None): cnv_string, + ((FORMNS,'allow-deletes'), None): cnv_boolean, + ((FORMNS,'allow-inserts'), None): cnv_boolean, + ((FORMNS,'allow-updates'), None): cnv_boolean, + ((FORMNS,'apply-design-mode'), None): cnv_boolean, + ((FORMNS,'apply-filter'), None): cnv_boolean, + ((FORMNS,'auto-complete'), None): cnv_boolean, + ((FORMNS,'automatic-focus'), None): cnv_boolean, + ((FORMNS,'bound-column'), None): cnv_string, + ((FORMNS,'button-type'), None): cnv_string, + ((FORMNS,'command'), None): cnv_string, + ((FORMNS,'command-type'), None): cnv_string, + ((FORMNS,'control-implementation'), None): cnv_namespacedToken, + ((FORMNS,'convert-empty-to-null'), None): cnv_boolean, + ((FORMNS,'current-selected'), None): cnv_boolean, + ((FORMNS,'current-state'), None): cnv_string, # ((FORMNS,u'current-value'), None): cnv_date, # ((FORMNS,u'current-value'), None): cnv_double, - ((FORMNS,u'current-value'), None): cnv_string, + ((FORMNS,'current-value'), None): cnv_string, # ((FORMNS,u'current-value'), None): cnv_time, - ((FORMNS,u'data-field'), None): cnv_string, - ((FORMNS,u'datasource'), None): cnv_string, - ((FORMNS,u'default-button'), None): cnv_boolean, - ((FORMNS,u'delay-for-repeat'), None): cnv_duration, - ((FORMNS,u'detail-fields'), None): cnv_string, - ((FORMNS,u'disabled'), None): cnv_boolean, - ((FORMNS,u'dropdown'), None): cnv_boolean, - ((FORMNS,u'echo-char'), None): cnv_string, - ((FORMNS,u'enctype'), None): cnv_string, - ((FORMNS,u'escape-processing'), None): cnv_boolean, - ((FORMNS,u'filter'), None): cnv_string, - ((FORMNS,u'focus-on-click'), None): cnv_boolean, - ((FORMNS,u'for'), None): cnv_string, - ((FORMNS,u'id'), None): cnv_ID, - ((FORMNS,u'ignore-result'), None): cnv_boolean, - ((FORMNS,u'image-align'), None): cnv_string, - ((FORMNS,u'image-data'), None): cnv_anyURI, - ((FORMNS,u'image-position'), None): cnv_string, - ((FORMNS,u'is-tristate'), None): cnv_boolean, - ((FORMNS,u'label'), None): cnv_string, - ((FORMNS,u'list-source'), None): cnv_string, - ((FORMNS,u'list-source-type'), None): cnv_string, - ((FORMNS,u'master-fields'), None): cnv_string, - ((FORMNS,u'max-length'), None): cnv_nonNegativeInteger, + ((FORMNS,'data-field'), None): cnv_string, + ((FORMNS,'datasource'), None): cnv_string, + ((FORMNS,'default-button'), None): cnv_boolean, + ((FORMNS,'delay-for-repeat'), None): cnv_duration, + ((FORMNS,'detail-fields'), None): cnv_string, + ((FORMNS,'disabled'), None): cnv_boolean, + ((FORMNS,'dropdown'), None): cnv_boolean, + ((FORMNS,'echo-char'), None): cnv_string, + ((FORMNS,'enctype'), None): cnv_string, + ((FORMNS,'escape-processing'), None): cnv_boolean, + ((FORMNS,'filter'), None): cnv_string, + ((FORMNS,'focus-on-click'), None): cnv_boolean, + ((FORMNS,'for'), None): cnv_string, + ((FORMNS,'id'), None): cnv_ID, + ((FORMNS,'ignore-result'), None): cnv_boolean, + ((FORMNS,'image-align'), None): cnv_string, + ((FORMNS,'image-data'), None): cnv_anyURI, + ((FORMNS,'image-position'), None): cnv_string, + ((FORMNS,'is-tristate'), None): cnv_boolean, + ((FORMNS,'label'), None): cnv_string, + ((FORMNS,'list-source'), None): cnv_string, + ((FORMNS,'list-source-type'), None): cnv_string, + ((FORMNS,'master-fields'), None): cnv_string, + ((FORMNS,'max-length'), None): cnv_nonNegativeInteger, # ((FORMNS,u'max-value'), None): cnv_date, # ((FORMNS,u'max-value'), None): cnv_double, - ((FORMNS,u'max-value'), None): cnv_string, + ((FORMNS,'max-value'), None): cnv_string, # ((FORMNS,u'max-value'), None): cnv_time, - ((FORMNS,u'method'), None): cnv_string, + ((FORMNS,'method'), None): cnv_string, # ((FORMNS,u'min-value'), None): cnv_date, # ((FORMNS,u'min-value'), None): cnv_double, - ((FORMNS,u'min-value'), None): cnv_string, + ((FORMNS,'min-value'), None): cnv_string, # ((FORMNS,u'min-value'), None): cnv_time, - ((FORMNS,u'multi-line'), None): cnv_boolean, - ((FORMNS,u'multiple'), None): cnv_boolean, - ((FORMNS,u'name'), None): cnv_string, - ((FORMNS,u'navigation-mode'), None): cnv_string, - ((FORMNS,u'order'), None): cnv_string, - ((FORMNS,u'orientation'), None): cnv_string, - ((FORMNS,u'page-step-size'), None): cnv_positiveInteger, - ((FORMNS,u'printable'), None): cnv_boolean, - ((FORMNS,u'property-name'), None): cnv_string, - ((FORMNS,u'readonly'), None): cnv_boolean, - ((FORMNS,u'selected'), None): cnv_boolean, - ((FORMNS,u'size'), None): cnv_nonNegativeInteger, - ((FORMNS,u'state'), None): cnv_string, - ((FORMNS,u'step-size'), None): cnv_positiveInteger, - ((FORMNS,u'tab-cycle'), None): cnv_string, - ((FORMNS,u'tab-index'), None): cnv_nonNegativeInteger, - ((FORMNS,u'tab-stop'), None): cnv_boolean, - ((FORMNS,u'text-style-name'), None): cnv_StyleNameRef, - ((FORMNS,u'title'), None): cnv_string, - ((FORMNS,u'toggle'), None): cnv_boolean, - ((FORMNS,u'validation'), None): cnv_boolean, + ((FORMNS,'multi-line'), None): cnv_boolean, + ((FORMNS,'multiple'), None): cnv_boolean, + ((FORMNS,'name'), None): cnv_string, + ((FORMNS,'navigation-mode'), None): cnv_string, + ((FORMNS,'order'), None): cnv_string, + ((FORMNS,'orientation'), None): cnv_string, + ((FORMNS,'page-step-size'), None): cnv_positiveInteger, + ((FORMNS,'printable'), None): cnv_boolean, + ((FORMNS,'property-name'), None): cnv_string, + ((FORMNS,'readonly'), None): cnv_boolean, + ((FORMNS,'selected'), None): cnv_boolean, + ((FORMNS,'size'), None): cnv_nonNegativeInteger, + ((FORMNS,'state'), None): cnv_string, + ((FORMNS,'step-size'), None): cnv_positiveInteger, + ((FORMNS,'tab-cycle'), None): cnv_string, + ((FORMNS,'tab-index'), None): cnv_nonNegativeInteger, + ((FORMNS,'tab-stop'), None): cnv_boolean, + ((FORMNS,'text-style-name'), None): cnv_StyleNameRef, + ((FORMNS,'title'), None): cnv_string, + ((FORMNS,'toggle'), None): cnv_boolean, + ((FORMNS,'validation'), None): cnv_boolean, # ((FORMNS,u'value'), None): cnv_date, # ((FORMNS,u'value'), None): cnv_double, - ((FORMNS,u'value'), None): cnv_string, + ((FORMNS,'value'), None): cnv_string, # ((FORMNS,u'value'), None): cnv_time, - ((FORMNS,u'visual-effect'), None): cnv_string, - ((FORMNS,u'xforms-list-source'), None): cnv_string, - ((FORMNS,u'xforms-submission'), None): cnv_string, + ((FORMNS,'visual-effect'), None): cnv_string, + ((FORMNS,'xforms-list-source'), None): cnv_string, + ((FORMNS,'xforms-submission'), None): cnv_string, ((MANIFESTNS,'algorithm-name'), None): cnv_string, ((MANIFESTNS,'checksum'), None): cnv_string, ((MANIFESTNS,'checksum-type'), None): cnv_string, @@ -716,756 +716,756 @@ ((MANIFESTNS,'media-type'), None): cnv_string, ((MANIFESTNS,'salt'), None): cnv_string, ((MANIFESTNS,'size'), None): cnv_nonNegativeInteger, - ((METANS,u'cell-count'), None): cnv_nonNegativeInteger, - ((METANS,u'character-count'), None): cnv_nonNegativeInteger, - ((METANS,u'date'), None): cnv_dateTime, - ((METANS,u'delay'), None): cnv_duration, - ((METANS,u'draw-count'), None): cnv_nonNegativeInteger, - ((METANS,u'frame-count'), None): cnv_nonNegativeInteger, - ((METANS,u'image-count'), None): cnv_nonNegativeInteger, - ((METANS,u'name'), None): cnv_string, - ((METANS,u'non-whitespace-character-count'), None): cnv_nonNegativeInteger, - ((METANS,u'object-count'), None): cnv_nonNegativeInteger, - ((METANS,u'ole-object-count'), None): cnv_nonNegativeInteger, - ((METANS,u'page-count'), None): cnv_nonNegativeInteger, - ((METANS,u'paragraph-count'), None): cnv_nonNegativeInteger, - ((METANS,u'row-count'), None): cnv_nonNegativeInteger, - ((METANS,u'sentence-count'), None): cnv_nonNegativeInteger, - ((METANS,u'syllable-count'), None): cnv_nonNegativeInteger, - ((METANS,u'table-count'), None): cnv_nonNegativeInteger, - ((METANS,u'value-type'), None): cnv_metavaluetype, - ((METANS,u'word-count'), None): cnv_nonNegativeInteger, - ((NUMBERNS,u'automatic-order'), None): cnv_boolean, - ((NUMBERNS,u'calendar'), None): cnv_string, - ((NUMBERNS,u'country'), None): cnv_token, - ((NUMBERNS,u'decimal-places'), None): cnv_integer, - ((NUMBERNS,u'decimal-replacement'), None): cnv_string, - ((NUMBERNS,u'denominator-value'), None): cnv_integer, - ((NUMBERNS,u'display-factor'), None): cnv_double, - ((NUMBERNS,u'format-source'), None): cnv_string, - ((NUMBERNS,u'grouping'), None): cnv_boolean, - ((NUMBERNS,u'language'), None): cnv_token, - ((NUMBERNS,u'min-denominator-digits'), None): cnv_integer, - ((NUMBERNS,u'min-exponent-digits'), None): cnv_integer, - ((NUMBERNS,u'min-integer-digits'), None): cnv_integer, - ((NUMBERNS,u'min-numerator-digits'), None): cnv_integer, - ((NUMBERNS,u'position'), None): cnv_integer, - ((NUMBERNS,u'possessive-form'), None): cnv_boolean, - ((NUMBERNS,u'style'), None): cnv_string, - ((NUMBERNS,u'textual'), None): cnv_boolean, - ((NUMBERNS,u'title'), None): cnv_string, - ((NUMBERNS,u'transliteration-country'), None): cnv_token, - ((NUMBERNS,u'transliteration-format'), None): cnv_string, - ((NUMBERNS,u'transliteration-language'), None): cnv_token, - ((NUMBERNS,u'transliteration-style'), None): cnv_string, - ((NUMBERNS,u'truncate-on-overflow'), None): cnv_boolean, - ((OFFICENS,u'automatic-update'), None): cnv_boolean, - ((OFFICENS,u'boolean-value'), None): cnv_boolean, - ((OFFICENS,u'conversion-mode'), None): cnv_string, - ((OFFICENS,u'currency'), None): cnv_string, - ((OFFICENS,u'date-value'), None): cnv_dateTime, - ((OFFICENS,u'dde-application'), None): cnv_string, - ((OFFICENS,u'dde-item'), None): cnv_string, - ((OFFICENS,u'dde-topic'), None): cnv_string, - ((OFFICENS,u'display'), None): cnv_boolean, - ((OFFICENS,u'mimetype'), None): cnv_string, - ((OFFICENS,u'name'), None): cnv_string, - ((OFFICENS,u'process-content'), None): cnv_boolean, - ((OFFICENS,u'server-map'), None): cnv_boolean, - ((OFFICENS,u'string-value'), None): cnv_string, - ((OFFICENS,u'target-frame'), None): cnv_string, - ((OFFICENS,u'target-frame-name'), None): cnv_string, - ((OFFICENS,u'time-value'), None): cnv_duration, - ((OFFICENS,u'title'), None): cnv_string, - ((OFFICENS,u'value'), None): cnv_double, - ((OFFICENS,u'value-type'), None): cnv_string, - ((OFFICENS,u'version'), None): cnv_string, - ((PRESENTATIONNS,u'action'), None): cnv_string, - ((PRESENTATIONNS,u'animations'), None): cnv_string, - ((PRESENTATIONNS,u'background-objects-visible'), None): cnv_boolean, - ((PRESENTATIONNS,u'background-visible'), None): cnv_boolean, - ((PRESENTATIONNS,u'class'), None): cnv_string, - ((PRESENTATIONNS,u'class-names'), None): cnv_NCNames, - ((PRESENTATIONNS,u'delay'), None): cnv_duration, - ((PRESENTATIONNS,u'direction'), None): cnv_string, - ((PRESENTATIONNS,u'display-date-time'), None): cnv_boolean, - ((PRESENTATIONNS,u'display-footer'), None): cnv_boolean, - ((PRESENTATIONNS,u'display-header'), None): cnv_boolean, - ((PRESENTATIONNS,u'display-page-number'), None): cnv_boolean, - ((PRESENTATIONNS,u'duration'), None): cnv_string, - ((PRESENTATIONNS,u'effect'), None): cnv_string, - ((PRESENTATIONNS,u'endless'), None): cnv_boolean, - ((PRESENTATIONNS,u'force-manual'), None): cnv_boolean, - ((PRESENTATIONNS,u'full-screen'), None): cnv_boolean, - ((PRESENTATIONNS,u'group-id'), None): cnv_string, - ((PRESENTATIONNS,u'master-element'), None): cnv_IDREF, - ((PRESENTATIONNS,u'mouse-as-pen'), None): cnv_boolean, - ((PRESENTATIONNS,u'mouse-visible'), None): cnv_boolean, - ((PRESENTATIONNS,u'name'), None): cnv_string, - ((PRESENTATIONNS,u'node-type'), None): cnv_string, - ((PRESENTATIONNS,u'object'), None): cnv_string, - ((PRESENTATIONNS,u'pages'), None): cnv_string, - ((PRESENTATIONNS,u'path-id'), None): cnv_string, - ((PRESENTATIONNS,u'pause'), None): cnv_duration, - ((PRESENTATIONNS,u'placeholder'), None): cnv_boolean, - ((PRESENTATIONNS,u'play-full'), None): cnv_boolean, - ((PRESENTATIONNS,u'presentation-page-layout-name'), None): cnv_StyleNameRef, - ((PRESENTATIONNS,u'preset-class'), None): cnv_string, - ((PRESENTATIONNS,u'preset-id'), None): cnv_string, - ((PRESENTATIONNS,u'preset-sub-type'), None): cnv_string, - ((PRESENTATIONNS,u'show'), None): cnv_string, - ((PRESENTATIONNS,u'show-end-of-presentation-slide'), None): cnv_boolean, - ((PRESENTATIONNS,u'show-logo'), None): cnv_boolean, - ((PRESENTATIONNS,u'source'), None): cnv_string, - ((PRESENTATIONNS,u'speed'), None): cnv_string, - ((PRESENTATIONNS,u'start-page'), None): cnv_string, - ((PRESENTATIONNS,u'start-scale'), None): cnv_string, - ((PRESENTATIONNS,u'start-with-navigator'), None): cnv_boolean, - ((PRESENTATIONNS,u'stay-on-top'), None): cnv_boolean, - ((PRESENTATIONNS,u'style-name'), None): cnv_StyleNameRef, - ((PRESENTATIONNS,u'transition-on-click'), None): cnv_string, - ((PRESENTATIONNS,u'transition-speed'), None): cnv_string, - ((PRESENTATIONNS,u'transition-style'), None): cnv_string, - ((PRESENTATIONNS,u'transition-type'), None): cnv_string, - ((PRESENTATIONNS,u'use-date-time-name'), None): cnv_string, - ((PRESENTATIONNS,u'use-footer-name'), None): cnv_string, - ((PRESENTATIONNS,u'use-header-name'), None): cnv_string, - ((PRESENTATIONNS,u'user-transformed'), None): cnv_boolean, - ((PRESENTATIONNS,u'verb'), None): cnv_nonNegativeInteger, - ((PRESENTATIONNS,u'visibility'), None): cnv_string, - ((SCRIPTNS,u'event-name'), None): cnv_formula, - ((SCRIPTNS,u'language'), None): cnv_formula, - ((SCRIPTNS,u'macro-name'), None): cnv_string, - ((SMILNS,u'accelerate'), None): cnv_double, - ((SMILNS,u'accumulate'), None): cnv_string, - ((SMILNS,u'additive'), None): cnv_string, - ((SMILNS,u'attributeName'), None): cnv_string, - ((SMILNS,u'autoReverse'), None): cnv_boolean, - ((SMILNS,u'begin'), None): cnv_string, - ((SMILNS,u'by'), None): cnv_string, - ((SMILNS,u'calcMode'), None): cnv_string, - ((SMILNS,u'decelerate'), None): cnv_double, - ((SMILNS,u'direction'), None): cnv_string, - ((SMILNS,u'dur'), None): cnv_string, - ((SMILNS,u'end'), None): cnv_string, - ((SMILNS,u'endsync'), None): cnv_string, - ((SMILNS,u'fadeColor'), None): cnv_string, - ((SMILNS,u'fill'), None): cnv_string, - ((SMILNS,u'fillDefault'), None): cnv_string, - ((SMILNS,u'from'), None): cnv_string, - ((SMILNS,u'keySplines'), None): cnv_string, - ((SMILNS,u'keyTimes'), None): cnv_string, - ((SMILNS,u'mode'), None): cnv_string, - ((SMILNS,u'repeatCount'), None): cnv_nonNegativeInteger, - ((SMILNS,u'repeatDur'), None): cnv_string, - ((SMILNS,u'restart'), None): cnv_string, - ((SMILNS,u'restartDefault'), None): cnv_string, - ((SMILNS,u'subtype'), None): cnv_string, - ((SMILNS,u'targetElement'), None): cnv_IDREF, - ((SMILNS,u'to'), None): cnv_string, - ((SMILNS,u'type'), None): cnv_string, - ((SMILNS,u'values'), None): cnv_string, - ((STYLENS,u'adjustment'), None): cnv_string, - ((STYLENS,u'apply-style-name'), None): cnv_StyleNameRef, - ((STYLENS,u'auto-text-indent'), None): cnv_boolean, - ((STYLENS,u'auto-update'), None): cnv_boolean, - ((STYLENS,u'background-transparency'), None): cnv_string, - ((STYLENS,u'base-cell-address'), None): cnv_string, - ((STYLENS,u'border-line-width-bottom'), None): cnv_string, - ((STYLENS,u'border-line-width'), None): cnv_string, - ((STYLENS,u'border-line-width-left'), None): cnv_string, - ((STYLENS,u'border-line-width-right'), None): cnv_string, - ((STYLENS,u'border-line-width-top'), None): cnv_string, - ((STYLENS,u'cell-protect'), None): cnv_string, - ((STYLENS,u'char'), None): cnv_string, - ((STYLENS,u'class'), None): cnv_string, - ((STYLENS,u'color'), None): cnv_string, - ((STYLENS,u'column-width'), None): cnv_string, - ((STYLENS,u'condition'), None): cnv_string, - ((STYLENS,u'country-asian'), None): cnv_string, - ((STYLENS,u'country-complex'), None): cnv_string, - ((STYLENS,u'data-style-name'), None): cnv_StyleNameRef, - ((STYLENS,u'decimal-places'), None): cnv_string, - ((STYLENS,u'default-outline-level'), None): cnv_positiveInteger, - ((STYLENS,u'diagonal-bl-tr'), None): cnv_string, - ((STYLENS,u'diagonal-bl-tr-widths'), None): cnv_string, - ((STYLENS,u'diagonal-tl-br'), None): cnv_string, - ((STYLENS,u'diagonal-tl-br-widths'), None): cnv_string, - ((STYLENS,u'direction'), None): cnv_string, - ((STYLENS,u'display'), None): cnv_boolean, - ((STYLENS,u'display-name'), None): cnv_string, - ((STYLENS,u'distance-after-sep'), None): cnv_length, - ((STYLENS,u'distance-before-sep'), None): cnv_length, - ((STYLENS,u'distance'), None): cnv_length, - ((STYLENS,u'dynamic-spacing'), None): cnv_boolean, - ((STYLENS,u'editable'), None): cnv_boolean, - ((STYLENS,u'family'), None): cnv_family, - ((STYLENS,u'filter-name'), None): cnv_string, - ((STYLENS,u'first-page-number'), None): cnv_string, - ((STYLENS,u'flow-with-text'), None): cnv_boolean, - ((STYLENS,u'font-adornments'), None): cnv_string, - ((STYLENS,u'font-charset'), None): cnv_string, - ((STYLENS,u'font-charset-asian'), None): cnv_string, - ((STYLENS,u'font-charset-complex'), None): cnv_string, - ((STYLENS,u'font-family-asian'), None): cnv_string, - ((STYLENS,u'font-family-complex'), None): cnv_string, - ((STYLENS,u'font-family-generic-asian'), None): cnv_string, - ((STYLENS,u'font-family-generic'), None): cnv_string, - ((STYLENS,u'font-family-generic-complex'), None): cnv_string, - ((STYLENS,u'font-independent-line-spacing'), None): cnv_boolean, - ((STYLENS,u'font-name-asian'), None): cnv_string, - ((STYLENS,u'font-name'), None): cnv_string, - ((STYLENS,u'font-name-complex'), None): cnv_string, - ((STYLENS,u'font-pitch-asian'), None): cnv_string, - ((STYLENS,u'font-pitch'), None): cnv_string, - ((STYLENS,u'font-pitch-complex'), None): cnv_string, - ((STYLENS,u'font-relief'), None): cnv_string, - ((STYLENS,u'font-size-asian'), None): cnv_string, - ((STYLENS,u'font-size-complex'), None): cnv_string, - ((STYLENS,u'font-size-rel-asian'), None): cnv_length, - ((STYLENS,u'font-size-rel'), None): cnv_length, - ((STYLENS,u'font-size-rel-complex'), None): cnv_length, - ((STYLENS,u'font-style-asian'), None): cnv_string, - ((STYLENS,u'font-style-complex'), None): cnv_string, - ((STYLENS,u'font-style-name-asian'), None): cnv_string, - ((STYLENS,u'font-style-name'), None): cnv_string, - ((STYLENS,u'font-style-name-complex'), None): cnv_string, - ((STYLENS,u'font-weight-asian'), None): cnv_string, - ((STYLENS,u'font-weight-complex'), None): cnv_string, - ((STYLENS,u'footnote-max-height'), None): cnv_length, - ((STYLENS,u'glyph-orientation-vertical'), None): cnv_string, - ((STYLENS,u'height'), None): cnv_string, - ((STYLENS,u'horizontal-pos'), None): cnv_string, - ((STYLENS,u'horizontal-rel'), None): cnv_string, - ((STYLENS,u'justify-single-word'), None): cnv_boolean, - ((STYLENS,u'language-asian'), None): cnv_string, - ((STYLENS,u'language-complex'), None): cnv_string, - ((STYLENS,u'layout-grid-base-height'), None): cnv_length, - ((STYLENS,u'layout-grid-color'), None): cnv_string, - ((STYLENS,u'layout-grid-display'), None): cnv_boolean, - ((STYLENS,u'layout-grid-lines'), None): cnv_string, - ((STYLENS,u'layout-grid-mode'), None): cnv_string, - ((STYLENS,u'layout-grid-print'), None): cnv_boolean, - ((STYLENS,u'layout-grid-ruby-below'), None): cnv_boolean, - ((STYLENS,u'layout-grid-ruby-height'), None): cnv_length, - ((STYLENS,u'leader-char'), None): cnv_string, - ((STYLENS,u'leader-color'), None): cnv_string, - ((STYLENS,u'leader-style'), None): cnv_string, - ((STYLENS,u'leader-text'), None): cnv_string, - ((STYLENS,u'leader-text-style'), None): cnv_StyleNameRef, - ((STYLENS,u'leader-type'), None): cnv_string, - ((STYLENS,u'leader-width'), None): cnv_string, - ((STYLENS,u'legend-expansion-aspect-ratio'), None): cnv_double, - ((STYLENS,u'legend-expansion'), None): cnv_string, - ((STYLENS,u'length'), None): cnv_positiveInteger, - ((STYLENS,u'letter-kerning'), None): cnv_boolean, - ((STYLENS,u'line-break'), None): cnv_string, - ((STYLENS,u'line-height-at-least'), None): cnv_string, - ((STYLENS,u'line-spacing'), None): cnv_length, - ((STYLENS,u'line-style'), None): cnv_string, - ((STYLENS,u'lines'), None): cnv_positiveInteger, - ((STYLENS,u'list-style-name'), None): cnv_StyleNameRef, - ((STYLENS,u'master-page-name'), None): cnv_StyleNameRef, - ((STYLENS,u'may-break-between-rows'), None): cnv_boolean, - ((STYLENS,u'min-row-height'), None): cnv_string, - ((STYLENS,u'mirror'), None): cnv_string, - ((STYLENS,u'name'), None): cnv_NCName, - ((STYLENS,u'name'), (STYLENS,u'font-face')): cnv_string, - ((STYLENS,u'next-style-name'), None): cnv_StyleNameRef, - ((STYLENS,u'num-format'), None): cnv_string, - ((STYLENS,u'num-letter-sync'), None): cnv_boolean, - ((STYLENS,u'num-prefix'), None): cnv_string, - ((STYLENS,u'num-suffix'), None): cnv_string, - ((STYLENS,u'number-wrapped-paragraphs'), None): cnv_string, - ((STYLENS,u'overflow-behavior'), None): cnv_string, - ((STYLENS,u'page-layout-name'), None): cnv_StyleNameRef, - ((STYLENS,u'page-number'), None): cnv_string, - ((STYLENS,u'page-usage'), None): cnv_string, - ((STYLENS,u'paper-tray-name'), None): cnv_string, - ((STYLENS,u'parent-style-name'), None): cnv_StyleNameRef, - ((STYLENS,u'position'), (STYLENS,u'tab-stop')): cnv_length, - ((STYLENS,u'position'), None): cnv_string, - ((STYLENS,u'print'), None): cnv_string, - ((STYLENS,u'print-content'), None): cnv_boolean, - ((STYLENS,u'print-orientation'), None): cnv_string, - ((STYLENS,u'print-page-order'), None): cnv_string, - ((STYLENS,u'protect'), None): cnv_boolean, - ((STYLENS,u'punctuation-wrap'), None): cnv_string, - ((STYLENS,u'register-true'), None): cnv_boolean, - ((STYLENS,u'register-truth-ref-style-name'), None): cnv_string, - ((STYLENS,u'rel-column-width'), None): cnv_string, - ((STYLENS,u'rel-height'), None): cnv_string, - ((STYLENS,u'rel-width'), None): cnv_string, - ((STYLENS,u'repeat'), None): cnv_string, - ((STYLENS,u'repeat-content'), None): cnv_boolean, - ((STYLENS,u'rotation-align'), None): cnv_string, - ((STYLENS,u'rotation-angle'), None): cnv_string, - ((STYLENS,u'row-height'), None): cnv_string, - ((STYLENS,u'ruby-align'), None): cnv_string, - ((STYLENS,u'ruby-position'), None): cnv_string, - ((STYLENS,u'run-through'), None): cnv_string, - ((STYLENS,u'scale-to'), None): cnv_string, - ((STYLENS,u'scale-to-pages'), None): cnv_string, - ((STYLENS,u'script-type'), None): cnv_string, - ((STYLENS,u'shadow'), None): cnv_string, - ((STYLENS,u'shrink-to-fit'), None): cnv_boolean, - ((STYLENS,u'snap-to-layout-grid'), None): cnv_boolean, - ((STYLENS,u'style'), None): cnv_string, - ((STYLENS,u'style-name'), None): cnv_StyleNameRef, - ((STYLENS,u'tab-stop-distance'), None): cnv_string, - ((STYLENS,u'table-centering'), None): cnv_string, - ((STYLENS,u'text-align-source'), None): cnv_string, - ((STYLENS,u'text-autospace'), None): cnv_string, - ((STYLENS,u'text-blinking'), None): cnv_boolean, - ((STYLENS,u'text-combine'), None): cnv_string, - ((STYLENS,u'text-combine-end-char'), None): cnv_string, - ((STYLENS,u'text-combine-start-char'), None): cnv_string, - ((STYLENS,u'text-emphasize'), None): cnv_string, - ((STYLENS,u'text-line-through-color'), None): cnv_string, - ((STYLENS,u'text-line-through-mode'), None): cnv_string, - ((STYLENS,u'text-line-through-style'), None): cnv_string, - ((STYLENS,u'text-line-through-text'), None): cnv_string, - ((STYLENS,u'text-line-through-text-style'), None): cnv_string, - ((STYLENS,u'text-line-through-type'), None): cnv_string, - ((STYLENS,u'text-line-through-width'), None): cnv_string, - ((STYLENS,u'text-outline'), None): cnv_boolean, - ((STYLENS,u'text-position'), None): cnv_string, - ((STYLENS,u'text-rotation-angle'), None): cnv_string, - ((STYLENS,u'text-rotation-scale'), None): cnv_string, - ((STYLENS,u'text-scale'), None): cnv_string, - ((STYLENS,u'text-underline-color'), None): cnv_string, - ((STYLENS,u'text-underline-mode'), None): cnv_string, - ((STYLENS,u'text-underline-style'), None): cnv_string, - ((STYLENS,u'text-underline-type'), None): cnv_string, - ((STYLENS,u'text-underline-width'), None): cnv_string, - ((STYLENS,u'type'), None): cnv_string, - ((STYLENS,u'use-optimal-column-width'), None): cnv_boolean, - ((STYLENS,u'use-optimal-row-height'), None): cnv_boolean, - ((STYLENS,u'use-window-font-color'), None): cnv_boolean, - ((STYLENS,u'vertical-align'), None): cnv_string, - ((STYLENS,u'vertical-pos'), None): cnv_string, - ((STYLENS,u'vertical-rel'), None): cnv_string, - ((STYLENS,u'volatile'), None): cnv_boolean, - ((STYLENS,u'width'), None): cnv_string, - ((STYLENS,u'wrap'), None): cnv_string, - ((STYLENS,u'wrap-contour'), None): cnv_boolean, - ((STYLENS,u'wrap-contour-mode'), None): cnv_string, - ((STYLENS,u'wrap-dynamic-threshold'), None): cnv_length, - ((STYLENS,u'writing-mode-automatic'), None): cnv_boolean, - ((STYLENS,u'writing-mode'), None): cnv_string, - ((SVGNS,u'accent-height'), None): cnv_integer, - ((SVGNS,u'alphabetic'), None): cnv_integer, - ((SVGNS,u'ascent'), None): cnv_integer, - ((SVGNS,u'bbox'), None): cnv_string, - ((SVGNS,u'cap-height'), None): cnv_integer, - ((SVGNS,u'cx'), None): cnv_string, - ((SVGNS,u'cy'), None): cnv_string, - ((SVGNS,u'd'), None): cnv_string, - ((SVGNS,u'descent'), None): cnv_integer, - ((SVGNS,u'fill-rule'), None): cnv_string, - ((SVGNS,u'font-family'), None): cnv_string, - ((SVGNS,u'font-size'), None): cnv_string, - ((SVGNS,u'font-stretch'), None): cnv_string, - ((SVGNS,u'font-style'), None): cnv_string, - ((SVGNS,u'font-variant'), None): cnv_string, - ((SVGNS,u'font-weight'), None): cnv_string, - ((SVGNS,u'fx'), None): cnv_string, - ((SVGNS,u'fy'), None): cnv_string, - ((SVGNS,u'gradientTransform'), None): cnv_string, - ((SVGNS,u'gradientUnits'), None): cnv_string, - ((SVGNS,u'hanging'), None): cnv_integer, - ((SVGNS,u'height'), None): cnv_length, - ((SVGNS,u'ideographic'), None): cnv_integer, - ((SVGNS,u'mathematical'), None): cnv_integer, - ((SVGNS,u'name'), None): cnv_string, - ((SVGNS,u'offset'), None): cnv_string, - ((SVGNS,u'origin'), None): cnv_string, - ((SVGNS,u'overline-position'), None): cnv_integer, - ((SVGNS,u'overline-thickness'), None): cnv_integer, - ((SVGNS,u'panose-1'), None): cnv_string, - ((SVGNS,u'path'), None): cnv_string, - ((SVGNS,u'r'), None): cnv_length, - ((SVGNS,u'rx'), None): cnv_length, - ((SVGNS,u'ry'), None): cnv_length, - ((SVGNS,u'slope'), None): cnv_integer, - ((SVGNS,u'spreadMethod'), None): cnv_string, - ((SVGNS,u'stemh'), None): cnv_integer, - ((SVGNS,u'stemv'), None): cnv_integer, - ((SVGNS,u'stop-color'), None): cnv_string, - ((SVGNS,u'stop-opacity'), None): cnv_double, - ((SVGNS,u'strikethrough-position'), None): cnv_integer, - ((SVGNS,u'strikethrough-thickness'), None): cnv_integer, - ((SVGNS,u'string'), None): cnv_string, - ((SVGNS,u'stroke-color'), None): cnv_string, - ((SVGNS,u'stroke-opacity'), None): cnv_string, - ((SVGNS,u'stroke-width'), None): cnv_length, - ((SVGNS,u'type'), None): cnv_string, - ((SVGNS,u'underline-position'), None): cnv_integer, - ((SVGNS,u'underline-thickness'), None): cnv_integer, - ((SVGNS,u'unicode-range'), None): cnv_string, - ((SVGNS,u'units-per-em'), None): cnv_integer, - ((SVGNS,u'v-alphabetic'), None): cnv_integer, - ((SVGNS,u'v-hanging'), None): cnv_integer, - ((SVGNS,u'v-ideographic'), None): cnv_integer, - ((SVGNS,u'v-mathematical'), None): cnv_integer, - ((SVGNS,u'viewBox'), None): cnv_viewbox, - ((SVGNS,u'width'), None): cnv_length, - ((SVGNS,u'widths'), None): cnv_string, - ((SVGNS,u'x'), None): cnv_length, - ((SVGNS,u'x-height'), None): cnv_integer, - ((SVGNS,u'x1'), None): cnv_lengthorpercent, - ((SVGNS,u'x2'), None): cnv_lengthorpercent, - ((SVGNS,u'y'), None): cnv_length, - ((SVGNS,u'y1'), None): cnv_lengthorpercent, - ((SVGNS,u'y2'), None): cnv_lengthorpercent, - ((TABLENS,u'acceptance-state'), None): cnv_string, - ((TABLENS,u'add-empty-lines'), None): cnv_boolean, - ((TABLENS,u'algorithm'), None): cnv_formula, - ((TABLENS,u'align'), None): cnv_string, - ((TABLENS,u'allow-empty-cell'), None): cnv_boolean, - ((TABLENS,u'application-data'), None): cnv_string, - ((TABLENS,u'automatic-find-labels'), None): cnv_boolean, - ((TABLENS,u'base-cell-address'), None): cnv_string, - ((TABLENS,u'bind-styles-to-content'), None): cnv_boolean, - ((TABLENS,u'border-color'), None): cnv_string, - ((TABLENS,u'border-model'), None): cnv_string, - ((TABLENS,u'buttons'), None): cnv_string, - ((TABLENS,u'buttons'), None): cnv_string, - ((TABLENS,u'case-sensitive'), None): cnv_boolean, - ((TABLENS,u'case-sensitive'), None): cnv_string, - ((TABLENS,u'cell-address'), None): cnv_string, - ((TABLENS,u'cell-range-address'), None): cnv_string, - ((TABLENS,u'cell-range-address'), None): cnv_string, - ((TABLENS,u'cell-range'), None): cnv_string, - ((TABLENS,u'column'), None): cnv_integer, - ((TABLENS,u'comment'), None): cnv_string, - ((TABLENS,u'condition'), None): cnv_formula, - ((TABLENS,u'condition-source'), None): cnv_string, - ((TABLENS,u'condition-source-range-address'), None): cnv_string, - ((TABLENS,u'contains-error'), None): cnv_boolean, - ((TABLENS,u'contains-header'), None): cnv_boolean, - ((TABLENS,u'content-validation-name'), None): cnv_string, - ((TABLENS,u'copy-back'), None): cnv_boolean, - ((TABLENS,u'copy-formulas'), None): cnv_boolean, - ((TABLENS,u'copy-styles'), None): cnv_boolean, - ((TABLENS,u'count'), None): cnv_positiveInteger, - ((TABLENS,u'country'), None): cnv_token, - ((TABLENS,u'data-cell-range-address'), None): cnv_string, - ((TABLENS,u'data-field'), None): cnv_string, - ((TABLENS,u'data-type'), None): cnv_string, - ((TABLENS,u'database-name'), None): cnv_string, - ((TABLENS,u'database-table-name'), None): cnv_string, - ((TABLENS,u'date-end'), None): cnv_string, - ((TABLENS,u'date-start'), None): cnv_string, - ((TABLENS,u'date-value'), None): cnv_date, - ((TABLENS,u'default-cell-style-name'), None): cnv_StyleNameRef, - ((TABLENS,u'direction'), None): cnv_string, - ((TABLENS,u'display-border'), None): cnv_boolean, - ((TABLENS,u'display'), None): cnv_boolean, - ((TABLENS,u'display-duplicates'), None): cnv_boolean, - ((TABLENS,u'display-filter-buttons'), None): cnv_boolean, - ((TABLENS,u'display-list'), None): cnv_string, - ((TABLENS,u'display-member-mode'), None): cnv_string, - ((TABLENS,u'drill-down-on-double-click'), None): cnv_boolean, - ((TABLENS,u'enabled'), None): cnv_boolean, - ((TABLENS,u'end-cell-address'), None): cnv_string, - ((TABLENS,u'end'), None): cnv_string, - ((TABLENS,u'end-column'), None): cnv_integer, - ((TABLENS,u'end-position'), None): cnv_integer, - ((TABLENS,u'end-row'), None): cnv_integer, - ((TABLENS,u'end-table'), None): cnv_integer, - ((TABLENS,u'end-x'), None): cnv_length, - ((TABLENS,u'end-y'), None): cnv_length, - ((TABLENS,u'execute'), None): cnv_boolean, - ((TABLENS,u'expression'), None): cnv_formula, - ((TABLENS,u'field-name'), None): cnv_string, - ((TABLENS,u'field-number'), None): cnv_nonNegativeInteger, - ((TABLENS,u'field-number'), None): cnv_string, - ((TABLENS,u'filter-name'), None): cnv_string, - ((TABLENS,u'filter-options'), None): cnv_string, - ((TABLENS,u'formula'), None): cnv_formula, - ((TABLENS,u'function'), None): cnv_string, - ((TABLENS,u'function'), None): cnv_string, - ((TABLENS,u'grand-total'), None): cnv_string, - ((TABLENS,u'group-by-field-number'), None): cnv_nonNegativeInteger, - ((TABLENS,u'grouped-by'), None): cnv_string, - ((TABLENS,u'has-persistent-data'), None): cnv_boolean, - ((TABLENS,u'id'), None): cnv_string, - ((TABLENS,u'identify-categories'), None): cnv_boolean, - ((TABLENS,u'ignore-empty-rows'), None): cnv_boolean, - ((TABLENS,u'index'), None): cnv_nonNegativeInteger, - ((TABLENS,u'is-active'), None): cnv_boolean, - ((TABLENS,u'is-data-layout-field'), None): cnv_string, - ((TABLENS,u'is-selection'), None): cnv_boolean, - ((TABLENS,u'is-sub-table'), None): cnv_boolean, - ((TABLENS,u'label-cell-range-address'), None): cnv_string, - ((TABLENS,u'language'), None): cnv_token, - ((TABLENS,u'language'), None): cnv_token, - ((TABLENS,u'last-column-spanned'), None): cnv_positiveInteger, - ((TABLENS,u'last-row-spanned'), None): cnv_positiveInteger, - ((TABLENS,u'layout-mode'), None): cnv_string, - ((TABLENS,u'link-to-source-data'), None): cnv_boolean, - ((TABLENS,u'marked-invalid'), None): cnv_boolean, - ((TABLENS,u'matrix-covered'), None): cnv_boolean, - ((TABLENS,u'maximum-difference'), None): cnv_double, - ((TABLENS,u'member-count'), None): cnv_nonNegativeInteger, - ((TABLENS,u'member-name'), None): cnv_string, - ((TABLENS,u'member-type'), None): cnv_string, - ((TABLENS,u'message-type'), None): cnv_string, - ((TABLENS,u'mode'), None): cnv_string, - ((TABLENS,u'multi-deletion-spanned'), None): cnv_integer, - ((TABLENS,u'name'), None): cnv_string, - ((TABLENS,u'name'), None): cnv_string, - ((TABLENS,u'null-year'), None): cnv_positiveInteger, - ((TABLENS,u'number-columns-repeated'), None): cnv_positiveInteger, - ((TABLENS,u'number-columns-spanned'), None): cnv_positiveInteger, - ((TABLENS,u'number-matrix-columns-spanned'), None): cnv_positiveInteger, - ((TABLENS,u'number-matrix-rows-spanned'), None): cnv_positiveInteger, - ((TABLENS,u'number-rows-repeated'), None): cnv_positiveInteger, - ((TABLENS,u'number-rows-spanned'), None): cnv_positiveInteger, - ((TABLENS,u'object-name'), None): cnv_string, - ((TABLENS,u'on-update-keep-size'), None): cnv_boolean, - ((TABLENS,u'on-update-keep-styles'), None): cnv_boolean, - ((TABLENS,u'operator'), None): cnv_string, - ((TABLENS,u'operator'), None): cnv_string, - ((TABLENS,u'order'), None): cnv_string, - ((TABLENS,u'orientation'), None): cnv_string, - ((TABLENS,u'orientation'), None): cnv_string, - ((TABLENS,u'page-breaks-on-group-change'), None): cnv_boolean, - ((TABLENS,u'parse-sql-statement'), None): cnv_boolean, - ((TABLENS,u'password'), None): cnv_string, - ((TABLENS,u'position'), None): cnv_integer, - ((TABLENS,u'precision-as-shown'), None): cnv_boolean, - ((TABLENS,u'print'), None): cnv_boolean, - ((TABLENS,u'print-ranges'), None): cnv_string, - ((TABLENS,u'protect'), None): cnv_boolean, - ((TABLENS,u'protected'), None): cnv_boolean, - ((TABLENS,u'protection-key'), None): cnv_string, - ((TABLENS,u'query-name'), None): cnv_string, - ((TABLENS,u'range-usable-as'), None): cnv_string, - ((TABLENS,u'refresh-delay'), None): cnv_boolean, - ((TABLENS,u'refresh-delay'), None): cnv_duration, - ((TABLENS,u'rejecting-change-id'), None): cnv_string, - ((TABLENS,u'row'), None): cnv_integer, - ((TABLENS,u'scenario-ranges'), None): cnv_string, - ((TABLENS,u'search-criteria-must-apply-to-whole-cell'), None): cnv_boolean, - ((TABLENS,u'selected-page'), None): cnv_string, - ((TABLENS,u'show-details'), None): cnv_boolean, - ((TABLENS,u'show-empty'), None): cnv_boolean, - ((TABLENS,u'show-empty'), None): cnv_string, - ((TABLENS,u'show-filter-button'), None): cnv_boolean, - ((TABLENS,u'sort-mode'), None): cnv_string, - ((TABLENS,u'source-cell-range-addresses'), None): cnv_string, - ((TABLENS,u'source-cell-range-addresses'), None): cnv_string, - ((TABLENS,u'source-field-name'), None): cnv_string, - ((TABLENS,u'source-field-name'), None): cnv_string, - ((TABLENS,u'source-name'), None): cnv_string, - ((TABLENS,u'sql-statement'), None): cnv_string, - ((TABLENS,u'start'), None): cnv_string, - ((TABLENS,u'start-column'), None): cnv_integer, - ((TABLENS,u'start-position'), None): cnv_integer, - ((TABLENS,u'start-row'), None): cnv_integer, - ((TABLENS,u'start-table'), None): cnv_integer, - ((TABLENS,u'status'), None): cnv_string, - ((TABLENS,u'step'), None): cnv_double, - ((TABLENS,u'steps'), None): cnv_positiveInteger, - ((TABLENS,u'structure-protected'), None): cnv_boolean, - ((TABLENS,u'style-name'), None): cnv_StyleNameRef, - ((TABLENS,u'table-background'), None): cnv_boolean, - ((TABLENS,u'table'), None): cnv_integer, - ((TABLENS,u'table-name'), None): cnv_string, - ((TABLENS,u'target-cell-address'), None): cnv_string, - ((TABLENS,u'target-cell-address'), None): cnv_string, - ((TABLENS,u'target-range-address'), None): cnv_string, - ((TABLENS,u'target-range-address'), None): cnv_string, - ((TABLENS,u'title'), None): cnv_string, - ((TABLENS,u'track-changes'), None): cnv_boolean, - ((TABLENS,u'type'), None): cnv_string, - ((TABLENS,u'use-labels'), None): cnv_string, - ((TABLENS,u'use-regular-expressions'), None): cnv_boolean, - ((TABLENS,u'used-hierarchy'), None): cnv_integer, - ((TABLENS,u'user-name'), None): cnv_string, - ((TABLENS,u'value'), None): cnv_string, - ((TABLENS,u'value'), None): cnv_string, - ((TABLENS,u'value-type'), None): cnv_string, - ((TABLENS,u'visibility'), None): cnv_string, - ((TEXTNS,u'active'), None): cnv_boolean, - ((TEXTNS,u'address'), None): cnv_string, - ((TEXTNS,u'alphabetical-separators'), None): cnv_boolean, - ((TEXTNS,u'anchor-page-number'), None): cnv_positiveInteger, - ((TEXTNS,u'anchor-type'), None): cnv_string, - ((TEXTNS,u'animation'), None): cnv_string, - ((TEXTNS,u'animation-delay'), None): cnv_string, - ((TEXTNS,u'animation-direction'), None): cnv_string, - ((TEXTNS,u'animation-repeat'), None): cnv_string, - ((TEXTNS,u'animation-start-inside'), None): cnv_boolean, - ((TEXTNS,u'animation-steps'), None): cnv_length, - ((TEXTNS,u'animation-stop-inside'), None): cnv_boolean, - ((TEXTNS,u'annote'), None): cnv_string, - ((TEXTNS,u'author'), None): cnv_string, - ((TEXTNS,u'bibliography-data-field'), None): cnv_string, - ((TEXTNS,u'bibliography-type'), None): cnv_string, - ((TEXTNS,u'booktitle'), None): cnv_string, - ((TEXTNS,u'bullet-char'), None): cnv_string, - ((TEXTNS,u'bullet-relative-size'), None): cnv_string, - ((TEXTNS,u'c'), None): cnv_nonNegativeInteger, - ((TEXTNS,u'capitalize-entries'), None): cnv_boolean, - ((TEXTNS,u'caption-sequence-format'), None): cnv_string, - ((TEXTNS,u'caption-sequence-name'), None): cnv_string, - ((TEXTNS,u'change-id'), None): cnv_IDREF, - ((TEXTNS,u'chapter'), None): cnv_string, - ((TEXTNS,u'citation-body-style-name'), None): cnv_StyleNameRef, - ((TEXTNS,u'citation-style-name'), None): cnv_StyleNameRef, - ((TEXTNS,u'class-names'), None): cnv_NCNames, - ((TEXTNS,u'column-name'), None): cnv_string, - ((TEXTNS,u'combine-entries'), None): cnv_boolean, - ((TEXTNS,u'combine-entries-with-dash'), None): cnv_boolean, - ((TEXTNS,u'combine-entries-with-pp'), None): cnv_boolean, - ((TEXTNS,u'comma-separated'), None): cnv_boolean, - ((TEXTNS,u'cond-style-name'), None): cnv_StyleNameRef, - ((TEXTNS,u'condition'), None): cnv_formula, - ((TEXTNS,u'connection-name'), None): cnv_string, - ((TEXTNS,u'consecutive-numbering'), None): cnv_boolean, - ((TEXTNS,u'continue-numbering'), None): cnv_boolean, - ((TEXTNS,u'copy-outline-levels'), None): cnv_boolean, - ((TEXTNS,u'count-empty-lines'), None): cnv_boolean, - ((TEXTNS,u'count-in-text-boxes'), None): cnv_boolean, - ((TEXTNS,u'current-value'), None): cnv_boolean, - ((TEXTNS,u'custom1'), None): cnv_string, - ((TEXTNS,u'custom2'), None): cnv_string, - ((TEXTNS,u'custom3'), None): cnv_string, - ((TEXTNS,u'custom4'), None): cnv_string, - ((TEXTNS,u'custom5'), None): cnv_string, - ((TEXTNS,u'database-name'), None): cnv_string, - ((TEXTNS,u'date-adjust'), None): cnv_duration, - ((TEXTNS,u'date-value'), None): cnv_date, + ((METANS,'cell-count'), None): cnv_nonNegativeInteger, + ((METANS,'character-count'), None): cnv_nonNegativeInteger, + ((METANS,'date'), None): cnv_dateTime, + ((METANS,'delay'), None): cnv_duration, + ((METANS,'draw-count'), None): cnv_nonNegativeInteger, + ((METANS,'frame-count'), None): cnv_nonNegativeInteger, + ((METANS,'image-count'), None): cnv_nonNegativeInteger, + ((METANS,'name'), None): cnv_string, + ((METANS,'non-whitespace-character-count'), None): cnv_nonNegativeInteger, + ((METANS,'object-count'), None): cnv_nonNegativeInteger, + ((METANS,'ole-object-count'), None): cnv_nonNegativeInteger, + ((METANS,'page-count'), None): cnv_nonNegativeInteger, + ((METANS,'paragraph-count'), None): cnv_nonNegativeInteger, + ((METANS,'row-count'), None): cnv_nonNegativeInteger, + ((METANS,'sentence-count'), None): cnv_nonNegativeInteger, + ((METANS,'syllable-count'), None): cnv_nonNegativeInteger, + ((METANS,'table-count'), None): cnv_nonNegativeInteger, + ((METANS,'value-type'), None): cnv_metavaluetype, + ((METANS,'word-count'), None): cnv_nonNegativeInteger, + ((NUMBERNS,'automatic-order'), None): cnv_boolean, + ((NUMBERNS,'calendar'), None): cnv_string, + ((NUMBERNS,'country'), None): cnv_token, + ((NUMBERNS,'decimal-places'), None): cnv_integer, + ((NUMBERNS,'decimal-replacement'), None): cnv_string, + ((NUMBERNS,'denominator-value'), None): cnv_integer, + ((NUMBERNS,'display-factor'), None): cnv_double, + ((NUMBERNS,'format-source'), None): cnv_string, + ((NUMBERNS,'grouping'), None): cnv_boolean, + ((NUMBERNS,'language'), None): cnv_token, + ((NUMBERNS,'min-denominator-digits'), None): cnv_integer, + ((NUMBERNS,'min-exponent-digits'), None): cnv_integer, + ((NUMBERNS,'min-integer-digits'), None): cnv_integer, + ((NUMBERNS,'min-numerator-digits'), None): cnv_integer, + ((NUMBERNS,'position'), None): cnv_integer, + ((NUMBERNS,'possessive-form'), None): cnv_boolean, + ((NUMBERNS,'style'), None): cnv_string, + ((NUMBERNS,'textual'), None): cnv_boolean, + ((NUMBERNS,'title'), None): cnv_string, + ((NUMBERNS,'transliteration-country'), None): cnv_token, + ((NUMBERNS,'transliteration-format'), None): cnv_string, + ((NUMBERNS,'transliteration-language'), None): cnv_token, + ((NUMBERNS,'transliteration-style'), None): cnv_string, + ((NUMBERNS,'truncate-on-overflow'), None): cnv_boolean, + ((OFFICENS,'automatic-update'), None): cnv_boolean, + ((OFFICENS,'boolean-value'), None): cnv_boolean, + ((OFFICENS,'conversion-mode'), None): cnv_string, + ((OFFICENS,'currency'), None): cnv_string, + ((OFFICENS,'date-value'), None): cnv_dateTime, + ((OFFICENS,'dde-application'), None): cnv_string, + ((OFFICENS,'dde-item'), None): cnv_string, + ((OFFICENS,'dde-topic'), None): cnv_string, + ((OFFICENS,'display'), None): cnv_boolean, + ((OFFICENS,'mimetype'), None): cnv_string, + ((OFFICENS,'name'), None): cnv_string, + ((OFFICENS,'process-content'), None): cnv_boolean, + ((OFFICENS,'server-map'), None): cnv_boolean, + ((OFFICENS,'string-value'), None): cnv_string, + ((OFFICENS,'target-frame'), None): cnv_string, + ((OFFICENS,'target-frame-name'), None): cnv_string, + ((OFFICENS,'time-value'), None): cnv_duration, + ((OFFICENS,'title'), None): cnv_string, + ((OFFICENS,'value'), None): cnv_double, + ((OFFICENS,'value-type'), None): cnv_string, + ((OFFICENS,'version'), None): cnv_string, + ((PRESENTATIONNS,'action'), None): cnv_string, + ((PRESENTATIONNS,'animations'), None): cnv_string, + ((PRESENTATIONNS,'background-objects-visible'), None): cnv_boolean, + ((PRESENTATIONNS,'background-visible'), None): cnv_boolean, + ((PRESENTATIONNS,'class'), None): cnv_string, + ((PRESENTATIONNS,'class-names'), None): cnv_NCNames, + ((PRESENTATIONNS,'delay'), None): cnv_duration, + ((PRESENTATIONNS,'direction'), None): cnv_string, + ((PRESENTATIONNS,'display-date-time'), None): cnv_boolean, + ((PRESENTATIONNS,'display-footer'), None): cnv_boolean, + ((PRESENTATIONNS,'display-header'), None): cnv_boolean, + ((PRESENTATIONNS,'display-page-number'), None): cnv_boolean, + ((PRESENTATIONNS,'duration'), None): cnv_string, + ((PRESENTATIONNS,'effect'), None): cnv_string, + ((PRESENTATIONNS,'endless'), None): cnv_boolean, + ((PRESENTATIONNS,'force-manual'), None): cnv_boolean, + ((PRESENTATIONNS,'full-screen'), None): cnv_boolean, + ((PRESENTATIONNS,'group-id'), None): cnv_string, + ((PRESENTATIONNS,'master-element'), None): cnv_IDREF, + ((PRESENTATIONNS,'mouse-as-pen'), None): cnv_boolean, + ((PRESENTATIONNS,'mouse-visible'), None): cnv_boolean, + ((PRESENTATIONNS,'name'), None): cnv_string, + ((PRESENTATIONNS,'node-type'), None): cnv_string, + ((PRESENTATIONNS,'object'), None): cnv_string, + ((PRESENTATIONNS,'pages'), None): cnv_string, + ((PRESENTATIONNS,'path-id'), None): cnv_string, + ((PRESENTATIONNS,'pause'), None): cnv_duration, + ((PRESENTATIONNS,'placeholder'), None): cnv_boolean, + ((PRESENTATIONNS,'play-full'), None): cnv_boolean, + ((PRESENTATIONNS,'presentation-page-layout-name'), None): cnv_StyleNameRef, + ((PRESENTATIONNS,'preset-class'), None): cnv_string, + ((PRESENTATIONNS,'preset-id'), None): cnv_string, + ((PRESENTATIONNS,'preset-sub-type'), None): cnv_string, + ((PRESENTATIONNS,'show'), None): cnv_string, + ((PRESENTATIONNS,'show-end-of-presentation-slide'), None): cnv_boolean, + ((PRESENTATIONNS,'show-logo'), None): cnv_boolean, + ((PRESENTATIONNS,'source'), None): cnv_string, + ((PRESENTATIONNS,'speed'), None): cnv_string, + ((PRESENTATIONNS,'start-page'), None): cnv_string, + ((PRESENTATIONNS,'start-scale'), None): cnv_string, + ((PRESENTATIONNS,'start-with-navigator'), None): cnv_boolean, + ((PRESENTATIONNS,'stay-on-top'), None): cnv_boolean, + ((PRESENTATIONNS,'style-name'), None): cnv_StyleNameRef, + ((PRESENTATIONNS,'transition-on-click'), None): cnv_string, + ((PRESENTATIONNS,'transition-speed'), None): cnv_string, + ((PRESENTATIONNS,'transition-style'), None): cnv_string, + ((PRESENTATIONNS,'transition-type'), None): cnv_string, + ((PRESENTATIONNS,'use-date-time-name'), None): cnv_string, + ((PRESENTATIONNS,'use-footer-name'), None): cnv_string, + ((PRESENTATIONNS,'use-header-name'), None): cnv_string, + ((PRESENTATIONNS,'user-transformed'), None): cnv_boolean, + ((PRESENTATIONNS,'verb'), None): cnv_nonNegativeInteger, + ((PRESENTATIONNS,'visibility'), None): cnv_string, + ((SCRIPTNS,'event-name'), None): cnv_formula, + ((SCRIPTNS,'language'), None): cnv_formula, + ((SCRIPTNS,'macro-name'), None): cnv_string, + ((SMILNS,'accelerate'), None): cnv_double, + ((SMILNS,'accumulate'), None): cnv_string, + ((SMILNS,'additive'), None): cnv_string, + ((SMILNS,'attributeName'), None): cnv_string, + ((SMILNS,'autoReverse'), None): cnv_boolean, + ((SMILNS,'begin'), None): cnv_string, + ((SMILNS,'by'), None): cnv_string, + ((SMILNS,'calcMode'), None): cnv_string, + ((SMILNS,'decelerate'), None): cnv_double, + ((SMILNS,'direction'), None): cnv_string, + ((SMILNS,'dur'), None): cnv_string, + ((SMILNS,'end'), None): cnv_string, + ((SMILNS,'endsync'), None): cnv_string, + ((SMILNS,'fadeColor'), None): cnv_string, + ((SMILNS,'fill'), None): cnv_string, + ((SMILNS,'fillDefault'), None): cnv_string, + ((SMILNS,'from'), None): cnv_string, + ((SMILNS,'keySplines'), None): cnv_string, + ((SMILNS,'keyTimes'), None): cnv_string, + ((SMILNS,'mode'), None): cnv_string, + ((SMILNS,'repeatCount'), None): cnv_nonNegativeInteger, + ((SMILNS,'repeatDur'), None): cnv_string, + ((SMILNS,'restart'), None): cnv_string, + ((SMILNS,'restartDefault'), None): cnv_string, + ((SMILNS,'subtype'), None): cnv_string, + ((SMILNS,'targetElement'), None): cnv_IDREF, + ((SMILNS,'to'), None): cnv_string, + ((SMILNS,'type'), None): cnv_string, + ((SMILNS,'values'), None): cnv_string, + ((STYLENS,'adjustment'), None): cnv_string, + ((STYLENS,'apply-style-name'), None): cnv_StyleNameRef, + ((STYLENS,'auto-text-indent'), None): cnv_boolean, + ((STYLENS,'auto-update'), None): cnv_boolean, + ((STYLENS,'background-transparency'), None): cnv_string, + ((STYLENS,'base-cell-address'), None): cnv_string, + ((STYLENS,'border-line-width-bottom'), None): cnv_string, + ((STYLENS,'border-line-width'), None): cnv_string, + ((STYLENS,'border-line-width-left'), None): cnv_string, + ((STYLENS,'border-line-width-right'), None): cnv_string, + ((STYLENS,'border-line-width-top'), None): cnv_string, + ((STYLENS,'cell-protect'), None): cnv_string, + ((STYLENS,'char'), None): cnv_string, + ((STYLENS,'class'), None): cnv_string, + ((STYLENS,'color'), None): cnv_string, + ((STYLENS,'column-width'), None): cnv_string, + ((STYLENS,'condition'), None): cnv_string, + ((STYLENS,'country-asian'), None): cnv_string, + ((STYLENS,'country-complex'), None): cnv_string, + ((STYLENS,'data-style-name'), None): cnv_StyleNameRef, + ((STYLENS,'decimal-places'), None): cnv_string, + ((STYLENS,'default-outline-level'), None): cnv_positiveInteger, + ((STYLENS,'diagonal-bl-tr'), None): cnv_string, + ((STYLENS,'diagonal-bl-tr-widths'), None): cnv_string, + ((STYLENS,'diagonal-tl-br'), None): cnv_string, + ((STYLENS,'diagonal-tl-br-widths'), None): cnv_string, + ((STYLENS,'direction'), None): cnv_string, + ((STYLENS,'display'), None): cnv_boolean, + ((STYLENS,'display-name'), None): cnv_string, + ((STYLENS,'distance-after-sep'), None): cnv_length, + ((STYLENS,'distance-before-sep'), None): cnv_length, + ((STYLENS,'distance'), None): cnv_length, + ((STYLENS,'dynamic-spacing'), None): cnv_boolean, + ((STYLENS,'editable'), None): cnv_boolean, + ((STYLENS,'family'), None): cnv_family, + ((STYLENS,'filter-name'), None): cnv_string, + ((STYLENS,'first-page-number'), None): cnv_string, + ((STYLENS,'flow-with-text'), None): cnv_boolean, + ((STYLENS,'font-adornments'), None): cnv_string, + ((STYLENS,'font-charset'), None): cnv_string, + ((STYLENS,'font-charset-asian'), None): cnv_string, + ((STYLENS,'font-charset-complex'), None): cnv_string, + ((STYLENS,'font-family-asian'), None): cnv_string, + ((STYLENS,'font-family-complex'), None): cnv_string, + ((STYLENS,'font-family-generic-asian'), None): cnv_string, + ((STYLENS,'font-family-generic'), None): cnv_string, + ((STYLENS,'font-family-generic-complex'), None): cnv_string, + ((STYLENS,'font-independent-line-spacing'), None): cnv_boolean, + ((STYLENS,'font-name-asian'), None): cnv_string, + ((STYLENS,'font-name'), None): cnv_string, + ((STYLENS,'font-name-complex'), None): cnv_string, + ((STYLENS,'font-pitch-asian'), None): cnv_string, + ((STYLENS,'font-pitch'), None): cnv_string, + ((STYLENS,'font-pitch-complex'), None): cnv_string, + ((STYLENS,'font-relief'), None): cnv_string, + ((STYLENS,'font-size-asian'), None): cnv_string, + ((STYLENS,'font-size-complex'), None): cnv_string, + ((STYLENS,'font-size-rel-asian'), None): cnv_length, + ((STYLENS,'font-size-rel'), None): cnv_length, + ((STYLENS,'font-size-rel-complex'), None): cnv_length, + ((STYLENS,'font-style-asian'), None): cnv_string, + ((STYLENS,'font-style-complex'), None): cnv_string, + ((STYLENS,'font-style-name-asian'), None): cnv_string, + ((STYLENS,'font-style-name'), None): cnv_string, + ((STYLENS,'font-style-name-complex'), None): cnv_string, + ((STYLENS,'font-weight-asian'), None): cnv_string, + ((STYLENS,'font-weight-complex'), None): cnv_string, + ((STYLENS,'footnote-max-height'), None): cnv_length, + ((STYLENS,'glyph-orientation-vertical'), None): cnv_string, + ((STYLENS,'height'), None): cnv_string, + ((STYLENS,'horizontal-pos'), None): cnv_string, + ((STYLENS,'horizontal-rel'), None): cnv_string, + ((STYLENS,'justify-single-word'), None): cnv_boolean, + ((STYLENS,'language-asian'), None): cnv_string, + ((STYLENS,'language-complex'), None): cnv_string, + ((STYLENS,'layout-grid-base-height'), None): cnv_length, + ((STYLENS,'layout-grid-color'), None): cnv_string, + ((STYLENS,'layout-grid-display'), None): cnv_boolean, + ((STYLENS,'layout-grid-lines'), None): cnv_string, + ((STYLENS,'layout-grid-mode'), None): cnv_string, + ((STYLENS,'layout-grid-print'), None): cnv_boolean, + ((STYLENS,'layout-grid-ruby-below'), None): cnv_boolean, + ((STYLENS,'layout-grid-ruby-height'), None): cnv_length, + ((STYLENS,'leader-char'), None): cnv_string, + ((STYLENS,'leader-color'), None): cnv_string, + ((STYLENS,'leader-style'), None): cnv_string, + ((STYLENS,'leader-text'), None): cnv_string, + ((STYLENS,'leader-text-style'), None): cnv_StyleNameRef, + ((STYLENS,'leader-type'), None): cnv_string, + ((STYLENS,'leader-width'), None): cnv_string, + ((STYLENS,'legend-expansion-aspect-ratio'), None): cnv_double, + ((STYLENS,'legend-expansion'), None): cnv_string, + ((STYLENS,'length'), None): cnv_positiveInteger, + ((STYLENS,'letter-kerning'), None): cnv_boolean, + ((STYLENS,'line-break'), None): cnv_string, + ((STYLENS,'line-height-at-least'), None): cnv_string, + ((STYLENS,'line-spacing'), None): cnv_length, + ((STYLENS,'line-style'), None): cnv_string, + ((STYLENS,'lines'), None): cnv_positiveInteger, + ((STYLENS,'list-style-name'), None): cnv_StyleNameRef, + ((STYLENS,'master-page-name'), None): cnv_StyleNameRef, + ((STYLENS,'may-break-between-rows'), None): cnv_boolean, + ((STYLENS,'min-row-height'), None): cnv_string, + ((STYLENS,'mirror'), None): cnv_string, + ((STYLENS,'name'), None): cnv_NCName, + ((STYLENS,'name'), (STYLENS,'font-face')): cnv_string, + ((STYLENS,'next-style-name'), None): cnv_StyleNameRef, + ((STYLENS,'num-format'), None): cnv_string, + ((STYLENS,'num-letter-sync'), None): cnv_boolean, + ((STYLENS,'num-prefix'), None): cnv_string, + ((STYLENS,'num-suffix'), None): cnv_string, + ((STYLENS,'number-wrapped-paragraphs'), None): cnv_string, + ((STYLENS,'overflow-behavior'), None): cnv_string, + ((STYLENS,'page-layout-name'), None): cnv_StyleNameRef, + ((STYLENS,'page-number'), None): cnv_string, + ((STYLENS,'page-usage'), None): cnv_string, + ((STYLENS,'paper-tray-name'), None): cnv_string, + ((STYLENS,'parent-style-name'), None): cnv_StyleNameRef, + ((STYLENS,'position'), (STYLENS,'tab-stop')): cnv_length, + ((STYLENS,'position'), None): cnv_string, + ((STYLENS,'print'), None): cnv_string, + ((STYLENS,'print-content'), None): cnv_boolean, + ((STYLENS,'print-orientation'), None): cnv_string, + ((STYLENS,'print-page-order'), None): cnv_string, + ((STYLENS,'protect'), None): cnv_boolean, + ((STYLENS,'punctuation-wrap'), None): cnv_string, + ((STYLENS,'register-true'), None): cnv_boolean, + ((STYLENS,'register-truth-ref-style-name'), None): cnv_string, + ((STYLENS,'rel-column-width'), None): cnv_string, + ((STYLENS,'rel-height'), None): cnv_string, + ((STYLENS,'rel-width'), None): cnv_string, + ((STYLENS,'repeat'), None): cnv_string, + ((STYLENS,'repeat-content'), None): cnv_boolean, + ((STYLENS,'rotation-align'), None): cnv_string, + ((STYLENS,'rotation-angle'), None): cnv_string, + ((STYLENS,'row-height'), None): cnv_string, + ((STYLENS,'ruby-align'), None): cnv_string, + ((STYLENS,'ruby-position'), None): cnv_string, + ((STYLENS,'run-through'), None): cnv_string, + ((STYLENS,'scale-to'), None): cnv_string, + ((STYLENS,'scale-to-pages'), None): cnv_string, + ((STYLENS,'script-type'), None): cnv_string, + ((STYLENS,'shadow'), None): cnv_string, + ((STYLENS,'shrink-to-fit'), None): cnv_boolean, + ((STYLENS,'snap-to-layout-grid'), None): cnv_boolean, + ((STYLENS,'style'), None): cnv_string, + ((STYLENS,'style-name'), None): cnv_StyleNameRef, + ((STYLENS,'tab-stop-distance'), None): cnv_string, + ((STYLENS,'table-centering'), None): cnv_string, + ((STYLENS,'text-align-source'), None): cnv_string, + ((STYLENS,'text-autospace'), None): cnv_string, + ((STYLENS,'text-blinking'), None): cnv_boolean, + ((STYLENS,'text-combine'), None): cnv_string, + ((STYLENS,'text-combine-end-char'), None): cnv_string, + ((STYLENS,'text-combine-start-char'), None): cnv_string, + ((STYLENS,'text-emphasize'), None): cnv_string, + ((STYLENS,'text-line-through-color'), None): cnv_string, + ((STYLENS,'text-line-through-mode'), None): cnv_string, + ((STYLENS,'text-line-through-style'), None): cnv_string, + ((STYLENS,'text-line-through-text'), None): cnv_string, + ((STYLENS,'text-line-through-text-style'), None): cnv_string, + ((STYLENS,'text-line-through-type'), None): cnv_string, + ((STYLENS,'text-line-through-width'), None): cnv_string, + ((STYLENS,'text-outline'), None): cnv_boolean, + ((STYLENS,'text-position'), None): cnv_string, + ((STYLENS,'text-rotation-angle'), None): cnv_string, + ((STYLENS,'text-rotation-scale'), None): cnv_string, + ((STYLENS,'text-scale'), None): cnv_string, + ((STYLENS,'text-underline-color'), None): cnv_string, + ((STYLENS,'text-underline-mode'), None): cnv_string, + ((STYLENS,'text-underline-style'), None): cnv_string, + ((STYLENS,'text-underline-type'), None): cnv_string, + ((STYLENS,'text-underline-width'), None): cnv_string, + ((STYLENS,'type'), None): cnv_string, + ((STYLENS,'use-optimal-column-width'), None): cnv_boolean, + ((STYLENS,'use-optimal-row-height'), None): cnv_boolean, + ((STYLENS,'use-window-font-color'), None): cnv_boolean, + ((STYLENS,'vertical-align'), None): cnv_string, + ((STYLENS,'vertical-pos'), None): cnv_string, + ((STYLENS,'vertical-rel'), None): cnv_string, + ((STYLENS,'volatile'), None): cnv_boolean, + ((STYLENS,'width'), None): cnv_string, + ((STYLENS,'wrap'), None): cnv_string, + ((STYLENS,'wrap-contour'), None): cnv_boolean, + ((STYLENS,'wrap-contour-mode'), None): cnv_string, + ((STYLENS,'wrap-dynamic-threshold'), None): cnv_length, + ((STYLENS,'writing-mode-automatic'), None): cnv_boolean, + ((STYLENS,'writing-mode'), None): cnv_string, + ((SVGNS,'accent-height'), None): cnv_integer, + ((SVGNS,'alphabetic'), None): cnv_integer, + ((SVGNS,'ascent'), None): cnv_integer, + ((SVGNS,'bbox'), None): cnv_string, + ((SVGNS,'cap-height'), None): cnv_integer, + ((SVGNS,'cx'), None): cnv_string, + ((SVGNS,'cy'), None): cnv_string, + ((SVGNS,'d'), None): cnv_string, + ((SVGNS,'descent'), None): cnv_integer, + ((SVGNS,'fill-rule'), None): cnv_string, + ((SVGNS,'font-family'), None): cnv_string, + ((SVGNS,'font-size'), None): cnv_string, + ((SVGNS,'font-stretch'), None): cnv_string, + ((SVGNS,'font-style'), None): cnv_string, + ((SVGNS,'font-variant'), None): cnv_string, + ((SVGNS,'font-weight'), None): cnv_string, + ((SVGNS,'fx'), None): cnv_string, + ((SVGNS,'fy'), None): cnv_string, + ((SVGNS,'gradientTransform'), None): cnv_string, + ((SVGNS,'gradientUnits'), None): cnv_string, + ((SVGNS,'hanging'), None): cnv_integer, + ((SVGNS,'height'), None): cnv_length, + ((SVGNS,'ideographic'), None): cnv_integer, + ((SVGNS,'mathematical'), None): cnv_integer, + ((SVGNS,'name'), None): cnv_string, + ((SVGNS,'offset'), None): cnv_string, + ((SVGNS,'origin'), None): cnv_string, + ((SVGNS,'overline-position'), None): cnv_integer, + ((SVGNS,'overline-thickness'), None): cnv_integer, + ((SVGNS,'panose-1'), None): cnv_string, + ((SVGNS,'path'), None): cnv_string, + ((SVGNS,'r'), None): cnv_length, + ((SVGNS,'rx'), None): cnv_length, + ((SVGNS,'ry'), None): cnv_length, + ((SVGNS,'slope'), None): cnv_integer, + ((SVGNS,'spreadMethod'), None): cnv_string, + ((SVGNS,'stemh'), None): cnv_integer, + ((SVGNS,'stemv'), None): cnv_integer, + ((SVGNS,'stop-color'), None): cnv_string, + ((SVGNS,'stop-opacity'), None): cnv_double, + ((SVGNS,'strikethrough-position'), None): cnv_integer, + ((SVGNS,'strikethrough-thickness'), None): cnv_integer, + ((SVGNS,'string'), None): cnv_string, + ((SVGNS,'stroke-color'), None): cnv_string, + ((SVGNS,'stroke-opacity'), None): cnv_string, + ((SVGNS,'stroke-width'), None): cnv_length, + ((SVGNS,'type'), None): cnv_string, + ((SVGNS,'underline-position'), None): cnv_integer, + ((SVGNS,'underline-thickness'), None): cnv_integer, + ((SVGNS,'unicode-range'), None): cnv_string, + ((SVGNS,'units-per-em'), None): cnv_integer, + ((SVGNS,'v-alphabetic'), None): cnv_integer, + ((SVGNS,'v-hanging'), None): cnv_integer, + ((SVGNS,'v-ideographic'), None): cnv_integer, + ((SVGNS,'v-mathematical'), None): cnv_integer, + ((SVGNS,'viewBox'), None): cnv_viewbox, + ((SVGNS,'width'), None): cnv_length, + ((SVGNS,'widths'), None): cnv_string, + ((SVGNS,'x'), None): cnv_length, + ((SVGNS,'x-height'), None): cnv_integer, + ((SVGNS,'x1'), None): cnv_lengthorpercent, + ((SVGNS,'x2'), None): cnv_lengthorpercent, + ((SVGNS,'y'), None): cnv_length, + ((SVGNS,'y1'), None): cnv_lengthorpercent, + ((SVGNS,'y2'), None): cnv_lengthorpercent, + ((TABLENS,'acceptance-state'), None): cnv_string, + ((TABLENS,'add-empty-lines'), None): cnv_boolean, + ((TABLENS,'algorithm'), None): cnv_formula, + ((TABLENS,'align'), None): cnv_string, + ((TABLENS,'allow-empty-cell'), None): cnv_boolean, + ((TABLENS,'application-data'), None): cnv_string, + ((TABLENS,'automatic-find-labels'), None): cnv_boolean, + ((TABLENS,'base-cell-address'), None): cnv_string, + ((TABLENS,'bind-styles-to-content'), None): cnv_boolean, + ((TABLENS,'border-color'), None): cnv_string, + ((TABLENS,'border-model'), None): cnv_string, + ((TABLENS,'buttons'), None): cnv_string, + ((TABLENS,'buttons'), None): cnv_string, + ((TABLENS,'case-sensitive'), None): cnv_boolean, + ((TABLENS,'case-sensitive'), None): cnv_string, + ((TABLENS,'cell-address'), None): cnv_string, + ((TABLENS,'cell-range-address'), None): cnv_string, + ((TABLENS,'cell-range-address'), None): cnv_string, + ((TABLENS,'cell-range'), None): cnv_string, + ((TABLENS,'column'), None): cnv_integer, + ((TABLENS,'comment'), None): cnv_string, + ((TABLENS,'condition'), None): cnv_formula, + ((TABLENS,'condition-source'), None): cnv_string, + ((TABLENS,'condition-source-range-address'), None): cnv_string, + ((TABLENS,'contains-error'), None): cnv_boolean, + ((TABLENS,'contains-header'), None): cnv_boolean, + ((TABLENS,'content-validation-name'), None): cnv_string, + ((TABLENS,'copy-back'), None): cnv_boolean, + ((TABLENS,'copy-formulas'), None): cnv_boolean, + ((TABLENS,'copy-styles'), None): cnv_boolean, + ((TABLENS,'count'), None): cnv_positiveInteger, + ((TABLENS,'country'), None): cnv_token, + ((TABLENS,'data-cell-range-address'), None): cnv_string, + ((TABLENS,'data-field'), None): cnv_string, + ((TABLENS,'data-type'), None): cnv_string, + ((TABLENS,'database-name'), None): cnv_string, + ((TABLENS,'database-table-name'), None): cnv_string, + ((TABLENS,'date-end'), None): cnv_string, + ((TABLENS,'date-start'), None): cnv_string, + ((TABLENS,'date-value'), None): cnv_date, + ((TABLENS,'default-cell-style-name'), None): cnv_StyleNameRef, + ((TABLENS,'direction'), None): cnv_string, + ((TABLENS,'display-border'), None): cnv_boolean, + ((TABLENS,'display'), None): cnv_boolean, + ((TABLENS,'display-duplicates'), None): cnv_boolean, + ((TABLENS,'display-filter-buttons'), None): cnv_boolean, + ((TABLENS,'display-list'), None): cnv_string, + ((TABLENS,'display-member-mode'), None): cnv_string, + ((TABLENS,'drill-down-on-double-click'), None): cnv_boolean, + ((TABLENS,'enabled'), None): cnv_boolean, + ((TABLENS,'end-cell-address'), None): cnv_string, + ((TABLENS,'end'), None): cnv_string, + ((TABLENS,'end-column'), None): cnv_integer, + ((TABLENS,'end-position'), None): cnv_integer, + ((TABLENS,'end-row'), None): cnv_integer, + ((TABLENS,'end-table'), None): cnv_integer, + ((TABLENS,'end-x'), None): cnv_length, + ((TABLENS,'end-y'), None): cnv_length, + ((TABLENS,'execute'), None): cnv_boolean, + ((TABLENS,'expression'), None): cnv_formula, + ((TABLENS,'field-name'), None): cnv_string, + ((TABLENS,'field-number'), None): cnv_nonNegativeInteger, + ((TABLENS,'field-number'), None): cnv_string, + ((TABLENS,'filter-name'), None): cnv_string, + ((TABLENS,'filter-options'), None): cnv_string, + ((TABLENS,'formula'), None): cnv_formula, + ((TABLENS,'function'), None): cnv_string, + ((TABLENS,'function'), None): cnv_string, + ((TABLENS,'grand-total'), None): cnv_string, + ((TABLENS,'group-by-field-number'), None): cnv_nonNegativeInteger, + ((TABLENS,'grouped-by'), None): cnv_string, + ((TABLENS,'has-persistent-data'), None): cnv_boolean, + ((TABLENS,'id'), None): cnv_string, + ((TABLENS,'identify-categories'), None): cnv_boolean, + ((TABLENS,'ignore-empty-rows'), None): cnv_boolean, + ((TABLENS,'index'), None): cnv_nonNegativeInteger, + ((TABLENS,'is-active'), None): cnv_boolean, + ((TABLENS,'is-data-layout-field'), None): cnv_string, + ((TABLENS,'is-selection'), None): cnv_boolean, + ((TABLENS,'is-sub-table'), None): cnv_boolean, + ((TABLENS,'label-cell-range-address'), None): cnv_string, + ((TABLENS,'language'), None): cnv_token, + ((TABLENS,'language'), None): cnv_token, + ((TABLENS,'last-column-spanned'), None): cnv_positiveInteger, + ((TABLENS,'last-row-spanned'), None): cnv_positiveInteger, + ((TABLENS,'layout-mode'), None): cnv_string, + ((TABLENS,'link-to-source-data'), None): cnv_boolean, + ((TABLENS,'marked-invalid'), None): cnv_boolean, + ((TABLENS,'matrix-covered'), None): cnv_boolean, + ((TABLENS,'maximum-difference'), None): cnv_double, + ((TABLENS,'member-count'), None): cnv_nonNegativeInteger, + ((TABLENS,'member-name'), None): cnv_string, + ((TABLENS,'member-type'), None): cnv_string, + ((TABLENS,'message-type'), None): cnv_string, + ((TABLENS,'mode'), None): cnv_string, + ((TABLENS,'multi-deletion-spanned'), None): cnv_integer, + ((TABLENS,'name'), None): cnv_string, + ((TABLENS,'name'), None): cnv_string, + ((TABLENS,'null-year'), None): cnv_positiveInteger, + ((TABLENS,'number-columns-repeated'), None): cnv_positiveInteger, + ((TABLENS,'number-columns-spanned'), None): cnv_positiveInteger, + ((TABLENS,'number-matrix-columns-spanned'), None): cnv_positiveInteger, + ((TABLENS,'number-matrix-rows-spanned'), None): cnv_positiveInteger, + ((TABLENS,'number-rows-repeated'), None): cnv_positiveInteger, + ((TABLENS,'number-rows-spanned'), None): cnv_positiveInteger, + ((TABLENS,'object-name'), None): cnv_string, + ((TABLENS,'on-update-keep-size'), None): cnv_boolean, + ((TABLENS,'on-update-keep-styles'), None): cnv_boolean, + ((TABLENS,'operator'), None): cnv_string, + ((TABLENS,'operator'), None): cnv_string, + ((TABLENS,'order'), None): cnv_string, + ((TABLENS,'orientation'), None): cnv_string, + ((TABLENS,'orientation'), None): cnv_string, + ((TABLENS,'page-breaks-on-group-change'), None): cnv_boolean, + ((TABLENS,'parse-sql-statement'), None): cnv_boolean, + ((TABLENS,'password'), None): cnv_string, + ((TABLENS,'position'), None): cnv_integer, + ((TABLENS,'precision-as-shown'), None): cnv_boolean, + ((TABLENS,'print'), None): cnv_boolean, + ((TABLENS,'print-ranges'), None): cnv_string, + ((TABLENS,'protect'), None): cnv_boolean, + ((TABLENS,'protected'), None): cnv_boolean, + ((TABLENS,'protection-key'), None): cnv_string, + ((TABLENS,'query-name'), None): cnv_string, + ((TABLENS,'range-usable-as'), None): cnv_string, + ((TABLENS,'refresh-delay'), None): cnv_boolean, + ((TABLENS,'refresh-delay'), None): cnv_duration, + ((TABLENS,'rejecting-change-id'), None): cnv_string, + ((TABLENS,'row'), None): cnv_integer, + ((TABLENS,'scenario-ranges'), None): cnv_string, + ((TABLENS,'search-criteria-must-apply-to-whole-cell'), None): cnv_boolean, + ((TABLENS,'selected-page'), None): cnv_string, + ((TABLENS,'show-details'), None): cnv_boolean, + ((TABLENS,'show-empty'), None): cnv_boolean, + ((TABLENS,'show-empty'), None): cnv_string, + ((TABLENS,'show-filter-button'), None): cnv_boolean, + ((TABLENS,'sort-mode'), None): cnv_string, + ((TABLENS,'source-cell-range-addresses'), None): cnv_string, + ((TABLENS,'source-cell-range-addresses'), None): cnv_string, + ((TABLENS,'source-field-name'), None): cnv_string, + ((TABLENS,'source-field-name'), None): cnv_string, + ((TABLENS,'source-name'), None): cnv_string, + ((TABLENS,'sql-statement'), None): cnv_string, + ((TABLENS,'start'), None): cnv_string, + ((TABLENS,'start-column'), None): cnv_integer, + ((TABLENS,'start-position'), None): cnv_integer, + ((TABLENS,'start-row'), None): cnv_integer, + ((TABLENS,'start-table'), None): cnv_integer, + ((TABLENS,'status'), None): cnv_string, + ((TABLENS,'step'), None): cnv_double, + ((TABLENS,'steps'), None): cnv_positiveInteger, + ((TABLENS,'structure-protected'), None): cnv_boolean, + ((TABLENS,'style-name'), None): cnv_StyleNameRef, + ((TABLENS,'table-background'), None): cnv_boolean, + ((TABLENS,'table'), None): cnv_integer, + ((TABLENS,'table-name'), None): cnv_string, + ((TABLENS,'target-cell-address'), None): cnv_string, + ((TABLENS,'target-cell-address'), None): cnv_string, + ((TABLENS,'target-range-address'), None): cnv_string, + ((TABLENS,'target-range-address'), None): cnv_string, + ((TABLENS,'title'), None): cnv_string, + ((TABLENS,'track-changes'), None): cnv_boolean, + ((TABLENS,'type'), None): cnv_string, + ((TABLENS,'use-labels'), None): cnv_string, + ((TABLENS,'use-regular-expressions'), None): cnv_boolean, + ((TABLENS,'used-hierarchy'), None): cnv_integer, + ((TABLENS,'user-name'), None): cnv_string, + ((TABLENS,'value'), None): cnv_string, + ((TABLENS,'value'), None): cnv_string, + ((TABLENS,'value-type'), None): cnv_string, + ((TABLENS,'visibility'), None): cnv_string, + ((TEXTNS,'active'), None): cnv_boolean, + ((TEXTNS,'address'), None): cnv_string, + ((TEXTNS,'alphabetical-separators'), None): cnv_boolean, + ((TEXTNS,'anchor-page-number'), None): cnv_positiveInteger, + ((TEXTNS,'anchor-type'), None): cnv_string, + ((TEXTNS,'animation'), None): cnv_string, + ((TEXTNS,'animation-delay'), None): cnv_string, + ((TEXTNS,'animation-direction'), None): cnv_string, + ((TEXTNS,'animation-repeat'), None): cnv_string, + ((TEXTNS,'animation-start-inside'), None): cnv_boolean, + ((TEXTNS,'animation-steps'), None): cnv_length, + ((TEXTNS,'animation-stop-inside'), None): cnv_boolean, + ((TEXTNS,'annote'), None): cnv_string, + ((TEXTNS,'author'), None): cnv_string, + ((TEXTNS,'bibliography-data-field'), None): cnv_string, + ((TEXTNS,'bibliography-type'), None): cnv_string, + ((TEXTNS,'booktitle'), None): cnv_string, + ((TEXTNS,'bullet-char'), None): cnv_string, + ((TEXTNS,'bullet-relative-size'), None): cnv_string, + ((TEXTNS,'c'), None): cnv_nonNegativeInteger, + ((TEXTNS,'capitalize-entries'), None): cnv_boolean, + ((TEXTNS,'caption-sequence-format'), None): cnv_string, + ((TEXTNS,'caption-sequence-name'), None): cnv_string, + ((TEXTNS,'change-id'), None): cnv_IDREF, + ((TEXTNS,'chapter'), None): cnv_string, + ((TEXTNS,'citation-body-style-name'), None): cnv_StyleNameRef, + ((TEXTNS,'citation-style-name'), None): cnv_StyleNameRef, + ((TEXTNS,'class-names'), None): cnv_NCNames, + ((TEXTNS,'column-name'), None): cnv_string, + ((TEXTNS,'combine-entries'), None): cnv_boolean, + ((TEXTNS,'combine-entries-with-dash'), None): cnv_boolean, + ((TEXTNS,'combine-entries-with-pp'), None): cnv_boolean, + ((TEXTNS,'comma-separated'), None): cnv_boolean, + ((TEXTNS,'cond-style-name'), None): cnv_StyleNameRef, + ((TEXTNS,'condition'), None): cnv_formula, + ((TEXTNS,'connection-name'), None): cnv_string, + ((TEXTNS,'consecutive-numbering'), None): cnv_boolean, + ((TEXTNS,'continue-numbering'), None): cnv_boolean, + ((TEXTNS,'copy-outline-levels'), None): cnv_boolean, + ((TEXTNS,'count-empty-lines'), None): cnv_boolean, + ((TEXTNS,'count-in-text-boxes'), None): cnv_boolean, + ((TEXTNS,'current-value'), None): cnv_boolean, + ((TEXTNS,'custom1'), None): cnv_string, + ((TEXTNS,'custom2'), None): cnv_string, + ((TEXTNS,'custom3'), None): cnv_string, + ((TEXTNS,'custom4'), None): cnv_string, + ((TEXTNS,'custom5'), None): cnv_string, + ((TEXTNS,'database-name'), None): cnv_string, + ((TEXTNS,'date-adjust'), None): cnv_duration, + ((TEXTNS,'date-value'), None): cnv_date, # ((TEXTNS,u'date-value'), None): cnv_dateTime, - ((TEXTNS,u'default-style-name'), None): cnv_StyleNameRef, - ((TEXTNS,u'description'), None): cnv_string, - ((TEXTNS,u'display'), None): cnv_string, - ((TEXTNS,u'display-levels'), None): cnv_positiveInteger, - ((TEXTNS,u'display-outline-level'), None): cnv_nonNegativeInteger, - ((TEXTNS,u'dont-balance-text-columns'), None): cnv_boolean, - ((TEXTNS,u'duration'), None): cnv_duration, - ((TEXTNS,u'edition'), None): cnv_string, - ((TEXTNS,u'editor'), None): cnv_string, - ((TEXTNS,u'filter-name'), None): cnv_string, - ((TEXTNS,u'first-row-end-column'), None): cnv_string, - ((TEXTNS,u'first-row-start-column'), None): cnv_string, - ((TEXTNS,u'fixed'), None): cnv_boolean, - ((TEXTNS,u'footnotes-position'), None): cnv_string, - ((TEXTNS,u'formula'), None): cnv_formula, - ((TEXTNS,u'global'), None): cnv_boolean, - ((TEXTNS,u'howpublished'), None): cnv_string, - ((TEXTNS,u'id'), None): cnv_ID, + ((TEXTNS,'default-style-name'), None): cnv_StyleNameRef, + ((TEXTNS,'description'), None): cnv_string, + ((TEXTNS,'display'), None): cnv_string, + ((TEXTNS,'display-levels'), None): cnv_positiveInteger, + ((TEXTNS,'display-outline-level'), None): cnv_nonNegativeInteger, + ((TEXTNS,'dont-balance-text-columns'), None): cnv_boolean, + ((TEXTNS,'duration'), None): cnv_duration, + ((TEXTNS,'edition'), None): cnv_string, + ((TEXTNS,'editor'), None): cnv_string, + ((TEXTNS,'filter-name'), None): cnv_string, + ((TEXTNS,'first-row-end-column'), None): cnv_string, + ((TEXTNS,'first-row-start-column'), None): cnv_string, + ((TEXTNS,'fixed'), None): cnv_boolean, + ((TEXTNS,'footnotes-position'), None): cnv_string, + ((TEXTNS,'formula'), None): cnv_formula, + ((TEXTNS,'global'), None): cnv_boolean, + ((TEXTNS,'howpublished'), None): cnv_string, + ((TEXTNS,'id'), None): cnv_ID, # ((TEXTNS,u'id'), None): cnv_string, - ((TEXTNS,u'identifier'), None): cnv_string, - ((TEXTNS,u'ignore-case'), None): cnv_boolean, - ((TEXTNS,u'increment'), None): cnv_nonNegativeInteger, - ((TEXTNS,u'index-name'), None): cnv_string, - ((TEXTNS,u'index-scope'), None): cnv_string, - ((TEXTNS,u'institution'), None): cnv_string, - ((TEXTNS,u'is-hidden'), None): cnv_boolean, - ((TEXTNS,u'is-list-header'), None): cnv_boolean, - ((TEXTNS,u'isbn'), None): cnv_string, - ((TEXTNS,u'issn'), None): cnv_string, - ((TEXTNS,u'issn'), None): cnv_string, - ((TEXTNS,u'journal'), None): cnv_string, - ((TEXTNS,u'key'), None): cnv_string, - ((TEXTNS,u'key1'), None): cnv_string, - ((TEXTNS,u'key1-phonetic'), None): cnv_string, - ((TEXTNS,u'key2'), None): cnv_string, - ((TEXTNS,u'key2-phonetic'), None): cnv_string, - ((TEXTNS,u'kind'), None): cnv_string, - ((TEXTNS,u'label'), None): cnv_string, - ((TEXTNS,u'last-row-end-column'), None): cnv_string, - ((TEXTNS,u'last-row-start-column'), None): cnv_string, - ((TEXTNS,u'level'), None): cnv_positiveInteger, - ((TEXTNS,u'line-break'), None): cnv_boolean, - ((TEXTNS,u'line-number'), None): cnv_string, - ((TEXTNS,u'main-entry'), None): cnv_boolean, - ((TEXTNS,u'main-entry-style-name'), None): cnv_StyleNameRef, - ((TEXTNS,u'master-page-name'), None): cnv_StyleNameRef, - ((TEXTNS,u'min-label-distance'), None): cnv_string, - ((TEXTNS,u'min-label-width'), None): cnv_string, - ((TEXTNS,u'month'), None): cnv_string, - ((TEXTNS,u'name'), None): cnv_string, - ((TEXTNS,u'note-class'), None): cnv_textnoteclass, - ((TEXTNS,u'note'), None): cnv_string, - ((TEXTNS,u'number'), None): cnv_string, - ((TEXTNS,u'number-lines'), None): cnv_boolean, - ((TEXTNS,u'number-position'), None): cnv_string, - ((TEXTNS,u'numbered-entries'), None): cnv_boolean, - ((TEXTNS,u'offset'), None): cnv_string, - ((TEXTNS,u'organizations'), None): cnv_string, - ((TEXTNS,u'outline-level'), None): cnv_string, - ((TEXTNS,u'page-adjust'), None): cnv_integer, - ((TEXTNS,u'pages'), None): cnv_string, - ((TEXTNS,u'paragraph-style-name'), None): cnv_StyleNameRef, - ((TEXTNS,u'placeholder-type'), None): cnv_string, - ((TEXTNS,u'prefix'), None): cnv_string, - ((TEXTNS,u'protected'), None): cnv_boolean, - ((TEXTNS,u'protection-key'), None): cnv_string, - ((TEXTNS,u'publisher'), None): cnv_string, - ((TEXTNS,u'ref-name'), None): cnv_string, - ((TEXTNS,u'reference-format'), None): cnv_string, - ((TEXTNS,u'relative-tab-stop-position'), None): cnv_boolean, - ((TEXTNS,u'report-type'), None): cnv_string, - ((TEXTNS,u'restart-numbering'), None): cnv_boolean, - ((TEXTNS,u'restart-on-page'), None): cnv_boolean, - ((TEXTNS,u'row-number'), None): cnv_nonNegativeInteger, - ((TEXTNS,u'school'), None): cnv_string, - ((TEXTNS,u'section-name'), None): cnv_string, - ((TEXTNS,u'select-page'), None): cnv_string, - ((TEXTNS,u'separation-character'), None): cnv_string, - ((TEXTNS,u'series'), None): cnv_string, - ((TEXTNS,u'sort-algorithm'), None): cnv_string, - ((TEXTNS,u'sort-ascending'), None): cnv_boolean, - ((TEXTNS,u'sort-by-position'), None): cnv_boolean, - ((TEXTNS,u'space-before'), None): cnv_string, - ((TEXTNS,u'start-numbering-at'), None): cnv_string, - ((TEXTNS,u'start-value'), None): cnv_nonNegativeInteger, - ((TEXTNS,u'start-value'), None): cnv_positiveInteger, - ((TEXTNS,u'string-value'), None): cnv_string, - ((TEXTNS,u'string-value-if-false'), None): cnv_string, - ((TEXTNS,u'string-value-if-true'), None): cnv_string, - ((TEXTNS,u'string-value-phonetic'), None): cnv_string, - ((TEXTNS,u'style-name'), None): cnv_StyleNameRef, - ((TEXTNS,u'suffix'), None): cnv_string, - ((TEXTNS,u'tab-ref'), None): cnv_nonNegativeInteger, - ((TEXTNS,u'table-name'), None): cnv_string, - ((TEXTNS,u'table-type'), None): cnv_string, - ((TEXTNS,u'time-adjust'), None): cnv_duration, - ((TEXTNS,u'time-value'), None): cnv_dateTime, - ((TEXTNS,u'time-value'), None): cnv_time, - ((TEXTNS,u'title'), None): cnv_string, - ((TEXTNS,u'track-changes'), None): cnv_boolean, - ((TEXTNS,u'url'), None): cnv_string, - ((TEXTNS,u'use-caption'), None): cnv_boolean, - ((TEXTNS,u'use-chart-objects'), None): cnv_boolean, - ((TEXTNS,u'use-draw-objects'), None): cnv_boolean, - ((TEXTNS,u'use-floating-frames'), None): cnv_boolean, - ((TEXTNS,u'use-graphics'), None): cnv_boolean, - ((TEXTNS,u'use-index-marks'), None): cnv_boolean, - ((TEXTNS,u'use-index-source-styles'), None): cnv_boolean, - ((TEXTNS,u'use-keys-as-entries'), None): cnv_boolean, - ((TEXTNS,u'use-math-objects'), None): cnv_boolean, - ((TEXTNS,u'use-objects'), None): cnv_boolean, - ((TEXTNS,u'use-other-objects'), None): cnv_boolean, - ((TEXTNS,u'use-outline-level'), None): cnv_boolean, - ((TEXTNS,u'use-soft-page-breaks'), None): cnv_boolean, - ((TEXTNS,u'use-spreadsheet-objects'), None): cnv_boolean, - ((TEXTNS,u'use-tables'), None): cnv_boolean, - ((TEXTNS,u'value'), None): cnv_nonNegativeInteger, - ((TEXTNS,u'visited-style-name'), None): cnv_StyleNameRef, - ((TEXTNS,u'volume'), None): cnv_string, - ((TEXTNS,u'year'), None): cnv_string, - ((XFORMSNS,u'bind'), None): cnv_string, - ((XLINKNS,u'actuate'), None): cnv_string, - ((XLINKNS,u'href'), None): cnv_anyURI, - ((XLINKNS,u'show'), None): cnv_xlinkshow, - ((XLINKNS,u'title'), None): cnv_string, - ((XLINKNS,u'type'), None): cnv_string, + ((TEXTNS,'identifier'), None): cnv_string, + ((TEXTNS,'ignore-case'), None): cnv_boolean, + ((TEXTNS,'increment'), None): cnv_nonNegativeInteger, + ((TEXTNS,'index-name'), None): cnv_string, + ((TEXTNS,'index-scope'), None): cnv_string, + ((TEXTNS,'institution'), None): cnv_string, + ((TEXTNS,'is-hidden'), None): cnv_boolean, + ((TEXTNS,'is-list-header'), None): cnv_boolean, + ((TEXTNS,'isbn'), None): cnv_string, + ((TEXTNS,'issn'), None): cnv_string, + ((TEXTNS,'issn'), None): cnv_string, + ((TEXTNS,'journal'), None): cnv_string, + ((TEXTNS,'key'), None): cnv_string, + ((TEXTNS,'key1'), None): cnv_string, + ((TEXTNS,'key1-phonetic'), None): cnv_string, + ((TEXTNS,'key2'), None): cnv_string, + ((TEXTNS,'key2-phonetic'), None): cnv_string, + ((TEXTNS,'kind'), None): cnv_string, + ((TEXTNS,'label'), None): cnv_string, + ((TEXTNS,'last-row-end-column'), None): cnv_string, + ((TEXTNS,'last-row-start-column'), None): cnv_string, + ((TEXTNS,'level'), None): cnv_positiveInteger, + ((TEXTNS,'line-break'), None): cnv_boolean, + ((TEXTNS,'line-number'), None): cnv_string, + ((TEXTNS,'main-entry'), None): cnv_boolean, + ((TEXTNS,'main-entry-style-name'), None): cnv_StyleNameRef, + ((TEXTNS,'master-page-name'), None): cnv_StyleNameRef, + ((TEXTNS,'min-label-distance'), None): cnv_string, + ((TEXTNS,'min-label-width'), None): cnv_string, + ((TEXTNS,'month'), None): cnv_string, + ((TEXTNS,'name'), None): cnv_string, + ((TEXTNS,'note-class'), None): cnv_textnoteclass, + ((TEXTNS,'note'), None): cnv_string, + ((TEXTNS,'number'), None): cnv_string, + ((TEXTNS,'number-lines'), None): cnv_boolean, + ((TEXTNS,'number-position'), None): cnv_string, + ((TEXTNS,'numbered-entries'), None): cnv_boolean, + ((TEXTNS,'offset'), None): cnv_string, + ((TEXTNS,'organizations'), None): cnv_string, + ((TEXTNS,'outline-level'), None): cnv_string, + ((TEXTNS,'page-adjust'), None): cnv_integer, + ((TEXTNS,'pages'), None): cnv_string, + ((TEXTNS,'paragraph-style-name'), None): cnv_StyleNameRef, + ((TEXTNS,'placeholder-type'), None): cnv_string, + ((TEXTNS,'prefix'), None): cnv_string, + ((TEXTNS,'protected'), None): cnv_boolean, + ((TEXTNS,'protection-key'), None): cnv_string, + ((TEXTNS,'publisher'), None): cnv_string, + ((TEXTNS,'ref-name'), None): cnv_string, + ((TEXTNS,'reference-format'), None): cnv_string, + ((TEXTNS,'relative-tab-stop-position'), None): cnv_boolean, + ((TEXTNS,'report-type'), None): cnv_string, + ((TEXTNS,'restart-numbering'), None): cnv_boolean, + ((TEXTNS,'restart-on-page'), None): cnv_boolean, + ((TEXTNS,'row-number'), None): cnv_nonNegativeInteger, + ((TEXTNS,'school'), None): cnv_string, + ((TEXTNS,'section-name'), None): cnv_string, + ((TEXTNS,'select-page'), None): cnv_string, + ((TEXTNS,'separation-character'), None): cnv_string, + ((TEXTNS,'series'), None): cnv_string, + ((TEXTNS,'sort-algorithm'), None): cnv_string, + ((TEXTNS,'sort-ascending'), None): cnv_boolean, + ((TEXTNS,'sort-by-position'), None): cnv_boolean, + ((TEXTNS,'space-before'), None): cnv_string, + ((TEXTNS,'start-numbering-at'), None): cnv_string, + ((TEXTNS,'start-value'), None): cnv_nonNegativeInteger, + ((TEXTNS,'start-value'), None): cnv_positiveInteger, + ((TEXTNS,'string-value'), None): cnv_string, + ((TEXTNS,'string-value-if-false'), None): cnv_string, + ((TEXTNS,'string-value-if-true'), None): cnv_string, + ((TEXTNS,'string-value-phonetic'), None): cnv_string, + ((TEXTNS,'style-name'), None): cnv_StyleNameRef, + ((TEXTNS,'suffix'), None): cnv_string, + ((TEXTNS,'tab-ref'), None): cnv_nonNegativeInteger, + ((TEXTNS,'table-name'), None): cnv_string, + ((TEXTNS,'table-type'), None): cnv_string, + ((TEXTNS,'time-adjust'), None): cnv_duration, + ((TEXTNS,'time-value'), None): cnv_dateTime, + ((TEXTNS,'time-value'), None): cnv_time, + ((TEXTNS,'title'), None): cnv_string, + ((TEXTNS,'track-changes'), None): cnv_boolean, + ((TEXTNS,'url'), None): cnv_string, + ((TEXTNS,'use-caption'), None): cnv_boolean, + ((TEXTNS,'use-chart-objects'), None): cnv_boolean, + ((TEXTNS,'use-draw-objects'), None): cnv_boolean, + ((TEXTNS,'use-floating-frames'), None): cnv_boolean, + ((TEXTNS,'use-graphics'), None): cnv_boolean, + ((TEXTNS,'use-index-marks'), None): cnv_boolean, + ((TEXTNS,'use-index-source-styles'), None): cnv_boolean, + ((TEXTNS,'use-keys-as-entries'), None): cnv_boolean, + ((TEXTNS,'use-math-objects'), None): cnv_boolean, + ((TEXTNS,'use-objects'), None): cnv_boolean, + ((TEXTNS,'use-other-objects'), None): cnv_boolean, + ((TEXTNS,'use-outline-level'), None): cnv_boolean, + ((TEXTNS,'use-soft-page-breaks'), None): cnv_boolean, + ((TEXTNS,'use-spreadsheet-objects'), None): cnv_boolean, + ((TEXTNS,'use-tables'), None): cnv_boolRefactoringTool: Refactored ./tablib/packages/odf/form.py RefactoringTool: Refactored ./tablib/packages/odf/anim.py RefactoringTool: No changes to ./tablib/packages/odf/thumbnail.py RefactoringTool: Refactored ./tablib/packages/odf/math.py RefactoringTool: Refactored ./tablib/packages/odf/dc.py RefactoringTool: Refactored ./tablib/packages/odf/script.py RefactoringTool: Refactored ./tablib/packages/odf/manifest.py RefactoringTool: Refactored ./tablib/packages/odf/svg.py RefactoringTool: Refactored ./tablib/packages/odf/odf2xhtml.py ean, + ((TEXTNS,'value'), None): cnv_nonNegativeInteger, + ((TEXTNS,'visited-style-name'), None): cnv_StyleNameRef, + ((TEXTNS,'volume'), None): cnv_string, + ((TEXTNS,'year'), None): cnv_string, + ((XFORMSNS,'bind'), None): cnv_string, + ((XLINKNS,'actuate'), None): cnv_string, + ((XLINKNS,'href'), None): cnv_anyURI, + ((XLINKNS,'show'), None): cnv_xlinkshow, + ((XLINKNS,'title'), None): cnv_string, + ((XLINKNS,'type'), None): cnv_string, } class AttrConverters: @@ -1480,5 +1480,5 @@ conversion = attrconverters.get((attribute, None), None) if conversion is not None: return conversion(attribute, value, element) - return unicode(value) - + return str(value) + --- ./tablib/packages/odf/form.py (original) +++ ./tablib/packages/odf/form.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import FORMNS -from element import Element +from .namespaces import FORMNS +from .element import Element # Autogenerated --- ./tablib/packages/odf/anim.py (original) +++ ./tablib/packages/odf/anim.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import ANIMNS -from element import Element +from .namespaces import ANIMNS +from .element import Element # Autogenerated --- ./tablib/packages/odf/math.py (original) +++ ./tablib/packages/odf/math.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import MATHNS -from element import Element +from .namespaces import MATHNS +from .element import Element # ODF 1.0 section 12.5 # Mathematical content is represented by MathML 2.0 --- ./tablib/packages/odf/dc.py (original) +++ ./tablib/packages/odf/dc.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import DCNS -from element import Element +from .namespaces import DCNS +from .element import Element # Autogenerated def Creator(**args): --- ./tablib/packages/odf/script.py (original) +++ ./tablib/packages/odf/script.py (refactored) @@ -18,8 +18,8 @@ # Contributor(s): # -from namespaces import SCRIPTNS -from element import Element +from .namespaces import SCRIPTNS +from .element import Element # ODF 1.0 section 12.4.1 # The element binds an event to a macro. --- ./tablib/packages/odf/manifest.py (original) +++ ./tablib/packages/odf/manifest.py (refactored) @@ -20,8 +20,8 @@ # # -from namespaces import MANIFESTNS -from element import Element +from .namespaces import MANIFESTNS +from .element import Element # Autogenerated def Manifest(**args): --- ./tablib/packages/odf/svg.py (original) +++ ./tablib/packages/odf/svg.py (refactored) @@ -18,9 +18,9 @@ # Contributor(s): # -from namespaces import SVGNS -from element import Element -from draw import DrawElement +from .namespaces import SVGNS +from .element import Element +from .draw import DrawElement # Autogenerated def DefinitionSrc(**args): --- ./tablib/packages/odf/odf2xhtml.py (original) +++ ./tablib/packages/odf/odf2xhtml.py (refactored) @@ -24,9 +24,9 @@ from xml.sax.saxutils import escape, quoteattr from xml.dom import Node -from opendocument import load - -from namespaces import ANIMNS, CHARTNS, CONFIGNS, DCNS, DR3DNS, DRAWNS, FONS, \ +from .opendocument import load + +from .namespaces import ANIMNS, CHARTNS, CONFIGNS, DCNS, DR3DNS, DRAWNS, FONS, \ FORMNS, MATHNS, METANS, NUMBERNS, OFFICENS, PRESENTATIONNS, SCRIPTNS, \ SMILNS, STYLENS, SVGNS, TABLENS, TEXTNS, XLINKNS @@ -65,43 +65,43 @@ self.fillimages = {} self.ruleconversions = { - (DRAWNS,u'fill-image-name'): self.c_drawfillimage, - (FONS,u"background-color"): self.c_fo, - (FONS,u"border"): self.c_fo, - (FONS,u"border-bottom"): self.c_fo, - (FONS,u"border-left"): self.c_fo, - (FONS,u"border-right"): self.c_fo, - (FONS,u"border-top"): self.c_fo, - (FONS,u"color"): self.c_fo, - (FONS,u"font-family"): self.c_fo, - (FONS,u"font-size"): self.c_fo, - (FONS,u"font-style"): self.c_fo, - (FONS,u"font-variant"): self.c_fo, - (FONS,u"font-weight"): self.c_fo, - (FONS,u"line-height"): self.c_fo, - (FONS,u"margin"): self.c_fo, - (FONS,u"margin-bottom"): self.c_fo, - (FONS,u"margin-left"): self.c_fo, - (FONS,u"margin-right"): self.c_fo, - (FONS,u"margin-top"): self.c_fo, - (FONS,u"min-height"): self.c_fo, - (FONS,u"padding"): self.c_fo, - (FONS,u"padding-bottom"): self.c_fo, - (FONS,u"padding-left"): self.c_fo, - (FONS,u"padding-right"): self.c_fo, - (FONS,u"padding-top"): self.c_fo, - (FONS,u"page-width"): self.c_page_width, - (FONS,u"page-height"): self.c_page_height, - (FONS,u"text-align"): self.c_text_align, - (FONS,u"text-indent") :self.c_fo, - (TABLENS,u'border-model') :self.c_border_model, - (STYLENS,u'column-width') : self.c_width, - (STYLENS,u"font-name"): self.c_fn, - (STYLENS,u'horizontal-pos'): self.c_hp, - (STYLENS,u'text-position'): self.c_text_position, - (STYLENS,u'text-line-through-style'): self.c_text_line_through_style, - (STYLENS,u'text-underline-style'): self.c_text_underline_style, - (STYLENS,u'width') : self.c_width, + (DRAWNS,'fill-image-name'): self.c_drawfillimage, + (FONS,"background-color"): self.c_fo, + (FONS,"border"): self.c_fo, + (FONS,"border-bottom"): self.c_fo, + (FONS,"border-left"): self.c_fo, + (FONS,"border-right"): self.c_fo, + (FONS,"border-top"): self.c_fo, + (FONS,"color"): self.c_fo, + (FONS,"font-family"): self.c_fo, + (FONS,"font-size"): self.c_fo, + (FONS,"font-style"): self.c_fo, + (FONS,"font-variant"): self.c_fo, + (FONS,"font-weight"): self.c_fo, + (FONS,"line-height"): self.c_fo, + (FONS,"margin"): self.c_fo, + (FONS,"margin-bottom"): self.c_fo, + (FONS,"margin-left"): self.c_fo, + (FONS,"margin-right"): self.c_fo, + (FONS,"margin-top"): self.c_fo, + (FONS,"min-height"): self.c_fo, + (FONS,"padding"): self.c_fo, + (FONS,"padding-bottom"): self.c_fo, + (FONS,"padding-left"): self.c_fo, + (FONS,"padding-right"): self.c_fo, + (FONS,"padding-top"): self.c_fo, + (FONS,"page-width"): self.c_page_width, + (FONS,"page-height"): self.c_page_height, + (FONS,"text-align"): self.c_text_align, + (FONS,"text-indent") :self.c_fo, + (TABLENS,'border-model') :self.c_border_model, + (STYLENS,'column-width') : self.c_width, + (STYLENS,"font-name"): self.c_fn, + (STYLENS,'horizontal-pos'): self.c_hp, + (STYLENS,'text-position'): self.c_text_position, + (STYLENS,'text-line-through-style'): self.c_text_line_through_style, + (STYLENS,'text-underline-style'): self.c_text_underline_style, + (STYLENS,'width') : self.c_width, # FIXME Should do style:vertical-pos here } @@ -231,7 +231,7 @@ sdict['float'] = "left" else: sdict['position'] = "relative" # No wrapping - if ruleset.has_key( (SVGNS,'x') ): + if (SVGNS,'x') in ruleset: sdict['left'] = ruleset[(SVGNS,'x')] def c_page_width(self, ruleset, sdict, rule, val): @@ -263,7 +263,7 @@ it is already CSS2 """ sdict = {} - for rule,val in ruleset.items(): + for rule,val in list(ruleset.items()): if rule[0] == '': sdict[rule[1]] = val continue @@ -291,7 +291,7 @@ def rfindattr(self, attr): """ Find a tag with the given attribute """ for tag, attrs in self.stack: - if attrs.has_key(attr): + if attr in attrs: return attrs[attr] return None def count_tags(self, tag): @@ -440,10 +440,10 @@ def set_embedable(self): """ Tells the converter to only output the parts inside the """ - self.elements[(OFFICENS, u"text")] = (None,None) - self.elements[(OFFICENS, u"spreadsheet")] = (None,None) - self.elements[(OFFICENS, u"presentation")] = (None,None) - self.elements[(OFFICENS, u"document-content")] = (None,None) + self.elements[(OFFICENS, "text")] = (None,None) + self.elements[(OFFICENS, "spreadsheet")] = (None,None) + self.elements[(OFFICENS, "presentation")] = (None,None) + self.elements[(OFFICENS, "document-content")] = (None,None) def add_style_file(self, stylefilename, media=None): @@ -506,7 +506,7 @@ """ Create an open HTML tag """ self.htmlstack.append((tag,attrs,block)) a = [] - for key,val in attrs.items(): + for key,val in list(attrs.items()): a.append('''%s=%s''' % (key, quoteattr(val))) if len(a) == 0: self.writeout("<%s>" % tag) @@ -524,7 +524,7 @@ def emptytag(self, tag, attrs={}): a = [] - for key,val in attrs.items(): + for key,val in list(attrs.items()): a.append('''%s=%s''' % (key, quoteattr(val))) self.writeout("<%s %s/>\n" % (tag, " ".join(a))) @@ -590,7 +590,7 @@ def get_anchor(self, name): """ Create a unique anchor id for a href name """ - if not self.anchors.has_key(name): + if name not in self.anchors: self.anchors[name] = "anchor%03d" % (len(self.anchors) + 1) return self.anchors.get(name) @@ -650,13 +650,13 @@ style = '' else: style = "position: absolute;" - if attrs.has_key( (SVGNS,"width") ): + if (SVGNS,"width") in attrs: style = style + "width:" + attrs[(SVGNS,"width")] + ";" - if attrs.has_key( (SVGNS,"height") ): + if (SVGNS,"height") in attrs: style = style + "height:" + attrs[(SVGNS,"height")] + ";" - if attrs.has_key( (SVGNS,"x") ): + if (SVGNS,"x") in attrs: style = style + "left:" + attrs[(SVGNS,"x")] + ";" - if attrs.has_key( (SVGNS,"y") ): + if (SVGNS,"y") in attrs: style = style + "top:" + attrs[(SVGNS,"y")] + ";" if self.generate_css: self.opentag(htmltag, {'class': name, 'style': style}) @@ -686,13 +686,13 @@ style = '' else: style = "position:absolute;" - if attrs.has_key( (SVGNS,"width") ): + if (SVGNS,"width") in attrs: style = style + "width:" + attrs[(SVGNS,"width")] + ";" - if attrs.has_key( (SVGNS,"height") ): + if (SVGNS,"height") in attrs: style = style + "height:" + attrs[(SVGNS,"height")] + ";" - if attrs.has_key( (SVGNS,"x") ): + if (SVGNS,"x") in attrs: style = style + "left:" + attrs[(SVGNS,"x")] + ";" - if attrs.has_key( (SVGNS,"y") ): + if (SVGNS,"y") in attrs: style = style + "top:" + attrs[(SVGNS,"y")] + ";" if self.generate_css: self.opentag(htmltag, {'class': name, 'style': style}) @@ -775,7 +775,7 @@ def s_draw_textbox(self, tag, attrs): style = '' - if attrs.has_key( (FONS,"min-height") ): + if (FONS,"min-height") in attrs: style = style + "min-height:" + attrs[(FONS,"min-height")] + ";" self.opentag('div') # self.opentag('div', {'style': style}) @@ -808,17 +808,17 @@ for name in self.stylestack: styles = self.styledict.get(name) # Preload with the family's default style - if styles.has_key('__style-family') and self.styledict.has_key(styles['__style-family']): + if '__style-family' in styles and styles['__style-family'] in self.styledict: familystyle = self.styledict[styles['__style-family']].copy() del styles['__style-family'] - for style, val in styles.items(): + for style, val in list(styles.items()): familystyle[style] = val styles = familystyle # Resolve the remaining parent styles - while styles.has_key('__parent-style-name') and self.styledict.has_key(styles['__parent-style-name']): + while '__parent-style-name' in styles and styles['__parent-style-name'] in self.styledict: parentstyle = self.styledict[styles['__parent-style-name']].copy() del styles['__parent-style-name'] - for style, val in styles.items(): + for style, val in list(styles.items()): parentstyle[style] = val styles = parentstyle self.styledict[name] = styles @@ -828,7 +828,7 @@ styles = self.styledict.get(name) css2 = self.cs.convert_styles(styles) self.writeout("%s {\n" % name) - for style, val in css2.items(): + for style, val in list(css2.items()): self.writeout("\t%s: %s;\n" % (style, val) ) self.writeout("}\n") @@ -879,8 +879,8 @@ for the 'paragraph'. We therefore force a standard when we see it is a presentation """ - self.styledict['p'] = {(FONS,u'font-size'): u"24pt" } - self.styledict['presentation'] = {(FONS,u'font-size'): u"24pt" } + self.styledict['p'] = {(FONS,'font-size'): "24pt" } + self.styledict['presentation'] = {(FONS,'font-size'): "24pt" } self.html_body(tag, attrs) def e_office_presentation(self, tag, attrs): @@ -899,7 +899,7 @@ def s_office_text(self, tag, attrs): """ OpenDocument text """ - self.styledict['frame'] = { (STYLENS,'wrap'): u'parallel'} + self.styledict['frame'] = { (STYLENS,'wrap'): 'parallel'} self.html_body(tag, attrs) def e_office_text(self, tag, attrs): @@ -910,7 +910,7 @@ """ Copy all attributes to a struct. We will later convert them to CSS2 """ - for key,attr in attrs.items(): + for key,attr in list(attrs.items()): self.styledict[self.currentstyle][key] = attr @@ -1007,9 +1007,9 @@ pagelayout = attrs.get( (STYLENS,'page-layout-name'), None) if pagelayout: pagelayout = ".PL-" + pagelayout - if self.styledict.has_key( pagelayout ): + if pagelayout in self.styledict: styles = self.styledict[pagelayout] - for style, val in styles.items(): + for style, val in list(styles.items()): self.styledict[self.currentstyle][style] = val else: self.styledict[self.currentstyle]['__parent-style-name'] = pagelayout @@ -1037,7 +1037,7 @@ parent = attrs.get( (STYLENS,'parent-style-name') ) self.currentstyle = special_styles.get(name,"."+name) self.stylestack.append(self.currentstyle) - if not self.styledict.has_key(self.currentstyle): + if self.currentstyle not in self.styledict: self.styledict[self.currentstyle] = {} self.styledict[self.currentstyle]['__style-family'] = htmlfamily @@ -1046,9 +1046,9 @@ if parent: parent = "%s-%s" % (sfamily, parent) parent = special_styles.get(parent, "."+parent) - if self.styledict.has_key( parent ): + if parent in self.styledict: styles = self.styledict[parent] - for style, val in styles.items(): + for style, val in list(styles.items()): self.styledict[self.currentstyle][style] = val else: self.styledict[self.currentstyle]['__parent-style-name'] = parent @@ -1107,7 +1107,7 @@ htmlattrs = {} if c: htmlattrs['class'] = "TC-%s" % c.replace(".","_") - for x in xrange(repeated): + for x iRefactoringTool: Refactored ./tablib/packages/odf/easyliststyle.py RefactoringTool: Refactored ./tablib/packages/odf/draw.py RefactoringTool: Refactored ./tablib/packages/unicodecsv/__init__.py n range(repeated): self.emptytag('col', htmlattrs) self.purgedata() @@ -1324,7 +1324,7 @@ # self.writeout( escape(mark) ) # Since HTML only knows about endnotes, there is too much risk that the # marker is reused in the source. Therefore we force numeric markers - self.writeout(unicode(self.currentnote)) + self.writeout(str(self.currentnote)) self.closetag('sup') self.closetag('a') @@ -1363,7 +1363,7 @@ We use   so we can send the output through an XML parser if we desire to """ c = attrs.get( (TEXTNS,'c'),"1") - for x in xrange(int(c)): + for x in range(int(c)): self.writeout(' ') def s_text_span(self, tag, attrs): @@ -1420,7 +1420,7 @@ """ self.lines = [] self._wfunc = self._wlines - if isinstance(odffile, basestring): + if isinstance(odffile, str): self.document = load(odffile) else: self.document = odffile @@ -1433,7 +1433,7 @@ self._walknode(c) self.endElementNS(node.qname, node.tagName) if node.nodeType == Node.TEXT_NODE or node.nodeType == Node.CDATA_SECTION_NODE: - self.characters(unicode(node)) + self.characters(str(node)) def odf2xhtml(self, odffile): --- ./tablib/packages/odf/easyliststyle.py (original) +++ ./tablib/packages/odf/easyliststyle.py (refactored) @@ -20,8 +20,8 @@ # import re -from style import Style, TextProperties, ListLevelProperties -from text import ListStyle,ListLevelStyleNumber,ListLevelStyleBullet +from .style import Style, TextProperties, ListLevelProperties +from .text import ListStyle,ListLevelStyleNumber,ListLevelStyleBullet """ Create a element from a string or array. --- ./tablib/packages/odf/draw.py (original) +++ ./tablib/packages/odf/draw.py (refactored) @@ -18,32 +18,32 @@ # Contributor(s): # -from namespaces import DRAWNS, STYLENS, PRESENTATIONNS -from element import Element +from .namespaces import DRAWNS, STYLENS, PRESENTATIONNS +from .element import Element def StyleRefElement(stylename=None, classnames=None, **args): qattrs = {} if stylename is not None: f = stylename.getAttrNS(STYLENS, 'family') if f == 'graphic': - qattrs[(DRAWNS,u'style-name')]= stylename + qattrs[(DRAWNS,'style-name')]= stylename elif f == 'presentation': - qattrs[(PRESENTATIONNS,u'style-name')]= stylename + qattrs[(PRESENTATIONNS,'style-name')]= stylename else: - raise ValueError, "Style's family must be either 'graphic' or 'presentation'" + raise ValueError("Style's family must be either 'graphic' or 'presentation'") if classnames is not None: f = classnames[0].getAttrNS(STYLENS, 'family') if f == 'graphic': - qattrs[(DRAWNS,u'class-names')]= classnames + qattrs[(DRAWNS,'class-names')]= classnames elif f == 'presentation': - qattrs[(PRESENTATIONNS,u'class-names')]= classnames + qattrs[(PRESENTATIONNS,'class-names')]= classnames else: - raise ValueError, "Style's family must be either 'graphic' or 'presentation'" + raise ValueError("Style's family must be either 'graphic' or 'presentation'") return Element(qattributes=qattrs, **args) def DrawElement(name=None, **args): e = Element(name=name, **args) - if not args.has_key('displayname'): + if 'displayname' not in args: e.setAttrNS(DRAWNS,'display-name', name) return e --- ./tablib/packages/unicodecsv/__init__.py (original) +++ ./tablib/packages/unicodecsv/__init__.py (refactored) @@ -7,7 +7,7 @@ __version__ = ".".join(map(str,VERSION)) def _stringify(s, encoding): - if type(s)==unicode: + if type(s)==str: return s.encode(encoding) elif isinstance(s, (int , float)): pass #let csv.QUOTE_NONNUMERIC do its thing. @@ -50,9 +50,9 @@ self.rRefactoringTool: Refactored ./tablib/packages/omnijson/__init__.py RefactoringTool: No changes to ./tablib/packages/omnijson/core.py RefactoringTool: Refactored ./tablib/packages/yaml/__init__.py RefactoringTool: Refactored ./tablib/packages/yaml/representer.py eader = csv.reader(f, dialect=dialect, **kwds) self.encoding = encoding - def next(self): - row = self.reader.next() - return [unicode(s, self.encoding) for s in row] + def __next__(self): + row = next(self.reader) + return [str(s, self.encoding) for s in row] def __iter__(self): return self @@ -92,14 +92,14 @@ self.restkey = restkey self.encoding = encoding self.reader = csv.DictReader(csvfile, fieldnames, restkey, restval, dialect, *args, **kwds) - def next(self): - d = self.reader.next() - for k, v in d.items(): + def __next__(self): + d = next(self.reader) + for k, v in list(d.items()): if k == self.restkey: rest = v if rest: - d[self.restkey] = [unicode(v, self.encoding) for v in rest] + d[self.restkey] = [str(v, self.encoding) for v in rest] else: if v is not None: - d[k] = unicode(v, self.encoding) + d[k] = str(v, self.encoding) return d --- ./tablib/packages/omnijson/__init__.py (original) +++ ./tablib/packages/omnijson/__init__.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import + from .core import loads, dumps, JSONError --- ./tablib/packages/yaml/__init__.py (original) +++ ./tablib/packages/yaml/__init__.py (refactored) @@ -1,17 +1,17 @@ -from error import * - -from tokens import * -from events import * -from nodes import * - -from loader import * -from dumper import * +from .error import * + +from .tokens import * +from .events import * +from .nodes import * + +from .loader import * +from .dumper import * __version__ = '3.09' try: - from cyaml import * + from .cyaml import * __with_libyaml__ = True except ImportError: __with_libyaml__ = False @@ -91,7 +91,7 @@ """ getvalue = None if stream is None: - from StringIO import StringIO + from io import StringIO stream = StringIO() getvalue = stream.getvalue dumper = Dumper(stream, canonical=canonical, indent=indent, width=width, @@ -113,9 +113,9 @@ getvalue = None if stream is None: if encoding is None: - from StringIO import StringIO + from io import StringIO else: - from cStringIO import StringIO + from io import StringIO stream = StringIO() getvalue = stream.getvalue dumper = Dumper(stream, canonical=canonical, indent=indent, width=width, @@ -149,9 +149,9 @@ getvalue = None if stream is None: if encoding is None: - from StringIO import StringIO + from io import StringIO else: - from cStringIO import StringIO + from io import StringIO stream = StringIO() getvalue = stream.getvalue dumper = Dumper(stream, default_style=default_style, @@ -256,13 +256,11 @@ cls.yaml_loader.add_constructor(cls.yaml_tag, cls.from_yaml) cls.yaml_dumper.add_representer(cls, cls.to_yaml) -class YAMLObject(object): +class YAMLObject(object, metaclass=YAMLObjectMetaclass): """ An object that can dump itself to a YAML stream and load itself from a YAML stream. """ - - __metaclass__ = YAMLObjectMetaclass __slots__ = () # no direct instantiation, so allow immutable subclasses yaml_loader = Loader --- ./tablib/packages/yaml/representer.py (original) +++ ./tablib/packages/yaml/representer.py (refactored) @@ -2,8 +2,8 @@ __all__ = ['BaseRepresenter', 'SafeRepresenter', 'Representer', 'RepresenterError'] -from error import * -from nodes import * +from .error import * +from .nodes import * import datetime @@ -12,7 +12,7 @@ except NameError: from sets import Set as set -import sys, copy_reg, types +import sys, copyreg, types class RepresenterError(YAMLError): pass @@ -71,7 +71,7 @@ elif None in self.yaml_representers: node = self.yaml_representers[None](self, data) else: - node = ScalarNode(None, unicode(data)) + node = ScalarNode(None, str(data)) #if alias_key is not None: # self.represented_objects[alias_key] = node return node @@ -121,7 +121,7 @@ self.represented_objects[self.alias_key] = node best_style = True if hasattr(mapping, 'items'): - mapping = mapping.items() + mapping = list(mapping.items()) mapping.sort() for item_key, item_value in mapping: node_key = self.represent_data(item_key) @@ -146,44 +146,44 @@ def ignore_aliases(self, data): if data in [None, ()]: return True - if isinstance(data, (str, unicode, bool, int, float)): + if isinstance(data, (str, bool, int, float)): return True def represent_none(self, data): - return self.represent_scalar(u'tag:yaml.org,2002:null', - u'null') + return self.represent_scalar('tag:yaml.org,2002:null', + 'null') def represent_str(self, data): tag = None style = None try: - data = unicode(data, 'ascii') - tag = u'tag:yaml.org,2002:str' + data = str(data, 'ascii') + tag = 'tag:yaml.org,2002:str' except UnicodeDecodeError: try: - data = unicode(data, 'utf-8') - tag = u'tag:yaml.org,2002:str' + data = str(data, 'utf-8') + tag = 'tag:yaml.org,2002:str' except UnicodeDecodeError: data = data.encode('base64') - tag = u'tag:yaml.org,2002:binary' + tag = 'tag:yaml.org,2002:binary' style = '|' return self.represent_scalar(tag, data, style=style) def represent_unicode(self, data): - return self.represent_scalar(u'tag:yaml.org,2002:str', data) + return self.represent_scalar('tag:yaml.org,2002:str', data) def represent_bool(self, data): if data: - value = u'true' - else: - value = u'false' - return self.represent_scalar(u'tag:yaml.org,2002:bool', value) + value = 'true' + else: + value = 'false' + return self.represent_scalar('tag:yaml.org,2002:bool', value) def represent_int(self, data): - return self.represent_scalar(u'tag:yaml.org,2002:int', unicode(data)) + return self.represent_scalar('tag:yaml.org,2002:int', str(data)) def represent_long(self, data): - return self.represent_scalar(u'tag:yaml.org,2002:int', unicode(data)) + return self.represent_scalar('tag:yaml.org,2002:int', str(data)) inf_value = 1e300 while repr(inf_value) != repr(inf_value*inf_value): @@ -191,13 +191,13 @@ def represent_float(self, data): if data != data or (data == 0.0 and data == 1.0): - value = u'.nan' + value = '.nan' elif data == self.inf_value: - value = u'.inf' + value = '.inf' elif data == -self.inf_value: - value = u'-.inf' - else: - value = unicode(repr(data)).lower() + value = '-.inf' + else: + value = str(repr(data)).lower() # Note that in some cases `repr(data)` represents a float number # without the decimal parts. For instance: # >>> repr(1e17) @@ -205,9 +205,9 @@ # Unfortunately, this is not a valid float representation according # to the definition of the `!!float` tag. We fix this by adding # '.0' before the 'e' symbol. - if u'.' not in value and u'e' in value: - value = value.replace(u'e', u'.0e', 1) - return self.represent_scalar(u'tag:yaml.org,2002:float', value) + if '.' not in value and 'e' in value: + value = value.replace('e', '.0e', 1) + return self.represent_scalar('tag:yaml.org,2002:float', value) def represent_list(self, data): #pairs = (len(data) > 0 and isinstance(data, list)) @@ -217,7 +217,7 @@ # pairs = False # break #if not pairs: - return self.represent_sequence(u'tag:yaml.org,2002:seq', data) + return self.represent_sequence('tag:yaml.org,2002:seq', data) #value = [] #for item_key, item_value in data: # value.append(self.represent_mapping(u'tag:yaml.org,2002:map', @@ -225,21 +225,21 @@ #return SequenceNode(u'tag:yaml.org,2002:pairs', value) def represent_dict(self, data): - return self.represent_mapping(u'tag:yaml.org,2002:map', data) + return self.represent_mapping('tag:yaml.org,2002:map', data) def represent_set(self, data): value = {} for key in data: value[key] = None - return self.represent_mapping(u'tag:yaml.org,2002:set', value) + return self.represent_mapping('tag:yaml.org,2002:set', value) def represent_date(self, data): - value = unicode(data.isoformat()) - return self.represent_scalar(u'tag:yaml.org,2002:timestamp', value) + value = str(data.isoformat()) + return self.represent_scalar('tag:yaml.org,2002:timestamp', value) def represent_datetime(self, data): - value = unicode(data.isoformat(' ')) - return self.represent_scalar(u'tag:yaml.org,2002:timestamp', value) + value = str(data.isoformat(' ')) + return self.represent_scalar('tag:yaml.org,2002:timestamp', value) def represent_yaml_object(self, tag, data, cls, flow_style=None): if hasattr(data, '__getstate__'): @@ -257,7 +257,7 @@ SafeRepresenter.add_representer(str, SafeRepresenter.represent_str) -SafeRepresenter.add_representer(unicode, +SafeRepresenter.add_representer(str, SafeRepresenter.represent_unicode) SafeRepresenter.add_representer(bool, @@ -266,7 +266,7 @@ SafeRepresenter.add_representer(int, SafeRepresenter.represent_int) -SafeRepresenter.add_representer(long, +SafeRepresenter.add_representer(int, SafeRepresenter.represent_long) SafeRepresenter.add_representer(float, @@ -299,15 +299,15 @@ tag = None style = None try: - data = unicode(data, 'ascii') - tag = u'tag:yaml.org,2002:str' + data = str(data, 'ascii') + tag = 'tag:yaml.org,2002:str' except UnicodeDecodeError: try: - data = unicode(data, 'utf-8') - tag = u'tag:yaml.org,2002:python/str' + data = str(data, 'utf-8') + tag = 'tag:yaml.org,2002:python/str' except UnicodeDecodeError: data = data.encode('base64') - tag = u'tag:yaml.org,2002:binary' + tag = 'tag:yaml.org,2002:binary' style = '|' return self.represent_scalar(tag, data, style=style) @@ -315,38 +315,38 @@ tag = None try: data.encode('ascii') - tag = u'tag:yaml.org,2002:python/unicode' + tag = 'tag:yaml.org,2002:python/unicode' except UnicodeEncodeError: - tag = u'tag:yaml.org,2002:str' + tag = 'tag:yaml.org,2002:str' return self.represent_scalar(tag, data) def represent_long(self, data): - tag = u'tag:yaml.org,2002:int' + tag = 'tag:yaml.org,2002:int' if int(data) is not data: - tag = u'tag:yaml.org,2002:python/long' - return self.represent_scalar(tag, unicode(data)) + tag = 'tag:yaml.org,2002:python/long' + return self.represent_scalar(tag, str(data)) def represent_complex(self, data): if data.imag == 0.0: - data = u'%r' % data.real + data = '%r' % data.real elif data.real == 0.0: - data = u'%rj' % data.imag + data = '%rj' % data.imag elif data.imag > 0: - data = u'%r+%rj' % (data.real, data.imag) - else: - data = u'%r%rj' % (data.real, data.imag) - return self.represent_scalar(u'tag:yaml.org,2002:python/complex', data) + data = '%r+%rj' % (data.real, data.imag) + else: + data = '%r%rj' % (data.real, data.imag) + return self.represent_scalar('tag:yaml.org,2002:python/complex', data) def represent_tuple(self, data): - return self.represent_sequence(u'tag:yaml.org,2002:python/tuple', data) + return self.represent_sequence('tag:yaml.org,2002:python/tuple', data) def represent_name(self, data): - name = u'%s.%s' % (data.__module__, data.__name__) - return self.represent_scalar(u'tag:yaml.org,2002:python/name:'+name, u'') + name = '%s.%s' % (data.__module__, data.__name__) + return self.represent_scalar('tag:yaml.org,2002:python/name:'+name, '') def represent_module(self, data): return self.represent_scalar( - u'tag:yaml.org,2002:python/module:'+data.__name__, u'') + 'tag:yaml.org,2002:python/module:'+data.__name__, '') def represent_instance(self, data): # For instances of classic classes, we use __getinitargs__ and @@ -367,7 +367,7 @@ # !!python/object/new node. cls = data.__class__ - class_name = u'%s.%s' % (cls.__module__, cls.__name__) + class_name = '%s.%s' % (cls.__module__, cls.__name__) args = None state = None if hasattr(data, '__getinitargs__'): @@ -378,16 +378,16 @@ state = data.__dict__ if args is None and isinstance(state, dict): return self.represent_mapping( - u'tag:yaml.org,2002:python/object:'+class_name, state) + 'tag:yaml.org,2002:python/object:'+class_name, state) if isinstance(state, dict) and not state: return self.represent_sequence( - u'tag:yaml.org,2002:python/object/new:'+class_name, args) + 'tag:yaml.org,2002:python/object/new:'+class_name, args) value = {} if args: value['args'] = args value['state'] = state return self.represent_mapping( - u'tag:yaml.org,2002:python/object/new:'+class_name, value) + 'tag:yaml.org,2002:python/object/new:'+class_name, value) def represent_object(self, data): # We use __reduce__ API to save the data. data.__reduce__ returns @@ -407,8 +407,8 @@ # !!python/object/apply node. cls = type(data) - if cls in copy_reg.dispatch_table: - reduce = copy_reg.dispatch_table[cls](data) + if cls in copyreg.dispatch_table: + reduce = copyreg.dispatch_table[cls](data) elif hasattr(data, '__reduce_ex__'): reduce = data.__reduce_ex__(2) elif hasattr(data, '__reduce__'): @@ -427,16 +427,16 @@ if function.__name__ == '__newobj__': function = args[0] args = args[1:] - tag = u'tag:yaml.org,2002:python/object/new:' + tag = 'tag:yaml.org,2002:python/object/new:' newobj = True else: - tag = u'tag:yaml.org,2002:python/object/apply:' + tag = 'tag:yaml.org,2002:python/object/apply:' newobj = False - function_name = u'%s.%s' % (function.__module__, function.__name__) + function_name = '%s.%s' % (function.__module__, function.__name__) if not args and not listitems and not dictitems \ and isinstance(state, dict) and newobj: return self.represent_mapping( - u'tag:yaml.org,2002:python/object:'+function_name, state) + 'tag:yaml.org,2002:python/object:'+function_name, state) if not listitems and not dictitems \ and isinstance(state, dict) and not state: return self.represent_sequence(tag+function_name, args) @@ -454,10 +454,1RefactoringTool: Refactored ./tablib/packages/yaml/parser.py RefactoringTool: Refactored ./tablib/packages/yaml/scanner.py 0 @@ Representer.add_representer(str, Representer.represent_str) -Representer.add_representer(unicode, +Representer.add_representer(str, Representer.represent_unicode) -Representer.add_representer(long, +Representer.add_representer(int, Representer.represent_long) Representer.add_representer(complex, @@ -469,7 +469,7 @@ Representer.add_representer(type, Representer.represent_name) -Representer.add_representer(types.ClassType, +Representer.add_representer(type, Representer.represent_name) Representer.add_representer(types.FunctionType, --- ./tablib/packages/yaml/parser.py (original) +++ ./tablib/packages/yaml/parser.py (refactored) @@ -61,10 +61,10 @@ __all__ = ['Parser', 'ParserError'] -from error import MarkedYAMLError -from tokens import * -from events import * -from scanner import * +from .error import MarkedYAMLError +from .tokens import * +from .events import * +from .scanner import * class ParserError(MarkedYAMLError): pass @@ -74,8 +74,8 @@ # do not give many comments here. DEFAULT_TAGS = { - u'!': u'!', - u'!!': u'tag:yaml.org,2002:', + '!': '!', + '!!': 'tag:yaml.org,2002:', } def __init__(self): @@ -214,7 +214,7 @@ self.tag_handles = {} while self.check_token(DirectiveToken): token = self.get_token() - if token.name == u'YAML': + if token.name == 'YAML': if self.yaml_version is not None: raise ParserError(None, None, "found duplicate YAML directive", token.start_mark) @@ -224,7 +224,7 @@ "found incompatible YAML document (version 1.* is required)", token.start_mark) self.yaml_version = token.value - elif token.name == u'TAG': + elif token.name == 'TAG': handle, prefix = token.value if handle in self.tag_handles: raise ParserError(None, None, @@ -310,7 +310,7 @@ if start_mark is None: start_mark = end_mark = self.peek_token().start_mark event = None - implicit = (tag is None or tag == u'!') + implicit = (tag is None or tag == '!') if indentless_sequence and self.check_token(BlockEntryToken): end_mark = self.peek_token().end_mark event = SequenceStartEvent(anchor, tag, implicit, @@ -320,7 +320,7 @@ if self.check_token(ScalarToken): token = self.get_token() end_mark = token.end_mark - if (token.plain and tag is None) or tag == u'!': + if (token.plain and tag is None) or tag == '!': implicit = (True, False) elif tag is None: implicit = (False, True) @@ -352,7 +352,7 @@ elif anchor is not None or tag is not None: # Empty scalars are allowed even if a tag or an anchor is # specified. - event = ScalarEvent(anchor, tag, (implicit, False), u'', + event = ScalarEvent(anchor, tag, (implicit, False), '', start_mark, end_mark) self.state = self.states.pop() else: @@ -580,5 +580,5 @@ return self.process_empty_scalar(self.peek_token().start_mark) def process_empty_scalar(self, mark): - return ScalarEvent(None, None, (True, False), u'', mark, mark) - + return ScalarEvent(None, None, (True, False), '', mark, mark) + --- ./tablib/packages/yaml/scanner.py (original) +++ ./tablib/packages/yaml/scanner.py (refactored) @@ -26,8 +26,8 @@ __all__ = ['Scanner', 'ScannerError'] -from error import MarkedYAMLError -from tokens import * +from .error import MarkedYAMLError +from .tokens import * class ScannerError(MarkedYAMLError): pass @@ -166,19 +166,19 @@ ch = self.peek() # Is it the end of stream? - if ch == u'\0': + if ch == '\0': return self.fetch_stream_end() # Is it a directive? - if ch == u'%' and self.check_directive(): + if ch == '%' and self.check_directive(): return self.fetch_directive() # Is it the document start? - if ch == u'-' and self.check_document_start(): + if ch == '-' and self.check_document_start(): return self.fetch_document_start() # Is it the document end? - if ch == u'.' and self.check_document_end(): + if ch == '.' and self.check_document_end(): return self.fetch_document_end() # TODO: support for BOM within a stream. @@ -188,63 +188,63 @@ # Note: the order of the following checks is NOT significant. # Is it the flow sequence start indicator? - if ch == u'[': + if ch == '[': return self.fetch_flow_sequence_start() # Is it the flow mapping start indicator? - if ch == u'{': + if ch == '{': return self.fetch_flow_mapping_start() # Is it the flow sequence end indicator? - if ch == u']': + if ch == ']': return self.fetch_flow_sequence_end() # Is it the flow mapping end indicator? - if ch == u'}': + if ch == '}': return self.fetch_flow_mapping_end() # Is it the flow entry indicator? - if ch == u',': + if ch == ',': return self.fetch_flow_entry() # Is it the block entry indicator? - if ch == u'-' and self.check_block_entry(): + if ch == '-' and self.check_block_entry(): return self.fetch_block_entry() # Is it the key indicator? - if ch == u'?' and self.check_key(): + if ch == '?' and self.check_key(): return self.fetch_key() # Is it the value indicator? - if ch == u':' and self.check_value(): + if ch == ':' and self.check_value(): return self.fetch_value() # Is it an alias? - if ch == u'*': + if ch == '*': return self.fetch_alias() # Is it an anchor? - if ch == u'&': + if ch == '&': return self.fetch_anchor() # Is it a tag? - if ch == u'!': + if ch == '!': return self.fetch_tag() # Is it a literal scalar? - if ch == u'|' and not self.flow_level: + if ch == '|' and not self.flow_level: return self.fetch_literal() # Is it a folded scalar? - if ch == u'>' and not self.flow_level: + if ch == '>' and not self.flow_level: return self.fetch_folded() # Is it a single quoted scalar? - if ch == u'\'': + if ch == '\'': return self.fetch_single() # Is it a double quoted scalar? - if ch == u'\"': + if ch == '\"': return self.fetch_double() # It must be a plain scalar then. @@ -280,7 +280,7 @@ # - should be no longer than 1024 characters. # Disabling this procedure will allow simple keys of any length and # height (may cause problems if indentation is broken though). - for level in self.possible_simple_keys.keys(): + for level in list(self.possible_simple_keys.keys()): key = self.possible_simple_keys[level] if key.line != self.line \ or self.index-key.index > 1024: @@ -692,22 +692,22 @@ # DOCUMENT-START: ^ '---' (' '|'\n') if self.column == 0: - if self.prefix(3) == u'---' \ - and self.peek(3) in u'\0 \t\r\n\x85\u2028\u2029': + if self.prefix(3) == '---' \ + and self.peek(3) in '\0 \t\r\n\x85\u2028\u2029': return True def check_document_end(self): # DOCUMENT-END: ^ '...' (' '|'\n') if self.column == 0: - if self.prefix(3) == u'...' \ - and self.peek(3) in u'\0 \t\r\n\x85\u2028\u2029': + if self.prefix(3) == '...' \ + and self.peek(3) in '\0 \t\r\n\x85\u2028\u2029': return True def check_block_entry(self): # BLOCK-ENTRY: '-' (' '|'\n') - return self.peek(1) in u'\0 \t\r\n\x85\u2028\u2029' + return self.peek(1) in '\0 \t\r\n\x85\u2028\u2029' def check_key(self): @@ -717,7 +717,7 @@ # KEY(block context): '?' (' '|'\n') else: - return self.peek(1) in u'\0 \t\r\n\x85\u2028\u2029' + return self.peek(1) in '\0 \t\r\n\x85\u2028\u2029' def check_value(self): @@ -727,7 +727,7 @@ # VALUE(block context): ':' (' '|'\n') else: - return self.peek(1) in u'\0 \t\r\n\x85\u2028\u2029' + return self.peek(1) in '\0 \t\r\n\x85\u2028\u2029' def check_plain(self): @@ -744,9 +744,9 @@ # '-' character) because we want the flow context to be space # independent. ch = self.peek() - return ch not in u'\0 \t\r\n\x85\u2028\u2029-?:,[]{}#&*!|>\'\"%@`' \ - or (self.peek(1) not in u'\0 \t\r\n\x85\u2028\u2029' - and (ch == u'-' or (not self.flow_level and ch in u'?:'))) + return ch not in '\0 \t\r\n\x85\u2028\u2029-?:,[]{}#&*!|>\'\"%@`' \ + or (self.peek(1) not in '\0 \t\r\n\x85\u2028\u2029' + and (ch == '-' or (not self.flow_level and ch in '?:'))) # Scanners. @@ -770,14 +770,14 @@ # `unwind_indent` before issuing BLOCK-END. # Scanners for block, flow, and plain scalars need to be modified. - if self.index == 0 and self.peek() == u'\uFEFF': + if self.index == 0 and self.peek() == '\uFEFF': self.forward() found = False while not found: - while self.peek() == u' ': + while self.peek() == ' ': self.forward() - if self.peek() == u'#': - while self.peek() not in u'\0\r\n\x85\u2028\u2029': + if self.peek() == '#': + while self.peek() not in '\0\r\n\x85\u2028\u2029': self.forward() if self.scan_line_break(): if not self.flow_level: @@ -791,15 +791,15 @@ self.forward() name = self.scan_directive_name(start_mark) value = None - if name == u'YAML': + if name == 'YAML': value = self.scan_yaml_directive_value(start_mark) end_mark = self.get_mark() - elif name == u'TAG': + elif name == 'TAG': value = self.scan_tag_directive_value(start_mark) end_mark = self.get_mark() else: end_mark = self.get_mark() - while self.peek() not in u'\0\r\n\x85\u2028\u2029': + while self.peek() not in '\0\r\n\x85\u2028\u2029': self.forward() self.scan_directive_ignored_line(start_mark) return DirectiveToken(name, value, start_mark, end_mark) @@ -808,8 +808,8 @@ # See the specification for details. length = 0 ch = self.peek(length) - while u'0' <= ch <= u'9' or u'A' <= ch <= u'Z' or u'a' <= ch <= u'z' \ - or ch in u'-_': + while '0' <= ch <= '9' or 'A' <= ch <= 'Z' or 'a' <= ch <= 'z' \ + or ch in '-_': length += 1 ch = self.peek(length) if not length: @@ -819,7 +819,7 @@ value = self.prefix(length) self.forward(length) ch = self.peek() - if ch not in u'\0 \r\n\x85\u2028\u2029': + if ch not in '\0 \r\n\x85\u2028\u2029': raise ScannerError("while scanning a directive", start_mark, "expected alphabetic or numeric character, but found %r" % ch.encode('utf-8'), self.get_mark()) @@ -827,7 +827,7 @@ def scan_yaml_directive_value(self, start_mark): # See the specification for details. - while self.peek() == u' ': + while self.peek() == ' ': self.forward() major = self.scan_yaml_directive_number(start_mark) if self.peek() != '.': @@ -837,7 +837,7 @@ self.get_mark()) self.forward() minor = self.scan_yaml_directive_number(start_mark) - if self.peek() not in u'\0 \r\n\x85\u2028\u2029': + if self.peek() not in '\0 \r\n\x85\u2028\u2029': raise ScannerError("while scanning a directive", start_mark, "expected a digit or ' ', but found %r" % self.peek().encode('utf-8'), @@ -847,12 +847,12 @@ def scan_yaml_directive_number(self, start_mark): # See the specification for details. ch = self.peek() - if not (u'0' <= ch <= u'9'): + if not ('0' <= ch <= '9'): raise ScannerError("while scanning a directive", start_mark, "expected a digit, but found %r" % ch.encode('utf-8'), self.get_mark()) length = 0 - while u'0' <= self.peek(length) <= u'9': + while '0' <= self.peek(length) <= '9': length += 1 value = int(self.prefix(length)) self.forward(length) @@ -860,10 +860,10 @@ def scan_tag_directive_value(self, start_mark): # See the specification for details. - while self.peek() == u' ': + while self.peek() == ' ': self.forward() handle = self.scan_tag_directive_handle(start_mark) - while self.peek() == u' ': + while self.peek() == ' ': self.forward() prefix = self.scan_tag_directive_prefix(start_mark) return (handle, prefix) @@ -872,7 +872,7 @@ # See the specification for details. value = self.scan_tag_handle('directive', start_mark) ch = self.peek() - if ch != u' ': + if ch != ' ': raise ScannerError("while scanning a directive", start_mark, "expected ' ', but found %r" % ch.encode('utf-8'), self.get_mark()) @@ -882,7 +882,7 @@ # See the specification for details. value = self.scan_tag_uri('directive', start_mark) ch = self.peek() - if ch not in u'\0 \r\n\x85\u2028\u2029': + if ch not in '\0 \r\n\x85\u2028\u2029': raise ScannerError("while scanning a directive", start_mark, "expected ' ', but found %r" % ch.encode('utf-8'), self.get_mark()) @@ -890,13 +890,13 @@ def scan_directive_ignored_line(self, start_mark): # See the specification for details. - while self.peek() == u' ': + while self.peek() == ' ': self.forward() - if self.peek() == u'#': - while self.peek() not in u'\0\r\n\x85\u2028\u2029': + if self.peek() == '#': + while self.peek() not in '\0\r\n\x85\u2028\u2029': self.forward() ch = self.peek() - if ch not in u'\0\r\n\x85\u2028\u2029': + if ch not in '\0\r\n\x85\u2028\u2029': raise ScannerError("while scanning a directive", start_mark, "expected a comment or a line break, but found %r" % ch.encode('utf-8'), self.get_mark()) @@ -913,15 +913,15 @@ # Therefore we restrict aliases to numbers and ASCII letters. start_mark = self.get_mark() indicator = self.peek() - if indicator == u'*': + if indicator == '*': name = 'alias' else: name = 'anchor' self.forward() length = 0 ch = self.peek(length) - while u'0' <= ch <= u'9' or u'A' <= ch <= u'Z' or u'a' <= ch <= u'z' \ - or ch in u'-_': + while '0' <= ch <= '9' or 'A' <= ch <= 'Z' or 'a' <= ch <= 'z' \ + or ch in '-_': length += 1 ch = self.peek(length) if not length: @@ -931,7 +931,7 @@ value = self.prefix(length) self.forward(length) ch = self.peek() - if ch not in u'\0 \t\r\n\x85\u2028\u2029?:,]}%@`': + if ch not in '\0 \t\r\n\x85\u2028\u2029?:,]}%@`': raise ScannerError("while scanning an %s" % name, start_mark, "expected alphabetic or numeric character, but found %r" % ch.encode('utf-8'), self.get_mark()) @@ -942,37 +942,37 @@ # See the specification for details. start_mark = self.get_mark() ch = self.peek(1) - if ch == u'<': + if ch == '<': handle = None self.forward(2) suffix = self.scan_tag_uri('tag', start_mark) - if self.peek() != u'>': + if self.peek() != '>': raise ScannerError("while parsing a tag", start_mark, "expected '>', but found %r" % self.peek().encode('utf-8'), self.get_mark()) self.forward() - elif ch in u'\0 \t\r\n\x85\u2028\u2029': + elif ch in '\0 \t\r\n\x85\u2028\u2029': handle = None - suffix = u'!' + suffix = '!' self.forward() else: length = 1 use_handle = False - while ch not in u'\0 \r\n\x85\u2028\u2029': - if ch == u'!': + while ch not in '\0 \r\n\x85\u2028\u2029': + if ch == '!': use_handle = True break length += 1 ch = self.peek(length) - handle = u'!' + handle = '!' if use_handle: handle = self.scan_tag_handle('tag', start_mark) else: - handle = u'!' + handle = '!' self.forward() suffix = self.scan_tag_uri('tag', start_mark) ch = self.peek() - if ch not in u'\0 \r\n\x85\u2028\u2029': + if ch not in '\0 \r\n\x85\u2028\u2029': raise ScannerError("while scanning a tag", start_mark, "expected ' ', but found %r" % ch.encode('utf-8'), self.get_mark()) @@ -1006,29 +1006,29 @@ else: indent = min_indent+increment-1 breaks, end_mark = self.scan_block_scalar_breaks(indent) - line_break = u'' + line_break = '' # Scan the inner part of the block scalar. - while self.column == indent and self.peek() != u'\0': + while self.column == indent and self.peek() != '\0': chunks.extend(breaks) - leading_non_space = self.peek() not in u' \t' + leading_non_space = self.peek() not in ' \t' length = 0 - while self.peek(length) not in u'\0\r\n\x85\u2028\u2029': + while self.peek(length) not in '\0\r\n\x85\u2028\u2029': length += 1 chunks.append(self.prefix(length)) self.forward(length) line_break = self.scan_line_break() breaks, end_mark = self.scan_block_scalar_breaks(indent) - if self.column == indent and self.peek() != u'\0': + if self.column == indent and self.peek() != '\0': # Unfortunately, folding rules are ambiguous. # # This is the folding according to the specification: - if folded and line_break == u'\n' \ - and leading_non_space and self.peek() not in u' \t': + if folded and line_break == '\n' \ + and leading_non_space and self.peek() not in ' \t': if not breaks: - chunks.append(u' ') + chunks.append(' ') else: chunks.append(line_break) @@ -1053,7 +1053,7 @@ chunks.extend(breaks) # We are done. - return ScalarToken(u''.join(chunks), False, start_mark, end_mark, + return ScalarToken(''.join(chunks), False, start_mark, end_mark, style) def scan_block_scalar_indicators(self, start_mark): @@ -1061,21 +1061,21 @@ chomping = None increment = None ch = self.peek() - if ch in u'+-': + if ch in '+-': if ch == '+': chomping = True else: chomping = False self.forward() ch = self.peek() - if ch in u'0123456789': + if ch in '0123456789': increment = int(ch) if increment == 0: raise ScannerError("while scanning a block scalar", start_mark, "expected indentation indicator in the range 1-9, but found 0", self.get_mark()) self.forward() - elif ch in u'0123456789': + elif ch in '0123456789': increment = int(ch) if increment == 0: raise ScannerError("while scanning a block scalar", start_mark, @@ -1083,14 +1083,14 @@ self.get_mark()) self.forward() ch = self.peek() - if ch in u'+-': + if ch in '+-': if ch == '+': chomping = True else: chomping = False self.forward() ch = self.peek() - if ch not in u'\0 \r\n\x85\u2028\u2029': + if ch not in '\0 \r\n\x85\u2028\u2029': raise ScannerError("while scanning a block scalar", start_mark, "expected chomping or indentation indicators, but found %r" % ch.encode('utf-8'), self.get_mark()) @@ -1098,13 +1098,13 @@ def scan_block_scalar_ignored_line(self, start_mark): # See the specification for details. - while self.peek() == u' ': + while self.peek() == ' ': self.forward() - if self.peek() == u'#': - while self.peek() not in u'\0\r\n\x85\u2028\u2029': + if self.peek() == '#': + while self.peek() not in '\0\r\n\x85\u2028\u2029': self.forward() ch = self.peek() - if ch not in u'\0\r\n\x85\u2028\u2029': + if ch not in '\0\r\n\x85\u2028\u2029': raise ScannerError("while scanning a block scalar", start_mark, "expected a comment or a line break, but found %r" % ch.encode('utf-8'), self.get_mark()) @@ -1115,8 +1115,8 @@ chunks = [] max_indent = 0 end_mark = self.get_mark() - while self.peek() in u' \r\n\x85\u2028\u2029': - if self.peek() != u' ': + while self.peek() in ' \r\n\x85\u2028\u2029': + if self.peek() != ' ': chunks.append(self.scan_line_break()) end_mark = self.get_mark() else: @@ -1129,12 +1129,12 @@ # See the specification for details. chunks = [] end_mark = self.get_mark() - while self.column < indent and self.peek() == u' ': + while self.column < indent and self.peek() == ' ': self.forward() - while self.peek() in u'\r\n\x85\u2028\u2029': + while self.peek() in '\r\n\x85\u2028\u2029': chunks.append(self.scan_line_break()) end_mark = self.get_mark() - while self.column < indent and self.peek() == u' ': + while self.column < indent and self.peek() == ' ': self.forward() return chunks, end_mark @@ -1159,33 +1159,33 @@ chunks.extend(self.scan_flow_scalar_non_spaces(double, start_mark)) self.forward() end_mark = self.get_mark() - return ScalarToken(u''.join(chunks), False, start_mark, end_mark, + return ScalarToken(''.join(chunks), False, start_mark, end_mark, style) ESCAPE_REPLACEMENTS = { - u'0': u'\0', - u'a': u'\x07', - u'b': u'\x08', - u't': u'\x09', - u'\t': u'\x09', - u'n': u'\x0A', - u'v': u'\x0B', - u'f': u'\x0C', - u'r': u'\x0D', - u'e': u'\x1B', - u' ': u'\x20', - u'\"': u'\"', - u'\\': u'\\', - u'N': u'\x85', - u'_': u'\xA0', - u'L': u'\u2028', - u'P': u'\u2029', + '0': '\0', + 'a': '\x07', + 'b': '\x08', + 't': '\x09', + '\t': '\x09', + 'n': '\x0A', + 'v': '\x0B', + 'f': '\x0C', + 'r': '\x0D', + 'e': '\x1B', + ' ': '\x20', + '\"': '\"', + '\\': '\\', + 'N': '\x85', + '_': '\xA0', + 'L': '\u2028', + 'P': '\u2029', } ESCAPE_CODES = { - u'x': 2, - u'u': 4, - u'U': 8, + 'x': 2, + 'u': 4, + 'U': 8, } def scan_flow_scalar_non_spaces(self, double, start_mark): @@ -1193,19 +1193,19 @@ chunks = [] while True: length = 0 - while self.peek(length) not in u'\'\"\\\0 \t\r\n\x85\u2028\u2029': + while self.peek(length) not in '\'\"\\\0 \t\r\n\x85\u2028\u2029': length += 1 if length: chunks.append(self.prefix(length)) self.forward(length) ch = self.peek() - if not double and ch == u'\'' and self.peek(1) == u'\'': - chunks.append(u'\'') + if not double and ch == '\'' and self.peek(1) == '\'': + chunks.append('\'') self.forward(2) - elif (double and ch == u'\'') or (not double and ch in u'\"\\'): + elif (double and ch == '\'') or (not double and ch in '\"\\'): chunks.append(ch) self.forward() - elif double and ch == u'\\': + elif double and ch == '\\': self.forward() ch = self.peek() if ch in self.ESCAPE_REPLACEMENTS: @@ -1215,14 +1215,14 @@ length = self.ESCAPE_CODES[ch] self.forward() for k in range(length): - if self.peek(k) not in u'0123456789ABCDEFabcdef': + if self.peek(k) not in '0123456789ABCDEFabcdef': raise ScannerError("while scanning a double-quoted scalar", start_mark, "expected escape sequence of %d hexdecimal numbers, but found %r" % (length, self.peek(k).encode('utf-8')), self.get_mark()) code = int(self.prefix(length), 16) - chunks.append(unichr(code)) + chunks.append(chr(code)) self.forward(length) - elif ch in u'\r\n\x85\u2028\u2029': + elif ch in '\r\n\x85\u2028\u2029': self.scan_line_break() chunks.extend(self.scan_flow_scalar_breaks(double, start_mark)) else: @@ -1235,21 +1235,21 @@ # See the specification for details. chunks = [] length = 0 - while self.peek(length) in u' \t': + while self.peek(length) in ' \t': length += 1 whitespaces = self.prefix(length) self.forward(length) ch = self.peek() - if ch == u'\0': + if ch == '\0': raise ScannerError("while scanning a quoted scalar", start_mark, "found unexpected end of stream", self.get_mark()) - elif ch in u'\r\n\x85\u2028\u2029': + elif ch in '\r\n\x85\u2028\u2029': line_break = self.scan_line_break() breaks = self.scan_flow_scalar_breaks(double, start_mark) - if line_break != u'\n': + if line_break != '\n': chunks.append(line_break) elif not breaks: - chunks.append(u' ') + chunks.append(' ') chunks.extend(breaks) else: chunks.append(whitespaces) @@ -1262,13 +1262,13 @@ # Instead of checking indentation, we check for document # separators. prefix = self.prefix(3) - if (prefix == u'---' or prefix == u'...') \ - and self.peek(3) in u'\0 \t\r\n\x85\u2028\u2029': + if (prefix == '---' or prefix == '...') \ + and self.peek(3) in '\0 \t\r\n\x85\u2028\u2029': raise ScannerError("while scanning a quoted scalar", start_mark, "found unexpected document separator", self.get_mark()) - while self.peek() in u' \t': + while self.peek() in ' \t': self.forward() - if self.peek() in u'\r\n\x85\u2028\u2029': + if self.peek() in '\r\n\x85\u2028\u2029': chunks.append(self.scan_line_break()) else: return chunks @@ -1290,19 +1290,19 @@ spaces = [] while True: length = 0 - if self.peek() == u'#': + if self.peek() == '#': break while True: ch = self.peek(length) - if ch in u'\0 \t\r\n\x85\u2028\u2029' \ - or (not self.flow_level and ch == u':' and - self.peek(length+1) in u'\0 \t\r\n\x85\u2028\u2029') \ - or (self.flow_level and ch in u',:?[]{}'): + if ch in '\0 \t\r\n\x85\u2028\u2029' \ + or (not self.flow_level and ch == ':' and + self.peek(length+1) in '\0 \t\r\n\x85\u2028\u2029') \ + or (self.flow_level and ch in ',:?[]{}'): break length += 1 # It's not clear what we should do with ':' in the flow context. - if (self.flow_level and ch == u':' - and self.peek(length+1) not in u'\0 \t\r\n\x85\u2028\u2029,[]{}'): + if (self.flow_level and ch == ':' + and self.peek(length+1) not in '\0 \t\r\n\x85\u2028\u2029,[]{}'): self.forward(length) raise ScannerError("while scanning a plain scalar", start_mark, "found unexpected ':'", self.get_mark(), @@ -1315,10 +1315,10 @@ self.forward(length) end_mark = self.get_mark() spaces = self.scan_plain_spaces(indent, start_mark) - if not spaces or self.peek() == u'#' \ + if not spaces or self.peek() == '#' \ or (not self.flow_level and self.column < indent): break - return ScalarToken(u''.join(chunks), True, start_mark, end_mark) + return ScalarToken(''.join(chunks), True, start_mark, end_mark) def scan_plain_spaces(self, indent, start_mark): # See the specification for details. @@ -1326,32 +1326,32 @@ # We just forbid them completely. Do not use tabs in YAML! chunks = [] length = 0 - while self.peek(length) in u' ': + while self.peek(length) in ' ': length += 1 whitespaces = self.prefix(length) self.forward(length) ch = self.peek() - if ch in u'\r\n\x85\u2028\u2029': + if ch in '\r\n\x85\u2028\u2029': line_break = self.scan_line_break() self.allow_simple_key = True prefix = self.prefix(3) - if (prefix == u'---' or prefix == u'...') \ - and self.peek(3) in u'\0 \t\r\n\x85\u2028\u2029': + if (prefix == '---' or prefix == '...') \ + and self.peek(3) in '\0 \t\r\n\x85\u2028\u2029': return breaks = [] - while self.peek() in u' \r\n\x85\u2028\u2029': + while self.peek() in ' \r\n\x85\u2028\u2029': if self.peek() == ' ': self.forward() else: breaks.append(self.scan_line_break()) prefix = self.prefix(3) - if (prefix == u'---' or prefix == u'...') \ - and self.peek(3) in u'\0 \t\r\n\x85\u2028\u2029': + if (prefix == '---' or prefix == '...') \ + and self.peek(3) in '\0 \t\r\n\x85\u2028\u2029': return - if line_break != u'\n': + if line_break != '\n': chunks.append(line_break) elif not breaks: - chunks.append(u' ') + chunks.append(' ') chunks.extend(breaks) elif whitespaces: chunks.append(whitespaces) @@ -1362,18 +1362,18 @@ # For some strange reasons, the specification does not allow '_' in # tag handles. I have allowed it anyway. ch = self.peek() - if ch != u'!': + if ch != '!': raise ScannerError("while scanning a %s" % name, start_mark, "expected '!', but found %r" % ch.encode('utf-8'), self.get_mark()) length = 1 ch = self.peek(length) - if ch != u' ': - while u'0' <= ch <= u'9' or u'A' <= ch <= u'Z' or u'a' <= ch <= u'z' \ - or ch in u'-_': + if ch != ' ': + while '0' <= ch <= '9' or 'A' <= ch <= 'Z' or 'a' <= ch <= 'z' \ + or ch in '-_': length += 1 ch = self.peek(length) - if ch != u'!': + if ch != '!': self.forward(length) raise ScannerError("while scanning a %s" % name, start_mark, "expected '!', but found %r" % ch.encode('utf-8'), @@ -1389,9 +1389,9 @@ chunks = [] length = 0 ch = self.peek(length) - while u'0' <= ch <= u'9' or u'A' <= ch <= u'Z' or u'a' <= ch <= u'z' \ - or ch in u'-;/?:@&=+$,_.!~*\'()[]%': - if ch == u'%': + while '0' <= ch <= '9' or 'A' <= ch <= 'Z' or 'a' <= ch <= 'z' \ + or ch in '-;/?:@&=+$,_.!~*\'()[]%': + if ch == '%': chunks.append(self.prefix(length)) self.forward(length) length = 0 @@ -1407,24 +1407,24 @@ raise ScannerError("while parsing a %s" % name, start_mark, "expected URI, but found %r" % ch.encode('utf-8'), self.get_mark()) - return u''.join(chunks) + return ''.join(chunks) def scan_uri_escapes(self, name, start_mark): # See the specification for details. bytes = [] mark = self.get_mark() - while self.peek() == u'%': + while self.peek() == '%': self.forward() for k in range(2): - if self.peek(k) not in u'0123456789ABCDEFabcdef': + if self.peek(k) not in '0123456789ABCDEFabcdef': raise ScannerError("while scanning a %s" % name, start_mark, "expected URI escape sequence of 2 hexdecimal numbers, but found %r" % (self.peek(k).encode('utf-8')), self.get_mark()) bytes.append(chr(int(self.prefix(2), 16))) self.forward(2) try: - value = unicode(''.join(bytes), 'utf-8') - except UnicodeDecodeError, exc: + value = str(''.join(bytes), 'utf-8') + except UnicodeDecodeError as exc: raise ScannerError("while scanning a %s" % name, start_mark, str(exc), mark) return value @@ -1438,16 +1438,16 @@ # '\u2029 : '\u2029' # default : '' ch = self.peek() - if ch in u'\r\n\x85': - if self.prefix(2) == u'\r\n': + if ch in '\r\n\x85': + if self.prefix(2) == '\r\n': self.forward(2) else: self.forward() - return u'\n' - elif ch in u'\u2028\u2029': + RefactoringTool: No changes to ./tablib/packages/yaml/tokens.py RefactoringTool: Refactored ./tablib/packages/yaml/error.py RefactoringTool: Refactored ./tablib/packages/yaml/dumper.py RefactoringTool: Refactored ./tablib/packages/yaml/resolver.py return '\n' + elif ch in '\u2028\u2029': self.forward() return ch - return u'' + return '' #try: # import psyco --- ./tablib/packages/yaml/error.py (original) +++ ./tablib/packages/yaml/error.py (refactored) @@ -16,7 +16,7 @@ return None head = '' start = self.pointer - while start > 0 and self.buffer[start-1] not in u'\0\r\n\x85\u2028\u2029': + while start > 0 and self.buffer[start-1] not in '\0\r\n\x85\u2028\u2029': start -= 1 if self.pointer-start > max_length/2-1: head = ' ... ' @@ -24,7 +24,7 @@ break tail = '' end = self.pointer - while end < len(self.buffer) and self.buffer[end] not in u'\0\r\n\x85\u2028\u2029': + while end < len(self.buffer) and self.buffer[end] not in '\0\r\n\x85\u2028\u2029': end += 1 if end-self.pointer > max_length/2-1: tail = ' ... ' --- ./tablib/packages/yaml/dumper.py (original) +++ ./tablib/packages/yaml/dumper.py (refactored) @@ -1,10 +1,10 @@ __all__ = ['BaseDumper', 'SafeDumper', 'Dumper'] -from emitter import * -from serializer import * -from representer import * -from resolver import * +from .emitter import * +from .serializer import * +from .representer import * +from .resolver import * class BaseDumper(Emitter, Serializer, BaseRepresenter, BaseResolver): --- ./tablib/packages/yaml/resolver.py (original) +++ ./tablib/packages/yaml/resolver.py (refactored) @@ -1,8 +1,8 @@ __all__ = ['BaseResolver', 'Resolver'] -from error import * -from nodes import * +from .error import * +from .nodes import * import re @@ -11,9 +11,9 @@ class BaseResolver(object): - DEFAULT_SCALAR_TAG = u'tag:yaml.org,2002:str' - DEFAULT_SEQUENCE_TAG = u'tag:yaml.org,2002:seq' - DEFAULT_MAPPING_TAG = u'tag:yaml.org,2002:map' + DEFAULT_SCALAR_TAG = 'tag:yaml.org,2002:str' + DEFAULT_SEQUENCE_TAG = 'tag:yaml.org,2002:seq' + DEFAULT_MAPPING_TAG = 'tag:yaml.org,2002:map' yaml_implicit_resolvers = {} yaml_path_resolvers = {} @@ -66,10 +66,10 @@ elif node_check is dict: node_check = MappingNode elif node_check not in [ScalarNode, SequenceNode, MappingNode] \ - and not isinstance(node_check, basestring) \ + and not isinstance(node_check, str) \ and node_check is not None: raise ResolverError("Invalid node checker: %s" % node_check) - if not isinstance(index_check, (basestring, int)) \ + if not isinstance(index_check, (str, int)) \ and index_check is not None: raise ResolverError("Invalid index checker: %s" % index_check) new_path.append((node_check, index_check)) @@ -117,7 +117,7 @@ def check_resolver_prefix(self, depth, path, kind, current_node, current_index): node_check, index_check = path[depth-1] - if isinstance(node_check, basestring): + if isinstance(node_check, str): if current_node.tag != node_check: return elif node_check is not None: @@ -128,7 +128,7 @@ if (index_check is False or index_check is None) \ and current_index is None: return - if isinstance(index_check, basestring): + if isinstance(index_check, str): if not (isinstance(current_index, ScalarNode) and index_check == current_index.value): return @@ -139,8 +139,8 @@ def resolve(self, kind, value, implicit): if kind is ScalarNode and implicit[0]: - if value == u'': - resolvers = self.yaml_implicit_resolvers.get(u'', []) + if value == '': + resolvers = self.yaml_implicit_resolvers.get('', []) else: resolvers = self.yaml_implicit_resolvers.get(value[0], []) resolvers += self.yaml_implRefactoringTool: Refactored ./tablib/packages/yaml/composer.py icit_resolvers.get(None, []) @@ -165,60 +165,60 @@ pass Resolver.add_implicit_resolver( - u'tag:yaml.org,2002:bool', - re.compile(ur'''^(?:yes|Yes|YES|no|No|NO + 'tag:yaml.org,2002:bool', + re.compile(r'''^(?:yes|Yes|YES|no|No|NO |true|True|TRUE|false|False|FALSE |on|On|ON|off|Off|OFF)$''', re.X), - list(u'yYnNtTfFoO')) - -Resolver.add_implicit_resolver( - u'tag:yaml.org,2002:float', - re.compile(ur'''^(?:[-+]?(?:[0-9][0-9_]*)\.[0-9_]*(?:[eE][-+][0-9]+)? + list('yYnNtTfFoO')) + +Resolver.add_implicit_resolver( + 'tag:yaml.org,2002:float', + re.compile(r'''^(?:[-+]?(?:[0-9][0-9_]*)\.[0-9_]*(?:[eE][-+][0-9]+)? |\.[0-9_]+(?:[eE][-+][0-9]+)? |[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]* |[-+]?\.(?:inf|Inf|INF) |\.(?:nan|NaN|NAN))$''', re.X), - list(u'-+0123456789.')) - -Resolver.add_implicit_resolver( - u'tag:yaml.org,2002:int', - re.compile(ur'''^(?:[-+]?0b[0-1_]+ + list('-+0123456789.')) + +Resolver.add_implicit_resolver( + 'tag:yaml.org,2002:int', + re.compile(r'''^(?:[-+]?0b[0-1_]+ |[-+]?0[0-7_]+ |[-+]?(?:0|[1-9][0-9_]*) |[-+]?0x[0-9a-fA-F_]+ |[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)$''', re.X), - list(u'-+0123456789')) - -Resolver.add_implicit_resolver( - u'tag:yaml.org,2002:merge', - re.compile(ur'^(?:<<)$'), - [u'<']) - -Resolver.add_implicit_resolver( - u'tag:yaml.org,2002:null', - re.compile(ur'''^(?: ~ + list('-+0123456789')) + +Resolver.add_implicit_resolver( + 'tag:yaml.org,2002:merge', + re.compile(r'^(?:<<)$'), + ['<']) + +Resolver.add_implicit_resolver( + 'tag:yaml.org,2002:null', + re.compile(r'''^(?: ~ |null|Null|NULL | )$''', re.X), - [u'~', u'n', u'N', u'']) - -Resolver.add_implicit_resolver( - u'tag:yaml.org,2002:timestamp', - re.compile(ur'''^(?:[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] + ['~', 'n', 'N', '']) + +Resolver.add_implicit_resolver( + 'tag:yaml.org,2002:timestamp', + re.compile(r'''^(?:[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] |[0-9][0-9][0-9][0-9] -[0-9][0-9]? -[0-9][0-9]? (?:[Tt]|[ \t]+)[0-9][0-9]? :[0-9][0-9] :[0-9][0-9] (?:\.[0-9]*)? (?:[ \t]*(?:Z|[-+][0-9][0-9]?(?::[0-9][0-9])?))?)$''', re.X), - list(u'0123456789')) - -Resolver.add_implicit_resolver( - u'tag:yaml.org,2002:value', - re.compile(ur'^(?:=)$'), - [u'=']) + list('0123456789')) + +Resolver.add_implicit_resolver( + 'tag:yaml.org,2002:value', + re.compile(r'^(?:=)$'), + ['=']) # The following resolver is only for documentation purposes. It cannot work # because plain scalars cannot start with '!', '&', or '*'. Resolver.add_implicit_resolver( - u'tag:yaml.org,2002:yaml', - re.compile(ur'^(?:!|&|\*)$'), - list(u'!&*')) - + 'tag:yaml.org,2002:yaml', + re.compile(r'^(?:!|&|\*)$'), + list('!&*')) + --- ./tablib/packages/yaml/composer.py (original) +++ ./tablib/packages/yaml/composer.py (refactored) @@ -1,9 +1,9 @@ __all__ = ['Composer', 'ComposerError'] -from error import MarkedYAMLError -from events import * -from nodes import * +from .error import MarkedYAMLError +from .events import * +from .nodes import * class ComposerError(MarkedYAMLError): pass @@ -88,7 +88,7 @@ def compose_scalar_node(self, anchor): event = self.get_event() tag = event.tag - if tag is None or tag == u'!': + if tag is None or tag == '!': tag = self.resolve(ScalarNode, event.value, event.implicit) node = ScalarNode(tag, event.value, event.start_mark, event.end_mark, style=event.style) @@ -99,7 +99,7 @@ RefactoringTool: Refactored ./tablib/packages/yaml/reader.py RefactoringTool: No changes to ./tablib/packages/yaml/nodes.py RefactoringTool: No changes to ./tablib/packages/yaml/events.py RefactoringTool: Refactored ./tablib/packages/yaml/emitter.py def compose_sequence_node(self, anchor): start_event = self.get_event() tag = start_event.tag - if tag is None or tag == u'!': + if tag is None or tag == '!': tag = self.resolve(SequenceNode, None, start_event.implicit) node = SequenceNode(tag, [], start_event.start_mark, None, @@ -117,7 +117,7 @@ def compose_mapping_node(self, anchor): start_event = self.get_event() tag = start_event.tag - if tag is None or tag == u'!': + if tag is None or tag == '!': tag = self.resolve(MappingNode, None, start_event.implicit) node = MappingNode(tag, [], start_event.start_mark, None, --- ./tablib/packages/yaml/reader.py (original) +++ ./tablib/packages/yaml/reader.py (refactored) @@ -17,7 +17,7 @@ __all__ = ['Reader', 'ReaderError'] -from error import YAMLError, Mark +from .error import YAMLError, Mark import codecs, re @@ -96,7 +96,7 @@ self.stream = None self.stream_pointer = 0 self.eof = True - self.buffer = u'' + self.buffer = '' self.pointer = 0 self.raw_buffer = None self.raw_decode = None @@ -104,10 +104,10 @@ self.index = 0 self.line = 0 self.column = 0 - if isinstance(stream, unicode): + if isinstance(stream, str): self.name = "" self.check_printable(stream) - self.buffer = stream+u'\0' + self.buffer = stream+'\0' elif isinstance(stream, str): self.name = "" self.raw_buffer = stream @@ -138,11 +138,11 @@ ch = self.buffer[self.pointer] self.pointer += 1 self.index += 1 - if ch in u'\n\x85\u2028\u2029' \ - or (ch == u'\r' and self.buffer[self.pointer] != u'\n'): + if ch in '\n\x85\u2028\u2029' \ + or (ch == '\r' and self.buffer[self.pointer] != '\n'): self.line += 1 self.column = 0 - elif ch != u'\uFEFF': + elif ch != '\uFEFF': self.column += 1 length -= 1 @@ -157,7 +157,7 @@ def determine_encoding(self): while not self.eof and len(self.raw_buffer) < 2: self.update_raw() - if not isinstance(self.raw_buffer, unicode): + if not isinstance(self.raw_buffer, str): if self.raw_buffer.startswith(codecs.BOM_UTF16_LE): self.raw_decode = utf_16_le_decode self.encoding = 'utf-16-le' @@ -169,7 +169,7 @@ self.encoding = 'utf-8' self.update(1) - NON_PRINTABLE = re.compile(u'[^\x09\x0A\x0D\x20-\x7E\x85\xA0-\uD7FF\uE000-\uFFFD]') + NON_PRINTABLE = re.compile('[^\x09\x0A\x0D\x20-\x7E\x85\xA0-\uD7FF\uE000-\uFFFD]') def check_printable(self, data): match = self.NON_PRINTABLE.search(data) if match: @@ -190,7 +190,7 @@ try: data, converted = self.raw_decode(self.raw_buffer, 'strict', self.eof) - except UnicodeDecodeError, exc: + except UnicodeDecodeError as exc: character = exc.object[exc.start] if self.stream is not None: position = self.stream_pointer-len(self.raw_buffer)+exc.start @@ -205,7 +205,7 @@ self.buffer += data self.raw_buffer = self.raw_buffer[converted:] if self.eof: - self.buffer += u'\0' + self.buffer += '\0' self.raw_buffer = None break --- ./tablib/packages/yaml/emitter.py (original) +++ ./tablib/packages/yaml/emitter.py (refactored) @@ -8,8 +8,8 @@ __all__ = ['Emitter', 'EmitterError'] -from error import YAMLError -from events import * +from .error import YAMLError +from .events import * class EmitterError(YAMLError): pass @@ -31,8 +31,8 @@ class Emitter(object): DEFAULT_TAG_PREFIXES = { - u'!' : u'!', - u'tag:yaml.org,2002:' : u'!!', + '!' : '!', + 'tag:yaml.org,2002:' : '!!', } def __init__(self, stream, canonical=None, indent=None, width=None, @@ -88,8 +88,8 @@ self.best_width = 80 if width and width > self.best_indent*2: self.best_width = width - self.best_line_break = u'\n' - if line_break in [u'\r', u'\n', u'\r\n']: + self.best_line_break = '\n' + if line_break in ['\r', '\n', '\r\n']: self.best_line_break = line_break # Tag prefixes. @@ -173,14 +173,14 @@ def expect_document_start(self, first=False): if isinstance(self.event, DocumentStartEvent): if (self.event.version or self.event.tags) and self.open_ended: - self.write_indicator(u'...', True) + self.write_indicator('...', True) self.write_indent() if self.event.version: version_text = self.prepare_version(self.event.version) self.write_version_directive(version_text) self.tag_prefixes = self.DEFAULT_TAG_PREFIXES.copy() if self.event.tags: - handles = self.event.tags.keys() + handles = list(self.event.tags.keys()) handles.sort() for handle in handles: prefix = self.event.tags[handle] @@ -193,13 +193,13 @@ and not self.check_empty_document()) if not implicit: self.write_indent() - self.write_indicator(u'---', True) + self.write_indicator('---', True) if self.canonical: self.write_indent() self.state = self.expect_document_root elif isinstance(self.event, StreamEndEvent): if self.open_ended: - self.write_indicator(u'...', True) + self.write_indicator('...', True) self.write_indent() self.write_stream_end() self.state = self.expect_nothing @@ -211,7 +211,7 @@ if isinstance(self.event, DocumentEndEvent): self.write_indent() if self.event.explicit: - self.write_indicator(u'...', True) + self.write_indicator('...', True) self.write_indent() self.flush_stream() self.state = self.expect_document_start @@ -234,7 +234,7 @@ if isinstance(self.event, AliasEvent): self.expect_alias() elif isinstance(self.event, (ScalarEvent, CollectionStartEvent)): - self.process_anchor(u'&') + self.process_anchor('&') self.process_tag() if isinstance(self.event, ScalarEvent): self.expect_scalar() @@ -256,7 +256,7 @@ def expect_alias(self): if self.event.anchor is None: raise EmitterError("anchor is not specified for alias") - self.process_anchor(u'*') + self.process_anchor('*') self.state = self.states.pop() def expect_scalar(self): @@ -268,7 +268,7 @@ # Flow sequence handlers. def expect_flow_sequence(self): - self.write_indicator(u'[', True, whitespace=True) + self.write_indicator('[', True, whitespace=True) self.flow_level += 1 self.increase_indent(flow=True) self.state = self.expect_first_flow_sequence_item @@ -277,7 +277,7 @@ if isinstance(self.event, SequenceEndEvent): self.indent = self.indents.pop() self.flow_level -= 1 - self.write_indicator(u']', False) + self.write_indicator(']', False) self.state = self.states.pop() else: if self.canonical or self.column > self.best_width: @@ -290,12 +290,12 @@ self.indent = self.indents.pop() self.flow_level -= 1 if self.canonical: - self.write_indicator(u',', False) + self.write_indicator(',', False) self.write_indent() - self.write_indicator(u']', False) + self.write_indicator(']', False) self.state = self.states.pop() else: - self.write_indicator(u',', False) + self.write_indicator(',', False) if self.canonical or self.column > self.best_width: self.write_indent() self.states.append(self.expect_flow_sequence_item) @@ -304,7 +304,7 @@ # Flow mapping handlers. def expect_flow_mapping(self): - self.write_indicator(u'{', True, whitespace=True) + self.write_indicator('{', True, whitespace=True) self.flow_level += 1 self.increase_indent(flow=True) self.state = self.expect_first_flow_mapping_key @@ -313,7 +313,7 @@ if isinstance(self.event, MappingEndEvent): self.indent = self.indents.pop() self.flow_level -= 1 - self.write_indicator(u'}', False) + self.write_indicator('}', False) self.state = self.states.pop() else: if self.canonical or self.column > self.best_width: @@ -322,7 +322,7 @@ self.states.append(self.expect_flow_mapping_simple_value) self.expect_node(mapping=True, simple_key=True) else: - self.write_indicator(u'?', True) + self.write_indicator('?', True) self.states.append(self.expect_flow_mapping_value) self.expect_node(mapping=True) @@ -331,31 +331,31 @@ self.indent = self.indents.pop() self.flow_level -= 1 if self.canonical: - self.write_indicator(u',', False) + self.write_indicator(',', False) self.write_indent() - self.write_indicator(u'}', False) + self.write_indicator('}', False) self.state = self.states.pop() else: - self.write_indicator(u',', False) + self.write_indicator(',', False) if self.canonical or self.column > self.best_width: self.write_indent() if not self.canonical and self.check_simple_key(): self.states.append(self.expect_flow_mapping_simple_value) self.expect_node(mapping=True, simple_key=True) else: - self.write_indicator(u'?', True) + self.write_indicator('?', True) self.states.append(self.expect_flow_mapping_value) self.expect_node(mapping=True) def expect_flow_mapping_simple_value(self): - self.write_indicator(u':', False) + self.write_indicator(':', False) self.states.append(self.expect_flow_mapping_key) self.expect_node(mapping=True) def expect_flow_mapping_value(self): if self.canonical or self.column > self.best_width: self.write_indent() - self.write_indicator(u':', True) + self.write_indicator(':', True) self.states.append(self.expect_flow_mapping_key) self.expect_node(mapping=True) @@ -375,7 +375,7 @@ self.state = self.states.pop() else: self.write_indent() - self.write_indicator(u'-', True, indention=True) + self.write_indicator('-', True, indention=True) self.states.append(self.expect_block_sequence_item) self.expect_node(sequence=True) @@ -398,18 +398,18 @@ self.states.append(self.expect_block_mapping_simple_value) self.expect_node(mapping=True, simple_key=True) else: - self.write_indicator(u'?', True, indention=True) + self.write_indicator('?', True, indention=True) self.states.append(self.expect_block_mapping_value) self.expect_node(mapping=True) def expect_block_mapping_simple_value(self): - self.write_indicator(u':', False) + self.write_indicator(':', False) self.states.append(self.expect_block_mapping_key) self.expect_node(mapping=True) def expect_block_mapping_value(self): self.write_indent() - self.write_indicator(u':', True, indention=True) + self.write_indicator(':', True, indention=True) self.states.append(self.expect_block_mapping_key) self.expect_node(mapping=True) @@ -428,7 +428,7 @@ return False event = self.events[0] return (isinstance(event, ScalarEvent) and event.anchor is None - and event.tag is None and event.implicit and event.value == u'') + and event.tag is None and event.implicit and event.value == '') def check_simple_key(self): length = 0 @@ -473,7 +473,7 @@ self.prepared_tag = None return if self.event.implicit[0] and tag is None: - tag = u'!' + tag = '!' self.prepared_tag = None else: if (not self.canonical or tag is None) and self.event.implicit: @@ -536,17 +536,17 @@ major, minor = version if major != 1: raise EmitterError("unsupported YAML version: %d.%d" % (major, minor)) - return u'%d.%d' % (major, minor) + return '%d.%d' % (major, minor) def prepare_tag_handle(self, handle): if not handle: raise EmitterError("tag handle must not be empty") - if handle[0] != u'!' or handle[-1] != u'!': + if handle[0] != '!' or handle[-1] != '!': raise EmitterError("tag handle must start and end with '!': %r" % (handle.encode('utf-8'))) for ch in handle[1:-1]: - if not (u'0' <= ch <= u'9' or u'A' <= ch <= u'Z' or u'a' <= ch <= u'z' \ - or ch in u'-_'): + if not ('0' <= ch <= '9' or 'A' <= ch <= 'Z' or 'a' <= ch <= 'z' \ + or ch in '-_'): raise EmitterError("invalid character %r in the tag handle: %r" % (ch.encode('utf-8'), handle.encode('utf-8'))) return handle @@ -556,12 +556,12 @@ raise EmitterError("tag prefix must not be empty") chunks = [] start = end = 0 - if prefix[0] == u'!': + if prefix[0] == '!': end = 1 while end < len(prefix): ch = prefix[end] - if u'0' <= ch <= u'9' or u'A' <= ch <= u'Z' or u'a' <= ch <= u'z' \ - or ch in u'-;/?!:@&=+$,_.~*\'()[]': + if '0' <= ch <= '9' or 'A' <= ch <= 'Z' or 'a' <= ch <= 'z' \ + or ch in '-;/?!:@&=+$,_.~*\'()[]': end += 1 else: if start < end: @@ -569,32 +569,32 @@ start = end = end+1 data = ch.encode('utf-8') for ch in data: - chunks.append(u'%%%02X' % ord(ch)) + chunks.append('%%%02X' % ord(ch)) if start < end: chunks.append(prefix[start:end]) - return u''.join(chunks) + return ''.join(chunks) def prepare_tag(self, tag): if not tag: raise EmitterError("tag must not be empty") - if tag == u'!': + if tag == '!': return tag handle = None suffix = tag - prefixes = self.tag_prefixes.keys() + prefixes = list(self.tag_prefixes.keys()) prefixes.sort() for prefix in prefixes: if tag.startswith(prefix) \ - and (prefix == u'!' or len(prefix) < len(tag)): + and (prefix == '!' or len(prefix) < len(tag)): handle = self.tag_prefixes[prefix] suffix = tag[len(prefix):] chunks = [] start = end = 0 while end < len(suffix): ch = suffix[end] - if u'0' <= ch <= u'9' or u'A' <= ch <= u'Z' or u'a' <= ch <= u'z' \ - or ch in u'-;/?:@&=+$,_.~*\'()[]' \ - or (ch == u'!' and handle != u'!'): + if '0' <= ch <= '9' or 'A' <= ch <= 'Z' or 'a' <= ch <= 'z' \ + or ch in '-;/?:@&=+$,_.~*\'()[]' \ + or (ch == '!' and handle != '!'): end += 1 else: if start < end: @@ -602,21 +602,21 @@ start = end = end+1 data = ch.encode('utf-8') for ch in data: - chunks.append(u'%%%02X' % ord(ch)) + chunks.append('%%%02X' % ord(ch)) if start < end: chunks.append(suffix[start:end]) - suffix_text = u''.join(chunks) + suffix_text = ''.join(chunks) if handle: - return u'%s%s' % (handle, suffix_text) - else: - return u'!<%s>' % suffix_text + return '%s%s' % (handle, suffix_text) + else: + return '!<%s>' % suffix_text def prepare_anchor(self, anchor): if not anchor: raise EmitterError("anchor must not be empty") for ch in anchor: - if not (u'0' <= ch <= u'9' or u'A' <= ch <= u'Z' or u'a' <= ch <= u'z' \ - or ch in u'-_'): + if not ('0' <= ch <= '9' or 'A' <= ch <= 'Z' or 'a' <= ch <= 'z' \ + or ch in '-_'): raise EmitterError("invalid character %r in the anchor: %r" % (ch.encode('utf-8'), anchor.encode('utf-8'))) return anchor @@ -645,7 +645,7 @@ space_break = False # Check document indicators. - if scalar.startswith(u'---') or scalar.startswith(u'...'): + if scalar.startswith('---') or scalar.startswith('...'): block_indicators = True flow_indicators = True @@ -654,7 +654,7 @@ # Last character or followed by a whitespace. followed_by_whitespace = (len(scalar) == 1 or - scalar[1] in u'\0 \t\r\n\x85\u2028\u2029') + scalar[1] in '\0 \t\r\n\x85\u2028\u2029') # The previous character is a space. previous_space = False @@ -669,34 +669,34 @@ # Check for indicators. if index == 0: # Leading indicators are special characters. - if ch in u'#,[]{}&*!|>\'\"%@`': + if ch in '#,[]{}&*!|>\'\"%@`': flow_indicators = True block_indicators = True - if ch in u'?:': + if ch in '?:': flow_indicators = True if followed_by_whitespace: block_indicators = True - if ch == u'-' and followed_by_whitespace: + if ch == '-' and followed_by_whitespace: flow_indicators = True block_indicators = True else: # Some indicators cannot appear within a scalar as well. - if ch in u',?[]{}': + if ch in ',?[]{}': flow_indicators = True - if ch == u':': + if ch == ':': flow_indicators = True if followed_by_whitespace: block_indicators = True - if ch == u'#' and preceeded_by_whitespace: + if ch == '#' and preceeded_by_whitespace: flow_indicators = True block_indicators = True # Check for line breaks, special, and unicode characters. - if ch in u'\n\x85\u2028\u2029': + if ch in '\n\x85\u2028\u2029': line_breaks = True - if not (ch == u'\n' or u'\x20' <= ch <= u'\x7E'): - if (ch == u'\x85' or u'\xA0' <= ch <= u'\uD7FF' - or u'\uE000' <= ch <= u'\uFFFD') and ch != u'\uFEFF': + if not (ch == '\n' or '\x20' <= ch <= '\x7E'): + if (ch == '\x85' or '\xA0' <= ch <= '\uD7FF' + or '\uE000' <= ch <= '\uFFFD') and ch != '\uFEFF': unicode_characters = True if not self.allow_unicode: special_characters = True @@ -704,7 +704,7 @@ special_characters = True # Detect important whitespace combinations. - if ch == u' ': + if ch == ' ': if index == 0: leading_space = True if index == len(scalar)-1: @@ -713,7 +713,7 @@ break_space = True previous_space = True previous_break = False - elif ch in u'\n\x85\u2028\u2029': + elif ch in '\n\x85\u2028\u2029': if index == 0: leading_break = True if index == len(scalar)-1: @@ -728,9 +728,9 @@ # Prepare for the next character. index += 1 - preceeded_by_whitespace = (ch in u'\0 \t\r\n\x85\u2028\u2029') + preceeded_by_whitespace = (ch in '\0 \t\r\n\x85\u2028\u2029') followed_by_whitespace = (index+1 >= len(scalar) or - scalar[index+1] in u'\0 \t\r\n\x85\u2028\u2029') + scalar[index+1] in '\0 \t\r\n\x85\u2028\u2029') # Let's decide what styles are allowed. allow_flow_plain = True @@ -789,7 +789,7 @@ def write_stream_start(self): # Write BOM if needed. if self.encoding and self.encoding.startswith('utf-16'): - self.stream.write(u'\uFEFF'.encode(self.encoding)) + self.stream.write('\uFEFF'.encode(self.encoding)) def write_stream_end(self): self.flush_stream() @@ -799,7 +799,7 @@ if self.whitespace or not need_whitespace: data = indicator else: - data = u' '+indicator + data = ' '+indicator self.whitespace = whitespace self.indention = self.indention and indention self.column += len(data) @@ -815,7 +815,7 @@ self.write_line_break() if self.column < indent: self.whitespace = True - data = u' '*(indent-self.column) + data = ' '*(indent-self.column) self.column = indent if self.encoding: data = data.encode(self.encoding) @@ -833,14 +833,14 @@ self.stream.write(data) def write_version_directive(self, version_text): - data = u'%%YAML %s' % version_text + data = '%%YAML %s' % version_text if self.encoding: data = data.encode(self.encoding) self.stream.write(data) self.write_line_break() def write_tag_directive(self, handle_text, prefix_text): - data = u'%%TAG %s %s' % (handle_text, prefix_text) + data = '%%TAG %s %s' % (handle_text, prefix_text) if self.encoding: data = data.encode(self.encoding) self.stream.write(data) @@ -849,7 +849,7 @@ # Scalar streams. def write_single_quoted(self, text, split=True): - self.write_indicator(u'\'', True) + self.write_indicator('\'', True) spaces = False breaks = False start = end = 0 @@ -858,7 +858,7 @@ if end < len(text): ch = text[end] if spaces: - if ch is None or ch != u' ': + if ch is None or ch != ' ': if start+1 == end and self.column > self.best_width and split \ and start != 0 and end != len(text): self.write_indent() @@ -870,18 +870,18 @@ self.stream.write(data) start = end elif breaks: - if ch is None or ch not in u'\n\x85\u2028\u2029': - if text[start] == u'\n': + if ch is None or ch not in '\n\x85\u2028\u2029': + if text[start] == '\n': self.write_line_break() for br in text[start:end]: - if br == u'\n': + if br == '\n': self.write_line_break() else: self.write_line_break(br) self.write_indent() start = end else: - if ch is None or ch in u' \n\x85\u2028\u2029' or ch == u'\'': + if ch is None or ch in ' \n\x85\u2028\u2029' or ch == '\'': if start < end: data = text[start:end] self.column += len(data) @@ -889,49 +889,49 @@ data = data.encode(self.encoding) self.stream.write(data) start = end - if ch == u'\'': - data = u'\'\'' + if ch == '\'': + data = '\'\'' self.column += 2 if self.encoding: data = data.encode(self.encoding) self.stream.write(data) start = end + 1 if ch is not None: - spaces = (ch == u' ') - breaks = (ch in u'\n\x85\u2028\u2029') + spaces = (ch == ' ') + breaks = (ch in '\n\x85\u2028\u2029') end += 1 - self.write_indicator(u'\'', False) + self.write_indicator('\'', False) ESCAPE_REPLACEMENTS = { - u'\0': u'0', - u'\x07': u'a', - u'\x08': u'b', - u'\x09': u't', - u'\x0A': u'n', - u'\x0B': u'v', - u'\x0C': u'f', - u'\x0D': u'r', - u'\x1B': u'e', - u'\"': u'\"', - u'\\': u'\\', - u'\x85': u'N', - u'\xA0': u'_', - u'\u2028': u'L', - u'\u2029': u'P', + '\0': '0', + '\x07': 'a', + '\x08': 'b', + '\x09': 't', + '\x0A': 'n', + '\x0B': 'v', + '\x0C': 'f', + '\x0D': 'r', + '\x1B': 'e', + '\"': '\"', + '\\': '\\', + '\x85': 'N', + '\xA0': '_', + '\u2028': 'L', + '\u2029': 'P', } def write_double_quoted(self, text, split=True): - self.write_indicator(u'"', True) + self.write_indicator('"', True) start = end = 0 while end <= len(text): ch = None if end < len(text): ch = text[end] - if ch is None or ch in u'"\\\x85\u2028\u2029\uFEFF' \ - or not (u'\x20' <= ch <= u'\x7E' + if ch is None or ch in '"\\\x85\u2028\u2029\uFEFF' \ + or not ('\x20' <= ch <= '\x7E' or (self.allow_unicode - and (u'\xA0' <= ch <= u'\uD7FF' - or u'\uE000' <= ch <= u'\uFFFD'))): + and ('\xA0' <= ch <= '\uD7FF' + or '\uE000' <= ch <= '\uFFFD'))): if start < end: data = text[start:end] self.column += len(data) @@ -941,21 +941,21 @@ start = end if ch is not None: if ch in self.ESCAPE_REPLACEMENTS: - data = u'\\'+self.ESCAPE_REPLACEMENTS[ch] - elif ch <= u'\xFF': - data = u'\\x%02X' % ord(ch) - elif ch <= u'\uFFFF': - data = u'\\u%04X' % ord(ch) + data = '\\'+self.ESCAPE_REPLACEMENTS[ch] + elif ch <= '\xFF': + data = '\\x%02X' % ord(ch) + elif ch <= '\uFFFF': + data = '\\u%04X' % ord(ch) else: - data = u'\\U%08X' % ord(ch) + data = '\\U%08X' % ord(ch) self.column += len(data) if self.encoding: data = data.encode(self.encoding) self.stream.write(data) start = end+1 - if 0 < end < len(text)-1 and (ch == u' ' or start >= end) \ + if 0 < end < len(text)-1 and (ch == ' ' or start >= end) \ and self.column+(end-start) > self.best_width and split: - data = text[start:end]+u'\\' + data = text[start:end]+'\\' if start < end: start = end self.column += len(data) @@ -965,30 +965,30 @@ self.write_indent() self.whitespace = False self.indention = False - if text[start] == u' ': - data = u'\\' + if text[start] == ' ': + data = '\\' self.column += len(data) if self.encoding: data = data.encode(self.encoding) self.stream.write(data) end += 1 - self.write_indicator(u'"', False) + self.write_indicator('"', False) def determine_block_hints(self, text): - hints = u'' + hints = '' if text: - if text[0] in u' \n\x85\u2028\u2029': - hints += unicode(self.best_indent) - if text[-1] not in u'\n\x85\u2028\u2029': - hints += u'-' - elif len(text) == 1 or text[-2] in u'\n\x85\u2028\u2029': - hints += u'+' + if text[0] in ' \n\x85\u2028\u2029': + hints += str(self.best_indent) + if text[-1] not in '\n\x85\u2028\u2029': + hints += '-' + elif len(text) == 1 or text[-2] in '\n\x85\u2028\u2029': + hints += '+' return hints def write_folded(self, text): hints = self.determine_block_hints(text) - self.write_indicator(u'>'+hints, True) - if hints[-1:] == u'+': + self.write_indicator('>'+hints, True) + if hints[-1:] == '+': self.open_ended = True self.write_line_break() leading_space = True @@ -1000,13 +1000,13 @@ if end < len(text): ch = text[end] if breaks: - if ch is None or ch not in u'\n\x85\u2028\u2029': - if not leading_space and ch is not None and ch != u' ' \ - and text[start] == u'\n': + if ch is None or ch not in '\n\x85\u2028\u2029': + if not leading_space and ch is not None and ch != ' ' \ + and text[start] == '\n': self.write_line_break() - leading_space = (ch == u' ') + leading_space = (ch == ' ') for br in text[start:end]: - if br == u'\n': + if br == '\n': self.write_line_break() else: self.write_line_break(br) @@ -1014,7 +1014,7 @@ self.write_indent() start = end elif spaces: - if ch != u' ': + if ch != ' ': if start+1 == end and self.column > self.best_width: self.write_indent() else: @@ -1025,7 +1025,7 @@ self.stream.write(data) start = end else: - if ch is None or ch in u' \n\x85\u2028\u2029': + if ch is None or ch in ' \n\x85\u2028\u2029': data = text[start:end] self.column += len(data) if self.encoding: @@ -1035,14 +1035,14 @@ self.write_line_break() start = end if ch is not None: - breaks = (ch in u'\n\x85\u2028\u2029') - spaces = (ch == u' ') + breaks = (ch in '\n\x85\u2028\u2029') + RefactoringTool: Refactored ./tablib/packages/yaml/cyaml.py RefactoringTool: Refactored ./tablib/packages/yaml/loader.py spaces = (ch == ' ') end += 1 def write_literal(self, text): hints = self.determine_block_hints(text) - self.write_indicator(u'|'+hints, True) - if hints[-1:] == u'+': + self.write_indicator('|'+hints, True) + if hints[-1:] == '+': self.open_ended = True self.write_line_break() breaks = True @@ -1052,9 +1052,9 @@ if end < len(text): ch = text[end] if breaks: - if ch is None or ch not in u'\n\x85\u2028\u2029': + if ch is None or ch not in '\n\x85\u2028\u2029': for br in text[start:end]: - if br == u'\n': + if br == '\n': self.write_line_break() else: self.write_line_break(br) @@ -1062,7 +1062,7 @@ self.write_indent() start = end else: - if ch is None or ch in u'\n\x85\u2028\u2029': + if ch is None or ch in '\n\x85\u2028\u2029': data = text[start:end] if self.encoding: data = data.encode(self.encoding) @@ -1071,7 +1071,7 @@ self.write_line_break() start = end if ch is not None: - breaks = (ch in u'\n\x85\u2028\u2029') + breaks = (ch in '\n\x85\u2028\u2029') end += 1 def write_plain(self, text, split=True): @@ -1080,7 +1080,7 @@ if not text: return if not self.whitespace: - data = u' ' + data = ' ' self.column += len(data) if self.encoding: data = data.encode(self.encoding) @@ -1095,7 +1095,7 @@ if end < len(text): ch = text[end] if spaces: - if ch != u' ': + if ch != ' ': if start+1 == end and self.column > self.best_width and split: self.write_indent() self.whitespace = False @@ -1108,11 +1108,11 @@ self.stream.write(data) start = end elif breaks: - if ch not in u'\n\x85\u2028\u2029': - if text[start] == u'\n': + if ch not in '\n\x85\u2028\u2029': + if text[start] == '\n': self.write_line_break() for br in text[start:end]: - if br == u'\n': + if br == '\n': self.write_line_break() else: self.write_line_break(br) @@ -1121,7 +1121,7 @@ self.indention = False start = end else: - if ch is None or ch in u' \n\x85\u2028\u2029': + if ch is None or ch in ' \n\x85\u2028\u2029': data = text[start:end] self.column += len(data) if self.encoding: @@ -1129,7 +1129,7 @@ self.stream.write(data) start = end if ch is not None: - spaces = (ch == u' ') - breaks = (ch in u'\n\x85\u2028\u2029') + spaces = (ch == ' ') + breaks = (ch in '\n\x85\u2028\u2029') end += 1 --- ./tablib/packages/yaml/cyaml.py (original) +++ ./tablib/packages/yaml/cyaml.py (refactored) @@ -4,12 +4,12 @@ from _yaml import CParser, CEmitter -from constructor import * +from .constructor import * -from serializer import * -from representer import * +from .serializer import * +from .representer import * -from resolver import * +from .resolver import * class CBaseLoader(CParser, BaseConstructor, BaseResolver): --- ./tablib/packages/yaml/loader.py (original) +++ ./tablib/packages/yamlRefactoringTool: Refactored ./tablib/packages/yaml/constructor.py /loader.py (refactored) @@ -1,12 +1,12 @@ __all__ = ['BaseLoader', 'SafeLoader', 'Loader'] -from reader import * -from scanner import * -from parser import * -from composer import * -from constructor import * -from resolver import * +from .reader import * +from .scanner import * +from .parser import * +from .composer import * +from .constructor import * +from .resolver import * class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver): --- ./tablib/packages/yaml/constructor.py (original) +++ ./tablib/packages/yaml/constructor.py (refactored) @@ -2,8 +2,8 @@ __all__ = ['BaseConstructor', 'SafeConstructor', 'Constructor', 'ConstructorError'] -from error import * -from nodes import * +from .error import * +from .nodes import * import datetime @@ -95,7 +95,7 @@ data = constructor(self, tag_suffix, node) if isinstance(data, types.GeneratorType): generator = data - data = generator.next() + data = next(generator) if self.deep_construct: for dummy in generator: pass @@ -132,7 +132,7 @@ key = self.construct_object(key_node, deep=deep) try: hash(key) - except TypeError, exc: + except TypeError as exc: raise ConstructorError("while constructing a mapping", node.start_mark, "found unacceptable key (%s)" % exc, key_node.start_mark) value = self.construct_object(value_node, deep=deep) @@ -168,7 +168,7 @@ def construct_scalar(self, node): if isinstance(node, MappingNode): for key_node, value_node in node.value: - if key_node.tag == u'tag:yaml.org,2002:value': + if key_node.tag == 'tag:yaml.org,2002:value': return self.construct_scalar(value_node) return BaseConstructor.construct_scalar(self, node) @@ -177,7 +177,7 @@ index = 0 while index < len(node.value): key_node, value_node = node.value[index] - if key_node.tag == u'tag:yaml.org,2002:merge': + if key_node.tag == 'tag:yaml.org,2002:merge': del node.value[index] if isinstance(value_node, MappingNode): self.flatten_mapping(value_node) @@ -199,8 +199,8 @@ raise ConstructorError("while constructing a mapping", node.start_mark, "expected a mapping or list of mappings for merging, but found %s" % value_node.id, value_node.start_mark) - elif key_node.tag == u'tag:yaml.org,2002:value': - key_node.tag = u'tag:yaml.org,2002:str' + elif key_node.tag == 'tag:yaml.org,2002:value': + key_node.tag = 'tag:yaml.org,2002:str' index += 1 else: index += 1 @@ -217,12 +217,12 @@ return None bool_values = { - u'yes': True, - u'no': False, - u'true': True, - u'false': False, - u'on': True, - u'off': False, + 'yes': True, + 'no': False, + 'true': True, + 'false': False, + 'on': True, + 'off': False, } def construct_yaml_bool(self, node): @@ -290,12 +290,12 @@ value = self.construct_scalar(node) try: return str(value).decode('base64') - except (binascii.Error, UnicodeEncodeError), exc: + except (binascii.Error, UnicodeEncodeError) as exc: raise ConstructorError(None, None, "failed to decode base64 data: %s" % exc, node.start_mark) timestamp_regexp = re.compile( - ur'''^(?P[0-9][0-9][0-9][0-9]) + r'''^(?P[0-9][0-9][0-9][0-9]) -(?P[0-9][0-9]?) -(?P[0-9][0-9]?) (?:(?:[Tt]|[ \t]+) @@ -419,51 +419,51 @@ node.start_mark) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:null', + 'tag:yaml.org,2002:null', SafeConstructor.construct_yaml_null) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:bool', + 'tag:yaml.org,2002:bool', SafeConstructor.construct_yaml_bool) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:int', + 'tag:yaml.org,2002:int', SafeConstructor.construct_yaml_int) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:float', + 'tag:yaml.org,2002:float', SafeConstructor.construct_yaml_float) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:binary', + 'tag:yaml.org,2002:binary', SafeConstructor.construct_yaml_binary) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:timestamp', + 'tag:yaml.org,2002:timestamp', SafeConstructor.construct_yaml_timestamp) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:omap', + 'tag:yaml.org,2002:omap', SafeConstructor.construct_yaml_omap) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:pairs', + 'tag:yaml.org,2002:pairs', SafeConstructor.construct_yaml_pairs) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:set', + 'tag:yaml.org,2002:set', SafeConstructor.construct_yaml_set) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:str', + 'tag:yaml.org,2002:str', SafeConstructor.construct_yaml_str) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:seq', + 'tag:yaml.org,2002:seq', SafeConstructor.construct_yaml_seq) SafeConstructor.add_constructor( - u'tag:yaml.org,2002:map', + 'tag:yaml.org,2002:map', SafeConstructor.construct_yaml_map) SafeConstructor.add_constructor(None, @@ -478,7 +478,7 @@ return self.construct_scalar(node) def construct_python_long(self, node): - return long(self.construct_yaml_int(node)) + return int(self.construct_yaml_int(node)) def construct_python_complex(self, node): return complex(self.construct_scalar(node)) @@ -492,7 +492,7 @@ "expected non-empty name appended to the tag", mark) try: __import__(name) - except ImportError, exc: + except ImportError as exc: raise ConstructorError("while constructing a Python module", mark, "cannot find module %r (%s)" % (name.encode('utf-8'), exc), mark) return sys.modules[name] @@ -501,7 +501,7 @@ if not name: raise ConstructorError("while constructing a Python object", mark, "expected non-empty name appended to the tag", mark) - if u'.' in name: + if '.' in name: # Python 2.4 only #module_name, object_name = name.rsplit('.', 1) items = name.split('.') @@ -512,7 +512,7 @@ object_name = name try: __import__(module_name) - except ImportError, exc: + except ImportError as exc: raise ConstructorError("while constructing a Python object", mark, "cannot find module %r (%s)" % (module_name.encode('utf-8'), exc), mark) module = sys.modules[module_name] @@ -568,7 +568,7 @@ instance.__dict__.update(state) elif state: slotstate.update(state) - for key, value in slotstate.items(): + for key, value in list(slotstate.items()): setattr(object, key, value) def construct_python_object(self, suffix, node): @@ -619,66 +619,66 @@ return self.construct_python_object_apply(suffix, node, newobj=True) Constructor.add_constructor( - u'tag:yaml.org,2002:python/none', + 'tag:yaml.org,2002:python/none', Constructor.construct_yaml_null) Constructor.add_constructor( - u'tag:yaml.org,2002:python/bool', + 'tag:yaml.org,2002:python/bool', Constructor.consRefactoringTool: Refactored ./tablib/packages/yaml/serializer.py RefactoringTool: Refactored ./tablib/packages/xlwt/__init__.py RefactoringTool: Refactored ./tablib/packages/xlwt/ExcelFormula.py truct_yaml_bool) Constructor.add_constructor( - u'tag:yaml.org,2002:python/str', + 'tag:yaml.org,2002:python/str', Constructor.construct_python_str) Constructor.add_constructor( - u'tag:yaml.org,2002:python/unicode', + 'tag:yaml.org,2002:python/unicode', Constructor.construct_python_unicode) Constructor.add_constructor( - u'tag:yaml.org,2002:python/int', + 'tag:yaml.org,2002:python/int', Constructor.construct_yaml_int) Constructor.add_constructor( - u'tag:yaml.org,2002:python/long', + 'tag:yaml.org,2002:python/long', Constructor.construct_python_long) Constructor.add_constructor( - u'tag:yaml.org,2002:python/float', + 'tag:yaml.org,2002:python/float', Constructor.construct_yaml_float) Constructor.add_constructor( - u'tag:yaml.org,2002:python/complex', + 'tag:yaml.org,2002:python/complex', Constructor.construct_python_complex) Constructor.add_constructor( - u'tag:yaml.org,2002:python/list', + 'tag:yaml.org,2002:python/list', Constructor.construct_yaml_seq) Constructor.add_constructor( - u'tag:yaml.org,2002:python/tuple', + 'tag:yaml.org,2002:python/tuple', Constructor.construct_python_tuple) Constructor.add_constructor( - u'tag:yaml.org,2002:python/dict', + 'tag:yaml.org,2002:python/dict', Constructor.construct_yaml_map) Constructor.add_multi_constructor( - u'tag:yaml.org,2002:python/name:', + 'tag:yaml.org,2002:python/name:', Constructor.construct_python_name) Constructor.add_multi_constructor( - u'tag:yaml.org,2002:python/module:', + 'tag:yaml.org,2002:python/module:', Constructor.construct_python_module) Constructor.add_multi_constructor( - u'tag:yaml.org,2002:python/object:', + 'tag:yaml.org,2002:python/object:', Constructor.construct_python_object) Constructor.add_multi_constructor( - u'tag:yaml.org,2002:python/object/apply:', + 'tag:yaml.org,2002:python/object/apply:', Constructor.construct_python_object_apply) Constructor.add_multi_constructor( - u'tag:yaml.org,2002:python/object/new:', + 'tag:yaml.org,2002:python/object/new:', Constructor.construct_python_object_new) --- ./tablib/packages/yaml/serializer.py (original) +++ ./tablib/packages/yaml/serializer.py (refactored) @@ -1,16 +1,16 @@ __all__ = ['Serializer', 'SerializerError'] -from error import YAMLError -from events import * -from nodes import * +from .error import YAMLError +from .events import * +from .nodes import * class SerializerError(YAMLError): pass class Serializer(object): - ANCHOR_TEMPLATE = u'id%03d' + ANCHOR_TEMPLATE = 'id%03d' def __init__(self, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None): --- ./tablib/packages/xlwt/__init__.py (original) +++ ./tablib/packages/xlwt/__init__.py (refactored) @@ -4,10 +4,10 @@ import sys -from Workbook import Workbook -from Worksheet import Worksheet -from Row import Row -from Column import Column -from Formatting import Font, Alignment, Borders, Pattern, Protection -from Style import XFStyle, easyxf -from ExcelFormula import * +from .Workbook import Workbook +from .Worksheet import Worksheet +from .Row import Row +from .Column import Column +from .Formatting import Font, Alignment, Borders, Pattern, Protection +from .Style import XFStyle, easyxf +from .ExcelFormula import * --- ./tablib/packages/xlwt/ExcelFormula.py (original) +++ ./tablib/packages/xlwt/ExcelFormula.py (refactored) @@ -1,8 +1,8 @@ # -*- coding: windows-1252 -*- -import ExcelFormulaParser, ExcelFormulaLexer +from . import ExcelFormulaParser, ExcelFormulaLexer import struct -from antlr import ANTLRException +from .antlr import ANTLRException class Formula(object): @@ -17,9 +17,9 @@ self.__parser.formula() self.__sheet_refs = self.__parser.sheet_references self.__xcall_refs = self.__parser.xcall_references - except ANTLRException, e: + except ANTLRException as e: # print e - raise ExcelRefactoringTool: Refactored ./tablib/packages/xlwt/Formatting.py RefactoringTool: Refactored ./tablib/packages/xlwt/Worksheet.py RefactoringTool: Refactored ./tablib/packages/xlwt/Row.py FormulaParser.FormulaParseException, "can't parse formula " + s + raise ExcelFormulaParser.FormulaParseException("can't parse formula " + s) def get_references(self): return self.__sheet_refs, self.__xcall_refs --- ./tablib/packages/xlwt/Formatting.py (original) +++ ./tablib/packages/xlwt/Formatting.py (refactored) @@ -27,7 +27,7 @@ ''' -import BIFFRecords +from . import BIFFRecords class Font(object): --- ./tablib/packages/xlwt/Worksheet.py (original) +++ ./tablib/packages/xlwt/Worksheet.py (refactored) @@ -34,24 +34,24 @@ EOF ''' -import BIFFRecords -import Bitmap -import Formatting -import Style +from . import BIFFRecords +from . import Bitmap +from . import Formatting +from . import Style import tempfile class Worksheet(object): - from Workbook import Workbook + from .Workbook import Workbook ################################################################# ## Constructor ################################################################# def __init__(self, sheetname, parent_book, cell_overwrite_ok=False): - import Row + from . import Row self.Row = Row.Row - import Column + from . import Column self.Column = Column.Column self.__name = sheetname @@ -692,7 +692,7 @@ def set_header_str(self, value): if isinstance(value, str): - value = unicode(value, self.__parent.encoding) + value = str(value, self.__parent.encoding) self.__header_str = value def get_header_str(self): @@ -704,7 +704,7 @@ def set_footer_str(self, value): if isinstance(value, str): - value = unicode(value, self.__parent.encoding) + value = str(value, self.__parent.encoding) self.__footer_str = value def get_footer_str(self): @@ -1189,7 +1189,7 @@ def __row_blocks_rec(self): result = [] - for row in self.__rows.itervalues(): + for row in self.__rows.values(): result.append(row.get_row_biff_data()) result.append(row.get_cells_biff_data()) return ''.join(result) --- ./tablib/packages/xlwt/Row.py (original) +++ ./tablib/packages/xlwt/Row.py (refactored) @@ -1,10 +1,10 @@ # -*- coding: windows-1252 -*- -import BIFFRecords -import Style -from Cell import StrCell, BlankCell, NumberCell, FormulaCell, MulBlankCell, BooleanCell, ErrorCell, \ +from . import BIFFRecords +from . import Style +from .Cell import StrCell, BlankCell, NumberCell, FormulaCell, MulBlankCell, BooleanCell, ErrorCell, \ _get_cells_biff_data_mul -import ExcelFormula +from . import ExcelFormula import datetime as dt try: from decimal import Decimal @@ -156,11 +156,11 @@ def insert_mulcells(self, colx1, colx2, cell_obj): self.insert_cell(colx1, cell_obj) - for col_index in xrange(colx1+1, colx2+1): + for col_index in range(colx1+1, colx2+1): self.insert_cell(col_index, None) def get_cells_biff_data(self): - cell_items = [item for item in self.__cells.iteritems() if item[1] is not None] + cell_items = [item for item in self.__cells.items() if item[1] is not None] cell_items.sort() # in column order return _get_cells_biff_data_mul(self.__idx, cell_items) # previously: @@ -225,7 +225,7 @@ self.__adjust_height(style) self.__adjust_bound_col_idx(col) style_index = self.__parent_wb.add_style(style) - if isinstance(label, basestring): + if isinstance(label, str): if len(label) > 0: self.insert_cell(col, StrCell(self.__idx, col, style_index, self.__parent_wb.add_str(label)) @@ -234,7 +234,7 @@ self.insert_cell(col, BlankCell(self.__idx, col, style_index)) elif isinstance(label, bool): # bool is subclass of int; test bool first self.insert_cell(col, BooleanCell(self.__idx, col, style_index, label)) - elif isinstance(label, (float, int, long, Decimal)): RefactoringTool: Refactored ./tablib/packages/xlwt/ExcelFormulaLexer.py RefactoringTool: Refactored ./tablib/packages/xlwt/antlr.py + elif isinstance(label, (float, int, Decimal)): self.insert_cell(col, NumberCell(self.__idx, col, style_index, label)) elif isinstance(label, (dt.datetime, dt.date, dt.time)): date_number = self.__excel_date_dt(label) --- ./tablib/packages/xlwt/ExcelFormulaLexer.py (original) +++ ./tablib/packages/xlwt/ExcelFormulaLexer.py (refactored) @@ -1,9 +1,9 @@ # -*- coding: windows-1252 -*- import sys -from antlr import EOF, CommonToken as Tok, TokenStream, TokenStreamException +from .antlr import EOF, CommonToken as Tok, TokenStream, TokenStreamException import struct -import ExcelFormulaParser +from . import ExcelFormulaParser from re import compile as recompile, match, LOCALE, UNICODE, IGNORECASE, VERBOSE @@ -123,6 +123,6 @@ if __name__ == '__main__': try: for t in Lexer(""" 1.23 456 "abcd" R2C2 a1 iv65536 true false if choose a_name 'qname' <> >= <= """): - print t - except TokenStreamException, e: - print "error:", e + print(t) + except TokenStreamException as e: + print("error:", e) --- ./tablib/packages/xlwt/antlr.py (original) +++ ./tablib/packages/xlwt/antlr.py (refactored) @@ -84,7 +84,7 @@ def error(fmt,*args): if fmt: - print "error: ", fmt % tuple(args) + print("error: ", fmt % tuple(args)) def ifelse(cond,_then,_else): if cond : @@ -96,7 +96,7 @@ def is_string_type(x): # return (isinstance(x,str) or isinstance(x,unicode)) # Simplify; xlwt doesn't support Python < 2.3 - return isinstance(basestring) + return isinstance(str) def assert_string_type(x): assert is_string_type(x) @@ -590,9 +590,9 @@ Token.badToken = Token( type=INVALID_TYPE, text="") if __name__ == "__main__": - print "testing .." + print("testing ..") T = Token.badToken - print T + print(T) ###xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx### ### CommonToken ### @@ -663,16 +663,16 @@ if __name__ == '__main__' : T = CommonToken() - print T + print(T) T = CommonToken(col=15,line=1,text="some text", type=5) - print T + print(T) T = CommonToken() T.setLine(1).setColumn(15).setText("some text").setType(5) - print T - print T.getLine() - print T.getColumn() - print T.getText() - print T.getType() + print(T) + print(T.getLine()) + print(T.getColumn()) + print(T.getText()) + print(T.getType()) ###xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx### ### CommonHiddenStreamToken ### @@ -852,7 +852,7 @@ ### use unicode chars instead of ASCII .. self.queue.append(c) - except Exception,e: + except Exception as e: raise CharStreamIOException(e) ##except: # (mk) Cannot happen ... ##error ("unexpected exception caught ..") @@ -907,7 +907,7 @@ return raise TypeError("TokenStreamIterator requires TokenStream object") - def next(self): + def __next__(self): assert self.inst item = self.inst.nextToken() if not item or item.isEOF(): @@ -942,7 +942,7 @@ while 1: try: return self._input.nextToken() - except TokenStreamRetryException,r: + except TokenStreamRetryException as r: ### just retry "forever" pass @@ -1383,23 +1383,23 @@ self.setColumn(nc) def panic(self,s='') : - print "CharScanner: panic: " + s + print("CharScanner: panic: " + s) sys.exit(1) def reportError(self,ex) : - print ex + print(ex) def reportError(self,s) : if not self.getFilename(): - print "error: " + str(s) - else: - print self.getFilename() + ": error: " + str(s) + print("error: " + str(s)) + else: + print(self.getFilename() + ": error: " + str(s)) def reportWarning(self,s) : if not self.getFilename(): - print "warning: " + str(s) - else: - print self.getFilename() + ": warning: " + str(s) + print("warning: " + str(s)) + else: + print(self.getFilename() + ": warning: " + str(s)) def resetText(self) : self.text.setLength(0) @@ -1459,16 +1459,16 @@ return c.__class__.lower() def traceIndent(self): - print ' ' * self.traceDepth + print(' ' * self.traceDepth) def traceIn(self,rname): self.traceDepth += 1 self.traceIndent() - print "> lexer %s c== %s" % (rname,self.LA(1)) + print("> lexer %s c== %s" % (rname,self.LA(1))) def traceOut(self,rname): self.traceIndent() - print "< lexer %s c== %s" % (rname,self.LA(1)) + print("< lexer %s c== %s" % (rname,self.LA(1))) self.traceDepth -= 1 def uponEOF(self): @@ -1532,8 +1532,8 @@ try: func=args[0] args=args[1:] - apply(func,args) - except RecognitionException, e: + func(*args) + except RecognitionException as e: ## catastrophic failure self.reportError(e); self.consume(); @@ -1566,7 +1566,7 @@ return raise TypeError("CharScannerIterator requires CharScanner object") - def next(self): + def __next__(self): assert self.inst item = self.inst.nextToken() if not item or item.isEOF(): @@ -1589,19 +1589,19 @@ def __init__(self,data=None): if not data: - BitSet.__init__(self,[long(0)]) + BitSet.__init__(self,[int(0)]) return if isinstance(data,int): - BitSet.__init__(self,[long(data)]) - return - if isinstance(data,long): + BitSet.__init__(self,[int(data)]) + return + if isinstance(data,int): BitSet.__init__(self,[data]) return if not isinstance(data,list): raise TypeError("BitSet requires integer, long, or " + "list argument") for x in data: - if not isinstance(x,long): + if not isinstance(x,int): raise TypeError(self,"List argument item is " + "not a long: %s" % (x)) self.data = data @@ -1609,7 +1609,7 @@ def __str__(self): bits = len(self.data) * BitSet.BITS s = "" - for i in xrange(0,bits): + for i in range(0,bits): if self.at(i): s += "1" else: @@ -1648,7 +1648,7 @@ def bitMask(self,bit): pos = bit & BitSet.MOD_MASK ## bit mod BITS - return (1L << pos) + return (1 << pos) def set(self,bit,on=True): # grow bitset as required (use with care!) @@ -1656,8 +1656,8 @@ mask = self.bitMask(bit) if i>=len(self.data): d = i - len(self.data) + 1 - for x in xrange(0,d): - self.data.append(0L) + for x in range(0,d): + self.data.append(0) assert len(self.data) == i+1 if on: self.data[i] |= mask @@ -1684,12 +1684,12 @@ def illegalarg_ex(func): raise ValueError( "%s is only valid if parser is built for debugging" % - (func.func_name)) + (func.__name__)) def runtime_ex(func): raise RuntimeException( "%s is only valid if parser is built for debugging" % - (func.func_name)) + (func.__name__)) ###xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx### ### TokenBuffer ### @@ -1949,16 +1949,16 @@ col = x.getLine() text = x.getText() fmt = fmt + 'unexpected symbol at line %s (column %s) : "%s"' - print >>sys.stderr, fmt % (line,col,text) - else: - RefactoringTool: Refactored ./tablib/packages/xlwt/Style.py print >>sys.stderr, fmt,str(x) + print(fmt % (line,col,text), file=sys.stderr) + else: + print(fmt,str(x), file=sys.stderr) def reportWarning(self,s): f = self.getFilename() if f: - print "%s:warning: %s" % (f,str(x)) - else: - print "warning: %s" % (str(x)) + print("%s:warning: %s" % (f,str(x))) + else: + print("warning: %s" % (str(x))) def rewind(self, pos) : self.inputState.input.rewind(pos) @@ -1986,7 +1986,7 @@ self.inputState.input = t def traceIndent(self): - print " " * self.traceDepth + print(" " * self.traceDepth) def traceIn(self,rname): self.traceDepth += 1 @@ -2075,20 +2075,20 @@ self.k = 1 def trace(self,ee,rname): - print type(self) + print(type(self)) self.traceIndent() guess = "" if self.inputState.guessing > 0: guess = " [guessing]" - print(ee + rname + guess) - for i in xrange(1,self.k+1): + print((ee + rname + guess)) + for i in range(1,self.k+1): if i != 1: print(", ") if self.LT(i) : v = self.LT(i).getText() else: v = "null" - print "LA(%s) == %s" % (i,v) + print("LA(%s) == %s" % (i,v)) print("\n") def traceIn(self,rname): @@ -2149,10 +2149,10 @@ raise MismatchedTokenException(getTokenNames(), t, ttype, True) def reportError(self,ex): - print >>sys.stderr,"error:",ex + print("error:",ex, file=sys.stderr) def reportWarning(self, s): - print "warning:",s + print("warning:",s) def setASTFactory(self,f): self.astFactory = f @@ -2164,20 +2164,20 @@ self.astFactory.setASTNodeType(nodeType) def traceIndent(self): - print " " * self.traceDepth + print(" " * self.traceDepth) def traceIn(self,rname,t): self.traceDepth += 1 self.traceIndent() - print("> " + rname + "(" + + print(("> " + rname + "(" + ifelse(t,str(t),"null") + ")" + - ifelse(self.inputState.guessing>0,"[guessing]","")) + ifelse(self.inputState.guessing>0,"[guessing]",""))) def traceOut(self,rname,t): self.traceIndent() - print("< " + rname + "(" + + print(("< " + rname + "(" + ifelse(t,str(t),"null") + ")" + - ifelse(self.inputState.guessing>0,"[guessing]","")) + ifelse(self.inputState.guessing>0,"[guessing]",""))) self.traceDepth -= 1 ### wh: moved from ASTFactory to TreeParser @@ -2724,7 +2724,7 @@ def error(self, e): import sys - print >> sys.stderr, e + print(e, file=sys.stderr) def setTokenTypeASTNodeType(self, tokenType, className): """ @@ -2811,7 +2811,7 @@ if not nodes: return None - for i in xrange(0,len(nodes)): + for i in range(0,len(nodes)): node = nodes[i] if node: assert isinstance(node,AST) @@ -2821,7 +2821,7 @@ if root: root.setFirstChild(None) - for i in xrange(1,len(nodes)): + for i in range(1,len(nodes)): if not nodes[i]: continue if not root: --- ./tablib/packages/xlwt/Style.py (original) +++ ./tablib/packages/xlwt/Style.py (refactored) @@ -1,7 +1,8 @@ # -*- coding: windows-1252 -*- -import Formatting -from BIFFRecords import * +from . import Formatting +from .BIFFRecords import * +import collections FIRST_USER_DEFINED_NUM_FORMAT_IDX = 164 @@ -76,9 +77,9 @@ self._xf_val2x = {} self._num_formats = {} - for fmtidx, fmtstr in zip(range(0, 23), StyleCollection._std_num_fmt_list[0:23]): + for fmtidx, fmtstr in zip(list(range(0, 23)), StyleCollection._std_num_fmt_list[0:23]): self._num_formats[fmtstr] = fmtidx - for fmtidx, fmtstr in zip(range(37, 50), StyleCRefactoringTool: Refactored ./tablib/packages/xlwt/ExcelMagic.py RefactoringTool: Refactored ./tablib/packages/xlwt/Bitmap.py ollection._std_num_fmt_list[23:]): + for fmtidx, fmtstr in zip(list(range(37, 50)), StyleCollection._std_num_fmt_list[23:]): self._num_formats[fmtstr] = fmtidx self.default_style = XFStyle() @@ -161,9 +162,9 @@ def _all_fonts(self): result = '' if self.style_compression: - alist = self._font_x2id.items() - else: - alist = [(x, o) for o, x in self._font_id2x.items()] + alist = list(self._font_x2id.items()) + else: + alist = [(x, o) for o, x in list(self._font_id2x.items())] alist.sort() for font_idx, font in alist: result += font.get_biff_record().get() @@ -173,7 +174,7 @@ result = '' alist = [ (v, k) - for k, v in self._num_formats.items() + for k, v in list(self._num_formats.items()) if v >= FIRST_USER_DEFINED_NUM_FORMAT_IDX ] alist.sort() @@ -186,9 +187,9 @@ for i in range(0, 16): result += XFRecord(self._default_xf, 'style').get() if self.style_compression == 2: - alist = self._xf_x2id.items() - else: - alist = [(x, o) for o, x in self._xf_id2x.items()] + alist = list(self._xf_x2id.items()) + else: + alist = [(x, o) for o, x in list(self._xf_id2x.items())] alist.sort() for xf_idx, xf in alist: result += XFRecord(xf).get() @@ -545,11 +546,11 @@ v = ' '.join(guff[1:]) if not v: raise EasyXFCallerError("no value supplied for %s.%s" % (section, k)) - for counter in xrange(2): + for counter in range(2): result = section_dict.get(k) if result is None: raise EasyXFCallerError('%s.%s is not a known attribute' % (section, k)) - if not isinstance(result, basestring): + if not isinstance(result, str): break # synonym old_k = k @@ -566,7 +567,7 @@ if vl in value_rule: value = value_rule[vl] break - elif callable(value_rule): + elif isinstance(value_rule, collections.Callable): value = value_rule(v) if value is not None: break @@ -578,7 +579,7 @@ orig = getattr(section_obj, k) except AttributeError: raise EasyXFAuthorError('%s.%s in dictionary but not in supplied object' % (section, k)) - if debug: print "+++ %s.%s = %r # %s; was %r" % (section, k, value, v, orig) + if debug: print("+++ %s.%s = %r # %s; was %r" % (section, k, value, v, orig)) setattr(section_obj, k, value) def easyxf(strg_to_parse="", num_format_str=None, --- ./tablib/packages/xlwt/ExcelMagic.py (original) +++ ./tablib/packages/xlwt/ExcelMagic.py (refactored) @@ -852,11 +852,11 @@ error_msg_by_code = { - 0x00: u"#NULL!", # intersection of two cell ranges is empty - 0x07: u"#DIV/0!", # division by zero - 0x0F: u"#VALUE!", # wrong type of operand - 0x17: u"#REF!", # illegal or deleted cell reference - 0x1D: u"#NAME?", # wrong function or range name - 0x24: u"#NUM!", # value range overflow - 0x2A: u"#N/A!" # argument or function not available + 0x00: "#NULL!", # intersection of two cell ranges is empty + 0x07: "#DIV/0!", # division by zero + 0x0F: "#VALUE!", # wrong type of operand + 0x17: "#REF!", # illegal or deleted cell reference + 0x1D: "#NAME?", # wrong function or range name + 0x24: "#NUM!", # value range overflow + 0x2A: "#N/A!" # argument or function not available } --- ./tablib/packages/xlwt/Bitmap.py (original) +++ ./tablib/packages/xlwt/Bitmap.py (refactored) @@ -4,7 +4,7 @@ # Portions are Copyright (c) 2004 Evgeny Filatov # Portions are Copyright (c) 2002-2004 JoRefactoringTool: Refactored ./tablib/packages/xlwt/CompoundDoc.py hn McNamara (Perl Spreadsheet::WriteExcel) -from BIFFRecords import BiffRecord +from .BIFFRecords import BiffRecord from struct import * --- ./tablib/packages/xlwt/CompoundDoc.py (original) +++ ./tablib/packages/xlwt/CompoundDoc.py (refactored) @@ -22,9 +22,9 @@ self.__build_SSAT() else: if self.dump and (self.total_ssat_sectors != 0 or self.ssat_start_sid != -2): - print 'NOTE: header says that must be', self.total_ssat_sectors, 'short sectors' - print 'NOTE: starting at', self.ssat_start_sid, 'sector' - print 'NOTE: but file does not contains data in short sectors' + print('NOTE: header says that must be', self.total_ssat_sectors, 'short sectors') + print('NOTE: starting at', self.ssat_start_sid, 'sector') + print('NOTE: but file does not contains data in short sectors') self.ssat_start_sid = -2 self.total_ssat_sectors = 0 self.SSAT = [-2] @@ -54,7 +54,7 @@ self.doc_magic = self.header[0:8] if self.doc_magic != '\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1': - raise Exception, 'Not an OLE file.' + raise Exception('Not an OLE file.') self.file_uid = self.header[8:24] self.rev_num = self.header[24:26] @@ -74,31 +74,31 @@ self.short_sect_size = 1 << self.log2_short_sect_size if self.dump: - print 'file magic: ' + print('file magic: ') print_bin_data(self.doc_magic) - print 'file uid: ' + print('file uid: ') print_bin_data(self.file_uid) - print 'revision number: ' + print('revision number: ') print_bin_data(self.rev_num) - print 'version number: ' + print('version number: ') print_bin_data(self.ver_num) - print 'byte order: ' + print('byte order: ') print_bin_data(self.byte_order) - print 'sector size :', hex(self.sect_size), self.sect_size + print('sector size :', hex(self.sect_size), self.sect_size) #print 'total sectors in file :', hex(self.total_sectors), self.total_sectors - print 'short sector size :', hex(self.short_sect_size), self.short_sect_size - print 'Total number of sectors used for the SAT :', hex(self.total_sat_sectors), self.total_sat_sectors - print 'SID of first sector of the directory stream:', hex(self.dir_start_sid), self.dir_start_sid - print 'Minimum size of a standard stream :', hex(self.min_stream_size), self.min_stream_size - print 'SID of first sector of the SSAT :', hex(self.ssat_start_sid), self.ssat_start_sid - print 'Total number of sectors used for the SSAT :', hex(self.total_ssat_sectors), self.total_ssat_sectors - print 'SID of first additional sector of the MSAT :', hex(self.msat_start_sid), self.msat_start_sid - print 'Total number of sectors used for the MSAT :', hex(self.total_msat_sectors), self.total_msat_sectors + print('short sector size :', hex(self.short_sect_size), self.short_sect_size) + print('Total number of sectors used for the SAT :', hex(self.total_sat_sectors), self.total_sat_sectors) + print('SID of first sector of the directory stream:', hex(self.dir_start_sid), self.dir_start_sid) + print('Minimum size of a standard stream :', hex(self.min_stream_size), self.min_stream_size) + print('SID of first sector of the SSAT :', hex(self.ssat_start_sid), self.ssat_start_sid) + print('Total number of sectors used for the SSAT :', hex(self.total_ssat_sectors), self.total_ssat_sectors) + print('SID of first additional sector of the MSAT :', hex(self.msat_start_sid), self.msat_start_sid) + print('Total number of sectors used for the MSAT :', hex(self.total_msat_sectors), self.total_msat_sectors) def __build_MSAT(self): @@ -111,8 +111,8 @@ next = msat_sector[-1] if self.dump: - print 'MSAT (header part): \n', self.MSAT[:109] - print 'additional MSAT sectors: \n', self.MSAT[109:] + print('MSAT (header part): \n', self.MSAT[:109]) + print('additional MSAT sectors: \n', self.MSAT[109:]) def __build_SAT(self): @@ -122,8 +122,8 @@ self.SAT = struct.unpack('<%dl' % sat_sids_count, sat_stream) # SIDs tuple if self.dump: - print 'SAT sid count:\n', sat_sids_count - print 'SAT content:\n', self.SAT + print('SAT sid count:\n', sat_sids_count) + print('SAT content:\n', self.SAT) def __build_SSAT(self): @@ -133,8 +133,8 @@ self.SSAT = struct.unpack('<%dl' % ssids_count, ssat_stream) if self.dump: - print 'SSID count:', ssids_count - print 'SSAT content:\n', self.SSAT + print('SSID count:', ssids_count) + print('SSAT content:\n', self.SSAT) def __build_directory(self): @@ -152,7 +152,7 @@ if sz > 0 : name = dentry[0:sz-2].decode('utf_16_le', 'replace') else: - name = u'' + name = '' t, = struct.unpack('B', dentry[66]) c, = struct.unpack('B', dentry[67]) did_left , = struct.unpack('= self.min_stream_size: - print 'stream stored as normal stream' + print('stream stored as normal stream') else: - print 'stream stored as short-stream' + print('stream stored as short-stream') def __build_short_sectors_data(self): @@ -242,9 +242,9 @@ sys.stdout.write(' ') i += 1 j += 1 - print + print() if i == 0: - print '' + print('') @@ -415,7 +415,7 @@ self.packed_SAT = struct.pack('<%dl' % (SAT_sect_count*128), *SAT) MSAT_1st = [self.SID_FREE_SECTOR]*109 - RefactoringTool: Refactored ./tablib/packages/xlwt/BIFFRecords.py RefactoringTool: Refactored ./tablib/packages/xlwt/Workbook.py for i, SAT_sect_num in zip(range(0, 109), self.SAT_sect): + for i, SAT_sect_num in zip(list(range(0, 109)), self.SAT_sect): MSAT_1st[i] = SAT_sect_num self.packed_MSAT_1st = struct.pack('<109l', *MSAT_1st) --- ./tablib/packages/xlwt/BIFFRecords.py (original) +++ ./tablib/packages/xlwt/BIFFRecords.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: cp1252 -*- from struct import pack -from UnicodeUtils import upack1, upack2 +from .UnicodeUtils import upack1, upack2 import sys class SharedStringTable(object): @@ -20,8 +20,8 @@ self._current_piece = None def add_str(self, s): - if self.encoding != 'ascii' and not isinstance(s, unicode): - s = unicode(s, self.encoding) + if self.encoding != 'ascii' and not isinstance(s, str): + s = str(s, self.encoding) self._add_calls += 1 if s not in self._str_indexes: idx = len(self._str_indexes) @@ -45,11 +45,11 @@ self._sst_record = '' self._continues = [None, None] self._current_piece = pack(' portion_counter: + if str_chunk_num != portion_counter: portion_counter = str_chunk_num abs_stream_pos += portions_len[portion_counter-1] #print hex(abs_stream_pos) @@ -1249,7 +1249,7 @@ grid_colour, 0x00, preview_magn, normal_magn, - 0x00L) + 0x00) if scl_magn: self._scl_rec = pack('<4H', 0x00A0, 4, scl_magn, 100) else: @@ -2310,7 +2310,7 @@ def get(self): res = [] nrefs = len(self.refs) - for idx in xrange(0, nrefs, _maxRefPerRecord): + for idx in range(0, nrefs, _maxRefPerRecord): chunk = self.refs[idx:idx+_maxRefPerRecord] krefs = len(chunk) if idx: # CONTINUE record --- ./tablib/packages/xlwt/Workbook.py (original) +++ ./tablib/packages/xlwt/Workbook.py (refactored) @@ -40,8 +40,8 @@ EOF ''' -import BIFFRecords -import Style +from . import BIFFRecords +from . import Style class Workbook(object): @@ -312,8 +312,8 @@ return self.__sst.str_index(s) def add_sheet(self, sheetname, cell_overwrite_ok=False): - import Worksheet, Utils - if not isinstance(sheetname, unicode): + from . import Worksheet, Utils + if not isinstance(sheetname, str): sheetname = sheetname.decode(self.encoding) if not Utils.valid_sheet_name(sheetname): raise Exception("invalid worksheet name %r" % sheetname) @@ -404,7 +404,7 @@ self.setup_xcall() # print funcname, self._supbook_xref patches.append((offset, self._xcall_supbook_ref)) - if not isinstance(funcname, unicode): + if not isinstance(funcname, str): funcname = funcname.decode(self.encoding) if funcname in self._xcall_xref: idx = self._xcall_xref[funcname] @@ -525,7 +525,7 @@ RefactoringTool: Refactored ./tablib/packages/xlwt/Cell.py RefactoringTool: Refactored ./tablib/packages/xlwt/ExcelFormulaParser.py boundsheets_len = 0 for sheet in self.__worksheets: boundsheets_len += len(BIFFRecords.BoundSheetRecord( - 0x00L, sheet.visibility, sheet.name, self.encoding + 0x00, sheet.visibility, sheet.name, self.encoding ).get()) start = data_len_before + boundsheets_len + data_len_after @@ -540,7 +540,7 @@ def __all_links_rec(self): pieces = [] - temp = [(idx, tag) for tag, idx in self._supbook_xref.items()] + temp = [(idx, tag) for tag, idx in list(self._supbook_xref.items())] temp.sort() for idx, tag in temp: stype, snum = tag @@ -550,7 +550,7 @@ elif stype == 'xcall': rec = BIFFRecords.XcallSupBookRecord().get() pieces.append(rec) - temp = [(idx, name) for name, idx in self._xcall_xref.items()] + temp = [(idx, name) for name, idx in list(self._xcall_xref.items())] temp.sort() for idx, name in temp: rec = BIFFRecords.ExternnameRecord( @@ -560,7 +560,7 @@ raise Exception('unknown supbook stype %r' % stype) if len(self.__sheet_refs) > 0: # get references in index order - temp = [(idx, ref) for ref, idx in self.__sheet_refs.items()] + temp = [(idx, ref) for ref, idx in list(self.__sheet_refs.items())] temp.sort() temp = [ref for idx, ref in temp] externsheet_record = BIFFRecords.ExternSheetRecord(temp).get() @@ -628,7 +628,7 @@ return before + bundlesheets + after + ext_sst + eof + sheets def save(self, filename): - import CompoundDoc + from . import CompoundDoc doc = CompoundDoc.XlsDoc() doc.save(filename, self.get_biff_data()) --- ./tablib/packages/xlwt/Cell.py (original) +++ ./tablib/packages/xlwt/Cell.py (refactored) @@ -1,7 +1,7 @@ # -*- coding: windows-1252 -*- from struct import unpack, pack -import BIFFRecords +from . import BIFFRecords class StrCell(object): __slots__ = ["rowx", "colx", "xf_idx", "sst_idx"] @@ -194,7 +194,7 @@ lastcolx = icolx j = i packed_record = '' - for j in xrange(i+1, nitems): + for j in range(i+1, nitems): jcolx, jcell = cell_items[j] if jcolx != lastcolx + 1: nexti = j --- ./tablib/packages/xlwt/ExcelFormulaParser.py (original) +++ ./tablib/packages/xlwt/ExcelFormulaParser.py (refactored) @@ -1,7 +1,7 @@ ### $ANTLR 2.7.7 (20060930): "xlwt/excel-formula.g" -> "ExcelFormulaParser.py"$ ### import antlr and other modules .. import sys -import antlr +from . import antlr version = sys.version.split()[0] if version < '2.2.1': @@ -10,9 +10,9 @@ True = not False ### header action >>> import struct -import Utils -from UnicodeUtils import upack1 -from ExcelMagic import * +from . import Utils +from .UnicodeUtils import upack1 +from .ExcelMagic import * _RVAdelta = {"R": 0, "V": 0x20, "A": 0x40} _RVAdeltaRef = {"R": 0, "V": 0x20, "A": 0x40, "D": 0x20} @@ -29,7 +29,7 @@ ### preamble action <<< ### import antlr.Token -from antlr import Token +from .antlr import Token ### >>>The Known Token Types <<< SKIP = antlr.SKIP INVALID_TYPE = antlr.INVALID_TYPE @@ -390,21 +390,21 @@ chunklens = [len(chunk) for chunk in rpn_chunks] skiplens = [0] * nc skiplens[-1] = 3 - for ic in xrange(nc-1, 0, -1): + for ic in range(nc-1, 0, -1): skiplens[ic-1] = skiplens[ic] + chunklens[ic] + 4 jump_pos = [2 * nc + 2] - for ic in xrange(nc): + for ic in range(nc): jump_pos.append(jump_pos[-1] + chunklens[ic] + 4) chunk_shift = 2 * nc + 6 # size of tAttrChoose - for ic in xrange(nc): - for refx in xrange(ref_markers[ic], ref_markers[ic+1]): + for ic in range(nc): + for refx in range(rRefactoringTool: Refactored ./tablib/packages/xlwt/Column.py RefactoringTool: Refactored ./tablib/packages/xlwt/UnicodeUtils.py RefactoringTool: Refactored ./tablib/packages/xlwt/Utils.py RefactoringTool: Refactored ./tablib/packages/markup.py ef_markers[ic], ref_markers[ic+1]): ref = self.sheet_references[refx] self.sheet_references[refx] = (ref[0], ref[1], ref[2] + chunk_shift) chunk_shift += 4 # size of tAttrSkip choose_rpn = [] choose_rpn.append(struct.pack(" max_argc or arg_count < min_argc: - raise Exception, "%d parameters for function: %s" % (arg_count, func_tok.text) + raise Exception("%d parameters for function: %s" % (arg_count, func_tok.text)) if xcall: func_ptg = ptgFuncVarR + _RVAdelta[func_type] self.rpn += struct.pack("<2BH", func_ptg, arg_count + 1, 255) # 255 is magic XCALL function @@ -671,7 +671,7 @@ ### generate bit set def mk_tokenSet_0(): ### var1 - data = [ 37681618946L, 0L] + data = [ 37681618946, 0] return data _tokenSet_0 = antlr.BitSet(mk_tokenSet_0()) --- ./tablib/packages/xlwt/Column.py (original) +++ ./tablib/packages/xlwt/Column.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: windows-1252 -*- -from BIFFRecords import ColInfoRecord +from .BIFFRecords import ColInfoRecord class Column(object): def __init__(self, colx, parent_sheet): --- ./tablib/packages/xlwt/UnicodeUtils.py (original) +++ ./tablib/packages/xlwt/UnicodeUtils.py (refactored) @@ -44,10 +44,10 @@ def upack2(s, encoding='ascii'): # If not unicode, make it so. - if isinstance(s, unicode): + if isinstance(s, str): us = s else: - us = unicode(s, encoding) + us = str(s, encoding) # Limit is based on number of content characters # (not on number of bytes in packed result) len_us = len(us) @@ -65,10 +65,10 @@ def upack1(s, encoding='ascii'): # Same as upack2(), but with a one-byte length field. - if isinstance(s, unicode): + if isinstance(s, str): us = s else: - us = unicode(s, encoding) + us = str(s, encoding) len_us = len(us) if len_us > 255: raise Exception('String longer than 255 characters') --- ./tablib/packages/xlwt/Utils.py (original) +++ ./tablib/packages/xlwt/Utils.py (refactored) @@ -32,7 +32,7 @@ import re from struct import pack -from ExcelMagic import MAX_ROW, MAX_COL +from .ExcelMagic import MAX_ROW, MAX_COL _re_cell_ex = re.compile(r"(\$?)([A-I]?[A-Z])(\$?)(\d+)", re.IGNORECASE) @@ -47,7 +47,7 @@ """ col = 0 pow = 1 - for i in xrange(len(colname)-1, -1, -1): + for i in range(len(colname)-1, -1, -1): ch = colname[i] col += (ord(ch) - ord('A') + 1) * pow pow *= 26 @@ -182,10 +182,10 @@ # === sheetname functions === def valid_sheet_name(sheet_name): - if sheet_name == u"" or sheet_name[0] == u"'" or len(sheet_name) > 31: + if sheet_name == "" or sheet_name[0] == "'" or len(sheet_name) > 31: return False for c in sheet_name: - if c in u"[]:\\?/*\x00": + if c in "[]:\\?/*\x00": return False return True @@ -193,4 +193,4 @@ if not valid_sheet_name(unquoted_sheet_name): raise Exception( 'attempt to quote an invalid worksheet name %r' % unquoted_sheet_name) - return u"'" + unquoted_sheet_name.replace(u"'", u"''") + u"'" + return "'" + unquoted_sheet_name.replace("'", "''") + "'" --- ./tablib/packages/markup.py (original) +++ ./tablib/packages/markup.py (refactored) @@ -67,24 +67,24 @@ def render( self, tag, single, between, kwargs ): """Append the actual tags to content.""" - out = u"<%s" % tag - for key, value in kwargs.iteritems( ): + out = "<%s" % tag + for key, value in kwargs.items( ): if value is not None: # when value is None that means stuff like <... checked> key = key.strip('_') # strip this so class_ will mean class, etc. if key == 'http_equiv': # special cases, maybe change _ to - overall? key = 'http-equiv' elif key == 'accept_charset': key = 'accept-charset' - out = u"%s %s=\"%s\"" % ( out, key, escape( value ) ) + out = "%s %s=\"%s\"" % ( out, key, escape( value ) ) else: - out = u"%s %s" % ( out, key ) + out = "%s %s" % ( out, key ) if between is not None: - out = u"%s>%s" % ( out, between, tag ) + out = "%s>%s" % ( out, between, tag ) else: if single: - out = u"%s />" % out + out = "%s />" % out else: - out = u"%s>" % out + out = "%s>" % out if self.parent is not None: self.parent.content.append( out ) else: @@ -156,17 +156,17 @@ if mode == 'strict_html' or mode == 'html': self.onetags = valid_onetags - self.onetags += map( string.lower, self.onetags ) + self.onetags += list(map( string.lower, self.onetags )) self.twotags = valid_twotags - self.twotags += map( string.lower, self.twotags ) + self.twotags += list(map( string.lower, self.twotags )) self.deptags = deprecated_onetags + deprecated_twotags - self.deptags += map( string.lower, self.deptags ) + self.deptags += list(map( string.lower, self.deptags )) self.mode = 'strict_html' elif mode == 'loose_html': self.onetags = valid_onetags + deprecated_onetags - self.onetags += map( string.lower, self.onetags ) + self.onetags += list(map( string.lower, self.onetags )) self.twotags = valid_twotags + deprecated_twotags - self.twotags += map( string.lower, self.twotags ) + self.twotags += list(map( string.lower, self.twotags )) self.mode = mode elif mode == 'xml': if onetags and twotags: @@ -183,7 +183,7 @@ def __getattr__( self, attr ): if attr.startswith("__") and attr.endswith("__"): - raise AttributeError, attr + raise AttributeError(attr) return element( attr, case=self.case, parent=self ) def __str__( self ): @@ -307,7 +307,7 @@ """This convenience function is only useful for html. It adds css stylesheet(s) to the document via the element.""" - if isinstance( filelist, basestring ): + if isinstance( filelist, str ): self.link( href=filelist, rel='stylesheet', type='text/css', media='all' ) else: for file in filelist: @@ -319,20 +319,20 @@ a dictionary of the form { 'name':'content' }.""" if isinstance( mydict, dict ): - for name, content in mydict.iteritems( ): + for name, content in mydict.items( ): self.meta( name=name, content=content ) else: - raise TypeError, "Metainfo should be called with a dictionary argument of name:content pairs." + raise TypeError("Metainfo should be called with a dictionary argument of name:content pairs.") def scripts( self, mydict ): """Only useful in html, mydict is dictionary of src:type pairs will be rendered as """ if isinstance( mydict, dict ): - for src, type in mydict.iteritems( ): + for src, type in mydict.items( ): self.script( '', src=RefactoringTool: Refactored ./tablib/core.py RefactoringTool: Refactored ./test_tablib.py src, type='text/%s' % type ) else: - raise TypeError, "Script should be given a dictionary of src:type pairs." + raise TypeError("Script should be given a dictionary of src:type pairs.") class _oneliner: @@ -345,7 +345,7 @@ def __getattr__( self, attr ): if attr.startswith("__") and attr.endswith("__"): - raise AttributeError, attr + raise AttributeError(attr) return element( attr, case=self.case, parent=None ) oneliner = _oneliner( case='lower' ) @@ -359,14 +359,14 @@ elif len( args ) == 1: args = _totuple( args[0] ) else: - raise Exception, "We should have never gotten here." - - mykeys = mydict.keys( ) - myvalues = map( _totuple, mydict.values( ) ) - - maxlength = max( map( len, [ args ] + myvalues ) ) - - for i in xrange( maxlength ): + raise Exception("We should have never gotten here.") + + mykeys = list(mydict.keys( )) + myvalues = list(map( _totuple, list(mydict.values( )) )) + + maxlength = max( list(map( len, [ args ] + myvalues )) ) + + for i in range( maxlength ): thisdict = { } for key, value in zip( mykeys, myvalues ): try: @@ -383,7 +383,7 @@ def _totuple( x ): """Utility stuff to convert string, int, float, None or anything to a usable tuple.""" - if isinstance( x, basestring ): + if isinstance( x, str ): out = x, elif isinstance( x, ( int, float ) ): out = str( x ), @@ -397,7 +397,7 @@ def escape( text, newline=False ): """Escape special html characters.""" - if isinstance( text, basestring ): + if isinstance( text, str ): if '&' in text: text = text.replace( '&', '&' ) if '>' in text: @@ -419,7 +419,7 @@ def unescape( text ): """Inverse of escape.""" - if isinstance( text, basestring ): + if isinstance( text, str ): if '&' in text: text = text.replace( '&', '&' ) if '>' in text: @@ -481,4 +481,4 @@ self.message = "If you customize the allowed elements, you must define both types 'onetags' and 'twotags'." if __name__ == '__main__': - print __doc__ + print(__doc__) --- ./tablib/core.py (original) +++ ./tablib/core.py (refactored) @@ -14,7 +14,7 @@ from tablib import formats -from tablib.compat import OrderedDict, unicode +from tablib.compat import OrderedDict, str __title__ = 'tablib' @@ -181,7 +181,7 @@ def __getitem__(self, key): - if isinstance(key, str) or isinstance(key, unicode): + if isinstance(key, str) or isinstance(key, str): if key in self.headers: pos = self.headers.index(key) # get 'key' index from each data return [row[pos] for row in self._data] @@ -200,7 +200,7 @@ def __delitem__(self, key): - if isinstance(key, str) or isinstance(key, unicode): + if isinstance(key, str) or isinstance(key, str): if key in self.headers: @@ -226,11 +226,11 @@ def __unicode__(self): result = [self.__headers] - result.extend(list(map(unicode, row)) for row in self._data) + result.extend(list(map(str, row)) for row in self._data) # here, we calculate max width for each column lens = (list(map(len, row)) for row in result) - field_lens = list(map(max, zip(*lens))) + field_lens = list(map(max, list(zip(*lens)))) # delimiter between header and data result.insert(1, ['-' * length for length in field_lens]) @@ -794,7 +794,7 @@ sorted. """ - if isinstance(col, str) or isinstance(col, unicode): + if isinstance(col, str) or isinstance(col, str): if not self.headers: raise HeadersNeeded --- ./test_tablib.py (original) +++ ./test_tablib.py (refactored) @@ -6,7 +6,7 @@ import sys import os import tablib -from tablib.compat import markup, unicode, is_py3 +from tablib.compat import markup, str, is_py3 @@ -641,7 +64RefactoringTool: No changes to ./setup.py RefactoringTool: Files that were modified: RefactoringTool: ./tablib/__init__.py RefactoringTool: ./tablib/formats/__init__.py RefactoringTool: ./tablib/formats/_ods.py RefactoringTool: ./tablib/formats/_xls.py RefactoringTool: ./tablib/formats/_tsv.py RefactoringTool: ./tablib/formats/_json.py RefactoringTool: ./tablib/formats/_yaml.py RefactoringTool: ./tablib/formats/_csv.py RefactoringTool: ./tablib/formats/_html.py RefactoringTool: ./tablib/formats/_xlsx.py RefactoringTool: ./tablib/compat.py RefactoringTool: ./tablib/packages/ordereddict.py RefactoringTool: ./tablib/packages/xlrd/xldate.py RefactoringTool: ./tablib/packages/xlrd/__init__.py RefactoringTool: ./tablib/packages/xlrd/compdoc.py RefactoringTool: ./tablib/packages/xlrd/biffh.py RefactoringTool: ./tablib/packages/xlrd/licences.py RefactoringTool: ./tablib/packages/xlrd/formula.py RefactoringTool: ./tablib/packages/xlrd/formatting.py RefactoringTool: ./tablib/packages/xlrd/timemachine.py RefactoringTool: ./tablib/packages/xlrd/sheet.py RefactoringTool: ./tablib/packages/openpyxl/__init__.py RefactoringTool: ./tablib/packages/openpyxl/shared/__init__.py RefactoringTool: ./tablib/packages/openpyxl/shared/ooxml.py RefactoringTool: ./tablib/packages/openpyxl/shared/xmltools.py RefactoringTool: ./tablib/packages/openpyxl/shared/units.py RefactoringTool: ./tablib/packages/openpyxl/shared/password_hasher.py RefactoringTool: ./tablib/packages/openpyxl/shared/exc.py RefactoringTool: ./tablib/packages/openpyxl/shared/date_time.py RefactoringTool: ./tablib/packages/openpyxl/drawing.py RefactoringTool: ./tablib/packages/openpyxl/chart.py RefactoringTool: ./tablib/packages/openpyxl/style.py RefactoringTool: ./tablib/packages/openpyxl/worksheet.py RefactoringTool: ./tablib/packages/openpyxl/workbook.py RefactoringTool: ./tablib/packages/openpyxl/writer/__init__.py RefactoringTool: ./tablib/packages/openpyxl/writer/worksheet.py RefactoringTool: ./tablib/packages/openpyxl/writer/drawings.py RefactoringTool: ./tablib/packages/openpyxl/writer/workbook.py RefactoringTool: ./tablib/packages/openpyxl/writer/dump_worksheet.py RefactoringTool: ./tablib/packages/openpyxl/writer/theme.py RefactoringTool: ./tablib/packages/openpyxl/writer/styles.py RefactoringTool: ./tablib/packages/openpyxl/writer/charts.py RefactoringTool: ./tablib/packages/openpyxl/writer/excel.py RefactoringTool: ./tablib/packages/openpyxl/writer/strings.py RefactoringTool: ./tablib/packages/openpyxl/namedrange.py RefactoringTool: ./tablib/packages/openpyxl/reader/__init__.py RefactoringTool: ./tablib/packages/openpyxl/reader/style.py RefactoringTool: ./tablib/packages/openpyxl/reader/worksheet.py RefactoringTool: ./tablib/packages/openpyxl/reader/workbook.py RefactoringTool: ./tablib/packages/openpyxl/reader/iter_worksheet.py RefactoringTool: ./tablib/packages/openpyxl/reader/excel.py RefactoringTool: ./tablib/packages/openpyxl/reader/strings.py RefactoringTool: ./tablib/packages/openpyxl/cell.py RefactoringTool: ./tablib/packages/odf/element.py RefactoringTool: ./tablib/packages/odf/chart.py RefactoringTool: ./tablib/packages/odf/meta.py RefactoringTool: ./tablib/packages/odf/config.py RefactoringTool: ./tablib/packages/odf/namespaces.py RefactoringTool: ./tablib/packages/odf/odf2moinmoin.py RefactoringTool: ./tablib/packages/odf/xforms.py RefactoringTool: ./tablib/packages/odf/style.py RefactoringTool: ./tablib/packages/odf/presentation.py RefactoringTool: ./tablib/packages/odf/office.py RefactoringTool: ./tablib/packages/odf/text.py RefactoringTool: ./tablib/packages/odf/load.py RefactoringTool: ./tablib/packages/odf/userfield.py RefactoringTool: ./tablib/packages/odf/number.py RefactoringTool: ./tablib/packages/odf/opendocument.py RefactoringTool: ./tablib/packages/odf/grammar.py RefactoringTool: ./tablib/packages/odf/table.py RefactoringTool: ./tablib/packages/odf/teletype.py RefactoringTool: ./tablib/packages/odf/elementtypes.py RefactoringTool: ./tablib/packages/odf/odfmanifest.py RefactoringTool: ./tablib/packages/odf/attrconverters.py RefactoringTool: ./tablib/packages/odf/form.py RefactoringTool: ./tablib/packages/odf/anim.py RefactoringTool: ./tablib/packages/odf/thumbnail.py RefactoringTool: ./tablib/packages/odf/math.py RefactoringTool: ./tablib/packages/odf/dc.py RefactoringTool: ./tablib/packages/odf/script.py RefactoringTool: ./tablib/packages/odf/manifest.py RefactoringTool: ./tablib/packages/odf/svg.py RefactoringTool: ./tablib/packages/odf/odf2xhtml.py RefactoringTool: ./tablib/packages/odf/easyliststyle.py RefactoringTool: ./tablib/packages/odf/draw.py RefactoringTool: ./tablib/packages/unicodecsv/__init__.py RefactoringTool: ./tablib/packages/omnijson/__init__.py RefactoringTool: ./tablib/packages/omnijson/core.py RefactoringTool: ./tablib/packages/yaml/__init__.py RefactoringTool: ./tablib/packages/yaml/representer.py RefactoringTool: ./tablib/packages/yaml/parser.py RefactoringTool: ./tablib/packages/yaml/scanner.py RefactoringTool: ./tablib/packages/yaml/tokens.py RefactoringTool: ./tablib/packages/yaml/error.py RefactoringTool: ./tablib/packages/yaml/dumper.py RefactoringTool: ./tablib/packages/yaml/resolver.py RefactoringTool: ./tablib/packages/yaml/composer.py RefactoringTool: ./tablib/packages/yaml/reader.py RefactoringTool: ./tablib/packages/yaml/nodes.py RefactoringTool: ./tablib/packages/yaml/events.py RefactoringTool: ./tablib/packages/yaml/emitter.py RefactoringTool: ./tablib/packages/yaml/cyaml.py RefactoringTool: ./tablib/packages/yaml/loader.py RefactoringTool: ./tablib/packages/yaml/constructor.py RefactoringTool: ./tablib/packages/yaml/serializer.py RefactoringTool: ./tablib/packages/xlwt/__init__.py RefactoringTool: ./tablib/packages/xlwt/ExcelFormula.py RefactoringTool: ./tablib/packages/xlwt/Formatting.py RefactoringTool: ./tablib/packages/xlwt/Worksheet.py RefactoringTool: ./tablib/packages/xlwt/Row.py RefactoringTool: ./tablib/packages/xlwt/ExcelFormulaLexer.py RefactoringTool: ./tablib/packages/xlwt/antlr.py RefactoringTool: ./tablib/packages/xlwt/Style.py RefactoringTool: ./tablib/packages/xlwt/ExcelMagic.py RefactoringTool: ./tablib/packages/xlwt/Bitmap.py RefactoringTool: ./tablib/packages/xlwt/CompoundDoc.py RefactoringTool: ./tablib/packages/xlwt/BIFFRecords.py RefactoringTool: ./tablib/packages/xlwt/Workbook.py RefactoringTool: ./tablib/packages/xlwt/Cell.py 1,7 @@ data.csv = self.founders.csv headers = data.headers - self.assertTrue(isinstance(headers[0], unicode)) + self.assertTrue(isinstance(headers[0], str)) orig_first_name = self.founders[self.headers[0]] csv_first_name = data[headers[0]] @@ -655,7 +655,7 @@ data.csv = self.founders.csv target_header = data.headers[0] - self.assertTrue(isinstance(target_header, unicode)) + self.assertTrue(isinstance(target_header, str)) del data[target_header] @@ -689,7 +689,7 @@ Thomas |Jefferson |50 Old |Man |100500 """.strip(), - unicode(self.founders) + str(self.founders) ) RefactoringTool: ./tablib/packages/xlwt/ExcelFormulaParser.py RefactoringTool: ./tablib/packages/xlwt/Column.py RefactoringTool: ./tablib/packages/xlwt/UnicodeUtils.py RefactoringTool: ./tablib/packages/xlwt/Utils.py RefactoringTool: ./tablib/packages/markup.py RefactoringTool: ./tablib/core.py RefactoringTool: ./test_tablib.py RefactoringTool: ./setup.py ~/build/BUILD/tablib-0.10.0 + popd + sed -i '/tablib.packages.*3/d' setup.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qkGDl2 + umask 022 + cd /builddir/build/BUILD + cd tablib-0.10.0 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/tablib copying tablib/__init__.py -> build/lib/tablib copying tablib/compat.py -> build/lib/tablib copying tablib/core.py -> build/lib/tablib creating build/lib/tablib/formats copying tablib/formats/__init__.py -> build/lib/tablib/formats copying tablib/formats/_ods.py -> build/lib/tablib/formats copying tablib/formats/_xls.py -> build/lib/tablib/formats copying tablib/formats/_tsv.py -> build/lib/tablib/formats copying tablib/formats/_json.py -> build/lib/tablib/formats copying tablib/formats/_yaml.py -> build/lib/tablib/formats copying tablib/formats/_csv.py -> build/lib/tablib/formats copying tablib/formats/_html.py -> build/lib/tablib/formats copying tablib/formats/_xlsx.py -> build/lib/tablib/formats creating build/lib/tablib/packages copying tablib/packages/__init__.py -> build/lib/tablib/packages copying tablib/packages/markup3.py -> build/lib/tablib/packages copying tablib/packages/ordereddict.py -> build/lib/tablib/packages copying tablib/packages/markup.py -> build/lib/tablib/packages creating build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/__init__.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/ExcelFormula.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/Formatting.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/Worksheet.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/Row.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/ExcelFormulaLexer.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/antlr.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/Style.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/ExcelMagic.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/Bitmap.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/CompoundDoc.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/BIFFRecords.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/Workbook.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/Cell.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/ExcelFormulaParser.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/Column.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/UnicodeUtils.py -> build/lib/tablib/packages/xlwt copying tablib/packages/xlwt/Utils.py -> build/lib/tablib/packages/xlwt creating build/lib/tablib/packages/xlrd copying tablib/packages/xlrd/xldate.py -> build/lib/tablib/packages/xlrd copying tablib/packages/xlrd/__init__.py -> build/lib/tablib/packages/xlrd copying tablib/packages/xlrd/compdoc.py -> build/lib/tablib/packages/xlrd copying tablib/packages/xlrd/biffh.py -> build/lib/tablib/packages/xlrd copying tablib/packages/xlrd/licences.py -> build/lib/tablib/packages/xlrd copying tablib/packages/xlrd/formula.py -> build/lib/tablib/packages/xlrd copying tablib/packages/xlrd/formatting.py -> build/lib/tablib/packages/xlrd copying tablib/packages/xlrd/timemachine.py -> build/lib/tablib/packages/xlrd copying tablib/packages/xlrd/sheet.py -> build/lib/tablib/packages/xlrd creating build/lib/tablib/packages/omnijson copying tablib/packages/omnijson/__init__.py -> build/lib/tablib/packages/omnijson copying tablib/packages/omnijson/core.py -> build/lib/tablib/packages/omnijson creating build/lib/tablib/packages/odf copying tablib/packages/odf/__init__.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/element.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/dr3d.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/chart.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/meta.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/config.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/namespaces.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/odf2moinmoin.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/xforms.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/style.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/presentation.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/office.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/text.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/load.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/userfield.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/number.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/opendocument.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/grammar.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/table.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/teletype.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/elementtypes.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/odfmanifest.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/attrconverters.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/form.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/anim.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/thumbnail.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/math.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/dc.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/script.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/manifest.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/svg.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/odf2xhtml.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/easyliststyle.py -> build/lib/tablib/packages/odf copying tablib/packages/odf/draw.py -> build/lib/tablib/packages/odf creating build/lib/tablib/packages/openpyxl copying tablib/packages/openpyxl/__init__.py -> build/lib/tablib/packages/openpyxl copying tablib/packages/openpyxl/drawing.py -> build/lib/tablib/packages/openpyxl copying tablib/packages/openpyxl/chart.py -> build/lib/tablib/packages/openpyxl copying tablib/packages/openpyxl/style.py -> build/lib/tablib/packages/openpyxl copying tablib/packages/openpyxl/worksheet.py -> build/lib/tablib/packages/openpyxl copying tablib/packages/openpyxl/workbook.py -> build/lib/tablib/packages/openpyxl copying tablib/packages/openpyxl/namedrange.py -> build/lib/tablib/packages/openpyxl copying tablib/packages/openpyxl/cell.py -> build/lib/tablib/packages/openpyxl creating build/lib/tablib/packages/openpyxl/shared copying tablib/packages/openpyxl/shared/__init__.py -> build/lib/tablib/packages/openpyxl/shared copying tablib/packages/openpyxl/shared/ooxml.py -> build/lib/tablib/packages/openpyxl/shared copying tablib/packages/openpyxl/shared/xmltools.py -> build/lib/tablib/packages/openpyxl/shared copying tablib/packages/openpyxl/shared/units.py -> build/lib/tablib/packages/openpyxl/shared copying tablib/packages/openpyxl/shared/password_hasher.py -> build/lib/tablib/packages/openpyxl/shared copying tablib/packages/openpyxl/shared/exc.py -> build/lib/tablib/packages/openpyxl/shared copying tablib/packages/openpyxl/shared/date_time.py -> build/lib/tablib/packages/openpyxl/shared creating build/lib/tablib/packages/openpyxl/reader copying tablib/packages/openpyxl/reader/__init__.py -> build/lib/tablib/packages/openpyxl/reader copying tablib/packages/openpyxl/reader/style.py -> build/lib/tablib/packages/openpyxl/reader copying tablib/packages/openpyxl/reader/worksheet.py -> build/lib/tablib/packages/openpyxl/reader copying tablib/packages/openpyxl/reader/workbook.py -> build/lib/tablib/packages/openpyxl/reader copying tablib/packages/openpyxl/reader/iter_worksheet.py -> build/lib/tablib/packages/openpyxl/reader copying tablib/packages/openpyxl/reader/excel.py -> build/lib/tablib/packages/openpyxl/reader copying tablib/packages/openpyxl/reader/strings.py -> build/lib/tablib/packages/openpyxl/reader creating build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/__init__.py -> build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/worksheet.py -> build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/drawings.py -> build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/workbook.py -> build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/dump_worksheet.py -> build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/theme.py -> build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/styles.py -> build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/charts.py -> build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/excel.py -> build/lib/tablib/packages/openpyxl/writer copying tablib/packages/openpyxl/writer/strings.py -> build/lib/tablib/packages/openpyxl/writer creating build/lib/tablib/packages/yaml copying tablib/packages/yaml/__init__.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/representer.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/parser.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/scanner.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/tokens.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/error.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/dumper.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/resolver.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/composer.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/reader.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/nodes.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/events.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/emitter.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/cyaml.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/loader.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/constructor.py -> build/lib/tablib/packages/yaml copying tablib/packages/yaml/serializer.py -> build/lib/tablib/packages/yaml creating build/lib/tablib/packages/unicodecsv copying tablib/packages/unicodecsv/__init__.py -> build/lib/tablib/packages/unicodecsv + pushd /builddir/build/BUILD/python3-python-tablib-0.10.0-2.fc24 ~/build/BUILD/python3-python-tablib-0.10.0-2.fc24 ~/build/BUILD/tablib-0.10.0 + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/tablib copying tablib/__init__.py -> build/lib/tablib copying tablib/compat.py -> build/lib/tablib copying tablib/core.py -> build/lib/tablib creating build/lib/tablib/formats copying tablib/formats/__init__.py -> build/lib/tablib/formats copying tablib/formats/_ods.py -> build/lib/tablib/formats copying tablib/formats/_xls.py -> build/lib/tablib/formats copying tablib/formats/_tsv.py -> build/lib/tablib/formats copying tablib/formats/_json.py -> build/lib/tablib/formats copying tablib/formats/_yaml.py -> build/lib/tablib/formats copying tablib/formats/_csv.py -> build/lib/tablib/formats copying tablib/formats/_html.py -> build/lib/tablib/formats copying tablib/formats/_xlsx.py -> build/lib/tablib/formats creating build/lib/tablib/packages copying tablib/packages/__init__.py -> build/lib/tablib/packages copying tablib/packages/markup3.py -> build/lib/tablib/packages copying tablib/packages/ordereddict.py -> build/lib/tablib/packages copying tablib/packages/markup.py -> build/lib/tablib/packages creating build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/__init__.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/ExcelFormula.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/Formatting.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/Worksheet.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/Row.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/ExcelFormulaLexer.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/antlr.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/Style.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/ExcelMagic.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/Bitmap.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/CompoundDoc.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/BIFFRecords.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/Workbook.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/Cell.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/ExcelFormulaParser.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/Column.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/UnicodeUtils.py -> build/lib/tablib/packages/xlwt3 copying tablib/packages/xlwt3/Utils.py -> build/lib/tablib/packages/xlwt3 creating build/lib/tablib/packages/xlrd3 copying tablib/packages/xlrd3/xldate.py -> build/lib/tablib/packages/xlrd3 copying tablib/packages/xlrd3/__init__.py -> build/lib/tablib/packages/xlrd3 copying tablib/packages/xlrd3/xfcell.py -> build/lib/tablib/packages/xlrd3 copying tablib/packages/xlrd3/compdoc.py -> build/lib/tablib/packages/xlrd3 copying tablib/packages/xlrd3/xfconst.py -> build/lib/tablib/packages/xlrd3 copying tablib/packages/xlrd3/biffh.py -> build/lib/tablib/packages/xlrd3 copying tablib/packages/xlrd3/formula.py -> build/lib/tablib/packages/xlrd3 copying tablib/packages/xlrd3/formatting.py -> build/lib/tablib/packages/xlrd3 copying tablib/packages/xlrd3/sheet.py -> build/lib/tablib/packages/xlrd3 creating build/lib/tablib/packages/omnijson copying tablib/packages/omnijson/__init__.py -> build/lib/tablib/packages/omnijson copying tablib/packages/omnijson/core.py -> build/lib/tablib/packages/omnijson creating build/lib/tablib/packages/odf3 copying tablib/packages/odf3/__init__.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/element.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/dr3d.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/chart.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/meta.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/config.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/namespaces.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/odf2moinmoin.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/xforms.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/style.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/presentation.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/office.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/text.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/load.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/userfield.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/number.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/opendocument.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/grammar.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/table.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/teletype.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/elementtypes.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/odfmanifest.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/attrconverters.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/form.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/anim.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/thumbnail.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/math.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/dc.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/script.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/manifest.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/svg.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/odf2xhtml.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/easyliststyle.py -> build/lib/tablib/packages/odf3 copying tablib/packages/odf3/draw.py -> build/lib/tablib/packages/odf3 creating build/lib/tablib/packages/openpyxl3 copying tablib/packages/openpyxl3/__init__.py -> build/lib/tablib/packages/openpyxl3 copying tablib/packages/openpyxl3/drawing.py -> build/lib/tablib/packages/openpyxl3 copying tablib/packages/openpyxl3/chart.py -> build/lib/tablib/packages/openpyxl3 copying tablib/packages/openpyxl3/style.py -> build/lib/tablib/packages/openpyxl3 copying tablib/packages/openpyxl3/worksheet.py -> build/lib/tablib/packages/openpyxl3 copying tablib/packages/openpyxl3/workbook.py -> build/lib/tablib/packages/openpyxl3 copying tablib/packages/openpyxl3/namedrange.py -> build/lib/tablib/packages/openpyxl3 copying tablib/packages/openpyxl3/cell.py -> build/lib/tablib/packages/openpyxl3 creating build/lib/tablib/packages/openpyxl3/shared copying tablib/packages/openpyxl3/shared/__init__.py -> build/lib/tablib/packages/openpyxl3/shared copying tablib/packages/openpyxl3/shared/ooxml.py -> build/lib/tablib/packages/openpyxl3/shared copying tablib/packages/openpyxl3/shared/xmltools.py -> build/lib/tablib/packages/openpyxl3/shared copying tablib/packages/openpyxl3/shared/units.py -> build/lib/tablib/packages/openpyxl3/shared copying tablib/packages/openpyxl3/shared/password_hasher.py -> build/lib/tablib/packages/openpyxl3/shared copying tablib/packages/openpyxl3/shared/exc.py -> build/lib/tablib/packages/openpyxl3/shared copying tablib/packages/openpyxl3/shared/date_time.py -> build/lib/tablib/packages/openpyxl3/shared creating build/lib/tablib/packages/openpyxl3/reader copying tablib/packages/openpyxl3/reader/__init__.py -> build/lib/tablib/packages/openpyxl3/reader copying tablib/packages/openpyxl3/reader/style.py -> build/lib/tablib/packages/openpyxl3/reader copying tablib/packages/openpyxl3/reader/worksheet.py -> build/lib/tablib/packages/openpyxl3/reader copying tablib/packages/openpyxl3/reader/workbook.py -> build/lib/tablib/packages/openpyxl3/reader copying tablib/packages/openpyxl3/reader/iter_worksheet.py -> build/lib/tablib/packages/openpyxl3/reader copying tablib/packages/openpyxl3/reader/excel.py -> build/lib/tablib/packages/openpyxl3/reader copying tablib/packages/openpyxl3/reader/strings.py -> build/lib/tablib/packages/openpyxl3/reader creating build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/__init__.py -> build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/worksheet.py -> build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/drawings.py -> build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/workbook.py -> build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/dump_worksheet.py -> build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/theme.py -> build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/styles.py -> build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/charts.py -> build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/excel.py -> build/lib/tablib/packages/openpyxl3/writer copying tablib/packages/openpyxl3/writer/strings.py -> build/lib/tablib/packages/openpyxl3/writer creating build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/__init__.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/representer.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/parser.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/scanner.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/tokens.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/error.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/dumper.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/resolver.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/composer.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/reader.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/nodes.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/events.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/emitter.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/cyaml.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/loader.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/constructor.py -> build/lib/tablib/packages/yaml3 copying tablib/packages/yaml3/serializer.py -> build/lib/tablib/packages/yaml3 creating build/lib/tablib/packages/unicodecsv copying tablib/packages/unicodecsv/__init__.py -> build/lib/tablib/packages/unicodecsv + popd ~/build/BUILD/tablib-0.10.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.90aiSK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch ++ dirname /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch ~/build/BUILD/python3-python-tablib-0.10.0-2.fc24 ~/build/BUILD/tablib-0.10.0 + cd tablib-0.10.0 + pushd /builddir/build/BUILD/python3-python-tablib-0.10.0-2.fc24 + /usr/bin/python3 setup.py install -O1 --skip-build --root=/builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5 creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib copying build/lib/tablib/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/formats/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/formats/_ods.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/formats/_xls.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/formats/_tsv.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/formats/_json.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/formats/_yaml.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/formats/_csv.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/formats/_html.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/formats/_xlsx.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats copying build/lib/tablib/compat.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages copying build/lib/tablib/packages/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages copying build/lib/tablib/packages/markup3.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages copying build/lib/tablib/packages/ordereddict.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/ExcelFormula.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/Formatting.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/Worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/Row.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/ExcelFormulaLexer.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/antlr.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/Style.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/ExcelMagic.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/Bitmap.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/CompoundDoc.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/BIFFRecords.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/Workbook.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/Cell.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/ExcelFormulaParser.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/Column.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/UnicodeUtils.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 copying build/lib/tablib/packages/xlwt3/Utils.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3 creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/unicodecsv copying build/lib/tablib/packages/unicodecsv/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/unicodecsv creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 copying build/lib/tablib/packages/xlrd3/xldate.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 copying build/lib/tablib/packages/xlrd3/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 copying build/lib/tablib/packages/xlrd3/xfcell.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 copying build/lib/tablib/packages/xlrd3/compdoc.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 copying build/lib/tablib/packages/xlrd3/xfconst.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 copying build/lib/tablib/packages/xlrd3/biffh.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 copying build/lib/tablib/packages/xlrd3/formula.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 copying build/lib/tablib/packages/xlrd3/formatting.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 copying build/lib/tablib/packages/xlrd3/sheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3 creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/omnijson copying build/lib/tablib/packages/omnijson/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/omnijson copying build/lib/tablib/packages/omnijson/core.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/omnijson creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3 copying build/lib/tablib/packages/openpyxl3/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3 creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared copying build/lib/tablib/packages/openpyxl3/shared/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared copying build/lib/tablib/packages/openpyxl3/shared/ooxml.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared copying build/lib/tablib/packages/openpyxl3/shared/xmltools.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared copying build/lib/tablib/packages/openpyxl3/shared/units.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared copying build/lib/tablib/packages/openpyxl3/shared/password_hasher.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared copying build/lib/tablib/packages/openpyxl3/shared/exc.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared copying build/lib/tablib/packages/openpyxl3/shared/date_time.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared copying build/lib/tablib/packages/openpyxl3/drawing.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3 copying build/lib/tablib/packages/openpyxl3/chart.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3 copying build/lib/tablib/packages/openpyxl3/style.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3 copying build/lib/tablib/packages/openpyxl3/worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3 copying build/lib/tablib/packages/openpyxl3/workbook.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3 creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/drawings.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/workbook.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/dump_worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/theme.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/styles.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/charts.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/excel.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/writer/strings.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer copying build/lib/tablib/packages/openpyxl3/namedrange.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3 creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader copying build/lib/tablib/packages/openpyxl3/reader/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader copying build/lib/tablib/packages/openpyxl3/reader/style.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader copying build/lib/tablib/packages/openpyxl3/reader/worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader copying build/lib/tablib/packages/openpyxl3/reader/workbook.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader copying build/lib/tablib/packages/openpyxl3/reader/iter_worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader copying build/lib/tablib/packages/openpyxl3/reader/excel.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader copying build/lib/tablib/packages/openpyxl3/reader/strings.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader copying build/lib/tablib/packages/openpyxl3/cell.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3 creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/element.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/dr3d.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/chart.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/meta.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/config.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/namespaces.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/odf2moinmoin.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/xforms.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/style.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/presentation.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/office.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/text.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/load.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/userfield.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/number.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/opendocument.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/grammar.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/table.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/teletype.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/elementtypes.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/odfmanifest.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/attrconverters.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/form.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/anim.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/thumbnail.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/math.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/dc.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/script.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/manifest.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/svg.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/odf2xhtml.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/easyliststyle.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 copying build/lib/tablib/packages/odf3/draw.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3 creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/representer.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/parser.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/scanner.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/tokens.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/error.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/dumper.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/resolver.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/composer.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/reader.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/nodes.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/events.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/emitter.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/cyaml.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/loader.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/constructor.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/yaml3/serializer.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3 copying build/lib/tablib/packages/markup.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages copying build/lib/tablib/core.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats/_ods.py to _ods.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats/_xls.py to _xls.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats/_tsv.py to _tsv.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats/_json.py to _json.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats/_yaml.py to _yaml.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats/_csv.py to _csv.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats/_html.py to _html.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/formats/_xlsx.py to _xlsx.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/compat.py to compat.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/markup3.py to markup3.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/ordereddict.py to ordereddict.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/ExcelFormula.py to ExcelFormula.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/Formatting.py to Formatting.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/Worksheet.py to Worksheet.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/Row.py to Row.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/ExcelFormulaLexer.py to ExcelFormulaLexer.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/antlr.py to antlr.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/Style.py to Style.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/ExcelMagic.py to ExcelMagic.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/Bitmap.py to Bitmap.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/CompoundDoc.py to CompoundDoc.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/BIFFRecords.py to BIFFRecords.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/Workbook.py to Workbook.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/Cell.py to Cell.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/ExcelFormulaParser.py to ExcelFormulaParser.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/Column.py to Column.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/UnicodeUtils.py to UnicodeUtils.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlwt3/Utils.py to Utils.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/unicodecsv/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3/xldate.py to xldate.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3/xfcell.py to xfcell.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3/compdoc.py to compdoc.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3/xfconst.py to xfconst.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3/biffh.py to biffh.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3/formula.py to formula.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3/formatting.py to formatting.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/xlrd3/sheet.py to sheet.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/omnijson/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/omnijson/core.py to core.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared/ooxml.py to ooxml.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared/xmltools.py to xmltools.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared/units.py to units.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared/password_hasher.py to password_hasher.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared/exc.py to exc.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/shared/date_time.py to date_time.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/drawing.py to drawing.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/chart.py to chart.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/style.py to style.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/worksheet.py to worksheet.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/workbook.py to workbook.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/worksheet.py to worksheet.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/drawings.py to drawings.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/workbook.py to workbook.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/dump_worksheet.py to dump_worksheet.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/theme.py to theme.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/styles.py to styles.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/charts.py to charts.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/excel.py to excel.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/writer/strings.py to strings.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/namedrange.py to namedrange.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader/style.py to style.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader/worksheet.py to worksheet.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader/workbook.py to workbook.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader/iter_worksheet.py to iter_worksheet.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader/excel.py to excel.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/reader/strings.py to strings.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/openpyxl3/cell.py to cell.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/element.py to element.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/dr3d.py to dr3d.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/chart.py to chart.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/meta.py to meta.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/config.py to config.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/namespaces.py to namespaces.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/odf2moinmoin.py to odf2moinmoin.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/xforms.py to xforms.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/style.py to style.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/presentation.py to presentation.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/office.py to office.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/text.py to text.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/load.py to load.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/userfield.py to userfield.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/number.py to number.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/opendocument.py to opendocument.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/grammar.py to grammar.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/table.py to table.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/teletype.py to teletype.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/elementtypes.py to elementtypes.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/odfmanifest.py to odfmanifest.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/attrconverters.py to attrconverters.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/form.py to form.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/anim.py to anim.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/thumbnail.py to thumbnail.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/math.py to math.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/dc.py to dc.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/script.py to script.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/manifest.py to manifest.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/svg.py to svg.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/odf2xhtml.py to odf2xhtml.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/easyliststyle.py to easyliststyle.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/odf3/draw.py to draw.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/representer.py to representer.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/parser.py to parser.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/scanner.py to scanner.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/tokens.py to tokens.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/error.py to error.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/dumper.py to dumper.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/resolver.py to resolver.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/composer.py to composer.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/reader.py to reader.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/nodes.py to nodes.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/events.py to events.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/emitter.py to emitter.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/cyaml.py to cyaml.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/loader.py to loader.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/constructor.py to constructor.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/yaml3/serializer.py to serializer.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/packages/markup.py to markup.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib/core.py to core.cpython-35.pyc writing byte-compilation script '/tmp/tmpdi6aoa4j.py' /usr/bin/python3 -O /tmp/tmpdi6aoa4j.py removing /tmp/tmpdi6aoa4j.py running install_egg_info running egg_info writing tablib.egg-info/PKG-INFO writing top-level names to tablib.egg-info/top_level.txt writing dependency_links to tablib.egg-info/dependency_links.txt reading manifest file 'tablib.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'tablib.egg-info/SOURCES.txt' Copying tablib.egg-info to /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5/site-packages/tablib-0.10.0-py3.5.egg-info running install_scripts ~/build/BUILD/tablib-0.10.0 + popd + /usr/bin/python2 setup.py install -O1 --skip-build --root=/builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib copying build/lib/tablib/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/formats/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/formats/_ods.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/formats/_xls.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/formats/_tsv.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/formats/_json.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/formats/_yaml.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/formats/_csv.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/formats/_html.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/formats/_xlsx.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats copying build/lib/tablib/compat.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages copying build/lib/tablib/packages/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages copying build/lib/tablib/packages/markup3.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages copying build/lib/tablib/packages/ordereddict.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd copying build/lib/tablib/packages/xlrd/xldate.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd copying build/lib/tablib/packages/xlrd/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd copying build/lib/tablib/packages/xlrd/compdoc.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd copying build/lib/tablib/packages/xlrd/biffh.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd copying build/lib/tablib/packages/xlrd/licences.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd copying build/lib/tablib/packages/xlrd/formula.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd copying build/lib/tablib/packages/xlrd/formatting.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd copying build/lib/tablib/packages/xlrd/timemachine.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd copying build/lib/tablib/packages/xlrd/sheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl copying build/lib/tablib/packages/openpyxl/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared copying build/lib/tablib/packages/openpyxl/shared/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared copying build/lib/tablib/packages/openpyxl/shared/ooxml.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared copying build/lib/tablib/packages/openpyxl/shared/xmltools.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared copying build/lib/tablib/packages/openpyxl/shared/units.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared copying build/lib/tablib/packages/openpyxl/shared/password_hasher.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared copying build/lib/tablib/packages/openpyxl/shared/exc.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared copying build/lib/tablib/packages/openpyxl/shared/date_time.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared copying build/lib/tablib/packages/openpyxl/drawing.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl copying build/lib/tablib/packages/openpyxl/chart.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl copying build/lib/tablib/packages/openpyxl/style.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl copying build/lib/tablib/packages/openpyxl/worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl copying build/lib/tablib/packages/openpyxl/workbook.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/drawings.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/workbook.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/dump_worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/theme.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/styles.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/charts.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/excel.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/writer/strings.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer copying build/lib/tablib/packages/openpyxl/namedrange.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader copying build/lib/tablib/packages/openpyxl/reader/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader copying build/lib/tablib/packages/openpyxl/reader/style.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader copying build/lib/tablib/packages/openpyxl/reader/worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader copying build/lib/tablib/packages/openpyxl/reader/workbook.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader copying build/lib/tablib/packages/openpyxl/reader/iter_worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader copying build/lib/tablib/packages/openpyxl/reader/excel.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader copying build/lib/tablib/packages/openpyxl/reader/strings.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader copying build/lib/tablib/packages/openpyxl/cell.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/element.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/dr3d.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/chart.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/meta.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/config.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/namespaces.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/odf2moinmoin.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/xforms.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/style.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/presentation.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/office.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/text.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/load.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/userfield.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/number.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/opendocument.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/grammar.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/table.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/teletype.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/elementtypes.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/odfmanifest.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/attrconverters.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/form.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/anim.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/thumbnail.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/math.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/dc.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/script.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/manifest.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/svg.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/odf2xhtml.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/easyliststyle.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf copying build/lib/tablib/packages/odf/draw.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/unicodecsv copying build/lib/tablib/packages/unicodecsv/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/unicodecsv creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/omnijson copying build/lib/tablib/packages/omnijson/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/omnijson copying build/lib/tablib/packages/omnijson/core.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/omnijson creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/representer.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/parser.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/scanner.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/tokens.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/error.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/dumper.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/resolver.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/composer.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/reader.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/nodes.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/events.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/emitter.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/cyaml.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/loader.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/constructor.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml copying build/lib/tablib/packages/yaml/serializer.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml creating /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/__init__.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/ExcelFormula.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/Formatting.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/Worksheet.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/Row.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/ExcelFormulaLexer.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/antlr.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/Style.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/ExcelMagic.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/Bitmap.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/CompoundDoc.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/BIFFRecords.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/Workbook.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/Cell.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/ExcelFormulaParser.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/Column.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/UnicodeUtils.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/xlwt/Utils.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt copying build/lib/tablib/packages/markup.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages copying build/lib/tablib/core.py -> /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats/_ods.py to _ods.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats/_xls.py to _xls.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats/_tsv.py to _tsv.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats/_json.py to _json.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats/_yaml.py to _yaml.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats/_csv.py to _csv.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats/_html.py to _html.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/formats/_xlsx.py to _xlsx.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/compat.py to compat.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/markup3.py to markup3.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/ordereddict.py to ordereddict.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd/xldate.py to xldate.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd/compdoc.py to compdoc.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd/biffh.py to biffh.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd/licences.py to licences.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd/formula.py to formula.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd/formatting.py to formatting.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd/timemachine.py to timemachine.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlrd/sheet.py to sheet.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared/ooxml.py to ooxml.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared/xmltools.py to xmltools.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared/units.py to units.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared/password_hasher.py to password_hasher.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared/exc.py to exc.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/shared/date_time.py to date_time.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/drawing.py to drawing.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/chart.py to chart.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/style.py to style.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/worksheet.py to worksheet.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/workbook.py to workbook.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/worksheet.py to worksheet.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/drawings.py to drawings.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/workbook.py to workbook.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/dump_worksheet.py to dump_worksheet.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/theme.py to theme.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/styles.py to styles.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/charts.py to charts.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/excel.py to excel.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/writer/strings.py to strings.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/namedrange.py to namedrange.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader/style.py to style.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader/worksheet.py to worksheet.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader/workbook.py to workbook.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader/iter_worksheet.py to iter_worksheet.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader/excel.py to excel.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/reader/strings.py to strings.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/openpyxl/cell.py to cell.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/element.py to element.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/dr3d.py to dr3d.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/chart.py to chart.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/meta.py to meta.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/namespaces.py to namespaces.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/odf2moinmoin.py to odf2moinmoin.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/xforms.py to xforms.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/style.py to style.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/presentation.py to presentation.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/office.py to office.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/text.py to text.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/load.py to load.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/userfield.py to userfield.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/number.py to number.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/opendocument.py to opendocument.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/grammar.py to grammar.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/table.py to table.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/teletype.py to teletype.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/elementtypes.py to elementtypes.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/odfmanifest.py to odfmanifest.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/attrconverters.py to attrconverters.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/form.py to form.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/anim.py to anim.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/thumbnail.py to thumbnail.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/math.py to math.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/dc.py to dc.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/script.py to script.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/manifest.py to manifest.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/svg.py to svg.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/odf2xhtml.py to odf2xhtml.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/easyliststyle.py to easyliststyle.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/odf/draw.py to draw.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/unicodecsv/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/omnijson/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/omnijson/core.py to core.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/representer.py to representer.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/parser.py to parser.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/scanner.py to scanner.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/tokens.py to tokens.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/error.py to error.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/dumper.py to dumper.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/resolver.py to resolver.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/composer.py to composer.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/reader.py to reader.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/nodes.py to nodes.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/events.py to events.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/emitter.py to emitter.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/cyaml.py to cyaml.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/loader.py to loader.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/constructor.py to constructor.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/yaml/serializer.py to serializer.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/ExcelFormula.py to ExcelFormula.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/Formatting.py to Formatting.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/Worksheet.py to Worksheet.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/Row.py to Row.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/ExcelFormulaLexer.py to ExcelFormulaLexer.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/antlr.py to antlr.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/Style.py to Style.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/ExcelMagic.py to ExcelMagic.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/Bitmap.py to Bitmap.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/CompoundDoc.py to CompoundDoc.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/BIFFRecords.py to BIFFRecords.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/Workbook.py to Workbook.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/Cell.py to Cell.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/ExcelFormulaParser.py to ExcelFormulaParser.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/Column.py to Column.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/UnicodeUtils.py to UnicodeUtils.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/xlwt/Utils.py to Utils.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/packages/markup.py to markup.pyc byte-compiling /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib/core.py to core.pyc writing byte-compilation script '/tmp/tmpbH_DCp.py' /usr/bin/python2 -O /tmp/tmpbH_DCp.py removing /tmp/tmpbH_DCp.py running install_egg_info running egg_info writing tablib.egg-info/PKG-INFO writing top-level names to tablib.egg-info/top_level.txt writing dependency_links to tablib.egg-info/dependency_links.txt reading manifest file 'tablib.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'tablib.egg-info/SOURCES.txt' Copying tablib.egg-info to /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7/site-packages/tablib-0.10.0-py2.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/tablib-0.10.0 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/lib/python3.5 using /usr/bin/python3.5 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-tablib-0.10.0-2.fc24.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PeAZjM + umask 022 + cd /builddir/build/BUILD + cd tablib-0.10.0 + DOCDIR=/builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/doc/python-tablib + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/doc/python-tablib + cp -pr README.rst /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/doc/python-tablib + cp -pr AUTHORS /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/doc/python-tablib + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SebZMN + umask 022 + cd /builddir/build/BUILD + cd tablib-0.10.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/licenses/python-tablib + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/licenses/python-tablib + cp -pr LICENSE /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/licenses/python-tablib + exit 0 Provides: python-tablib = 0.10.0-2.fc24 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Processing files: python3-tablib-0.10.0-2.fc24.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fdrEzV + umask 022 + cd /builddir/build/BUILD + cd tablib-0.10.0 + DOCDIR=/builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/doc/python3-tablib + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/doc/python3-tablib + cp -pr README.rst /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/doc/python3-tablib + cp -pr AUTHORS /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch/usr/share/doc/python3-tablib + exit 0 Provides: python3-tablib = 0.10.0-2.fc24 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch Wrote: /builddir/build/RPMS/python-tablib-0.10.0-2.fc24.noarch.rpm Wrote: /builddir/build/RPMS/python3-tablib-0.10.0-2.fc24.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0AMikc + umask 022 + cd /builddir/build/BUILD + cd tablib-0.10.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-tablib-0.10.0-2.fc24.noarch + exit 0 Child return code was: 0 LEAVE do -->