office-gobmx/writerperfect
Skyler Grey 60fef0bfeb fix(lok): Expose the character encoding dialog
The character encoding dialog appears when importing a dialog with an
ambiguous character encoding. At the point when it appears, the document
isn't loaded, so we have to handle it in a similar way to the text
import dialog or password prompt dialog, allowing it to function early.

It's also required to make the dialog into a jsdialog, as tunneled
dialogs do not work this early in the document loading process.

I have not asynced the dialog here because there's no point. I did write
code where I set up a dialog factory to do this similar to how other
modules (sw, sc, sd, etc.) handle dialogs and make them async.
Unfortunately, this dialog is not useful with multiple users, since as
it's used on opening a document. It may, in the future, be useful to
someone to make a patch that asyncs the other writerperfect dialog (epub
export) so I have uploaded and abandoned my dialog factory patch as
Id8ec474510f3c8637639ad59331156c6e75dafb4.

Documents that require this dialog, whether async or not, cause crashes
when someone opens the document before the first person has finished
responding to this dialog. I still consider this behavior better than
crashing whenever we attempt to show this dialog at all.

Change-Id: Ibd36e695e733e07053bb6e22a510ac988be3ded2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174044
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit 283f771b92a14c06871c931b01174622b855abe5)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174950
Tested-by: Jenkins
2024-10-21 10:34:18 +02:00
..
inc fix(lok): Expose the character encoding dialog 2024-10-21 10:34:18 +02:00
qa Use good old string literals in assertXPath and friends 2024-10-05 10:06:44 +02:00
source fix(lok): Expose the character encoding dialog 2024-10-21 10:34:18 +02:00
uiconfig/ui Resave with newer Glade version 2024-06-28 01:45:51 +02:00
AllLangMoTarget_wpt.mk
CppunitTest_writerperfect_calc.mk
CppunitTest_writerperfect_dialogs_test.mk
CppunitTest_writerperfect_draw.mk
CppunitTest_writerperfect_epubexport.mk Prepare to run (select) tests during Emscripten build 2024-05-02 07:52:03 +02:00
CppunitTest_writerperfect_import.mk
CppunitTest_writerperfect_impress.mk
CppunitTest_writerperfect_stream.mk
CppunitTest_writerperfect_wpftimport.mk
CppunitTest_writerperfect_writer.mk
IwyuFilter_writerperfect.yaml
Library_wpftcalc.mk Use less libxml2 external headers dependency 2023-09-29 00:20:57 +02:00
Library_wpftdraw.mk
Library_wpftimpress.mk Use less libxml2 external headers dependency 2023-09-29 00:20:57 +02:00
Library_wpftqahelper.mk
Library_wpftwriter.mk
Library_writerperfect.mk
Makefile
Module_writerperfect.mk
README.md
UIConfig_writerperfect.mk
UITest_writerperfect_epubexport.mk uitest: Clean up redundant usage of gb_UITest_use_oneprocess 2023-11-06 09:26:43 +01:00

Import / Export Filters for WordPerfect and Other Formats

Contains import / export filters for WordPerfect and other formats, wrappers for a set of similar libraries.

This collection of filters is here in this folder in addition to the WordPerfect filter that gave the module its (humorous) name "writerperfect" because the libraries they use all have the same "style" of API and are developed, at least partially, by the same person or group of persons.