forked from amazingfate/loongoffice
Related: tdf#105093 sd PDF export: handle css.presentation.MediaShape as well
It's exactly the same as css.drawing.MediaShape in this context. Change-Id: I4be114ef731e85222f0dd1d897f646ad8da3849d
This commit is contained in:
@ -1653,7 +1653,7 @@ void ImplPDFExportShapeInteraction( const uno::Reference< drawing::XShape >& xSh
|
||||
Rectangle aLinkRect( Point( aShapePos.X, aShapePos.Y ), Size( aShapeSize.Width, aShapeSize.Height ) );
|
||||
|
||||
// Handle linked videos.
|
||||
if (xShape->getShapeType() == "com.sun.star.drawing.MediaShape")
|
||||
if (xShape->getShapeType() == "com.sun.star.drawing.MediaShape" || xShape->getShapeType() == "com.sun.star.presentation.MediaShape")
|
||||
{
|
||||
OUString aMediaURL;
|
||||
xShapePropSet->getPropertyValue("MediaURL") >>= aMediaURL;
|
||||
|
||||
Reference in New Issue
Block a user