{ defaultItems = ( "NSToolbarFlexibleSpaceItem", "view", "NSToolbarSidebarTrackingSeparatorItemIdentifier", "zoom_and_actual", "NSToolbarFlexibleSpaceItem", "markup", "NSToolbarFlexibleSpaceItem", "removeBackground", "rotate", "form_filling", "edit_banner", "NSToolbarFlexibleSpaceItem", "inspector", "share", "search" ); allowedItems = ( "view", "NSToolbarSidebarTrackingSeparatorItemIdentifier", "zoom", "zoom_and_actual", "zoom_to_fit", "actual_size", "scale", "previous_next", "back_forward", "goto_page", "slideshow", "inspector", "loupe", "selection", "print", "share", "markup", "removeBackground", "rotate", "edit_banner", "form_filling", "search", "NSToolbarSeparatorItem", "NSToolbarSpaceItem", "NSToolbarFlexibleSpaceItem" ); items = ( { class = "PVPopupMenuToolbarItem"; identifier = "view"; tag = 1; trackingMode = 0; AXDescription = "View Menu"; segments = ( { action = "dummyActionForViewButton:"; identifier = "viewmenu"; symbol = "sidebar.leading"; label = "View"; tag = 0; toolTip = "TB_ViewMenu"; AXDescription = "View Menu"; menu = ( { action = "toggleHideSidebar:"; title = "Hide Sidebar"; }, { action = "setViewModeContentAndThumbnails:"; title = "Thumbnails"; }, { action = "setViewModeContentAndOutline:"; title = "Table of Contents"; }, { action = "setViewModeContentAndAnnotations:"; title = "TB_Annotations"; }, { action = "setViewModeContentAndBookmarks:"; title = "Bookmarks"; }, { action = "setViewModeContactSheet:"; title = "Contact Sheet"; }, {}, { action = "setPageViewModeScroll:"; title = "Continuous Scroll"; }, { action = "setPageViewModeBookSinglePage:"; title = "Single Page"; }, { action = "setPageViewModeBookFacingPages:"; title = "Two Pages"; }, ); }, ); menuFormRep = { title = "View"; }; }, { class = "PVSegmentedToolbarItem"; identifier = "zoom"; label = "Zoom"; tag = 10; trackingMode = 2; AXDescription = "Zoom"; segments = ( { action = "doZoomOut:"; identifier = "zoom_out"; symbol = "minus.magnifyingglass"; label = "Zoom Out"; tag = 0; toolTip = "Scale document down"; AXDescription = "Zoom Out"; }, { action = "doZoomIn:"; identifier = "zoom_in"; symbol = "plus.magnifyingglass"; label = "Zoom In"; tag = 1; toolTip = "Scale document up"; AXDescription = "Zoom In"; }, ); }, { class = "PVSegmentedToolbarItem"; identifier = "zoom_and_actual"; label = "Zoom"; tag = 11; trackingMode = 2; AXDescription = "Zoom"; segments = ( { action = "doZoomOut:"; identifier = "zoom_out"; symbol = "minus.magnifyingglass"; tag = 0; toolTip = "Scale document down"; AXDescription = "Zoom Out"; }, { action = "doZoomToActualSize:"; identifier = "actual_size"; symbol = "1.magnifyingglass"; tag = 1; toolTip = "Display at actual size"; AXDescription = "Actual Size"; }, { action = "doZoomIn:"; identifier = "zoom_in"; symbol = "plus.magnifyingglass"; tag = 2; toolTip = "Scale document up"; AXDescription = "Zoom In"; }, ); }, { class = "PVToolbarItem"; action = "doZoomToFit:"; identifier = "zoom_to_fit"; symbol = "arrow.up.left.and.down.right.magnifyingglass"; label = "Zoom to Fit"; tag = 12; toolTip = "TBZoomToFit"; AXDescription = "Zoom to Fit"; }, { class = "PVToolbarItem"; action = "doZoomToActualSize:"; identifier = "actual_size"; symbol = "1.magnifyingglass"; label = "Actual Size"; tag = 13; toolTip = "Display at actual size"; AXDescription = "Actual Size"; }, { class = "PVPercentTextToolbarItem"; action = "doZoomToFactor:"; identifier = "scale"; label = "Scale"; tag = 14; toolTip = "Scale by percentage"; AXDescription = "Scale"; menuFormRep = { title = "Scale..."; action = "openScaleFactorPanel:"; noAutoGenerate = 1; }; }, { class = "PVGPSegmentedToolbarItem"; identifier = "previous_next"; tag = 20; trackingMode = 2; AXDescription = "Page Navigation"; segments = ( { action = "doGoBackwardInstantly:"; identifier = "goto_previous_page"; symbol = "arrow.up.doc"; label = "Previous"; tag = 0; toolTip = "Go to previous item"; AXDescription = "Previous Item"; }, { action = "doGoForwardInstantly:"; identifier = "goto_next_page"; symbol = "arrow.down.doc"; label = "Next"; tag = 1; toolTip = "Go to next item"; AXDescription = "Next Item"; }, ); menuFormRep = { title = "Prev/Next"; }; }, { class = "PVSegmentedToolbarItem"; identifier = "back_forward"; label = "Page History"; tag = 21; trackingMode = 2; segmentMinWidth = 23; //matches Safari AXDescription = "Page History"; segments = ( { action = "doGoBackInHistory:"; identifier = "go_back_recent_page"; symbol = "chevron.backward"; tag = 0; toolTip = "Go back in page history"; AXDescription = "Go Back"; }, { action = "doGoForwardInHistory:"; identifier = "go_forward_recent_page"; symbol = "chevron.forward"; tag = 1; toolTip = "Go forward in page history"; AXDescription = "Go Forward"; }, ); }, { class = "PVPageNumberToolbarItem"; action = "goToPageNumber:"; identifier = "goto_page"; label = "Page"; tag = 22; toolTip = "Go to a specific page"; AXDescription = "Go to Page Number"; menuFormRep = { title = "Go to Page..."; action = "goToPageNumberPanel:"; noAutoGenerate = 1; }; }, { class = "PVToolbarItem"; action = "slideshow:"; identifier = "slideshow"; symbol = "play.rectangle"; label = "Slideshow"; tag = 30; toolTip = "Slideshow"; AXDescription = "Slideshow"; }, { class = "PVToolbarItem"; action = "toggleInspectorShown:"; identifier = "inspector"; symbol = "info"; // Note that this can change dynamically trackingMode = 1; label = "Inspector"; tag = 40; toolTip = "Inspector"; AXDescription = "Inspector"; }, { class = "PVSegmentedToolbarItem"; action = "pickToolFromSenderTag:"; identifier = "loupe"; label = "Magnify"; tag = 1000; trackingMode = 1; toolTip = "Show the Magnifier"; AXDescription = "Toggle Magnifier"; segments = ( { action = "pickToolFromSenderTag:"; identifier = "loupe_segment"; symbol = "loupe"; tag = 1000; toolTip = "Show the Magnifier"; AXDescription = "Toggle Magnifier"; }, ); }, { class = "PVSegmentedToolbarItem"; action = "pickToolFromSenderTag:"; identifier = "selection"; label = "Selection"; tag = 815; trackingMode = 1; toolTip = "Rectangular Selection"; AXDescription = "Rectangular Selection"; segments = ( { action = "pickToolFromSenderTag:"; identifier = "selection_segment"; symbol = "square.dashed"; tag = 815; toolTip = "Rectangular Selection"; AXDescription = "Rectangular Selection"; }, ); }, { class = "PVToolbarItem"; action = "printAllContainers:"; identifier = "print"; symbol = "printer"; label = "Print"; tag = 50; toolTip = "TB_Print"; AXDescription = "Print"; }, { class = "PVSharingServicePickerToolbarItem"; identifier = "share"; action = "share:"; toolTip = "TB_Share"; symbol = "square.and.arrow.up"; label = "Share"; tag = 60; trackingMode = 0; AXDescription = "Share"; }, { class = "PVToolbarItem"; identifier = "form_filling"; label = "Form Filling"; symbol = "rectangle.and.pencil.and.ellipsis"; toolTip = "TOOLBAR_ShowFormFillingToolbar"; action = "toggleFormFilling:"; trackingMode = 1; tag = 202322; AXDescription = "Toggle Form Filling Toolbar"; }, { class = "PVToolbarItem"; identifier = "removeBackground"; label = "Remove Background"; symbol = "circle.rectangle.filled.pattern.diagonalline"; toolTip = "TOOLBAR_RemoveBackground"; action = "removeBackground:"; tag = 202323; AXDescription = "Remove Background"; }, { class = "PVMarkupToolbarItem"; identifier = "markup"; label = "TOOLBAR_Highlight"; toolTip = "TB_Annotations"; action = "pickAKToolFromSenderTag:"; tag = 764050; AXDescription = "TOOLBAR_Highlight"; }, { class = "PVToolbarItem"; action = "pickToolFromSenderTag:"; identifier = "rotate"; symbol = "rotate.left"; label = "Rotate"; tag = 905; toolTip = "Rotate"; AXDescription = "Rotate"; }, { class = "PVSegmentedToolbarItem"; action = "toggleEditBanner:"; identifier = "edit_banner"; label = "Markup"; tag = 70; trackingMode = 1; toolTip = "TB_ShowMarkupToolbar"; AXDescription = "Toggle Markup Toolbar"; segments = ( { action = "toggleEditBanner:"; identifier = "edit_banner_segment"; symbol = "pencil.tip.crop.circle"; tag = 71; toolTip = "TB_ShowMarkupToolbar"; AXDescription = "Toggle Markup Toolbar"; }, ); }, { class = "PVSearchToolbarItem"; action = "doSearchField:"; identifier = "search"; label = "Search"; tag = 80; toolTip = "Search documents and file names for text"; AXDescription = "Search"; menuFormRep = { title = "Search..."; action = "openSearchPanel:"; noAutoGenerate = 1; }; }, ); }