InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITOPInlineData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michel Hutinel
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 __IWaxGlyphsTOPTransform__
25 #define __IWaxGlyphsTOPTransform__
26 
27 #ifndef __TextOnPathID__
28 #include "TextOnPathID.h"
29 #endif
30 #include "IPMUnknown.h"
31 
32 class PMMatrix;
33 class PMPoint;
34 class PMReal;
35 class IPathGeometry;
36 class IMainItemTOPData;
37 
41 class ITOPInlineData : public IPMUnknown
42 {
43  public:
44  enum { kDefaultIID = IID_ITOPINLINEDATA };
45 
46  // YC 12/29/99: only for ILG in a Path Type (or TextOnPath)
47  // . IsInTOPTextFrame and GetTOPFrameMatrix are only called by InlineTransform::GetInlineToFrameMatrix
48  // . SetTOPFrameMatrix is only called by TOPSplineObserver. It update this matrix for kRecomposeBoss
49  // before to recompose the text.
50 
51  virtual bool16 IsInTOPTextFrame() const = 0;
52  virtual void SetInTOPTextFrame( const bool16 isInTOPTextFrame ) = 0;
53 
54  virtual PMMatrix GetTOPFrameMatrix() const = 0;
55  virtual PMMatrix GetInverseTOPFrameMatrix() const = 0;
56  virtual void SetTOPFrameMatrix( const PMMatrix& newMatrix ) = 0;
57 
58  virtual void UpdateInlineMatrix() = 0;
59 
60 };
61 
62 #endif