https://issues.apache.org/ooo/show_bug.cgi?id=114899

--- Comment #6 from Ariel Constenla-Haile <[email protected]> ---
(In reply to comment #5)
> Dear Ariel, 
> I never said that I've used the syntax you indicated.
> I said that - in other macros - I've used successfully  the ExportToPDF
> function to save only the specified CellRanges.
> 
> But I'm not been able to do the same using entire Sheets as I need to do now.
> It always save EVERY sheets contained in the document instead the selected
> ones.
> 
> I attached to the bug report the macro "ExportSheets".
> This contains a looong array of arrays including all parameters taking place
> in the export operation.
> I tried to manually specify the "Selection" parameter and/or "PageRange" bit
> either withour any effect (everything is exported) or causing an OO crash.
> 
> I've already read the wiki page you indicated (BEFORE posting this bug
> report), but there are no samples of using this interface for OO basic or
> Python either.
> So this isn't useful to me.
> 
> Any idea or OO basic samples to accomplish this task ?

Your macro will never work, it uses the dispatch framework, you cannot specify
filter option with that.

What do you want to do? Export to PDF without any user interaction? Show the
PDF export dialog but specifying the settings before?

Please post your question to the mailing list for this topics: 
[email protected]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to