InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IAssignmentUtils.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Jon Pugh
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
// Functions to aid in InCopy Document file actions
24
//
25
//========================================================================================
26
27
#ifndef __IAssignmentUtils__
28
#define __IAssignmentUtils__
29
30
#include "AssignmentID.h"
31
#include "Utils.h"
32
33
#include "KeyValuePair.h"
34
35
class
IAssignment
;
36
class
IAssignedStory
;
37
class
IAssignedDocument
;
38
class
IHierarchy
;
39
class
IScript
;
40
class
ITextFrameColumn
;
41
42
46
class
IAssignmentUtils
:
public
IPMUnknown
47
{
48
public
:
49
enum
{kDefaultIID = IID_IASSIGNMENTUTILS};
50
56
virtual
IAssignment
*
GetAssignment
(
const
IScript
* script) = 0;
57
63
virtual
IAssignedStory
*
GetStory
(
const
IScript
* script) = 0;
64
70
virtual
void
NormalizeTextModelRef
(
UIDRef
& ref) = 0;
71
77
virtual
bool16
IsDataBaseOpen
(
IDataBase
* db) = 0;
78
87
virtual
UIDRef
GetParent
(
UIDRef
object
) = 0;
88
94
virtual
UID
TextFrameToGraphicFrame
(
ITextFrameColumn
*frame) = 0;
95
101
virtual
UID
TextFrameToGraphicFrame
(
IHierarchy
*frame) = 0;
102
108
virtual
UID
TextFrameToGraphicFrame
(
const
UIDRef
& frame) = 0;
109
117
virtual
UID
GraphicFrameToTextFrame
(
IHierarchy
*frame, bool16 bFirstFrame) = 0;
118
126
virtual
UID
GraphicFrameToTextFrame
(
const
UIDRef
& frame, bool16 bFirstFrame) = 0;
127
135
virtual
PMString
GetDefaultAssignmentFolder
(
IDataBase
*db) = 0;
136
142
virtual
bool16
IsAssignmentFileTypeID
(
const
FileTypeInfoID
& fileTypeID)
const
= 0;
143
149
virtual
bool16
IsAssignmentFileExtension
(
const
PMString
& fileExt)
const
= 0;
150
156
virtual
bool16
IsInCopyAssignmentPackageFileTypeID
(
const
FileTypeInfoID
& fileTypeID)
const
= 0;
157
163
virtual
bool16
IsInDesignAssignmentPackageFileTypeID
(
const
FileTypeInfoID
& fileTypeID)
const
= 0;
164
175
virtual
bool16
StoryFormatCompatible
(
IAssignment
* toAssignment,
UIDRef
storyRef)
const
= 0;
176
};
177
178
#endif //__IAssignmentUtils__
tmpdoxygeninput
IAssignmentUtils.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1