fernandreu / office-ribbonx-editor

An overhauled fork of the original Custom UI Editor for Microsoft Office, built with WPF
MIT License
516 stars 100 forks source link

View all files in a office document container #159

Open jasell opened 3 years ago

jasell commented 3 years ago

Is your feature request related to a problem? Please describe.

I would like to view and manage all files in the office-document container.

Describe the solution you'd like

Utilize your "document" browser and xml-editor.

  1. Various xml-files Navigate and editing all xml-files of the document, not only ribbonUI Perhaps give id/icon or filter to view different types of files.

  2. Images Quick access to the various images resources included in the document.

Ideas for future extensions if you would like to embark this way further

Alternative solution

To day you can...

  1. unzip the document
  2. edited xml-files with notepad++
  3. zip-it
  4. use it
fernandreu commented 3 years ago

Hi jassel, your idea sounds interesting, although it would probably involve a lot of work. In terms of big future plans for the tool, the main thing I have in mind is to migrate from Scintilla (the control to edit the code) / WPF (the UI framework) to Monaco (the same editor used by VS Code) / .NET Multi-platform App UI (still in preview). While I do that, it might be a good time to think about extending the capabilities of the tool in this way. I haven't started with this yet, as the .NET MAUI needs to mature a bit first (their first release should be in November).

I guess that, if what you suggest becomes viable by then, the interaction with the Reload on save feature might need some adjustments. The biggest selling point of that feature is the fact that the tool can only modify files that you can't modify within an Office application and vice versa, but that would no longer be true. So, the tool should probably need to detect whether you are about to do a reload that might cause loss of changes you just made, and warn you about it.

jasell commented 3 years ago

Thanks for at least considering this.

It would be a huge help to just be able to browse and edit the various files in the document container using a XML editor. All the "potential" features I listed are bonus features that will further help but I can live without as I do today.

You are correct in that these files can be changed by office-application and the content can be modified by the application. But these aspects of the file can't controlled within the office application, these are just the result of other more "high-level" edits.

If it would be possible to do just step 1 it would a great help.