writerfilter: drop support for simple list types without constants

In other words, from now it's a must to map ST_Foo simple types to
NS_ooxml::LN_something constants, and raw integers (which are hard to
grep and hard to track down where are they used) are no longer an
option.

Change-Id: I968b27bca3f64f6f4a382b87e2dbc499a3132ea2
This commit is contained in:
Miklos Vajna
2014-10-11 09:37:45 +02:00
parent ab58a180bd
commit f0e7d9eb64

View File

@@ -200,11 +200,8 @@ def factoryAttributeToResourceMap(nsNode):
def idToLabel(idName):
if ":" in idName:
ns, ln = idName.split(':')
return "NS_%s::LN_%s" % (ns, ln)
else:
return idName
ns, ln = idName.split(':')
return "NS_%s::LN_%s" % (ns, ln)
def appendValueData(values, name, value):