-
Notifications
You must be signed in to change notification settings - Fork 164
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
Add support for opening structures in CDX format embedded into MS PowerPoint #3914
Closed
Comments
captain2b
added a commit
that referenced
this issue
Jan 23, 2024
…MS PowerPoint add and integrate new components
9 tasks
captain2b
added a commit
that referenced
this issue
Jan 23, 2024
…MS PowerPoint add and integrate new components
captain2b
added a commit
that referenced
this issue
Jan 24, 2024
…MS PowerPoint fix concurrent generateImageAsBase64 requests, add tests
captain2b
added a commit
that referenced
this issue
Jan 24, 2024
…MS PowerPoint fix concurrent generateImageAsBase64 requests, add tests
captain2b
added a commit
that referenced
this issue
Jan 25, 2024
…MS PowerPoint fix decoding for large arrays
captain2b
added a commit
that referenced
this issue
Jan 26, 2024
…MS PowerPoint add and integrate new components
captain2b
added a commit
that referenced
this issue
Jan 26, 2024
…MS PowerPoint fix concurrent generateImageAsBase64 requests, add tests
captain2b
added a commit
that referenced
this issue
Jan 26, 2024
…MS PowerPoint fix decoding for large arrays
9 tasks
captain2b
added a commit
that referenced
this issue
Jan 26, 2024
…tures-in-cdx-format-embedded-into-ms-powerpoint Backmerge: #3914 – Add support for opening structures in CDX format embedded into MS PowerPoint
captain2b
added a commit
that referenced
this issue
Jan 28, 2024
…MS PowerPoint change preview rendering mechanism
captain2b
added a commit
that referenced
this issue
Jan 29, 2024
…MS PowerPoint change preview rendering mechanism
captain2b
added a commit
that referenced
this issue
Jan 29, 2024
…tures-in-cdx-format-embedded-into-ms-powerpoint #3914 Add support for opening structures in CDX format embedded into …
9 tasks
This was referenced Feb 12, 2024
Open
System should correctly report that it can't open target pptx because it protected by password
#4087
Open
This was referenced Feb 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
Some Ketcher users need to deal with chemical structures embedded into MS PowerPoint presentation as ChemDraw OLE objects. Users need to select structures from those stored in the presentation and open them in Ketcher.
Supported formats are PPTX for presentation and CDX for chemical structures stored in OLE objects.
Solution
If user selects a
.pptx
file in Ketcher's file selection window (Open Structure -> Open From File), Ketcher should find all ChemDraw objects in the file and extract CDX content from each object. Structure selection window should further be displayed instead of file content preview.The structure selection window should include presentation file name (without path), list of chemical structures found and preview frame showing selected structure.
Structures in the list should be displayed in order of their appearance in the presentation file. List items should be named Structure 1, ... Structure < n >, where n is the number of structures found.
Once user selects an element in the list, Ketcher should use corresponding CDX to render the structure in the preview frame. User may further use 'Add to Canvas' and 'Open as New Project' buttons to open the selected structure similarly to regular file opening workflow.
If no chemical structures found in the selected presentation file, a message box "No embedded structures found in the file" should be displayed and structure selection window should not be shown.
When structure selection window pops up, it should have first item in the structure list selected.
The text was updated successfully, but these errors were encountered: