[Kde-accessibility] Re: kttsd and KDE 3.4

Robert Vogl voglrobe at web.de
Wed Oct 20 21:10:16 CEST 2004


Am Dienstag, 19. Oktober 2004 15:46 schrieb Olaf Jan Schmidt:
> [Gary Cramblitt, Dienstag, 19. Oktober 2004 07:26]
> [...]
> > > Where would we best add this? In KSayIt?
> >
> > Possibly.  Change KSayIt to "open" a pdf, whereupon it would run it
> > through the kpdf --givetext filter, then display the text in KSayIt.
>
> Robert, what do you think about supporting PDF files in KSayIt using kpdf?

It don't know anything about the filter capabilities of kpdf. If it produces 
text that can be displayed in a textedit view than I see no problem right 
now.

But in principle, I think it is not a good idea to delegate any desirable 
specific format conversions to KSayIt. Maybe for flexibility reasons we can 
define a plugin interface for this and it would be in the responsibility of 
the client developers to support KSayIt with the appropriate plugin to handle 
e.g. PDFs.

> > > Do you think that it would be possible to jump to PDF page/chapter X
> > > in kttsd (or KSayIt)? I have been told that this would be an
> > > important feature for some disabled users of KDE.

A more complex task would be to integrate a navigation and bookmarking system 
into KSayIt. That would be mandatory sooner or later for large texts. The 
navigation problem could be solved if we define a XML-KSayIt-DTD with 
elements for pages, chapters, paragraphs, speakers or whatever, that 
describes how KSayIt would expect text. The kpdf developers could write a 
KSayIt-plugin that converts PDF to KSayIt-XML. Alternatively I could 
implement a DCOP interface that expects such XML files. So KSayIt knows 
anything about the structure of the original text, just needs a XML parser 
and could give the user the ability to navigate through the text.

Bye,

-- 
Robert Vogl
voglrobe at web.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://mail.kde.org/pipermail/kde-accessibility/attachments/20041020/eccbbe18/attachment.pgp


More information about the kde-accessibility mailing list