|
LibreOffice Module avmedia (master) 1
|
Namespaces | |
| namespace | gstreamer |
| namespace | gtk |
| namespace | macavf |
| namespace | priv |
| namespace | win |
Classes | |
| class | MediaControl |
| class | MediaFloater |
| class | MediaItem |
| class | MediaPlayer |
| struct | MediaTempFile |
| class | MediaToolBoxControl |
| class | MediaToolBoxControl_Impl |
| class | MediaWindow |
| class | PlayerListener |
| class | SoundHandler |
Typedefs | |
| typedef ::avmedia::MediaItem | avmedia_MediaItem |
| typedef ::std::vector< ::std::pair< OUString, OUString > > | FilterNameVector |
| typedef cppu::WeakComponentImplHelper< css::media::XPlayerListener > | PlayerListener_BASE |
Enumerations | |
| enum class | MediaControlStyle { SingleLine = 0 , MultiLine = 1 } |
| enum class | MediaState { Stop , Play , Pause } |
Functions | |
| IMPL_LINK (MediaControl, implTimeHdl, weld::Scale &, rSlider, void) | |
| IMPL_LINK_NOARG (MediaControl, implTimeEndHdl, Timer *, void) | |
| IMPL_LINK (MediaControl, implVolumeHdl, weld::Scale &, rSlider, void) | |
| IMPL_LINK (MediaControl, implSelectHdl, const OUString &, rIdent, void) | |
| IMPL_LINK (MediaControl, implZoomSelectHdl, weld::ComboBox &, rBox, void) | |
| IMPL_LINK_NOARG (MediaControl, implTimeoutHdl, Timer *, void) | |
| OUString | GetFilename (OUString const &rSourceURL) |
| uno::Reference< io::XStream > | CreateStream (uno::Reference< embed::XStorage > const &xStorage, OUString const &rFilename) |
| bool | EmbedMedia (uno::Reference< frame::XModel > const &xModel, OUString const &rSourceURL, OUString &o_rEmbeddedURL, uno::Reference< io::XInputStream > const &xInputStream) |
| bool | CreateMediaTempFile (uno::Reference< io::XInputStream > const &xInStream, OUString &o_rTempFileURL, std::u16string_view rDesiredExtension) |
| SFX_IMPL_TOOLBOX_CONTROL (MediaToolBoxControl, ::avmedia::MediaItem) | |
| IMPL_LINK_NOARG (SoundHandler, implts_PlayerNotify, Timer *, void) | |
| class | UNLESS_MERGELIBS (AVMEDIA_DLLPUBLIC) MediaControlBase |
| bool AVMEDIA_DLLPUBLIC | EmbedMedia (const ::css::uno::Reference< ::css::frame::XModel > &xModel, const OUString &rSourceURL, OUString &o_rEmbeddedURL, ::css::uno::Reference<::css::io::XInputStream > const &xInputStream=::css::uno::Reference<::css::io::XInputStream >()) |
| bool AVMEDIA_DLLPUBLIC | CreateMediaTempFile (::css::uno::Reference<::css::io::XInputStream > const &xInStream, OUString &o_rTempFileURL, std::u16string_view rDesiredExtension) |
| ::css::uno::Reference< ::css::io::XStream > | CreateStream (const ::css::uno::Reference< ::css::embed::XStorage > &xStorage, const OUString &rFilename) |
| MediaFloater * | getMediaFloater () |
Variables | |
| constexpr OUStringLiteral | IMPLEMENTATIONNAME_SOUNDHANDLER = u"com.sun.star.comp.framework.SoundHandler" |
Definition at line 136 of file mediaitem.hxx.
| typedef ::std::vector< ::std::pair< OUString, OUString > > avmedia::FilterNameVector |
Definition at line 52 of file mediawindow.hxx.
| typedef cppu::WeakComponentImplHelper<css::media::XPlayerListener> avmedia::PlayerListener_BASE |
Definition at line 58 of file mediawindow.hxx.
|
strong |
| Enumerator | |
|---|---|
| SingleLine | |
| MultiLine | |
Definition at line 39 of file MediaControlBase.hxx.
|
strong |
| Enumerator | |
|---|---|
| Stop | |
| Play | |
| Pause | |
Definition at line 64 of file mediaitem.hxx.
| bool AVMEDIA_DLLPUBLIC avmedia::CreateMediaTempFile | ( | ::css::uno::Reference<::css::io::XInputStream > const & | xInStream, |
| OUString & | o_rTempFileURL, | ||
| std::u16string_view | rDesiredExtension | ||
| ) |
| bool avmedia::CreateMediaTempFile | ( | uno::Reference< io::XInputStream > const & | xInStream, |
| OUString & | o_rTempFileURL, | ||
| std::u16string_view | rDesiredExtension | ||
| ) |
Definition at line 523 of file mediaitem.cxx.
References err, comphelper::getProcessComponentContext(), SAL_WARN, TOOLS_WARN_EXCEPTION, and ucbhelper::Content::writeStream().
| ::css::uno::Reference< ::css::io::XStream > avmedia::CreateStream | ( | const ::css::uno::Reference< ::css::embed::XStorage > & | xStorage, |
| const OUString & | rFilename | ||
| ) |
| uno::Reference< io::XStream > avmedia::CreateStream | ( | uno::Reference< embed::XStorage > const & | xStorage, |
| OUString const & | rFilename | ||
| ) |
Definition at line 421 of file mediaitem.cxx.
References AVMEDIA_MIMETYPE_COMMON, count, nIndex, and xStream.
Referenced by EmbedMedia().
| bool AVMEDIA_DLLPUBLIC avmedia::EmbedMedia | ( | const ::css::uno::Reference< ::css::frame::XModel > & | xModel, |
| const OUString & | rSourceURL, | ||
| OUString & | o_rEmbeddedURL, | ||
| ::css::uno::Reference<::css::io::XInputStream > const & | xInputStream = ::css::uno::Reference<::css::io::XInputStream >() |
||
| ) |
| bool avmedia::EmbedMedia | ( | uno::Reference< frame::XModel > const & | xModel, |
| OUString const & | rSourceURL, | ||
| OUString & | o_rEmbeddedURL, | ||
| uno::Reference< io::XInputStream > const & | xInputStream | ||
| ) |
Definition at line 462 of file mediaitem.cxx.
References comphelper::OStorageHelper::CopyInputToOutput(), CreateStream(), GetFilename(), comphelper::getProcessComponentContext(), ucbhelper::Content::openStream(), SAL_INFO, SAL_WARN, u, xModel, and xStream.
| OUString avmedia::GetFilename | ( | OUString const & | rSourceURL | ) |
Definition at line 395 of file mediaitem.cxx.
References comphelper::getProcessComponentContext(), and comphelper::OStorageHelper::IsValidZipEntryFileName().
Referenced by EmbedMedia(), and avmedia::MediaItem::setURL().
|
inline |
Definition at line 61 of file mediaplayer.hxx.
References SfxViewFrame::Current(), SfxViewFrame::GetChildWindow(), and SfxChildWindow::GetWindow().
| avmedia::IMPL_LINK | ( | MediaControl | , |
| implSelectHdl | , | ||
| const OUString & | , | ||
| rIdent | , | ||
| void | |||
| ) |
Definition at line 159 of file mediacontrol.cxx.
References aURL, avmedia::MediaWindow::executeFormatErrorBox(), avmedia::MediaWindow::executeMediaURLDialog(), GetFrameWeld(), avmedia::MediaItem::getMaskSet(), avmedia::MediaItem::getState(), avmedia::MediaWindow::isMediaURL(), NONE, Pause, Play, avmedia::MediaItem::setState(), avmedia::MediaItem::setURL(), Stop, and update().
| avmedia::IMPL_LINK | ( | MediaControl | , |
| implTimeHdl | , | ||
| weld::Scale & | , | ||
| rSlider | , | ||
| void | |||
| ) |
Definition at line 129 of file mediacontrol.cxx.
References AVMEDIA_TIME_RANGE.
| avmedia::IMPL_LINK | ( | MediaControl | , |
| implVolumeHdl | , | ||
| weld::Scale & | , | ||
| rSlider | , | ||
| void | |||
| ) |
Definition at line 150 of file mediacontrol.cxx.
References avmedia::MediaItem::setVolumeDB(), and update().
| avmedia::IMPL_LINK | ( | MediaControl | , |
| implZoomSelectHdl | , | ||
| weld::ComboBox & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 191 of file mediacontrol.cxx.
References AVMEDIA_ZOOMLEVEL_100, AVMEDIA_ZOOMLEVEL_200, AVMEDIA_ZOOMLEVEL_50, AVMEDIA_ZOOMLEVEL_FIT, AVMEDIA_ZOOMLEVEL_SCALED, avmedia::MediaItem::setZoom(), and update().
| avmedia::IMPL_LINK_NOARG | ( | MediaControl | , |
| implTimeEndHdl | , | ||
| Timer * | , | ||
| void | |||
| ) |
Definition at line 137 of file mediacontrol.cxx.
References AVMEDIA_TIME_RANGE, avmedia::MediaItem::setState(), avmedia::MediaItem::setTime(), and update().
| avmedia::IMPL_LINK_NOARG | ( | MediaControl | , |
| implTimeoutHdl | , | ||
| Timer * | , | ||
| void | |||
| ) |
Definition at line 217 of file mediacontrol.cxx.
References update().
| avmedia::IMPL_LINK_NOARG | ( | SoundHandler | , |
| implts_PlayerNotify | , | ||
| Timer * | , | ||
| void | |||
| ) |
Definition at line 276 of file soundhandler.cxx.
References aEvent, m_aMutex, m_bError, and m_xListener.
| avmedia::SFX_IMPL_TOOLBOX_CONTROL | ( | MediaToolBoxControl | , |
| ::avmedia::MediaItem | |||
| ) |
| class avmedia::UNLESS_MERGELIBS | ( | AVMEDIA_DLLPUBLIC | ) |
Definition at line 1 of file MediaControlBase.hxx.
|
constexpr |
Definition at line 88 of file soundhandler.cxx.
Referenced by avmedia::SoundHandler::getImplementationName().