摘要:
A document viewer control that is hosted by another computer program to provide that program with document viewing functionality, including enabling user interaction with the content. An interface provides the program with plug-in access to document viewing functionality, including scrolling, zooming, finding, layout, copying and the like. Properties may be retrieved and set via the interface, and commands may be issued. The result is that any program can provide document viewing functionality in a consistent manner. Moreover, via styles or the like, a program developer can deactivate and/or override default functionality, to customize and/or extend the document viewer as desired for a given program.
摘要:
A method and system for changing the zoom applied to a document. A request is received to change the zoom of a document displayed in a viewing area. A focal point is determined based on whether an insertion point or active selection is currently displayed in the viewing area. Then, the viewable area of the document is displayed in the viewing area based on the focal point and the zoom change.
摘要:
A method and system for changing the area in which to view the content of a document while maintaining access to various viewing options. In a first state, toolbar items are displayed in a toolbar area while a document is displayed in a document area. In changing to a second viewing state, certain items of the toolbar area are hidden while a menu toolbar item remains displayed. In addition, the document area is expanded to include the now-minimized toolbar area. The menu toolbar item may become semi-transparent during the second viewing state, provides access to viewing options, and also allows the viewing state to be changed back to the first viewing state.
摘要:
A method and system in a document viewer for scrolling a substantially exact increment in a document, such as one page, regardless of whether the zoom is such that some, all or one page is currently being viewed. In one implementation, pressing a Page Down or Page Up keyboard key/button allows a user to begin at any starting vertical location within a page, and navigate to that same location on the next or previous page. For example, if a user is viewing a page starting in a viewing area from the middle of that page and ending at the bottom, a Page Down command will cause the next page to be shown in the viewing area starting at the middle of the next page and ending at the bottom of the next page. Similar behavior occurs when there is more than one column of pages being displayed in a row.
摘要:
A method and system in a document viewing control for laying out an invisible page grid based on various criteria, including whether the pages of a document are fixed, contain reflowable content, whether the fixed pages are all the same size, and where the user has actively focused a page when a new layout needs to be generated, which may be anytime a user changes the number of pages to display. Upon such a change, a mechanism determines page sizes based on whether the focused page has flow or fixed content. A layout mechanism computes the grid based on the number of pages (columns) to display across. For documents with mixed-sized and/or mixed flow and fixed pages, rows of the grid are determined from the active page to the start of the document, and from the active page's row to the end of the document. The grid provides consistent viewing results.
摘要:
A method and system in a document viewing control for laying out an invisible page grid based on various criteria, including whether the pages of a document are fixed, contain reflowable content, whether the fixed pages are all the same size, and where the user has actively focused a page when a new layout needs to be generated, which may be anytime a user changes the number of pages to display. Upon such a change, a mechanism determines page sizes based on whether the focused page has flow or fixed content. A layout mechanism computes the grid based on the number of pages (columns) to display across. For documents with mixed-sized and/or mixed flow and fixed pages, rows of the grid are determined from the active page to the start of the document, and from the active page's row to the end of the document. The grid provides consistent viewing results.
摘要:
A method and system in a document viewing control for laying out an invisible page grid based on various criteria, including whether the pages of a document are fixed, contain reflowable content, whether the fixed pages are all the same size, and where the user has actively focused a page when a new layout needs to be generated, which may be anytime a user changes the number of pages to display. Upon such a change, a mechanism determines page sizes based on whether the focused page has flow or fixed content. A layout mechanism computes the grid based on the number of pages (columns) to display across. For documents with mixed-sized and/or mixed flow and fixed pages, rows of the grid are determined from the active page to the start of the document, and from the active page's row to the end of the document. The grid provides consistent viewing results.