To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=41495
Issue #:|41495
Summary:|Impress HTML/WebCast (impress_html_Export) exporting
|not working
Component:|api
Version:|OOo 1.1
Platform:|Sun
URL:|
OS/Version:|All
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P2
Subcomponent:|code
Assigned to:|sw
Reported by:|drinksi
------- Additional comments from [EMAIL PROTECTED] Thu Jan 27 15:35:21 -0800
2005 -------
The filter options for impress html webcast exporting are not yet documented,
see issue# 41395.
But with the draft list of impress_html_Export filter options, and I assume that
those properties in the draft list need to be feed into FilterData, and they are
specific to export filter "impress_html_Export". I had tried with the following
code, but the result is just an empty html file. Please let me know if you need
additional test file.
PropertyValue[] exportProps = new PropertyValue[3];
exportProps[ 0 ] = new PropertyValue();
exportProps[ 0 ].Name = "Overwrite";
exportProps[ 0 ].Value = Boolean.TRUE;
exportProps[ 1 ] = new PropertyValue();
exportProps[ 1 ].Name = "FilterName";
exportProps[ 1 ].Value = exportFilterName;
// for WebCast exporting...
PropertyValue[] dataProps = new PropertyValue[6];
dataProps[0] = new PropertyValue();
dataProps[0].Name = "PublishMode";
dataProps[0].Value = new Long(2);
dataProps[1] = new PropertyValue();
dataProps[1].Name = "Format";
dataProps[1].Value = new Long(1);
dataProps[2] = new PropertyValue();
dataProps[2].Name = "IndexURL";
dataProps[2].Value = "mpc.html";
dataProps[3] = new PropertyValue();
dataProps[3].Name = "WebCastCGIURL";
dataProps[3].Value = "mpc-listener.html";
dataProps[4] = new PropertyValue();
dataProps[4].Name = "WebCastTargetURL";
dataProps[4].Value = "mpc-presenter.html";
dataProps[5] = new PropertyValue();
dataProps[5].Name = "WebCastScriptLanguage";
dataProps[5].Value = "mpc-perl.pl";
exportProps[2] = new PropertyValue();
exportProps[2].Name = "FilterData";
exportProps[2].Value = dataProps;
try{
xComponent = initDocument(fullSourceFilePath, importProps);
XStorable xStorable = (XStorable)
UnoRuntime.queryInterface(XStorable.class, xComponent);
xStorable.storeToURL(storeURL, exportProps);
System.out.println("Saved to: " + fullTargetFilePath);
}catch(IllegalArgumentException e_args) {
System.out.println("Not of the specified filter type, ignore.");
e_args.printStackTrace();
return;
....
Christian Lippka wrote:
>Hi Yu,
>
>sorry for the late reply. Where working hard on the upcoming beta
>release
>
>Chen, Yu wrote:
>
>
>>Hello, I am working on a program that automates the HTML/WebCast
>>exporting... Is it achievable??
>>
>>
>Yes, you can use the html export, please see the documentation in
>the sdk on how to use export filters. The name of this export filter
>is "impress_html_Export".
>
>
>
>>Now I have the followings from Common.properties,/ for portion
>>component.group[Filter].group[HTML].group[Export], /but I don't see any
>>filterData parameters on how to configure WebCast exporting. Any one
>>have any insights? Am I looking into the proper properties files, or is
>>webcast exporting even supported yet in SO API?
>>
>>
>
>Yes, I'm afraid theire not documentet yet. I have submitted an issue
>to myself for this. I have put you on the cc of issue 41395 so you will
>be informed on any changes.
>
>Since it make take some time until I fully document all properties,
>I made a draft of all available properties, maybe that helps you already.
>
>Regards,
>Christian
>
>service ???
>{
> /** 0 html
> 1 frames
> 2 webcast
> 3 kiosk
> */
> [property] long PublishMode;
>
> /**
> */
> [property] string IndexURL;
>
> /**
> 0 gif
> 1 jpg
> */
> [property] long Format;
>
> /**
> */
> [property] string Compression;
>
> /**
> */
> [property] long Width;
>
> /**
> */
> [property] long UseButtonSet;
>
> /**
> */
> [property] boolean IsExportNotes;
>
> /**
> */
> [property] boolean IsExportContentsPage;
>
> /**
> */
> [property] string Author;
>
> /**
> */
> [property] string EMail;
>
> /**
> */
> [property] string HomepageURL;
>
> /**
> */
> [property] string UserText;
>
> /**
> */
> [property] boolean EnableDownload;
>
> /**
> */
> [property] long BackColor;
>
> /**
> */
> [property] long TextColor;
>
> /**
> */
> [property] long LinkColor;
>
> /**
> */
> [property] long VLinkColor;
>
> /**
> */
> [property] long ALinkColor;
>
> /**
> */
> [property] boolean IsUseDocumentColors;
>
> /**
> */
> [property] long KioskSlideDuration;
>
> /**
> */
> [property] boolean KioskEndless;
>
> /**
> */
> [property] string WebCastCGIURL;
>
> /**
> */
> [property] string WebCastTargetURL;
>
> /**
> */
> [property] string WebCastScriptLanguage;
>
>};
>
>
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]