Hi,
In my question, Points 2 and 3 are achieved. I made the following changes to make it work.
In vOpen method of pdfview.m, I added
defView = 3;
int i = 1;
int count = Document_getPageCount(doc);
bool *verts = (bool *)calloc( sizeof(bool), count);
verts[0] = false;
for (i = 1; i<count; i++ ) {
verts = true;
}
...
m_view = [[PDFVDual alloc] init:false :NULL :0 :verts :count-1];
This change is working as expected.
However, when switching from portrait to landscape mode, the pdf pages are not resized to fit to page automatically and when we flip it from landscape to portrait, two half pages are displayed instead of one complete page. Kindly let us know how to handle this.
Thanks,
Abilash.G