![]() | InDesign SDK 20.5 |
#include <IPagesPanelPrefs.h>

Public Types | |
| enum | { kInvalidPageIconSize = -1, kExtraSmallPageIconSize = 0, kExtraSmall = kExtraSmallPageIconSize, kSmallPageIconSize = 1, kSmall = kSmallPageIconSize, kMediumPageIconSize = 2, kMedium = kMediumPageIconSize, kLargePageIconSize = 3, kLarge = kLargePageIconSize, kExtraLargePageIconSize = 4, kGradeAJumbo = kExtraLargePageIconSize, kExtraExtraLargePageIconSize = 5 } |
| enum | ViewSetting { kInvalidView = -1, kHorizontally = 0, kVertically = 1, kByAlternateLayout = 2 } |
| typedef int32 | IconSize |
Public Member Functions | |
| virtual void | SetIconSize (IconSize iconSize)=0 |
| virtual IconSize | GetLayoutIconSize ()=0 |
| virtual void | SetViewSetting (ViewSetting setting)=0 |
| virtual ViewSetting | GetViewSetting ()=0 |
| virtual void | SetMasterIconSize (IconSize iconSize)=0 |
| virtual IconSize | GetMasterIconSize ()=0 |
| virtual void | SetMasterVerticalView (bool16 on)=0 |
| virtual bool16 | GetMasterVerticalView ()=0 |
| virtual void | SetPagesFixedSize (bool16 on)=0 |
| virtual bool16 | GetPagesFixedSize ()=0 |
| virtual void | SetMasterFixedSize (bool16 on)=0 |
| virtual bool16 | GetMasterFixedSize ()=0 |
| virtual void | SetPagesOnTop (bool16 on)=0 |
| virtual bool16 | GetPagesOnTop ()=0 |
| virtual void | SetPagesThumbnails (bool16 on)=0 |
| virtual bool16 | GetPagesThumbnails ()=0 |
| virtual void | SetMastersThumbnails (bool16 on)=0 |
| virtual bool16 | GetMastersThumbnails ()=0 |
| virtual void | SetShowTransparencyIcon (bool16 on)=0 |
| virtual bool16 | GetShowTransparencyIcon ()=0 |
| virtual void | SetShowTransitionsIcon (bool16 on)=0 |
| virtual bool16 | GetShowTransitionsIcon ()=0 |
| virtual void | SetShowRotationIcon (bool16 on)=0 |
| virtual bool16 | GetShowRotationIcon ()=0 |
| virtual int32 | GetLayoutVerticalInterSpreadSpace ()=0 |
| virtual int32 | GetMasterVerticalInterSpreadSpace ()=0 |
| virtual int32 | GetHorizontalInterSpreadSpace (IconSize iconSize)=0 |
| virtual int32 | GetMasterPageRowHeight ()=0 |
| virtual int32 | GetLayoutPageRowHeight ()=0 |
| virtual int32 | GetMasterPageTabWidth (IGeometry *thePage)=0 |
| virtual int32 | GetLayoutPageTabWidth (IGeometry *thePage)=0 |
| virtual int32 | GetMasterPageTabHeight ()=0 |
| virtual int32 | GetLayoutPageTabHeight ()=0 |
| virtual int32 | GetCornerFoldSize (IconSize iconSize)=0 |
| virtual int32 | GetSpreadBorderWidth (IconSize iconSize, bool16 bVerticalMode)=0 |
| virtual int32 | GetSpreadBorderHeight (IconSize iconSize, int32 *spaceAbove, int32 *spaceBelow)=0 |
| virtual int32 | GetSpreadTextOffset (IconSize iconSize)=0 |
| virtual int32 | GetSpreadTextSize (IconSize iconSize)=0 |
| virtual int32 | GetSectionMarkerSize (IconSize iconSize, bool16 bVerticalMode)=0 |
| virtual int32 | GetPanelBorder (IconSize iconSize, int32 *spaceAtTop, int32 *spaceAtBottom)=0 |
| virtual PMPoint | GetColorLabelSize (IconSize iconSize)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Preferences that define the appearance of the pages panel
| anonymous enum |
Enumerated sizes for the Pages Panel page and master page icons
| pure virtual |
Get the height of the color flag (below the page tab widget)
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| pure virtual |
Get the number of pixels used to draw the fold in the corner of a page tab
| iconSize | size of the page tab icons |
| pure virtual |
Get the number of pixels between spreads (horizontally) in the pages panel - used in wrapping view
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| pure virtual |
Get page tab icon size
| pure virtual |
Get the number of pixels between spreads (vertically) in the pages panel
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| pure virtual |
Get master pane fixed size
| pure virtual |
Get master page icon size
| pure virtual |
Get the number of vertical pixels used by each row of the pages panel
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| widthToHeightRatio | - IN: Typically, we draw a rectangle with a folder corner for each page and the ratio of the width to height is 3:4. However, it may be desirable to draw a rectangle that maintains the proportions of the actual page size if, for example, we want to draw a thumbnail of the page. |
| pure virtual |
Get the number of pixels high each page tab will be
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| widthToHeightRatio | - IN: Typically, we draw a rectangle with a folder corner for each page and the ratio of the width to height is 3:4. However, it may be desirable to draw a rectangle that maintains the proportions of the actual page size if, for example, we want to draw a thumbnail of the page. |
| pure virtual |
Get the number of pixels wide a page tab will be
| iconSize | size of the page tab icons |
| widthToHeightRatio | - IN: Typically, we draw a rectangle with a folder corner for each page and the ratio of the width to height is 3:4. However, it may be desirable to draw a rectangle that maintains the proportions of the actual page size if, for example, we want to draw a thumbnail of the page. |
| pure virtual |
Get thumbnails setting for masters section
| pure virtual |
Get vertical view (kTrue), or wrapping view (kFalse)
| pure virtual |
Get pages fixed size
| pure virtual |
Get pages on top
| pure virtual |
Get thumbnails setting for pages section
| pure virtual |
Get the number of pixels above the first and below the last spread widget.
| iconSize | size of the page tab icons |
| spaceAtTop | white space above all rows |
| spaceAtBottom | white space below all rows |
| pure virtual |
Get the height of the section marker (above the spread widget)
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| pure virtual |
Get the bool indicating if the rotation icon should be drawn on spreads with non-zero rotation applied.
| pure virtual |
Get the bool indicating if the transition icon should be drawn on spreads with page transitions applied.
| pure virtual |
Get the bool indicating if the transparency indicator should be drawn on spreads with transparency applied. This is the checkerboard icon.
| pure virtual |
Get the number of pixels around each spread widget vertically
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| spaceAbove | space above |
| spaceBelow | space below |
| pure virtual |
Get the number of pixels around each spread widget horizontally
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| pure virtual |
Get the number of pixels between the bottom of the spread widget and the top of the text widget
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| pure virtual |
Get the number of pixels tall the text under the spread is
| iconSize | size of the page tab icons |
| bVerticalMode | kTrue if panel is in vertical mode, kFalse otherwise |
| pure virtual |
Get method for the view setting of the layout pages subpanel.
| pure virtual |
Set page tab icon size
| set | pages subpanel icon size (value is one of the enums in IPagesPanelPrefs) |
| pure virtual |
Set master pane to be fixed size
| on | set master pages subpanel to fixed size on resize if kTrue, variable size if kFalse |
| pure virtual |
Set master page icon size
| set | master pages subpanel icon size (value is one of the enums in IPagesPanelPrefs) |
| pure virtual |
Set thumbnails on or off for masters section
| on | masters thumbnails on if kTrue, off if kFalse |
| pure virtual |
Set vertical view (kTrue), or wrapping view (kFalse)
| on | set masters to vertical view if kTrue, or wrapping view if kFalse |
| pure virtual |
Set fixed size pages pane
| on | set pages subpanel to fixed size on resize if kTrue, variable size if kFalse |
| pure virtual |
Set pages on top
| on | pages subpanel on top if kTrue, on bottom if kFalse |
| pure virtual |
Set thumbnails on or off for pages section
| on | pages thumbnails on if kTrue, off if kFalse |
| pure virtual |
Set rotation icon on or off
| on | rotation icon is on if kTrue, off if kFalse |
| pure virtual |
Set transitions icon on or off
| on | transitions icon is on if kTrue, off if kFalse |
| pure virtual |
Set transparency icon on or off
| on | transparency icon is on if kTrue, off if kFalse |
| pure virtual |
Set method for how to arrange pages.
| setting,a | ViewSetting enum |