1
0
mirror of synced 2024-12-14 08:42:54 +01:00
ImHex/lib/libimhex/include/hex/api
SparkyTD 9b594d81bd
feat: Added CSV, TSV and JSON as export options for Find results (#1673)
### Problem description
The default result export functionality of the Find tool is limited to
only exporting data in a nonstandard text format. This PR adds support
for exporting the results in CSV, TSV or JSON format. The PR also
removes the old format.

### Implementation description
I added the classes `ExportFormatter`, `ExportFormatterCsv`,
`ExportFormatterTsv` and `ExportFormatterJson`, with similar
implementations to the pattern data exporters.

~~I also moved the `ViewFind::Occurrence` class into
`hex/helpers/types.hh`, so the exporters can access it.~~

### Screenshots

![image](https://github.com/WerWolv/ImHex/assets/45818400/c7a1016b-6494-416d-a963-86484952837c)

### Additional things
Another small change I made is moving the "{} entries found" line on the
same line as the Search and Reset buttons. I think it looks cleaner this
way, but if anyone disagrees, I can revert it.

---------

Co-authored-by: WerWolv <werwolv98@gmail.com>
2024-06-18 20:57:55 +00:00
..
achievement_manager.hpp impr: Added support for SVG loading, improved texture loading API 2024-05-01 20:36:10 +02:00
content_registry.hpp feat: Added CSV, TSV and JSON as export options for Find results (#1673) 2024-06-18 20:57:55 +00:00
event_manager.hpp impr: Show document edited icon in close button on macOS 2024-06-12 19:51:12 +02:00
imhex_api.hpp fix: Crash when closing providers 2024-06-16 14:48:31 +02:00
layout_manager.hpp feat: Allow workspaces to be deleted the same way as layouts 2024-02-28 22:10:48 +01:00
localization_manager.hpp impr: Added language selection to oobe screen 2024-01-30 14:57:36 +01:00
plugin_manager.hpp fix: Potential crash on Linux when loading external libraries 2024-03-15 17:54:09 +01:00
project_file_manager.hpp impr: Various web build improvements, API cleanup (#1541) 2024-02-10 23:31:05 +01:00
shortcut_manager.hpp impr: Don't pass unique_ptr by const reference 2024-02-24 15:06:28 +01:00
task_manager.hpp impr: Added once execution and task progress increment helpers 2024-02-23 17:47:40 +01:00
theme_manager.hpp impr: Various web build improvements, API cleanup (#1541) 2024-02-10 23:31:05 +01:00
tutorial_manager.hpp refactor: Get rid of this->m_ 2023-12-19 13:10:25 +01:00
workspace_manager.hpp feat: Allow workspaces to be deleted the same way as layouts 2024-02-28 22:10:48 +01:00