Xorn
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
xmlformat.py
Go to the documentation of this file.
1 # Copyright (C) 2013-2016 Roland Lutz
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 
17 ## \namespace xorn.geda.xmlformat
18 ## Common definitions for XML file format.
19 
20 NAMESPACE = 'https://hedmen.org/xorn/schematic/'
21 
22 ENUM_BOOLEAN = ['no', 'yes']
23 ENUM_CAPSTYLE = ['none', 'square', 'round']
24 ENUM_DASHSTYLE = ['solid', 'dotted', 'dashed', 'center', 'phantom']
25 ENUM_FILLTYPE = ['hollow', 'fill', 'mesh', 'hatch', 'void']
26 ENUM_SHOW_NAME_VALUE = ['name-value', 'value', 'name']
27 ENUM_ALIGNMENT = ['lower-left', 'middle-left', 'upper-left',
28  'lower-middle', 'middle-middle', 'upper-middle',
29  'lower-right', 'middle-right', 'upper-right']
30 ENUM_NETTYPE = ['normal', 'bus']
31 ENUM_COLOR = ['background', 'pin', 'net-endpoint', 'graphic', 'net',
32  'attribute', 'logic-bubble', 'dots-grid', 'detached-attribute',
33  'text', 'bus', 'select', 'boundingbox', 'zoom-box', 'stroke',
34  'lock', 'output-background',
35  'freestyle1', 'freestyle2', 'freestyle3', 'freestyle4',
36  'junction', 'mesh-grid-major', 'mesh-grid-minor']