InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ISetFittingOptionsCmdData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Lonnie Millett
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 __ISETFITTINGOPTIONSCMDDATA__
25
#define __ISETFITTINGOPTIONSCMDDATA__
26
27
#include "IPMUnknown.h"
28
#include "IReferencePointData.h"
29
#include "GenericID.h"
30
34
class
ISetFittingOptionsCmdData
:
public
IPMUnknown
35
{
36
public
:
40
enum
{ kDefaultIID = IID_ISETFITTINGOPTIONSCMDDATA };
41
typedef
enum
{
42
kMixedFitting = -1,
43
kNoFitting,
44
kFitContents,
45
kFitProportionally,
46
kFillProportionally
47
} PersistentFitOptions;
48
58
virtual
void
SetFittingOptionsData
(
IReferencePointData::ReferencePointPosition
refPoint,
59
const
PMRect
& cropAmounts,
60
PersistentFitOptions fitting
/*= kNoFitting*/
,
61
bool16 autoFit
/*= kFalse*/
) = 0;
62
65
virtual
IReferencePointData::ReferencePointPosition
GetReferencePoint
(
void
)
const
= 0;
66
68
virtual
void
GetCropAmounts
(
PMRect
* cropAmounts)
const
= 0;
69
71
virtual
PersistentFitOptions
GetFitting
(
void
)
const
= 0;
72
74
virtual
bool16
GetAutoFit
(
void
)
const
= 0;
75
};
76
77
#endif
tmpdoxygeninput
ISetFittingOptionsCmdData.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1