Changeset 515 for trunk/Lucide/plugins


Ignore:
Timestamp:
Sep 7, 2012, 8:38:55 AM (9 years ago)
Author:
Silvan Scherrer
Message:

updated poppler to 0.20.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/plugins/lupoppler/lupoppler.cpp

    r497 r515  
    352352                src_x, src_y,
    353353                src_width, src_height,
    354                 gFalse, /* printing (allow links) */
    355                 document->doc->getCatalog() );
     354                gFalse /* printing (allow links) */ );
    356355
    357356    DosReleaseMutexSem( document->mutex );
     
    456455                src_width, src_height,
    457456                NULL, /* links */
    458                 document->doc->getCatalog(),
    459457                abortCheckCbk, &acd );
    460458    DosReleaseMutexSem( document->mutex );
     
    470468    {
    471469        DosRequestMutexSem( document->mutex, SEM_INDEFINITE_WAIT );
    472         page->text_dev = new TextOutputDev( NULL, gTrue, gFalse, gFalse );
     470        page->text_dev = new TextOutputDev( NULL, gTrue, 0, gFalse, gFalse );
    473471
    474472        page->gfx = page->page->createGfx(page->text_dev,
     
    477475                          gTrue, /* Crop */
    478476                          -1, -1, -1, -1,
    479                           NULL, /* links */
    480                           document->doc->getCatalog(),
    481                           NULL, NULL, NULL, NULL);
     477                          NULL, /* printing */
     478                          NULL, NULL);
    482479
    483480        page->page->display( page->gfx );
     
    719716    PopplerPage *page = &( document->pages[ pagenum ] );
    720717
    721     Links *links = new Links( page->page->getAnnots(document->doc->getCatalog()) );
     718    Links *links = new Links( page->page->getAnnots() );
    722719
    723720    if ( links == NULL ) {  // No links, return empty LuLinkMapSequence
     
    805802    PDFDoc *doc = ((PopplerDocument *)somThis->data)->doc;
    806803
    807     PSOutputDev *out = new PSOutputDev( filename, doc, doc->getXRef(), doc->getCatalog(), NULL,
     804    PSOutputDev *out = new PSOutputDev( filename, doc, NULL,
    808805                                (first_page <= last_page) ? (first_page + 1) : (last_page + 1),
    809806                                (first_page <= last_page) ? (last_page + 1) : (first_page + 1),
     
    13421339
    13431340    DosRequestMutexSem( document->mutex, SEM_INDEFINITE_WAIT );
    1344     TextOutputDev *output_dev = new TextOutputDev( NULL, gTrue, gFalse, gFalse );
     1341    TextOutputDev *output_dev = new TextOutputDev( NULL, gTrue, 0, gFalse, gFalse );
    13451342    page->display( output_dev, 72, 72, 0, gFalse,
    1346                    gTrue, NULL, document->doc->getCatalog() );
     1343                   gTrue, NULL );
    13471344    DosReleaseMutexSem( document->mutex );
    13481345
     
    13791376                   gTrue, gFalse, // startAtLast, stopAtLast
    13801377                   caseSensitive, gFalse, // caseSensitive, backwards
     1378                   gFalse, //whole word
    13811379                   &xMin, &yMin, &xMax, &yMax ) )
    13821380    {
     
    14361434    for (int i = 0; i < doc->doc->getNumPages(); ++i) {
    14371435        Page *page = doc->pages[ i ].page;
    1438         FormPageWidgets *widgets = page->getFormWidgets(doc->doc->getCatalog());
     1436        FormPageWidgets *widgets = page->getFormWidgets();
    14391437        if (widgets == NULL || widgets->getNumWidgets() > 0)
    14401438            return TRUE;
     
    14531451    Page *page = doc->pages[ pagenum ].page;
    14541452
    1455     FormPageWidgets *widgets = page->getFormWidgets(doc->doc->getCatalog());
     1453    FormPageWidgets *widgets = page->getFormWidgets();
    14561454
    14571455    LuDocument_LuInputFieldSequence *fields = (LuDocument_LuInputFieldSequence *)
     
    16061604    white[2] = 255;
    16071605    document->output_dev = new SplashOutputDev( splashModeXBGR8, 4, gFalse, white );
    1608     document->output_dev->startDoc( document->doc->getXRef() );
     1606    document->output_dev->startDoc( document->doc );
    16091607
    16101608    long numpages = document->doc->getNumPages();
Note: See TracChangeset for help on using the changeset viewer.