It seems 'startPage' field of 'SearchQueryDataRec' structure is not used by 'SearchExecuteQueryEx' function

New Here ,
Feb 09, 2018

Copy link to clipboard

Copied

I'm trying to start search at a specific page number but, Acrobat always give me results from page 1.

TOPICS
Acrobat SDK and JavaScript

Views

160

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

It seems 'startPage' field of 'SearchQueryDataRec' structure is not used by 'SearchExecuteQueryEx' function

New Here ,
Feb 09, 2018

Copy link to clipboard

Copied

I'm trying to start search at a specific page number but, Acrobat always give me results from page 1.

TOPICS
Acrobat SDK and JavaScript

Views

161

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 09, 2018 0
Most Valuable Participant ,
Feb 09, 2018

Copy link to clipboard

Copied

As a wild guess, if you are using an index to search I'd not be surprised if start page were ignored (as indexes are global). Docs don't say this though.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 09, 2018 0
xtof1 LATEST
New Here ,
Feb 09, 2018

Copy link to clipboard

Copied

In this case, what shall be other fields to make startPage working ?

In my case, I have:

  • type = kSearchActiveDoc
  • scope = kSearchDocumentText | kSearchMarkup
  • maxDocs = 1

I think it shall work with these fields. So, what is the problem ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 09, 2018 0