InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDocumentUIState.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: lance bushore
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
// This interface allows the view to get and set information for each window
24
// in a document.
25
//
26
//========================================================================================
27
28
#ifndef __IDocumentUIState__
29
#define __IDocumentUIState__
30
31
#include "IPMUnknown.h"
32
#include "PMRect.h"
33
#include "ILayoutControlData.h"
34
#include "IOpenLayoutCmdData.h"
35
#include "IDocumentPresentation.h"
36
#include "IWindow.h"
37
#include "ShuksanID.h"
38
39
const
double
kInvalidScrollOffset = -1000000;
40
41
class
IPresentationList
;
42
55
class
IDocumentUIState
:
public
IPMUnknown
{
56
public
:
57
enum
{ kDefaultIID = IID_IDOCUMENTUISTATE };
58
62
virtual
PMRect
GetPresentationFrame
()
const
= 0;
63
69
virtual
void
GetScaleFactor_
(
PMReal
& xScaleFactor,
PMReal
& yScaleFactor)
const
= 0;
70
76
virtual
void
SetScaleFactor_
(
PMReal
& xScaleFactor,
PMReal
& yScaleFactor) = 0;
77
81
virtual
PMPoint
GetScrollOffset
()
const
= 0;
82
86
virtual
void
SetScrollOffset
(
PMPoint
& p) = 0;
87
92
virtual
ILayoutControlData::FitSetting
GetFitSetting
()
const
= 0;
93
97
virtual
void
SetFitSetting
(
ILayoutControlData::FitSetting
fit) = 0;
98
103
virtual
IWindow::VisibleState
GetVisibleSetting
()
const
= 0;
104
112
virtual
PMRect
GetSavedMonitorRect
()
const
= 0;
113
117
virtual
IDocumentPresentation::CreationParentingPrefs
GetParentingPreferenceForCreation
()
const
= 0;
118
124
virtual
void
UpdateUIState
(
IPresentationList
*docPresentationList) = 0;
125
131
virtual
void
UpdateUIState
(
ILayoutControlData
*layoutControlData) = 0;
132
};
133
134
135
#endif // __IDocWindowState__
136
tmpdoxygeninput
IDocumentUIState.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1