incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <>
Subject Re: [EXT] Printing without empty pages
Date Thu, 24 May 2012 16:02:30 GMT
Hi Fernand,

On Thu, May 24, 2012 at 05:40:42PM +0200, Fernand Vanrie wrote:
> Ariel ,
> Thanks very instructive (as always) but can you tell me why this
> ""
> are not available as a property off the document ?

I guess it was a design choice. This how it works in the different
modules, Dev's Guide, section "Overall Document Features" for every
document type:

- service ::com::sun::star::sheet::DocumentSettings
- service ::com::sun::star::text::DocumentSettings
- service ::com::sun::star::presentation::DocumentSettings
- service ::com::sun::star::drawing::DocumentSettings

I guess we could think of an css::document::XDocumentSettingsSupplier,
using multiple inheritance, it could be implemented in the main
interface of every document type, for Writer, css::text::XTextDocument.
For AOO 4 we should think about using multiple inheritance to easy the
API use in strong typed languages.

Ariel Constenla-Haile
La Plata, Argentina

View raw message