[Okular-devel] [patch] Add encrypted document support for Ooo

Pino Toscano toscano.pino at tiscali.it
Fri Feb 15 00:25:13 CET 2008


Alle giovedì 14 febbraio 2008, Tobias Koenig ha scritto:
> > > I'm reasonably happy with this now, although there are a couple of
> > > issues I still want to resolve:
> > > * I can't find an appropriate parent widget for some of the GUI
> > > operations that I need to do - it seems the TextDocumentConvertor
> > > doesn't expose one.
> >
> > Adding a protected
> >   const TextDocumentGenerator* document() const;
> > in TextDocumentConverter would be the obvious solution - Tobias?
>
> Hmm, yepp (also the name doesn't reflect the return type ;)).

Oops sorry, it should had been 'generator' (fixed).

> But how is the document passed in? Changing the ctor of
> TextDocumentConverter to take the TextDocumentGenerator?

Nope, just making the TextDocumentGenerator access to the private class (now 
used) of TextDocumentConverter ;)

Added in SVN!

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/okular-devel/attachments/20080215/761f1f93/attachment.pgp 


More information about the Okular-devel mailing list