09/28/2011, 10:43 PM
|
#1 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 275
Likes Received: 21
Thanks: 14
Thanked 58 Times in 37 Posts
|
Update [10/21/2011]: Check out the ipk at http://forums.precentral.net/webos-p...ewed-page.html
Update [9/30/2011]: I added made the page numbers a more visible with a white background. As seen in the second image below. Just replace white.txt in pxxview.white.txt with js. Always remember to backup. OR edit Code:
{kind: "RowGroup", components: [
{ name: "pagerichnum", kind: "Input", style: "width: 80px; height: 45px; padding:0px;", inputClassName: "pagerichnumclass", hint: "Page #", onchange:"buttonClick", selectAllOnFocus:"true"}
]},
Code:
{kind: "RowGroup", components: [
{ name: "pagerichnum", kind: "Input", style: "width: 75px;background-color:white;margin:-1px", inputClassName: "pagerichnumclass", hint: "Page #", onchange:"buttonClick", selectAllOnFocus:"true"}
]},
Hi all, I made a goto box that you tap and enter a number to jump to that page. It has a quick error handling so you don't have to worry about a mistype. Backup your file! Please don't do this if you don't understand. Ask and I will give a better step by step later. If you have Internalz installed, browse to (How I did all my testing): /media/cryptofs/apps/usr/palm/applications/com.quickoffice.ar/source/Pxxview.js edit it in the following way (OR You have to rename the attached pxxview.txt to pxxview.js and place it in that folder.) : Find line ~36, it looks like this: Code:
{ name: "pagelistselector", kind: "PageListSelector", className: "pageNumber", onPageSelect: "pageSelectChange" },
Code:
{kind: "RowGroup", components: [
{ name: "pagerichnum", kind: "Input", style: "width: 80px; height: 45px; padding:0px;", inputClassName: "pagerichnumclass", hint: "Page #", onchange:"buttonClick", selectAllOnFocus:"true"}
]},
Code:
changePages: function(inPage, inMax) {
if (inMax) {
this.maxPages = inMax;
this.$.pagelistselector.updateNumPages(this.maxPages);
this.$.pagelistselector.setCurrentPageAndRefresh(this.currentPage);
}
Code:
if (inMax) {
this.maxPages = inMax;
this.$.pagelistselector.updateNumPages(this.maxPages);
this.$.pagelistselector.setCurrentPageAndRefresh(this.currentPage);
this.$.pagerichnum.setValue(this.currentPage);
}
Code:
if (inPage) {
this.currentPage = inPage;
this.$.pagelistselector.setCurrentPageAndRefresh(this.currentPage);
Code:
if (inPage) {
this.currentPage = inPage;
this.$.pagelistselector.setCurrentPageAndRefresh(this.currentPage);
this.$.pagerichnum.setValue(this.currentPage);
}
Code:
pageSelectChange: function(inS1, inS2, inValue, inOldValue) {
this.$.qowtArea.goToPage(inValue);
},
Code:
pageSelectChange: function(inS1, inS2, inValue, inOldValue) {
this.$.qowtArea.goToPage(inValue);
this.$.pagerichnum.setValue(inValue);
},
buttonClick:function() {
var rtcnew= this.$.pagerichnum.getValue();
if(rtcnew>0 && rtcnew<=this.maxPages){
this.$.qowtArea.goToPage(rtcnew);
}
else{
this.$.pagerichnum.setValue(this.currentPage);
}
},
Last edited by knownboyofno; 10/21/2011 at 04:04 AM. Reason: ipk listed |
09/29/2011, 02:45 AM
|
#2 (permalink) |
|
Member
![]() Join Date: Sep 2011
Posts: 20
Likes Received: 1
Thanks: 10
Thanked 5 Times in 3 Posts
|
OMG OMG, this is what I was waiting for!!! Thank you, I think I just **** In My Pants - YouTube
![]() Please give me your PayPal account or something, I would love to send you something for this work. Would it be possible to make it an easy to apply patch? |
09/29/2011, 02:56 AM
|
#3 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 275
Likes Received: 21
Thanks: 14
Thanked 58 Times in 37 Posts
|
Quote:
Short answer I could make a patch but it wouldn't be uninstallable (really bad for updates) Last edited by knownboyofno; 09/29/2011 at 10:35 AM. Reason: missed UN in uninstallable |
|
09/29/2011, 10:22 AM
|
#5 (permalink) |
|
Member
![]() Join Date: Jul 2005
Posts: 130
Likes Received: 2
Thanks: 24
Thanked 10 Times in 9 Posts
|
I tried editing the file myself but it did not work well so I made a copy of my unedited file and then copied in your file, worked much better. THANKS!
__________________
Pilot 5000, PalmPilot Personal, Palm III, Palm IIIx, TRGPro, HandEra 330, Kyocera 7135, Treo 600, 650, 700p, 755, Pre Plus and Pre 2/Touchpad. |
09/29/2011, 10:53 AM
|
#7 (permalink) |
|
Member
![]() Join Date: Jul 2005
Posts: 130
Likes Received: 2
Thanks: 24
Thanked 10 Times in 9 Posts
|
I suspect I just typed something incorrectly. I edited via Internalz but wasn't sure how to do tabs or line returns. When I restarted my device after editing the file, I opened QO then went to open an acrobat file but they were semi grayed out and not able to be opened. When I copied your file over to the proper location and restarted the device, I could open the files just fine.
__________________
Pilot 5000, PalmPilot Personal, Palm III, Palm IIIx, TRGPro, HandEra 330, Kyocera 7135, Treo 600, 650, 700p, 755, Pre Plus and Pre 2/Touchpad. |
09/29/2011, 10:56 AM
|
#8 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 275
Likes Received: 21
Thanks: 14
Thanked 58 Times in 37 Posts
|
Quote:
|
|
09/30/2011, 06:20 AM
|
#11 (permalink) |
|
Member
![]() Join Date: Sep 2011
Posts: 2
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
great...just registered to get this and say thx. I'd also join the others in a small PayPal donation if you add a donate button.
now...any chance you can make a zoom button? :-) |
09/30/2011, 11:30 AM
|
#13 (permalink) |
|
Member
![]() Join Date: Sep 2011
Posts: 16
Likes Received: 0
Thanks: 0
Thanked 2 Times in 2 Posts
|
Thanks, worked for me.
Now if only my manuals had page numbers in the index I'd be all set. I need to search within the document for a phrase or section, ie. 3-14.02 Slowly but surely this pitiful PDF viewer is becoming useful thanks to you guys. |
09/30/2011, 11:50 AM
|
#14 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 275
Likes Received: 21
Thanks: 14
Thanked 58 Times in 37 Posts
|
Which one did you use? I am checking everything is working. I would like everybody to let me know if they got it working or if they would like any other change for this patch.
|
09/30/2011, 08:29 PM
|
#19 (permalink) |
|
Member
![]() Join Date: Sep 2011
Posts: 4
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
OMG ! Just installed the patch - makes the PDF reader usable (some of my books 1,000 pages or so and I always wanted to go near the end ). The only hard part was trying to figure out how to install Internalz- seems alot of info on that app is out of date, using Preware was the way to go.
|
10/01/2011, 12:46 AM
|
#20 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 275
Likes Received: 21
Thanks: 14
Thanked 58 Times in 37 Posts
|
Quote:
|
|
![]() |
|
| Tags |
| goto, page, pdf |
| Thread Tools | |
| Display Modes | |
|
|



