Exactly. My manifest.xml looks likeI'm not sure what your problem is with the dialogs. You're trying to put these in an .OXT file?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=RDB"
manifest:full-path="CppComponent.uno.rdb"/>
<manifest:file-entry manifest:media-type="text/xml" manifest:full-path=Dialogs/dialog-lc.xml>
<manifest:file-entry manifest:media-type="text/xml" manifest:full-path=Dialogs/Standard/dialog-lb.xml>
<manifest:file-entry manifest:media-type="text/xml" manifest:full-path=Dialogs/Standard/Dialog1.xml>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="CalcAddIn.xcu"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-components"
manifest:full-path="MakeChart.py"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-components;platform=MacOSX_x86"
manifest:full-path="CppComponent.components"/>
</manifest:manifest>
When I create a hyperlink and run MakeChart I get
"A Scripting Framework error occurred while running the Python script vnd.sun.start.script:MakeChart.py$MakeChart?language=Python&location=document. Message: pythonscript.com.sun.star.ucb.ContentCreationException: Unable to create Content!"
Its complaining about getModuleByUrl() and getScript() which means it cannot find the script.