InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
FitInformation Class Reference

#include <IGalleyInfoUtils.h>

Public Types

enum  TypeFit { kUnderset, kExactFit, kOverset, kUnknownFit }
 

Public Attributes

PMReal fFractionalFitValue
 
PMReal fPercentFilled
 
TypeFit fFitDataType
 

Detailed Description

Class used to return fit information for the StoryCountFit routine.

Member Data Documentation

TypeFit FitInformation::fFitDataType

Will return whether the text is underset, an exact fit or overset.

PMReal FitInformation::fFractionalFitValue

0 if totally fit, positive (num lines/words/pages over), negative (num lines/words/pages under).

PMReal FitInformation::fPercentFilled

1.0 for exactFit and overset if underset it will have a value between 0.0 and 1.0 that indicates the percentage of the fit