[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    KoSavingContext
From:       Martin Pfeiffer <hubipete () gmx ! net>
Date:       2007-07-11 18:20:09
Message-ID: 200707112020.09701.hubipete () gmx ! net
[Download RAW message or body]

Hi folks,
I wanted to implement the saveOdf method in FormulaShape. Therefore I need a 
KoShapeSavingContext instance which is ok. But to construct this one I need a 
KoXmlWriter ( again no problem ) and a KoSavingContext. The last one need 
KoGenStyles in the constructor, so I end up having to construct
KoShapeSavingContext,
KoXmlWriter,
KoSavingContext,
KoGenStyles

whereas I only need KoXmlWriter. Could that be somehow simplified? Perhaps by 
making KoSavingContext optional for the construction of the 
KoShapeSavingContext ?

Cheers,
Martin
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic