


I'm not clear on most of them myself, maybe as time goes on, someone would help define how these help. +#define SID_SAVE_GRAPHIC (SID_SD_START+450)Īny item on the menu or a toolbar is an Sfx.Item which has a number of attributes that are set in order to decide how it would be handled. #define SID_CLOSE_MASTER_VIEW (SID_SD_START+434) The first thing to do is declare an identifier for our menu item: So the idea is to add in a menu item to a menu that pops up on right-clicking a graphic in a presentation and that would launch file save dialog which one could use to save the graphic to some place on disk. The requirement was that it should be possible to select a graphic in an existing presentation in Impress and be able to save it to disk separately. The plus side of this wonderful hack is that it is actually shipping code, while the flip side is that it will probably already be in the source, so the changes are already done.
