Issue 41495 - Impress HTML/WebCast (impress_html_Export) exporting not working
Summary: Impress HTML/WebCast (impress_html_Export) exporting not working
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: Sun All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-27 23:35 UTC by 119253
Modified: 2017-05-20 11:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description 119253 2005-01-27 23:35:21 UTC
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;
>
>};
>  
>
Comment 1 119253 2005-01-27 23:57:13 UTC
With a little more effort twisting with the params, I found
"impress_html_Export" without "FilterData" work fine, it exports to regular html
files with the navigator buttons. But with additonal "FilterData" properties, it
only exports empty html file.
Comment 2 clippka 2005-01-28 07:52:49 UTC
Yes correctly, the dialog uses the "FilterData" but the actuall export is
gettings it's filter data properties directly from the media descriptor. I have
no Idea how this can actually work together
Comment 3 cuodenumyp 2010-10-23 15:45:15 UTC
Created attachment 72686
Comment 4 Marcus 2017-05-20 11:27:26 UTC
Reset assigne to the default "issues@openoffice.apache.org".