InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IStyleMappingFacade.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Prakash Verma
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// ADOBE CONFIDENTIAL
16
//
17
// Copyright 2010 Adobe Systems Incorporated
18
// All Rights Reserved.
19
//
20
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
21
// with the terms of the Adobe license agreement accompanying it. If you have received
22
// this file from a source other than Adobe, then your use, modification, or
23
// distribution of it requires the prior written permission of Adobe.
24
//
25
// Description:
26
// A high level API for dealing with shared content links, link resources and link objects.
27
//
28
//========================================================================================
29
30
#ifndef __IStyleMappingFacade__
31
#define __IStyleMappingFacade__
32
33
// ----- Includes -----
34
#include "IPMUnknown.h"
35
36
#include "SharedContentID.h"
37
#include "Utils.h"
38
47
namespace
Facade
48
{
49
50
class
IStyleMappingFacade
:
public
IPMUnknown
51
{
52
public
:
53
enum
{ kDefaultIID = IID_ISTYLEMAPPINGFACADE };
54
63
virtual
ErrorCode
AddStyleMappingRule
(
const
UIDRef
&itemRef,
const
IStyleMappings::MappingRule
&mappingRule,
const
IStyleMappings::MappingStyleType
&styleType, int32 &pos)
const
= 0;
64
72
virtual
ErrorCode
AddStyleMappingRule
(
const
UIDList
&itemList,
const
IStyleMappings::MappingRule
&mappingRule,
const
IStyleMappings::MappingStyleType
&styleType)
const
= 0;
73
82
virtual
ErrorCode
SetStyleMappingRule
(
const
UIDList
&itemList,
const
int32 index,
const
IStyleMappings::MappingRule
&mappingRule,
const
IStyleMappings::MappingStyleType
&styleType)
const
= 0;
83
84
92
virtual
ErrorCode
RemoveStyleMappingRule
(
const
UIDList
&itemList,
const
int32 index,
const
IStyleMappings::MappingStyleType
&styleType)
const
= 0;
93
94
100
virtual
ErrorCode
ClearStyleMappings
(
const
UIDList
&itemList)
const
= 0;
101
107
virtual
ErrorCode
SetStyleMappings
(
const
UIDList
&itemList,
const
IStyleMappings
*inMappingsData)
const
= 0;
108
114
virtual
bool16
ValidateMappingStyleName
(
const
PMString
&styleName)
const
= 0;
115
116
};
117
118
}
// namespace Facade
119
120
121
#endif // __IStyleMappingFacade__
tmpdoxygeninput
IStyleMappingFacade.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1