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

List:       kde-bugs-dist
Subject:    [Bug 99240] Create links to a precise position in the text
From:       Enrico Ros <rosenric () dei ! unipd ! it>
Date:       2005-02-27 14:04:20
Message-ID: 20050227140420.18843.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=99240         




------- Additional Comments From rosenric dei unipd it  2005-02-27 15:04 -------
We already have the internal "Viewport" object that can constructed *over a string* \
and then applied to the document. Using that urls can look like this: \
http:/someurl?7;C1:0.5:0.118 Viewport string format: "page;uniformDesc" where in this \
case uniformDesc describes the 'viewport center' \
(C1:normalizedXCenter:normalizedYCenter).

Albert suggestion is right:
<<
openURL...
if ( opened && urlHasTheString )
{
    DocumentViewport vp( theString );
    document->setVieweport( vp );
}
> > 


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

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