This commit introduces a new ExportOptionsView that allows users to export the summary content as either a PDF or TXT file. The ExportManager class is also added to handle the actual export functionality.
The key changes are:
Added ExportOptionsView to display the export options
Implemented ExportManager to generate PDF and TXT files from the summary content
Integrated the export functionality into the ExportOptionsView
Added an extension to TextAlignment to convert it to the corresponding NSTextAlignment
These changes provide users with the ability to easily export their summaries in different file formats, which enhances the overall functionality of the app.
This commit introduces a new
ExportOptionsView
that allows users to export the summary content as either a PDF or TXT file. TheExportManager
class is also added to handle the actual export functionality.The key changes are:
ExportOptionsView
to display the export optionsExportManager
to generate PDF and TXT files from the summary contentExportOptionsView
TextAlignment
to convert it to the correspondingNSTextAlignment
These changes provide users with the ability to easily export their summaries in different file formats, which enhances the overall functionality of the app.