Using Enum.erations, aka constant groups in API, is possible with Basic. Enumerated values must be defined as 'Long'
Extending enumerated values to dates, numbers, text or any data type is also possible using Basic.
Enum_en.odt demo file can be found in the french forum ( too big to fit in here )
[Basic] Enum.erations or Constant groups
Forum rules
For sharing working examples of macros / scripts. These can be in any script language supported by OpenOffice.org [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This section is not for asking questions about writing your own macros.
For sharing working examples of macros / scripts. These can be in any script language supported by OpenOffice.org [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This section is not for asking questions about writing your own macros.
- LibreOfficiant
- Posts: 12
- Joined: Wed Jan 25, 2017 9:36 pm
[Basic] Enum.erations or Constant groups
libO 5.4 64bit, (PortableApps: libO 6.0, aOO 4.1, OOo 3.2 32bit) on Win7/Win10 x64 | aOO 4.1.x & libO 5.4.x on Mint 18 Sarah & OSX 10.9 Mavericks x64
Python toolbox: Geany, PyCharm and APSO, MRI extensions..
https://wiki.documentfoundation.org/Macros/Design_Guide
Python toolbox: Geany, PyCharm and APSO, MRI extensions..
https://wiki.documentfoundation.org/Macros/Design_Guide