InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWaxGlyphsME.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: prubini
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 // ADOBE CONFIDENTIAL
24 //
25 // Usage rights licenced to Adobe Inc. 1993 - 2007.
26 //
27 //========================================================================================
28 
29 #ifndef __IWaxGlyphsMEData__
30 #define __IWaxGlyphsMEData__
31 
32 #include "WorldReadyID.h"
33 #include "IPMUnknown.h"
34 
36 
46 class IWaxGlyphsME : public IPMUnknown
47 {
48  public:
49  enum { kDefaultIID = IID_IWAXGLYPHSME };
50 
59  virtual void AddGlyphMEData(int32 num, const float* xOffsets, const float* yOffsets,
60  const float * width, int32 lineGlyphOffset = -1, int32 lineTextOffset = -1) = 0;
61 
65  virtual float GetXOffsetAt(int32 glyphIndex) const = 0;
69  virtual void SetXOffsetAt(int32 glyphIndex, float xOffset) = 0;
70 
74  virtual float GetYOffsetAt(int32 glyphIndex) const = 0;
78  virtual void SetYOffsetAt(int32 glyphIndex, float yOffset) = 0;
79 
83  virtual float GetLeftOffsetAt(int32 glyphIndex) const = 0;
87  virtual void SetLeftOffsetAt(int32 glyphIndex,float offset) = 0;
88 
92  virtual const float* PeekDiacXOffsetArray() const = 0;
96  virtual const float* PeekDiacYOffsetArray() const = 0;
100  virtual const float* PeekLeftOffsetArray() const = 0;
101 
105  virtual int32 GetLineGlyphOffset() const = 0;
109  virtual int32 GetLineTextOffset() const = 0;
110 
114  virtual const TEInputOutputMapping* GetLog() const = 0;
115 
119  virtual bool GetIsTabLeaderRun() const = 0;
123  virtual void SetIsTabLeaderRun(bool tabLeaderRun) = 0;
124 
129  virtual bool16 SplitInto(IWaxGlyphsME* other, int32 glyphOffsetInRun) = 0;
130 };
131 
132 #endif
133