On Thu, 2011-11-17 at 22:39 -0800, Pedro wrote:
> drewjensen wrote:
> > 
> > How to apply a template to an existing Calc file? 
> > 
> 
> This is a quite interesting thread. I'm learning a lot from it ;)
> 
> I would say there isn't a way to change the template unless Andre Schnable
> modifies his extension to apply to Calc files as well :)

Well, the extension is OSS and written in LibOBasic, so anyone is able
to read the code and make changes. 


> Apparentely you can't even use styles from another Spreadsheet or Template
> because there is no New Style from Selection button in Calc's Style and
> Formatting toolbar.

True - though you can still create a new default template of course.

hmm - so I wonder if the lack of import style is because there is no API
for it, or just no GUI support?

Spending some time at http://api.libreoffice.org/ might answer that
question. [Look in the IDL reference]

Another good resource is Andrew Pitonyak's documents on Basic
programming for OO.o at http://www.pitonyak.org/oo.php 

Of course touching base with Heir Schnabel [Add a comment to the
extension page maybe] wouldn't be a bad idea at all. Who knows your
update just might make into a future release :)

> http://help.libreoffice.org/Writer/Using_Styles_From_Another_Document_or_Template
> 
> BTW There is an error in the Extensions site: Template Changer  (was it
> added today?) is named without any file extension (in this  case should be
> .oxt)

Yes - a known issue IIRC.


Best wishes,

//drew


-- 
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to