https://bugs.freedesktop.org/show_bug.cgi?id=67266
Priority: medium
Bug ID: 67266
Assignee: [email protected]
Summary: com.sun.star.text.TextGraphicObject not in
XMultiServiceFactory
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 4.0.4.2 release
Component: sdk
Product: LibreOffice
I am unable to create a com.sun.star.text.TextGraphicObject (or
com.sun.star.text.GraphicObject) from the service factory.
If I use an existing graphic object, I can set the GraphicURL or the Graphic
object.
The list of services does not contain any com.sun.star.text.*Graphic*.
Sample code (.Net, 4.0, patched cli_*.dll b/c of #61503):
var context = Bootstrap.bootstrap();
var multiServiceFactory = (XMultiServiceFactory)context.getServiceManager();
var tgo = multiServiceFactory.createInstance(
"com.sun.star.text.TextGraphicObject")
// tgo is null
var serviceNames = multiServiceFactory.getAvailableServiceNames();
log(String.Join(Environment.NewLine, serviceNames.Where(
x => x.Contains("Graphic"))));
// log output does not contain anything from com.sun.star.text, only
// com.sun.star.document.GraphicObjectResolver
// com.sun.star.drawing.GraphicExportFilter
// com.sun.star.graphic.GraphicObject
// com.sun.star.graphic.GraphicProvider
// com.sun.star.graphic.GraphicRendererVCL
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs