Kaydet (Commit) 7867b976 authored tarafından Eike Rathke's avatar Eike Rathke

TableRef: add item specifiers and opcodes

Change-Id: I043db29e3e1023566682b1df63a1d663dd432fee
üst 53488caa
......@@ -30,6 +30,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF
String SC_OPCODE_CHOOSE { Text = "CHOOSE" ; };
String SC_OPCODE_OPEN { Text = "(" ; };
String SC_OPCODE_CLOSE { Text = ")" ; };
// SC_OPCODE_TABLE_REF_... not supported in ODFF
String SC_OPCODE_ARRAY_OPEN { Text = "{" ; };
String SC_OPCODE_ARRAY_CLOSE { Text = "}" ; };
String SC_OPCODE_ARRAY_ROW_SEP { Text = "|" ; };
......@@ -441,6 +442,11 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML
String SC_OPCODE_CLOSE { Text = ")" ; };
String SC_OPCODE_TABLE_REF_OPEN { Text = "[" ; };
String SC_OPCODE_TABLE_REF_CLOSE { Text = "]" ; };
String SC_OPCODE_TABLE_REF_ITEM_ALL { Text = "#All" ; };
String SC_OPCODE_TABLE_REF_ITEM_HEADERS { Text = "#Headers" ; };
String SC_OPCODE_TABLE_REF_ITEM_DATA { Text = "#Data" ; };
String SC_OPCODE_TABLE_REF_ITEM_TOTALS { Text = "#Totals" ; };
String SC_OPCODE_TABLE_REF_ITEM_THIS_ROW { Text = "#This Row" ; };
String SC_OPCODE_ARRAY_OPEN { Text = "{" ; };
String SC_OPCODE_ARRAY_CLOSE { Text = "}" ; };
String SC_OPCODE_ARRAY_ROW_SEP { Text = ";" ; };
......@@ -854,6 +860,11 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH
String SC_OPCODE_CLOSE { Text = ")" ; };
String SC_OPCODE_TABLE_REF_OPEN { Text = "[" ; };
String SC_OPCODE_TABLE_REF_CLOSE { Text = "]" ; };
String SC_OPCODE_TABLE_REF_ITEM_ALL { Text = "#All" ; };
String SC_OPCODE_TABLE_REF_ITEM_HEADERS { Text = "#Headers" ; };
String SC_OPCODE_TABLE_REF_ITEM_DATA { Text = "#Data" ; };
String SC_OPCODE_TABLE_REF_ITEM_TOTALS { Text = "#Totals" ; };
String SC_OPCODE_TABLE_REF_ITEM_THIS_ROW { Text = "#This Row" ; };
String SC_OPCODE_ARRAY_OPEN { Text = "{" ; };
String SC_OPCODE_ARRAY_CLOSE { Text = "}" ; };
String SC_OPCODE_ARRAY_ROW_SEP { Text = "|" ; };
......@@ -1276,6 +1287,26 @@ Resource RID_STRLIST_FUNCTION_NAMES
String SC_OPCODE_CLOSE { Text = ")" ; };
String SC_OPCODE_TABLE_REF_OPEN { Text = "[" ; };
String SC_OPCODE_TABLE_REF_CLOSE { Text = "]" ; };
String SC_OPCODE_TABLE_REF_ITEM_ALL
{
Text [ en-US ] = "#All" ;
};
String SC_OPCODE_TABLE_REF_ITEM_HEADERS
{
Text [ en-US ] = "#Headers" ;
};
String SC_OPCODE_TABLE_REF_ITEM_DATA
{
Text [ en-US ] = "#Data" ;
};
String SC_OPCODE_TABLE_REF_ITEM_TOTALS
{
Text [ en-US ] = "#Totals" ;
};
String SC_OPCODE_TABLE_REF_ITEM_THIS_ROW
{
Text [ en-US ] = "#This Row" ;
};
String SC_OPCODE_ARRAY_OPEN { Text = "{" ; };
String SC_OPCODE_ARRAY_CLOSE { Text = "}" ; };
String SC_OPCODE_ARRAY_ROW_SEP { Text = "|" ; };
......
......@@ -53,8 +53,13 @@
#define SC_OPCODE_ARRAY_COL_SEP 27 /* some convs use sep != col_sep */
#define SC_OPCODE_TABLE_REF_OPEN 28
#define SC_OPCODE_TABLE_REF_CLOSE 29
#define SC_OPCODE_STOP_DIV 30
#define SC_OPCODE_SKIP 31 /* used to skip raw tokens during string compilation */
#define SC_OPCODE_TABLE_REF_ITEM_ALL 30
#define SC_OPCODE_TABLE_REF_ITEM_HEADERS 31
#define SC_OPCODE_TABLE_REF_ITEM_DATA 32
#define SC_OPCODE_TABLE_REF_ITEM_TOTALS 33
#define SC_OPCODE_TABLE_REF_ITEM_THIS_ROW 34
#define SC_OPCODE_STOP_DIV 35
#define SC_OPCODE_SKIP 36 /* used to skip raw tokens during string compilation */
/*** error constants #... ***/
#define SC_OPCODE_START_ERRORS 40
......
......@@ -53,6 +53,11 @@ enum OpCode : sal_uInt16
ocStringXML = SC_OPCODE_STRINGXML,
ocSpaces = SC_OPCODE_SPACES,
ocMatRef = SC_OPCODE_MAT_REF,
ocTableRefItemAll = SC_OPCODE_TABLE_REF_ITEM_ALL,
ocTableRefItemHeaders = SC_OPCODE_TABLE_REF_ITEM_HEADERS,
ocTableRefItemData = SC_OPCODE_TABLE_REF_ITEM_DATA,
ocTableRefItemTotals = SC_OPCODE_TABLE_REF_ITEM_TOTALS,
ocTableRefItemThisRow = SC_OPCODE_TABLE_REF_ITEM_THIS_ROW,
ocSkip = SC_OPCODE_SKIP,
// Access commands
ocDBArea = SC_OPCODE_DB_AREA,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment