Ignore:
Timestamp:
Nov 11, 2006, 9:39:04 AM (14 years ago)
Author:
Eugene Romanenko
Message:

Writes into EA thumbnail of first page of document

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/plugins/ludoc/ludoc.idl

    r126 r153  
    2323    typedef sequence <LuLinkMapping> LuLinkMapSequence;
    2424    typedef sequence <LuFontInfo> LuFontInfoSequence;
    25         typedef somMToken asynchCallbackFn;
     25    typedef somMToken asynchCallbackFn;
    2626
    2727    /**
     
    6666    /**
    6767     * isFixedImage
    68      * 
     68     *
    6969     * Determines if upscaling doesn't improve image quality.
    7070     * Must return TRUE for fixed-size images/bitmaps.
     
    158158     *       it used during printing.
    159159     **/
    160     void renderPageToPixbufAsynch( in long pagenum, in long src_x, 
    161                            in long src_y, in long src_width, in long src_height,
    162                    in double scale, in long rotation, in LuPixbuf pixbuf, 
    163                    in asynchCallbackFn fnd, in asynchCallbackFn fna, 
     160    void renderPageToPixbufAsynch( in long pagenum, in long src_x,
     161                   in long src_y, in long src_width, in long src_height,
     162                   in double scale, in long rotation, in LuPixbuf pixbuf,
     163                   in asynchCallbackFn fnd, in asynchCallbackFn fna,
    164164                   in somToken fndata );
    165165
     
    173173     *               presentation space using renderPageToPS().
    174174     *
    175      * Note: You may not implement renderPageToPixbuf() if 
     175     * Note: You may not implement renderPageToPixbuf() if
    176176     *       isRenderIntoPS() is TRUE.
    177177     *
     
    179179     **/
    180180    boolean isRenderIntoPS();
    181    
    182    
     181
     182
    183183    /**
    184184     * renderPageToPS
     
    202202    void renderPageToPS( in long pagenum, in long src_x, in long src_y,
    203203                   in long src_width, in long src_height,
    204                    in double scale, in long rotation, 
     204                   in double scale, in long rotation,
    205205                   in unsigned long hps, in somMToken rect );
    206206
     
    212212     *
    213213     * Return value: TRUE if document contains text, which
    214      *               can be selected by user, searched, etc, 
     214     *               can be selected by user, searched, etc,
    215215     *               FALSE otherwise.
    216216     * Default return value: FALSE
     
    349349     * brkExport: pointer to boolean variable which must be checked
    350350     *            during generating postscript, if it's TRUE - interrupt
    351      *            generation process. 
     351     *            generation process.
    352352     *
    353353     * Create a new postscript file and render document to.
     
    356356     * Default return value: FALSE
    357357     **/
    358     boolean exportToPostScript( in string filename, 
     358    boolean exportToPostScript( in string filename,
    359359                     in long first_page, in long last_page,
    360360                     in double width, in double height,
     
    514514
    515515
     516    /**
     517     * isCreateFileThumbnail
     518     *
     519     * If this method returns TRUE, then GUI may create thumbnail for
     520     * this file and write it into EAs.
     521     *
     522     * Default return value: FALSE
     523     **/
     524    boolean isCreateFileThumbnail();
     525
     526
    516527#ifdef __SOMIDL__
    517528
    518529    implementation
    519530    {
    520         releaseorder: loadFile, getBpp, isScalable, isRotable, 
    521                       getPageCount, getPageSize, renderPageToPixbuf, 
     531        releaseorder: loadFile, getBpp, isScalable, isRotable,
     532                      getPageCount, getPageSize, renderPageToPixbuf,
    522533                      isAsynchRenderingSupported, renderPageToPixbufAsynch,
    523534                      isRenderIntoPS, renderPageToPS,
    524535                      isHaveText, getSelectionRectangles, freeRectangles,
    525536                      getText, isHaveLinks, getLinkMapping, freeLinkMapping,
    526                       isSaveable, saveAs, 
     537                      isSaveable, saveAs,
    527538                      isPostScriptExportable, exportToPostScript,
    528539                      isHaveFontInfo, getFontInfo, freeFontInfo,
    529540                      isHaveIndex, getIndex, getDocumentInfo,
    530541                      freeDocumentInfo, getThumbnailSize, getThumbnail,
    531                       searchText, isFixedImage;
     542                      searchText, isFixedImage, isCreateFileThumbnail;
    532543
    533544
Note: See TracChangeset for help on using the changeset viewer.