InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITrapStyleUtils.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Bernd Paradies
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//========================================================================================
23
24
#ifndef __ITrapStyleUtils__
25
#define __ITrapStyleUtils__
26
27
#include "PrintID.h"
28
#include "IPMUnknown.h"
29
#include "Utils.h"
30
31
32
#include "UIDList.h"
33
#include "K2Vector.h"
34
35
// Forward declarations
36
class
IDocument
;
37
class
ITrapStyleListMgr
;
38
39
42
class
ITrapStyleUtils
:
public
IPMUnknown
43
{
44
public
:
45
enum
{ kDefaultIID = IID_ITRAPSTYLEUTILS };
46
51
virtual
ITrapStyleListMgr
*
QueryTrapStyleListMgr
(
IDocument
* doc) = 0;
52
58
virtual
ITrapStyleListMgr
*
QueryTrapStyleListMgr
(
const
UIDRef
& listRef) = 0;
59
65
virtual
ErrorCode
AssignStyleToPageList
(
const
UIDList
& pageUIDList,
UIDRef
trapStyleRef) = 0;
66
75
virtual
ErrorCode
ReplaceAndDeleteTrapStyles
(
ITrapStyleListMgr
* iListMgr,
K2Vector<int32>
& styleIndexList, bool16 doReplacement = kFalse,
const
UIDList
* pPageUIDList= nil,
const
UIDRef
* pReplacmentStyleRef = nil) = 0;
76
83
virtual
UIDList
GetDocumentTrapStylePageList
(
IDocument
*,
const
K2Vector<PMString>
&) = 0;
84
90
virtual
void
BuildDocumentPageTrapStyleUsageInfo
(
IDocument
* iDoc,
const
K2Vector<PMString>
& trapStyleList,
PMString
& trapStyleUseSummaryText) = 0;
91
92
};
93
94
95
#endif // __ITrapStyleUtils__
tmpdoxygeninput
ITrapStyleUtils.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1