30 #include "CrossPlatformTypes.h" 31 #include "IDFactory.h" 33 #define kGenericIDPrefix RezLong(0x2C00) 34 #define kGenericIDPrefix2 RezLong(0x1e200) 35 #define kObjectStylePrefix RezLong(0x1b900) 39 #define kGenericPluginName "Generic Page Item" 279 #define kPageItem_CLSID { 0xd7d2c130, 0xd321, 0x11d1, { 0xaa, 0xa2, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 281 #define kPageItems_CLSID { 0xd7d2c131, 0xd321, 0x11d1, { 0xaa, 0xa2, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 283 #define kGroup_CLSID { 0x7761758b, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 285 #define kGroups_CLSID { 0xee964062, 0x6c6, 0x11d2, { 0xaa, 0xc9, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 287 #define kGraphic_CLSID { 0x6ae52037, 0x9e4e, 0x442d, { 0xad, 0xfc, 0x2d, 0x49, 0x2b, 0x4b, 0xcb, 0xef } } 289 #define kGraphics_CLSID { 0xc85a4ab3, 0x9492, 0x4c40, { 0x8a, 0x7b, 0xf8, 0x30, 0x57, 0x6, 0xc8, 0xb8 } } 291 #define kImage_CLSID { 0x77617582, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 293 #define kImages_CLSID { 0x77617583, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 295 #define kEPS_CLSID { 0x77617584, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 297 #define kEPSs_CLSID { 0x77617585, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 299 #define kWMF_CLSID { 0xa2b63906, 0x121f, 0x4ae5, { 0xab, 0xb4, 0x8a, 0x13, 0xb4, 0xc1, 0x8b, 0x3c } } 301 #define kWMFs_CLSID { 0x37ac274d, 0x488d, 0x489e, { 0x8e, 0x69, 0x94, 0xa2, 0x16, 0x89, 0x71, 0xf7 } } 303 #define kPICT_CLSID { 0x62e3e8fa, 0xb2ec, 0x41f1, { 0x90, 0xf2, 0xc5, 0xaf, 0x3a, 0xfb, 0xc7, 0x50 } } 305 #define kPICTs_CLSID { 0x7d72b638, 0xc127, 0x42a5, { 0xb6, 0xf, 0xf3, 0xca, 0x6e, 0xff, 0x9e, 0x5f } } 307 #define kPDF_CLSID { 0x77617586, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 309 #define kPDFs_CLSID { 0x77617587, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } } 311 #define kObjectStyle_CLSID { 0x8014e427, 0x849b, 0x4476, { 0xbb, 0xec, 0xc1, 0x4e, 0x3b, 0x54, 0x6f, 0x80 } } 313 #define kObjectStyles_CLSID { 0x825602c7, 0x96fb, 0x41f4, { 0x8b, 0x5d, 0xf5, 0x1f, 0xcd, 0xc9, 0x24, 0x13} } 315 #define kFrameFittingOptions_CLSID { 0x21ec2086, 0x4911, 0x4879, { 0xb8, 0xde, 0xa7, 0x4, 0x9c, 0x96, 0xc7, 0x69 } } 317 #define kPageItemDefault_CLSID { 0x84a2fcda, 0x3906, 0x473f, { 0xa9, 0xb5, 0x2e, 0xca, 0xd5, 0xae, 0x68, 0xb8 } } 319 #define kObjectStyleGroup_CLSID { 0xd68b4ec1, 0x1e8d, 0x443b, { 0x8b, 0x52, 0xc, 0xdb, 0x3, 0x7f, 0x84, 0x83 } } 321 #define kObjectStyleGroups_CLSID { 0x53d49bd2, 0xd485, 0x4f57, { 0x92, 0x59, 0x8, 0x60, 0x9e, 0x38, 0x9a, 0xae } } 323 #define kTransformMatrix_CLSID { 0xa7f95dbb, 0x18a4, 0x44a3, { 0x9e, 0xd, 0x2e, 0x68, 0x4b, 0x3d, 0x6a, 0xc } } 325 #define kTransformValue_CLSID { 0x5e39f04a, 0x7ff9, 0x45c9, { 0xad, 0x13, 0x65, 0xdb, 0xe1, 0x3a, 0x46, 0xe } } 327 #define kResizeValue_CLSID { 0x1684d190, 0x8eb4, 0x40d1, { 0xad, 0x5d, 0xfa, 0x4a, 0xa2, 0x9, 0xac, 0xa9 } } 329 #define kTransformMatrices_CLSID { 0xe8901c74, 0x4dab, 0x41b7, { 0x86, 0x22, 0x29, 0xde, 0xd5, 0xa7, 0xed, 0xf0 } } 331 #define kAlignDistPref_CLSID { 0x4f016b6d, 0xe5c0, 0x49e3, { 0x9b, 0xce, 0x87, 0x8e, 0x56, 0x71, 0x16, 0x71 } } 333 #define kObjStyleXPPageItemSettingsCategory_CLSID { 0xa39d6f3b, 0x52c7, 0x4459, { 0xa2, 0x9c, 0x8e, 0xaa, 0xd7, 0xd8, 0xed, 0xa } } 335 #define kObjStyleXPStrokeSettingsCategory_CLSID { 0xdf03d94d, 0x9cc2, 0x4248, { 0x85, 0x3, 0xee, 0x8a, 0xac, 0xca, 0xa3, 0xc8 } } 337 #define kObjStyleXPFillSettingsCategory_CLSID { 0xcabd713e, 0x5d70, 0x4a32, { 0xb9, 0x4a, 0xea, 0xd9, 0x56, 0xbc, 0x75, 0x8b } } 339 #define kObjStyleXPContentSettingsCategory_CLSID { 0x26037992, 0x69df, 0x42e2, { 0xa7, 0xb2, 0xe2, 0x8a, 0xb1, 0x5a, 0x81, 0xd9 } } 341 #define kRootObjectStyleGroup_CLSID { 0xff9a3cfd, 0xc8a6, 0x4dee, { 0x98, 0x2, 0xd8, 0x7c, 0x71, 0x67, 0x56, 0xf8 } } 343 #define kObjectExportOptions_CLSID { 0x76ba337c, 0xa2b9, 0x4daa, { 0x93, 0x5d, 0x4e, 0x7b, 0x1c, 0x3e, 0x32, 0x9c } } 345 #define kObjectStyleExportTagMap_CLSID { 0xb41c6e16, 0xe7b6, 0x4d68, { 0xba, 0xc1, 0x38, 0x29, 0x2e, 0x7a, 0xf7, 0x12 } } 347 #define kObjectStyleExportTagMaps_CLSID { 0xbb98def5, 0xa07e, 0x4e96, { 0xb5, 0x45, 0x7f, 0xef, 0xfb, 0x29, 0x64, 0xf } } 349 #define kObjectStyleLayoutAttrOptions_CLSID { 0xdf7ab3f9, 0x1449, 0x4b73 {0xb8, 0x13, 0x57, 0x42, 0x2, 0x8c, 0x69, 0xdb } } 352 enum GenericScriptIDs
355 c_PageItems =
'pits',
364 c_ObjectExportOptions =
'ObEx',
366 e_BeforeNodeRemoved =
'bfNR',
367 e_AfterNodeInserted =
'afNI',
368 e_BeforeNodeRemovedFromDocument =
'bNRD',
369 e_AfterNodeInsertedIntoDocument =
'aNID',
370 e_BeforeGeometryChanged =
'bfGC',
371 e_AfterGeometryChanged =
'afGC',
372 e_BeforeTransformChanged =
'bfTC',
373 e_AfterTransformChanged =
'afTC',
374 e_AfterLabelChanged =
'afLC',
375 e_AfterTextWrapChanged =
'afTW',
376 e_AlternateText =
'alTx',
377 e_ActualText =
'acTx',
379 p_ParentPage =
'PaPa',
380 p_ObjectExportOptionsProperty =
'oExP',
381 p_AltTextSourceType =
'alSP',
382 p_ActualTextSourceType =
'acSP',
383 p_CustomAltText =
'alCt',
384 p_CustomActualText =
'acCt',
385 p_AltMetadataProperty =
'alMp',
386 p_ActualMetadataProperty =
'acMp',
387 p_CustomImageConversion =
'CIcv',
388 p_UseOriginalImage =
'Uoim',
389 p_ApplyTagType =
'Aptt',
390 p_ImageConversionType =
'ICvt',
391 p_ImageSizeOption =
'pISz',
392 p_ImageResolution =
'ImRs',
393 p_CustomImageAlignment =
'CIma',
394 p_CustomLayout =
'CuLy',
395 p_CustomLayoutType =
'CLaT',
396 p_CustomWidthType =
'CWiT',
397 p_CustomHeightType =
'CHeT',
398 p_CustomSizeType =
'CSsT',
399 p_EditBoxCustomSize =
'EbCu',
400 p_ImageAlignment =
'ImAl',
401 p_ImageSpaceBefore =
'ImSB',
402 p_EditBoxCustomWidth =
'OcWi',
404 p_EditBoxCustomHeight =
'OcHe',
406 p_ImageSpaceAfter =
'ImSA',
407 p_SpaceUnit =
'SpUn',
408 p_UseImagePageBreak =
'Uipb',
409 p_ImagePageBreak =
'ImPk',
411 p_UseExistingImage =
'Ueim',
412 p_PreserveObjectLayoutAppearance =
'PoLa',
414 en_SourceType =
'sTyp',
415 en_SourceCustom =
'sTCm',
416 en_SourceXMPAltText =
'sTXa',
417 en_SourceXMPExtendedDescription =
'sTXe',
418 en_SourceXMPTitle =
'sTXt',
419 en_SourceXMPDescription =
'sTXd',
420 en_SourceXMPHeadline =
'sTXh',
421 en_SourceXMPOther =
'sTXo',
422 en_SourceXMLStructure =
'sTXs',
424 en_TagFromStructure =
'tgSe',
425 en_TagArtifact =
'tgAf',
426 en_TagBasedOnObject =
'tgBo',
427 en_ImageConversionType =
'iCvt',
428 en_ImageSizeOption =
'ImSz',
429 en_RelativeToPageWidth =
'RvPw',
430 en_RelativeSizeToTextFlow =
'RsTT',
431 en_RelativeToTextFlow =
'RvTf',
432 en_RelativeToTextSize =
'RvTs',
433 en_ImageSizeResolution =
'Imrs',
438 en_ObjectImageAlignment =
'ImAn',
439 en_AlignLeft =
'AlLf',
440 en_AlignCenter =
'AlCr',
441 en_AlignRight =
'AlRt',
444 en_CSSPixel =
'SpPx',
445 en_ImagePageBreak =
'ImPb',
446 en_CustomLayoutType =
'CuLT',
448 en_CustomWidthType =
'CuWT',
449 en_CustomHeightType =
'CuHT',
450 en_CustomSizeType =
'CuSi',
451 en_BreakBefore =
'Brbf',
452 en_BreakAfter =
'Braf',
453 en_BreakBeforeAndAfter =
'Brba',
454 en_NoneSize =
'NonS',
455 en_DefaultSize =
'DeSi',
456 en_RelativeSize =
'RelS',
457 en_FixedOptionSize =
'FixS',
458 en_FixedSize =
'Fxdz',
459 en_NoneWidth =
'NWid',
460 en_DefaultWidth =
'DWid',
461 en_RelativeWidth =
'RelW',
462 en_FixedWidth =
'FixW',
463 en_CustomWidth =
'CVWi',
464 en_NoneHeight =
'NHei',
465 en_DefaultHeight =
'DefH',
466 en_FixedHeight =
'FHei',
467 en_CustomHeight =
'CuVH',
468 en_UseCustomWidth =
'UCWi',
469 en_UseCustomHeight =
'UCHe',
470 en_AlignmentAndSpacing =
'AlSp',
471 en_FloatLeft =
'FlLe',
472 en_FloatRight =
'FlRi',
474 en_PreserveObjectLayoutAppearance =
'PrAp',
475 en_DefaultAppearance =
'PrDe',
476 en_UseExisting =
'PrUe',
477 en_RasterizeContainer =
'PrRr',
478 en_RasterizeContent =
'PrRt',
479 e_ConvertToRawText =
'CtRt',
480 en_SourceDecorativeImage =
'bDci',
487 #define kNoObjectStyleName "[None]" 488 #define kDefaultObjectStyleForAGraphicFrameName "[Normal Graphics Frame]" 489 #define kDefaultObjectStyleForATextFrameName "[Normal Text Frame]" 490 #define kDefaultObjectStyleForAFrameGridName "[Normal Grid]" 492 #endif // __GenericID__