-
Marco Cecchetti yazdı
The implCreateObjectFromShape method of the SVGFilter class has been modified in order to handling bitmap meta actions of type META_BMPSCALE_ACTION for each bitmap embedded into a text shape. The implCreateObjectFromShape method of the SVGFilter class has been modified in order to avoid to generate an id for empty text shapes. The MetaSlide class has two new methods for collecting text shapes from the text shape exported index and hyperlinks. A new HyperlinkElement class has been designed for handling text portion with an attached URL. The routine handling mouse click has been modified in order to interacting with the EventMultiplexer instance belonging to the current slide even when no animations are exported. All that let us supporting both web links and local links to slide belonging to the current document. The routine handling mouse click has been modified in order to avoid to start the next effect or switch to the next slide when there is a text fragment selected. Now when the user selects text or performs a right click in order to copy the selected text no further action is executed by the presentation engine. When the left mouse button is clicked the previous selection is discarded but still no further action is performed by the presentation engine. The implCreateObjectFromShape method of the SVGFilter class has been modified in order to avoid of adding to the group of embedded bitmaps those bitmap belonging to XShape object convertible to XText but that does not contain any text shape meta comment action. Now a meta bitmap action is handled by the SVGTextWriter class only if the action is between a meta comment action of type XTEXT_PAINTSHAPE_BEGIN and a meta comment action of type XTEXT_PAINTSHAPE_END. The writeBitmapPlaceholder and implWriteEmbeddedBitmaps methods of the SVGTextWriter class have been modified in order to change the way the id of the <use> elements that reference a bitmap is created. That has been needed because when two <use> element referencing the same bitmap and embedded into two different text shapes but placed at the same position (e.g. for instance when they belong to different slide) they got the same id. Now the id is built by prepending the meta bitmap action checksum with the text shape id followed by a dot.
df9a436a