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.xih

    r123 r153  
    3232#endif
    3333
    34 #define LuDocument_MaxNoMethods 33
     34#define LuDocument_MaxNoMethods 34
    3535
    3636/*
     
    122122  #define _getThumbnail somSelf->getThumbnail
    123123  #define _searchText somSelf->searchText
     124  #define _isCreateFileThumbnail somSelf->isCreateFileThumbnail
    124125  #define _somDefaultInit somSelf->somDefaultInit
    125126#endif
     
    753754
    754755/*
     756 * New Method: isCreateFileThumbnail
     757 */
     758SOM_Scope boolean  SOMLINK isCreateFileThumbnail(LuDocument *somSelf, Environment *ev);
     759#ifndef somMN_isCreateFileThumbnail_defined
     760#define somMN_isCreateFileThumbnail_defined
     761static char *somMN_isCreateFileThumbnail = "isCreateFileThumbnail";
     762static somId somId_isCreateFileThumbnail = &somMN_isCreateFileThumbnail;
     763#endif  /* somMN_isCreateFileThumbnail_defined */
     764#ifndef somDS_isCreateFileThumbnail_defined
     765#define somDS_isCreateFileThumbnail_defined
     766static char *somDS_isCreateFileThumbnail = "::LuDocument::isCreateFileThumbnail";
     767static somId somDI_isCreateFileThumbnail = &somDS_isCreateFileThumbnail;
     768#endif  /* somDS_isCreateFileThumbnail_defined */
     769
     770static somMethodInfo isCreateFileThumbnailMethodInfo = {10, 8, 0};
     771
     772static somApRdInfo isCreateFileThumbnailStubs = {0, 0, &isCreateFileThumbnailMethodInfo};
     773
     774/*
    755775 * Overridden method: somDefaultInit
    756776 */
     
    10631083#else
    10641084         (somMethodProc *) ((void*) &searchTextStubs) },
     1085#endif
     1086    {    &LuDocumentClassData.isCreateFileThumbnail,
     1087         &somId_isCreateFileThumbnail,
     1088         &somDI_isCreateFileThumbnail,
     1089         (somMethodProc *) isCreateFileThumbnail,
     1090         (somMethodProc *)((void*)-1),
     1091#ifdef isCreateFileThumbnail_somApRdDefault
     1092         0},
     1093#else
     1094         (somMethodProc *) ((void*) &isCreateFileThumbnailStubs) },
    10651095#endif
    10661096};
     
    10971127
    10981128static somStaticClassInfo LuDocumentSCI = {
    1099     4, 29, 1, 0, 4, 0, /* layout version 4 */
     1129    4, 30, 1, 0, 4, 0, /* layout version 4 */
    11001130    LuDocument_MajorVersion, LuDocument_MinorVersion,
    11011131    0, LuDocument_MaxNoMethods, 1,
     
    11201150    0, /* number of SelectInheritedMethods */
    11211151    0, /* no SelectInheritedMethods */
    1122     33, /* number of classdata entries */
     1152    34, /* number of classdata entries */
    11231153    0, /* no list provided currently */
    11241154    0, /* number of migrated methods */
Note: See TracChangeset for help on using the changeset viewer.