InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IOpenFileCmdData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Roey Horns
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
// Purpose: Parameters used to open a file
24
//
25
//========================================================================================
26
27
#ifndef __IOpenFileCmdData__
28
#define __IOpenFileCmdData__
29
30
#include "IPMUnknown.h"
31
#include "OpenPlaceID.h"
32
#include "IImportProvider.h"
33
#include "IDocument.h"
40
class
IOpenFileCmdData
:
public
IPMUnknown
41
{
42
public
:
50
virtual
void
Set
(
const
IOpenFileCmdData
&data) = 0;
51
55
typedef
enum
{ kOpenDefault, kOpenOriginal, kOpenCopy }
OpenFlags
;
56
60
typedef
enum
{ kUseLockFile, kNotUseLockFile }
LockFlags
;
61
75
virtual
void
Set
(
const
IDFile
&file, UIFlags uiFlags = kFullUI,
OpenFlags
openFlags = kOpenDefault,
LockFlags
lockFlags = kUseLockFile,
IDocument::UndoSupport
undoSupport = IDocument::kFullUndoSupport,
const
std::string assetRef =
""
) = 0;
76
82
virtual
const
IDFile
&
GetSysFile
()
const
= 0;
83
89
virtual
UIFlags
GetUIFlags
()
const
= 0;
90
92
virtual
void
SetUIFlags
(UIFlags uiFlags) = 0;
93
99
virtual
OpenFlags
GetOpenFlags
()
const
= 0;
100
106
virtual
LockFlags
GetLockFlags
()
const
= 0;
107
108
114
virtual
IDocument::UndoSupport
GetUndoSupport
()
const
= 0;
115
120
virtual
std::string
GetAssetRef
()
const
= 0;
121
};
122
123
#endif
tmpdoxygeninput
IOpenFileCmdData.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1