InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IMeasurementSystem.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: psorrick
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 __IMeasurementSystem__
25
#define __IMeasurementSystem__
26
27
#include "IPMUnknown.h"
28
#include "MeasurementSystemID.h"
29
#include "RequestContext.h"
30
31
class
IUnitOfMeasure
;
32
38
class
IMeasurementSystem
:
public
IPMUnknown
39
{
40
public
:
41
enum
{ kDefaultIID = IID_IMEASUREMENTSYSTEM };
42
44
enum
{ kPointMeasure = 0 };
45
48
virtual
int32
Location
(
const
ClassID
& classId)
const
= 0;
49
51
virtual
int32
GetNumberOfUnits
()
const
= 0;
52
55
virtual
IUnitOfMeasure
*
QueryUnitOfMeasure
(int32 index)
const
= 0;
56
59
virtual
IUnitOfMeasure
*
QueryUnitOfMeasure
(
const
ScriptID
&
id
,
const
ScriptInfo::RequestContext
& context )
const
= 0;
60
62
virtual
void
Cleanup
() = 0;
63
};
64
65
#endif
tmpdoxygeninput
IMeasurementSystem.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1