InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IInCopyWorkgroupHelper.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Michele Goodwin
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 __IInCopyWorkgroupHelper__
25
#define __IInCopyWorkgroupHelper__
26
27
#include "IPMUnknown.h"
28
#include "ISession.h"
29
#include "InCopyCoreID.h"
30
#include "IDocFileHandler.h"
31
32
37
class
IInCopyWorkgroupHelper
:
public
IPMUnknown
38
{
39
public
:
40
enum
{ kDefaultIID = IID_IINCOPYWORKGROUPHELPER };
41
46
virtual
bool16
WorkgroupSyncPreLoad
(
const
IDFile
& fileToOpen )
const
= 0;
47
52
virtual
bool16
WorkgroupSyncPrePlace
(
const
IDFile
& fileToOpen )
const
= 0;
53
58
virtual
bool16
WorkgroupSyncPreLoad
(
const
UIDRef
& story )
const
= 0;
59
64
virtual
bool16
WorkgroupSyncPrePlace
(
const
UIDRef
& story )
const
= 0;
65
70
virtual
bool16
ShouldSyncPreLoad
(
UIDRef
story) = 0;
71
76
virtual
bool16
ShouldSyncPrePlace
(
UIDRef
story) = 0;
77
81
virtual
void
WorkgroupSyncPostSave
(
const
IDFile
& theFile)
const
= 0;
82
88
virtual
bool16
HasNewerVersion
(
const
UIDRef
& doc) = 0;
89
96
virtual
bool16
GetOriginalSysFile
(
const
UIDRef
& doc,
IDFile
& originalSysFile) = 0;
97
104
virtual
bool16
IsTemporaryVersion
(
const
UIDRef
& doc) = 0;
105
113
virtual
UIDRef
GetCurrentVersionDoc
(
const
UIDRef
& doc,
const
IDFile
& destFile) = 0;
114
119
virtual
void
SetWorkgroupSaveAsData
(
const
UIDRef
& doc) = 0;
120
125
// virtual bool16 UseVersionedCloseUI(const UIDRef& doc) = 0;
126
131
// virtual IDocFileHandler::CloseOptions DoSaveAlert(const UIDRef& doc) = 0;
132
137
virtual
bool16
IsVersioned
(
const
UIDRef
& doc)
const
= 0;
138
143
virtual
bool16
IsVersionedLocation
(
const
IDFile
& theFile)
const
= 0;
144
152
virtual
bool16
ShouldSaveAsAlternate
(
const
UIDRef
& doc,
IDFile
& originalPath)
const
= 0;
153
160
virtual
int32
MakeAlternate
(
const
IDFile
* versionSysFile,
const
IDFile
*originalReplicaSysFile)
const
= 0;
161
162
};
163
164
#endif // __IInCopyWorkgroupHelper__
tmpdoxygeninput
IInCopyWorkgroupHelper.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1