History log of /trunk/main/sc/source/ui/vba/vbaquerytable.cxx (Results 1 – 2 of 2)
Revision Date Author Comments
# 7a7771fb 02-Nov-2026 Pedro Giffuni <10236985+pgiffuni@users.noreply.github.com>

Merge pull request #515 from pgiffuni/trunk

VBA symphony branch updates
This brings the symphony-vba functional part of the branch.
It doesn't yet bring the testing framework as I haven't yet
evalua

Merge pull request #515 from pgiffuni/trunk

VBA symphony branch updates
This brings the symphony-vba functional part of the branch.
It doesn't yet bring the testing framework as I haven't yet
evaluated the effect on the build time. The testing framework
will be left for reference in the branch.

It is the result of merging parts of the IBM symphony contribution,
plus fixing tests suggested by a bunch of other frameworks, and
by evaluating the functionality required by several open source
VBA based applications.
It is not complete but it certainly covers a lot of functionality.
The main obstacle towards running most applications is now not
in VBA itself but rather on Excel or platform specific characteristics.

show more ...


# 80d08768 27-Sep-2026 Pedro Giffuni <pfg@apache.org>

Port Symphony VBA FileDialog, FileSearch, QueryTable, FormatCondition, Workbook.SaveAs, and Application enhancements

Port IBM Lotus Symphony VBA compatibility features into Apache OpenOffice's
Calc

Port Symphony VBA FileDialog, FileSearch, QueryTable, FormatCondition, Workbook.SaveAs, and Application enhancements

Port IBM Lotus Symphony VBA compatibility features into Apache OpenOffice's
Calc VBA compatibility layer:

New IDL interfaces (main/oovbaapi/ooo/vba/):
- XFileDialog: MsoFileDialogType, Title, AllowMultiSelect, Show()
- XFileDialogSelectedItems: extends XCollection
- XFileSearch: FileName, LookIn, SearchSubFolders, MatchTextExactly, Execute()
- XFoundFiles: extends XCollection, File(Index)
- XQueryTable: Refresh(any), Delete()

New C++ implementations (main/sc/source/ui/vba/):
- ScVbaFileDialog using com.sun.star.ui.dialogs.FilePicker
- ScVbaFileSearch using com.sun.star.ucb.SimpleFileAccess
- VbaFoundFiles collection with XIndexAccess/XEnumeration
- ScVbaQueryTable using sfx2::LinkManager and ScAreaLink

Modified XApplication.idl:
- FileDialog() method + FileSearch attribute
- CountA, MenuBars, International, Undo, InchesToPoints
- setSheetsInNewWorkbook, getSheetsInNewWorkbook
- Intersect, Union (already present)

Modified XRange.idl:
- Added FormatConditions and QueryTable attributes

Modified XWorkbook.idl:
- Added SaveAs method

Implemented getFormatConditions() in vbarange.cxx:
- Returns ScVbaFormatConditions using ConditionalFormat property

Implemented Application methods in vbaapplication.cxx:
- CountA delegates to WorksheetFunction::CountA
- getSheetsInNewWorkbook/setSheetsInNewWorkbook use ScAppOptions
- FileDialog() creates ScVbaFileDialog with model
- getFileSearch() creates ScVbaFileSearch

Added missing Formula1()/Formula2() to XFormatCondition:
- Required by IDL interface, returns formula from XSheetCondition

Registered services in service.cxx:
- filedialog, filesearch, foundfiles, querytable
- formatconditions, formatcondition

Build configuration:
- UnoApi_oovbaapi.mk: 5 new IDL files added
- Library_vbaobj.mk: 5 new .cxx files added

Import Symphony VBA: FileDialog, FileSearch, QueryTable, FormatCondition, Workbook.SaveAs, Application enhancements

Ports from IBM Symphony VBA implementation, combined with GCC 15
compilation fixes and VBA documentation comments. These changes
cannot be cherry-picked independently of the VBA feature work:

- Add FileDialog, FileSearch, QueryTable, FormatCondition VBA objects
- Enhance Application with SheetsInNewWorkbook, MenuBars stub, International stub
- Add ScAppOptions GetTabCountInNewSpreadsheet/SetTabCountInNewSpreadsheet
- Fix Workbook.SaveAs with proper XStorable property mapping
- Add factory constructors for with_args<true> service declarations
- Fix namespace/visibility issues for GCC 15:
- helperdecl.hxx: vba_detail -> detail, add include guard
- vbaquerytable.cxx: scrange.hxx -> address.hxx, SvBaseLinks -> sfx2::
- vbafilesearch.cxx: getInitPath exception specifier
- vbafiledialog.cxx: GetAllFileFilterName -> hardcoded string
- vbasheetobject.hxx: documentation comments
- Add MS Excel VBA API documentation to all VBA headers

show more ...