Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 18.9 KB
<?xml version="1.0" encoding="UTF-8"?>
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"><bgf:production><nonterminal>DateTimeType</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>year</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>month</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>day</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>hour</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>minute</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>second</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>VersionType</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>n</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>nn</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>StringValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>NumberValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>DateTimeTypeValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>BooleanValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>ErrorValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>StringValue</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>NumberValue</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>DateTimeTypeValue</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>DateTimeType</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>BooleanValue</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>ErrorValue</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>vt_data</selector><bgf:expression><nonterminal>Data</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>DocumentPropertiesCollection</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>dp_workbook</selector><bgf:expression><nonterminal>Workbook</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>title</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>subject</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>keywords</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>description</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>category</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>author</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>lastAuthor</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>manager</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>company</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>hyperlinkBase</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>revision</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>presentationFormat</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>guid</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>appName</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>version</selector><bgf:expression><nonterminal>VersionType</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>totalTime</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>lastPrinted</selector><bgf:expression><nonterminal>DateTimeType</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>created</selector><bgf:expression><nonterminal>DateTimeType</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>lastSaved</selector><bgf:expression><nonterminal>DateTimeType</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>pages</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>words</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>characters</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>charactersWithSpaces</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>bytes</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>lines</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>paragraphs</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>CustomDocumentPropertiesCollection</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>cdp_workbook</selector><bgf:expression><nonterminal>Workbook</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>customDocumentProperties</selector><bgf:expression><nonterminal>CustomDocumentProperty</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>CustomDocumentProperty</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>customDocumentProperty_cdpe</selector><bgf:expression><nonterminal>CustomDocumentPropertiesCollection</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>ValueType</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>SmartTagType</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>smartTagType_ste</selector><bgf:expression><nonterminal>SmartTagsCollection</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>namespaceuri</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>url</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>SmartTagsCollection</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>st_workbook</selector><bgf:expression><nonterminal>Workbook</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>st_cell</selector><bgf:expression><nonterminal>Cell</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>smartTagTypes</selector><bgf:expression><nonterminal>SmartTagType</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Workbook</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>wb_smartTags</selector><bgf:expression><nonterminal>SmartTagsCollection</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>wb_docProperties</selector><bgf:expression><nonterminal>DocumentPropertiesCollection</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>wb_customDocProperties</selector><bgf:expression><nonterminal>CustomDocumentPropertiesCollection</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>wb_worksheets</selector><bgf:expression><nonterminal>Worksheet</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Worksheet</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>ws_workbook</selector><bgf:expression><nonterminal>Workbook</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>ws_table</selector><bgf:expression><nonterminal>Table</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>StyledElement</nonterminal><bgf:expression><nonterminal>Table</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>StyledElement</nonterminal><bgf:expression><nonterminal>TableElement</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Table</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>t_worksheet</selector><bgf:expression><nonterminal>Worksheet</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>t_cols</selector><bgf:expression><nonterminal>Column</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>t_rows</selector><bgf:expression><nonterminal>Row</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>defaultColumnWidth</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>defaultRowHeight</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>expandedColumnCount</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>expandedRowCount</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>leftCell</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>topCell</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>fullColumns</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>fullRows</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>TableElement</nonterminal><bgf:expression><nonterminal>ColOrRowElement</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>TableElement</nonterminal><bgf:expression><nonterminal>Cell</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ColOrRowElement</nonterminal><bgf:expression><nonterminal>Column</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ColOrRowElement</nonterminal><bgf:expression><nonterminal>Row</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Column</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>c_table</selector><bgf:expression><nonterminal>Table</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>autoFitWidth</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>width</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Row</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>r_table</selector><bgf:expression><nonterminal>Table</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>r_cells</selector><bgf:expression><nonterminal>Cell</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>autoFitHeight</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>height</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Cell</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>c_row</selector><bgf:expression><nonterminal>Row</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>c_smartTags</selector><bgf:expression><nonterminal>SmartTagsCollection</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>arrayRange</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>formula</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>hRef</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>mergeAcross</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>mergeDown</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>c_data</selector><bgf:expression><nonterminal>Data</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>c_comment</selector><bgf:expression><nonterminal>Comment</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Comment</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>c_cell</selector><bgf:expression><nonterminal>Cell</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>com_data</selector><bgf:expression><nonterminal>Data</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>author</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>showAlways</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Data</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>d_cell</selector><bgf:expression><nonterminal>Cell</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>d_comment</selector><bgf:expression><nonterminal>Comment</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>ValueType</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Integer</nonterminal><bgf:expression><value>int</value></bgf:expression></bgf:production><bgf:production><nonterminal>String</nonterminal><bgf:expression><value>string</value></bgf:expression></bgf:production><bgf:production><nonterminal>Boolean</nonterminal><bgf:expression><choice><bgf:expression><terminal>true</terminal></bgf:expression><bgf:expression><terminal>false</terminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>