Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
7867b976
Kaydet (Commit)
7867b976
authored
Mar 11, 2015
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
TableRef: add item specifiers and opcodes
Change-Id: I043db29e3e1023566682b1df63a1d663dd432fee
üst
53488caa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
2 deletions
+43
-2
core_resource.src
formula/source/core/resource/core_resource.src
+31
-0
compiler.hrc
include/formula/compiler.hrc
+7
-2
opcode.hxx
include/formula/opcode.hxx
+5
-0
No files found.
formula/source/core/resource/core_resource.src
Dosyayı görüntüle @
7867b976
...
...
@@ -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 = "|" ; };
...
...
include/formula/compiler.hrc
Dosyayı görüntüle @
7867b976
...
...
@@ -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
...
...
include/formula/opcode.hxx
Dosyayı görüntüle @
7867b976
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment