InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAdaptiveLayoutPrefs Class Referenceabstract

#include <IAdaptiveLayoutPrefs.h>

Inheritance diagram for IAdaptiveLayoutPrefs:
IPMUnknown

Public Member Functions

virtual void SetAdaptiveLayoutOn (bool16 val)=0
 
virtual void SetScaleLockedPageItems (bool16 val)=0
 
virtual void SetFontSizeandLeadingOn (bool16 val)=0
 
virtual void SetFontSizeLimitOn (bool16 val)=0
 
virtual void SetMinimumFontSize (PMReal val)=0
 
virtual void SetMaximumFontSize (PMReal val)=0
 
virtual void SetAutoAdjustMargins (bool16 val)=0
 
virtual bool16 GetAdaptiveLayoutOn ()=0
 
virtual bool16 GetScaleLockedPageItems ()=0
 
virtual bool16 IsFontSizeandLeadingOn ()=0
 
virtual bool16 IsFontSizeLimitOn ()=0
 
virtual PMReal GetMinimumFontSize ()=0
 
virtual PMReal GetMaximumFontSize ()=0
 
virtual bool16 IsAutoAdjustMarginsOn ()=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface for setting and getting preferences for Adaptive Layout feature.

Member Function Documentation

virtual bool16 IAdaptiveLayoutPrefs::GetAdaptiveLayoutOn ()
pure virtual

Returns the value of preference which states whether the adaptive layout is turned on or not.

Returns
kTrue if adaptive layout is turned on.
virtual PMReal IAdaptiveLayoutPrefs::GetMaximumFontSize ()
pure virtual

Returns the value of preference for maximum font size after adjustment.

Returns
maximum font value as per specified limits.
virtual PMReal IAdaptiveLayoutPrefs::GetMinimumFontSize ()
pure virtual

Returns the value of preference for minimum font size after adjustment.

Returns
minimum font value as per specified limits.
virtual bool16 IAdaptiveLayoutPrefs::GetScaleLockedPageItems ()
pure virtual

Returns the value of preference for adjusting locked items.

Returns
kTrue if locked items are to be adjusted.
virtual bool16 IAdaptiveLayoutPrefs::IsAutoAdjustMarginsOn ()
pure virtual

Returns the value of preference for adjusting margins automatically.

Returns
kTrue if margins are to be set automatically.
virtual bool16 IAdaptiveLayoutPrefs::IsFontSizeandLeadingOn ()
pure virtual

Returns the value of preference for adjusting text's font size and leading.

Returns
kTrue if text is to be adjusted.
virtual bool16 IAdaptiveLayoutPrefs::IsFontSizeLimitOn ()
pure virtual

Returns the value of preference for limiting the values of font by which text's font size is controlled.

Returns
kTrue if text is to be adjusted within the limits.
virtual void IAdaptiveLayoutPrefs::SetAdaptiveLayoutOn (bool16 val)
pure virtual

Sets the value of preference which states whether the adaptive layout is turned on or not.

Parameters
valIN kTrue if adaptive layout is to be turned on.
virtual void IAdaptiveLayoutPrefs::SetAutoAdjustMargins (bool16 val)
pure virtual

Sets the value of preference for adjusting margins automatically.

Parameters
valIN kTrue if margins are to be set automatically.
virtual void IAdaptiveLayoutPrefs::SetFontSizeandLeadingOn (bool16 val)
pure virtual

Sets the value of preference for adjusting text's font size and leading.

Parameters
valIN kTrue if text is to be adjusted.
virtual void IAdaptiveLayoutPrefs::SetFontSizeLimitOn (bool16 val)
pure virtual

Sets the value of preference for limiting the values of font by which text's font size is controlled.

Parameters
valIN kTrue if text is to be adjusted within the limits.
virtual void IAdaptiveLayoutPrefs::SetMaximumFontSize (PMReal val)
pure virtual

Sets the value of preference for maximum font size after adjustment.

Parameters
valIN maximum font value for setting the limits.
virtual void IAdaptiveLayoutPrefs::SetMinimumFontSize (PMReal val)
pure virtual

Sets the value of preference for minimum font size after adjustment.

Parameters
valIN minimum font value for setting the limits.
virtual void IAdaptiveLayoutPrefs::SetScaleLockedPageItems (bool16 val)
pure virtual

Sets the value of preference for adjusting locked items.

Parameters
valIN kTrue if locked items are to be adjusted.