Author mode not Rendering an image
Posted: Tue Sep 26, 2023 11:55 pm
Hello and Good day.
I'm working with a custom framework for Oxygen 24 and we are experiencing an odd problem when using the insert image operation.
When inserting an image into a topic that's part of a ditamap, the image will be inserted and the map, that contains an inner ditamap with the reference to all files used in the book, will be updated, but even after our custom code has the instruction refreshReferences() with the reference to that rootmap, the contents are not actually refreshed, we need to either manually select the map from the left menu and hit F5 or close and reopen the rootmap for the topic to actually render the image.
Is there a function that could force a reload of the file or a way to refresh all the maps found on the left menu?
Thanks, and regards
Frank
I'm working with a custom framework for Oxygen 24 and we are experiencing an odd problem when using the insert image operation.
When inserting an image into a topic that's part of a ditamap, the image will be inserted and the map, that contains an inner ditamap with the reference to all files used in the book, will be updated, but even after our custom code has the instruction refreshReferences() with the reference to that rootmap, the contents are not actually refreshed, we need to either manually select the map from the left menu and hit F5 or close and reopen the rootmap for the topic to actually render the image.
Is there a function that could force a reload of the file or a way to refresh all the maps found on the left menu?
Thanks, and regards
Frank