office-gobmx/include/svx
Michael Stahl a5225ba82e avmedia,*: guess the mime type of media files based on file name
.. at least for the most popular types, and do it automatically in
MediaItem::setURL().

This should work in practice in most cases and is much simpler than
adding some type detection or calling into platform dependent avmedia
backends.

Remove the parameter that was only ever set to
"application/vnd.sun.star.media" anyway, the same value that would be
used if it's missing.

Stop using that silly type for everything, only use it when guessing
fails.

In case an ODF document is loaded, it will use the mime type loaded from
the file (see setting of MediaMimeType in SdXMLPluginShapeContext) and
not guess it because that would require updating the entry in
manifest.xml as well.

Change-Id: I8ce29cf7425678ae11dda1d8c875be818f8623af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150049
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-04-05 14:34:51 +02:00
..
diagram
dialog
sdr vcl,drawinglayer,svx,sw,sd: PDF/UA export: Annot StructElem for SdrMediaObj 2023-03-22 11:53:38 +00:00
sidebar Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
theme
unodraw
AccessibleControlShape.hxx
AccessibleGraphicShape.hxx
AccessibleOLEShape.hxx
AccessibleShape.hxx
AccessibleShapeInfo.hxx
AccessibleShapeTreeInfo.hxx
AccessibleTextHelper.hxx
ActionDescriptionProvider.hxx
algitem.hxx
anchorid.hxx
autoformathelper.hxx
bmpmask.hxx
camera3d.hxx
charmap.hxx tdf#153806 a11y: Allow opening context menu in special char dlg using keyboard 2023-04-03 17:01:56 +02:00
charthelper.hxx
ChildrenManager.hxx
chrtitem.hxx
ClassificationCommon.hxx
ClassificationDialog.hxx
ClassificationField.hxx
clipboardctl.hxx
clipfmtitem.hxx
colorbox.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
ColorSets.hxx
colorwindow.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
CommonStyleManager.hxx
compatflags.hxx
compressgraphicdialog.hxx
connctrl.hxx
contdlg.hxx
ctredlin.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
cube3d.hxx
dataaccessdescriptor.hxx
databaselocationinput.hxx
databaseregistrationui.hxx
dbaexchange.hxx
dbaobjectex.hxx
def3d.hxx
deflt3d.hxx
dialcontrol.hxx
dialmgr.hxx
dialogs.hrc
dlgctl3d.hxx
dlgctrl.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
dlgutil.hxx
drawitem.hxx
e3ditem.hxx
e3dsceneupdater.hxx
e3dundo.hxx
EnhancedCustomShape2d.hxx
EnhancedCustomShapeFunctionParser.hxx
EnhancedCustomShapeGeometry.hxx
EnhancedCustomShapeTypeNames.hxx
extedit.hxx
extrusionbar.hxx
f3dchild.hxx
FileExportedDialog.hxx
fillctrl.hxx
flagsdef.hxx
float3d.hxx
fmdmod.hxx
fmdpage.hxx
fmgridcl.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
fmgridif.hxx
fmmodel.hxx
fmobjfac.hxx
fmpage.hxx
fmsearch.hxx
fmshell.hxx
fmsrccfg.hxx
fmsrcimp.hxx
fmtools.hxx
fmview.hxx
fntctrl.hxx
fontwork.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
fontworkbar.hxx
fontworkgallery.hxx
formatpaintbrushctrl.hxx
framebordertype.hxx
framelink.hxx
framelinkarray.hxx
frmdirlbox.hxx
frmsel.hxx
galctrl.hxx
gallery.hxx
gallery1.hxx
gallerybinaryengine.hxx
gallerybinaryengineentry.hxx
gallerybinarystoragelocations.hxx
galleryfilestorage.hxx
galleryfilestorageentry.hxx
galleryitem.hxx
galleryobjectcollection.hxx
galleryobjectstorage.hxx
gallerystoragelocations.hxx
galmisc.hxx
galtheme.hxx
GenericCheckDialog.hxx
grafctrl.hxx
graphctl.hxx
graphichelper.hxx
grfcrop.hxx
grfflt.hxx
gridctrl.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
hdft.hxx
helperhittest3d.hxx
hexcolorcontrol.hxx
hlnkitem.hxx
hyperdlg.hxx
IAccessibleParent.hxx
IAccessibleViewForwarder.hxx
IAccessibleViewForwarderListener.hxx
ifaceids.hxx
ImageMapInfo.hxx
imapdlg.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
insctrl.hxx
ipolypolygoneditorcontroller.hxx
itemwin.hxx
itextprovider.hxx
labelitemwindow.hxx
langbox.hxx
lathe3d.hxx
legacyitem.hxx
linectrl.hxx
linkwarn.hxx
measctrl.hxx
MediaShellHelpers.hxx
modctrl.hxx
msdffdef.hxx
nbdtmg.hxx
nbdtmgfact.hxx
numfmtsh.hxx
numinf.hxx
numvset.hxx
obj3d.hxx
objfac3d.hxx
ofaitem.hxx
optgenrl.hxx
optgrid.hxx
pagectrl.hxx
pageitem.hxx
pagenumberlistbox.hxx
Palette.hxx
PaletteManager.hxx
papersizelistbox.hxx
paraprev.hxx
ParaSpacingControl.hxx
ParseContext.hxx
passwd.hxx
polypolygoneditor.hxx
postattr.hxx
pszctrl.hxx
rectenum.hxx
relfld.hxx
rotmodit.hxx
rubydialog.hxx
ruler.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
rulritem.hxx
samecontentlistbox.hxx
scene3d.hxx
sdangitm.hxx
sdasitm.hxx
sderitm.hxx
sdgcpitm.hxx
sdggaitm.hxx
sdgluitm.hxx
sdgmoitm.hxx
sdmetitm.hxx
sdooitm.hxx
sdprcitm.hxx
sdrhittesthelper.hxx
sdrmasterpagedescriptor.hxx
sdrobjectfilter.hxx
sdrobjectuser.hxx
sdrpageuser.hxx
sdrpagewindow.hxx
sdrpaintwindow.hxx
sdrundomanager.hxx
sdshcitm.hxx
sdshitm.hxx
sdshtitm.hxx
sdsxyitm.hxx
sdtaaitm.hxx
sdtacitm.hxx
sdtaditm.hxx
sdtagitm.hxx
sdtaiitm.hxx
sdtaitm.hxx
sdtakitm.hxx
sdtayitm.hxx
sdtcfitm.hxx
sdtditm.hxx
sdtfchim.hxx
sdtfsitm.hxx tdf#90407 Change the auto-fit alg. to match better with OOXML 2023-03-26 15:07:39 +00:00
sdtmfitm.hxx
sdynitm.hxx
searchcharmap.hxx
selctrl.hxx
selectioncontroller.hxx
shapepropertynotifier.hxx
ShapeTypeHandler.hxx
signaturelinehelper.hxx
SmartTagItem.hxx
SmartTagMgr.hxx
spacinglistbox.hxx
SpellDialogChildWindow.hxx
sphere3d.hxx
srchdlg.hxx
statusitem.hxx
strarray.hxx
strings.hrc tdf#146748 Change 'More Numbering/Bullets' options to 'Customize' 2023-03-30 08:10:34 +00:00
svdcrtv.hxx
svddef.hxx
svddrag.hxx
svddrgmt.hxx
svddrgv.hxx
svdedtv.hxx
svdedxv.hxx
svdetc.hxx
svdglev.hxx
svdglue.hxx
svdhdl.hxx
svdhlpln.hxx
svditer.hxx
svdlayer.hxx
svdmark.hxx
svdmodel.hxx
svdmrkv.hxx
svdoashp.hxx
svdoattr.hxx
svdobj.hxx
svdobjkind.hxx tdf#154040 use a SdrObjKind::NewFrame for frame creation in writer 2023-04-02 11:42:42 +02:00
svdocapt.hxx
svdocirc.hxx
svdoedge.hxx
svdograf.hxx
svdogrp.hxx
svdomeas.hxx tdf#153880 sc: Make Calc text hyperlinks stand out more 2023-04-04 20:16:47 +02:00
svdomedia.hxx avmedia,*: guess the mime type of media files based on file name 2023-04-05 14:34:51 +02:00
svdoole2.hxx
svdopage.hxx
svdopath.hxx
svdorect.hxx
svdotable.hxx
svdotext.hxx tdf#153880 sc: Make Calc text hyperlinks stand out more 2023-04-04 20:16:47 +02:00
svdouno.hxx
svdoutl.hxx tdf#153880 sc: Make Calc text hyperlinks stand out more 2023-04-04 20:16:47 +02:00
svdovirt.hxx
svdpage.hxx
svdpagv.hxx
svdpntv.hxx
svdpoev.hxx
svdpool.hxx sc drawstyles: Implement the styles family 2023-03-21 23:10:01 +00:00
svdsnpv.hxx
svdsob.hxx
svdtext.hxx
svdtrans.hxx
svdtypes.hxx
svdundo.hxx
svdview.hxx
svdviter.hxx
svdxcgv.hxx
svx3ditems.hxx
SvxColorChildWindow.hxx
SvxColorValueSet.hxx
svxdlg.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
svxdllapi.h
svxerr.hxx
svxgraphicitem.hxx
svxids.hrc
svxitems.hrc
SvxNumOptionsTabPageHelper.hxx
SvxPresetListBox.hxx Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
SvxShapeTypes.hxx
SvxXTextColumns.hxx
swframeexample.hxx
swframeposstrings.hxx
swframetypes.hxx
swframevalidation.hxx
sxcecitm.hxx
sxcgitm.hxx
sxciaitm.hxx
sxcllitm.hxx
sxctitm.hxx
sxekitm.hxx
sxelditm.hxx
sxenditm.hxx
sxmbritm.hxx
sxmlhitm.hxx
sxmtfitm.hxx
sxmtpitm.hxx
sxmtritm.hxx
sxmuitm.hxx
tabarea.hxx
tabline.hxx
tbcontrl.hxx
tbxcolor.hxx
tbxctl.hxx
transfrmhelper.hxx
txencbox.hxx
txenctab.hxx
ucsubset.hxx
uiobject.hxx
unoapi.hxx
unobrushitemhelper.hxx
unofill.hxx
unomaster.hxx
unomid.hxx
unomod.hxx
unomodel.hxx
UnoNamespaceMap.hxx
unopage.hxx
unopool.hxx
unoprov.hxx
unoshape.hxx
unoshprp.hxx tdf#90407 Change the auto-fit alg. to match better with OOXML 2023-03-26 15:07:39 +00:00
unoshtxt.hxx
view3d.hxx
viewlayoutitem.hxx
viewpt3d.hxx
weldeditview.hxx
xbitmap.hxx
xbtmpit.hxx
xcolit.hxx
xdash.hxx
xdef.hxx
xenum.hxx
xfillit0.hxx
xfilluseslidebackgrounditem.hxx
xflasit.hxx
xflbckit.hxx
xflbmpit.hxx
xflbmsli.hxx
xflbmsxy.hxx
xflbmtit.hxx
xflboxy.hxx
xflbstit.hxx
xflbtoxy.hxx
xflclit.hxx
xflftrit.hxx
xflgrit.hxx
xflhtit.hxx
xfltrit.hxx
xftadit.hxx
xftdiit.hxx
xftmrit.hxx
xftouit.hxx
xftshcit.hxx
xftshit.hxx
xftshxy.hxx
xftstit.hxx
xgrad.hxx
xgrscit.hxx
xhatch.hxx
xit.hxx
xlineit0.hxx
xlinjoit.hxx
xlnasit.hxx
xlncapit.hxx
xlnclit.hxx
xlndsit.hxx
xlnedcit.hxx
xlnedit.hxx
xlnedwit.hxx
xlnstcit.hxx
xlnstit.hxx
xlnstwit.hxx
xlntrit.hxx
xlnwtit.hxx
xmleohlp.hxx
xmlexchg.hxx
xmlgrhlp.hxx
xmlsecctrl.hxx
xoutbmp.hxx sw reqif-xhtml export: fix export of transparent TIF 2023-03-30 07:53:15 +00:00
xpoly.hxx
xpool.hxx sc drawstyles: Implement the styles family 2023-03-21 23:10:01 +00:00
XPropertyEntry.hxx
xsflclit.hxx
xtable.hxx
xtextit0.hxx
zoom_def.hxx
zoomctrl.hxx
zoomsliderctrl.hxx
zoomslideritem.hxx