-
-
Notifications
You must be signed in to change notification settings - Fork 588
Parse csv file #1229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse csv file #1229
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
PR Type
Enhancement
Description
Add CSV file parsing support to Excel handler plugin
Create ExcelHelper class with CSV to workbook conversion logic
Support multiple file formats (XLS, XLSX, CSV) with format detection
Improve header parsing to filter empty cells in sheet data
Diagram Walkthrough
File Walkthrough
ReadExcelFn.cs
Support multiple file formats in workbook conversionsrc/Plugins/BotSharp.Plugin.ExcelHandler/Functions/ReadExcelFn.cs
ConvertToWorkBookmethod to handle multiple file formatsExcelHelper.cs
New helper class for CSV to workbook conversionsrc/Plugins/BotSharp.Plugin.ExcelHandler/Helpers/ExcelHelper.cs
ConvertCsvToWorkbookmethod to convert CSV bytes to NPOIworkbook
ParseCsvLinemethod with proper quote and comma handlingMySqlService.cs
Improve header parsing and code formattingsrc/Plugins/BotSharp.Plugin.ExcelHandler/Services/MySqlService.cs
Using.cs
Add Helpers namespace to global usingssrc/Plugins/BotSharp.Plugin.ExcelHandler/Using.cs
BotSharp.sln
Fix solution file project configurationBotSharp.sln