InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDataLinkHelper.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Steve Flenniken
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 __IDataLinkHelper__
25
#define __IDataLinkHelper__
26
27
#include "IDatalink.h"
28
29
class
IDataBase
;
30
class
UIDList
;
31
class
ICoreFilename
;
32
class
IMissingLink
;
33
class
NameInfo;
34
38
class
IDataLinkHelper
:
public
IPMUnknown
39
{
40
public
:
41
enum
{ kDefaultIID = IID_IDATALINKHELPER };
42
48
virtual
int32
RemoveDataLink
(
const
UIDList
* itemList) = 0;
49
55
virtual
void
GetExtension
(
PMString
&basename,
PMString
&extension) = 0;
56
63
virtual
IDataLink
*
CreateDataLink
(
const
IDFile
&file,
PMString
*formatName = nil) = 0;
64
72
virtual
ErrorCode
InitializeDataLink
(
IPMUnknown
*boss,
const
IDFile
&file,
PMString
*formatName = nil) = 0;
73
80
virtual
UID
NewDataLinkUID
(
IDataBase
*db,
IDataLink
*dl) = 0;
81
88
virtual
bool16
IsLinkMissing
(
IDataBase
*db,
UID
pageItemUID) = 0;
89
95
virtual
ICoreFilename
*
CreatePublicationDir
(
IDataBase
*db) = 0;
96
105
virtual
void
GetNameInfoFromEmbedded
(
IDataBase
*db,
UID
pageitem, NameInfo *ni,
PMString
*formatName, uint32 *filetype) = 0;
106
119
virtual
IDataLink::StateType
AutoFindFile
(NameInfo *pubdirni,
IDataLink
*dl,
IMissingLink
*missingLink = nil,
120
bool32 bIgnoreDateTime = kFalse) = 0;
121
128
virtual
uint64
GetUIDSize
(
IDataBase
*db,
UID
uid) = 0;
129
136
virtual
ErrorCode
GetSysFile
(
IDataLink
* dl,
IDFile
& sysFile) = 0;
137
};
138
139
#endif // __IDataLinkHelper__
tmpdoxygeninput
IDataLinkHelper.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1