diff --git a/.gitignore b/.gitignore index 8bf9e7f5b2..2edfa3434a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,4 @@ -.DS_Store -.idea -*.json -*.out -*.test -~$*.xlsx -test/*.png -test/BadWorkbook.SaveAsEmptyStruct.xlsx -test/Encryption*.xlsx -test/excelize-* -test/Test*.xlam -test/Test*.xlsm -test/Test*.xlsx -test/Test*.xltm -test/Test*.xltx +/node_modules +logs +/xvba_excel_backup +.gitignore \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..295e71f0fb --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,119 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}" + ], + "name": "Launch Extension", + "outFiles": [ + "${workspaceFolder}/out/**/*.js" + ], + "preLaunchTask": "npm", + "request": "launch", + "type": "extensionHost" + }, + { + "type": "java", + "name": "Attach to Remote Program", + "request": "attach", + "hostName": "", + "port": "" + }, + { + "name": "Connect to server", + "type": "go", + "request": "attach", + "mode": "remote", + "remotePath": "${workspaceFolder}", + "port": 2345, + "host": "127.0.0.1" + }, + { + "command": "npm start", + "name": "Run npm start", + "request": "launch", + "type": "node-terminal" + }, + { + "name": "Launch file", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${file}" + }, + { + "command": "npm start", + "name": "Run npm start", + "request": "launch", + "type": "node-terminal" + }, + { + "type": "java", + "name": "Launch Java Program", + "request": "launch", + "mainClass": "" + }, + { + "command": "npm start", + "name": "Run npm start", + "request": "launch", + "type": "node-terminal" + }, + { + "command": "npm start", + "name": "Run npm start", + "request": "launch", + "type": "node-terminal" + }, + { + "command": "npm start", + "name": "Run npm start", + "request": "launch", + "type": "node-terminal" + }, + { + "name": "Launch file", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${file}" + }, + { + "name": "Python Debugger: Module", + "type": "debugpy", + "request": "launch", + "module": "enter-your-modulgoae-name" + }, + { + "name": "Launch Package", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder} + " + }, + { + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}" + ], + "name": "Launch Extension", + "outFiles": [ + "${workspaceFolder}/out/**/*.js" + ], + "preLaunchTask": "npm", + "request": "launch", + "type": "extensionHost" + }, + { + "name": "Launch Package", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${fileDirname}" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..6c2ff60b60 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "githubPullRequests.ignoredPullRequestBranches": [ + "master" + ] +} \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000000..ac5da8a043 --- /dev/null +++ b/config.json @@ -0,0 +1,14 @@ +{ + "app_name": "XVBA", + "description": "", + "author": "", + "email": "", + "create_ate": "Fri Oct 24 2025 01:59:24 GMT-0600 (Central Standard Time)", + "excel_file": "index.xlsb", + "vba_folder": "vba-files", + "ribbon_file": "customUI14", + "ribbon_folder": "ribbons", + "logs": "on", + "xvba_packages": {}, + "xvba_dev_packages": {} +} \ No newline at end of file diff --git a/go.mod b/go.mod index 65bff88bd5..aa39b515a6 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/xuri/efp v0.0.1 github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9 golang.org/x/crypto v0.43.0 - golang.org/x/image v0.25.0 + golang.org/x/image v0.32.0 golang.org/x/net v0.46.0 golang.org/x/text v0.30.0 ) diff --git a/go.sum b/go.sum index cecf046c82..287f3aad35 100644 --- a/go.sum +++ b/go.sum @@ -19,6 +19,8 @@ golang.org/x/crypto v0.43.0 h1:dduJYIi3A3KOfdGOHX8AVZ/jGiyPa3IbBozJ5kNuE04= golang.org/x/crypto v0.43.0/go.mod h1:BFbav4mRNlXJL4wNeejLpWxB7wMbc79PdRGhWKncxR0= golang.org/x/image v0.25.0 h1:Y6uW6rH1y5y/LK1J8BPWZtr6yZ7hrsy6hFrXjgsc2fQ= golang.org/x/image v0.25.0/go.mod h1:tCAmOEGthTtkalusGp1g3xa2gke8J6c2N565dTyl9Rs= +golang.org/x/image v0.32.0 h1:6lZQWq75h7L5IWNk0r+SCpUJ6tUVd3v4ZHnbRKLkUDQ= +golang.org/x/image v0.32.0/go.mod h1:/R37rrQmKXtO6tYXAjtDLwQgFLHmhW+V6ayXlxzP2Pc= golang.org/x/net v0.46.0 h1:giFlY12I07fugqwPuWJi68oOnpfqFnJIJzaIIm2JVV4= golang.org/x/net v0.46.0/go.mod h1:Q9BGdFy1y4nkUwiLvT5qtyhAnEHgnQ/zd8PfU6nc210= golang.org/x/text v0.30.0 h1:yznKA/E9zq54KzlzBEAWn1NXSQ8DIp/NYMy88xJjl4k= diff --git a/index.xlsb b/index.xlsb new file mode 100644 index 0000000000..68cd98450d Binary files /dev/null and b/index.xlsb differ diff --git a/package.json b/package.json new file mode 100644 index 0000000000..a8deae274d --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "xvba-app", + "version": "1.0.0", + "description": "A XVBA App", + "main": "index.js", + "author": "LocalSmart", + "license": "ISC", + "dependencies": { + "excel-types": "1.0.0", + "Xlog": "1.0.0" + }, + "devDependencies": { + "@localsmart/xvba-cli": "^1.0.2" + } +} \ No newline at end of file diff --git a/ribbons/customUI14.xml b/ribbons/customUI14.xml new file mode 100644 index 0000000000..6ea3b36cee --- /dev/null +++ b/ribbons/customUI14.xml @@ -0,0 +1,15 @@ + + + + + +