InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
SLCLineFitter.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Adobe Developer Technologies
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 __SLCLineFitter_h__
25
#define __SLCLineFitter_h__
26
27
#include "IParagraphComposer.h"
28
#include "SLCDiagnostics.h"
29
30
class
IComposeScanner
;
31
class
SLCTileMeasure
;
32
class
IWaxLine
;
33
class
SLCTileComposer
;
34
class
SLCGlyphNodeList
;
35
61
class
SLCLineFitter
62
{
63
public
:
67
SLCLineFitter
(
void
) : fComposeScanner(nil), fWaxLine(nil), fTextIndex(0)
68
{
69
}
70
74
virtual
~SLCLineFitter
(
void
)
75
{
76
}
77
80
virtual
bool16
RebuildLineToFit
(
IParagraphComposer::RebuildHelper
* helper);
81
82
private
:
89
SLComposerStatusCode
FitLine(
void
);
90
97
SLComposerStatusCode
FitTile(
const
SLCTileMeasure
& tile);
98
106
void
FitTrailingWhiteSpace(
const
SLCTileMeasure
& tile,
107
int32 fromGlyphNodeIndex,
108
const
SLCTileComposer
& tileComposer);
109
115
SLComposerStatusCode
CreateWax(
const
SLCDiagnostics
& slcDiagnostics);
116
119
IComposeScanner
* fComposeScanner;
120
123
const
IWaxLine
* fWaxLine;
124
127
TextIndex fTextIndex;
128
131
PMReal
fXPosition;
132
135
SLCGlyphNodeList
fGlyphNodeList;
136
};
137
138
#endif // __SLCLineFitter_h__
139
140
// End, SLCLineFitter.h
tmpdoxygeninput
SLCLineFitter.h
Generated on Sat Jul 19 2025 02:54:18 for InDesign SDK by
1.8.3.1