PDF reader panel combining all controls to a ready built PDF reader panel.
More...
#include <PDFViewDocumentPanel.h>
|
| wxPDFViewDocumentPanel () |
|
| wxPDFViewDocumentPanel (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const wxString &name=DefaultName) |
|
| ~wxPDFViewDocumentPanel () |
|
bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const wxString &name=DefaultName) |
|
bool | LoadFile (const wxString &fileName) |
| Load the specified file into the panel. More...
|
|
wxPDFView * | GetPDFView () |
|
void | SetToolBar (wxToolBar *toolBar) |
|
PDF reader panel combining all controls to a ready built PDF reader panel.
This panel combines the other controls into a PDF reader panel. It can be a good base for deriving your own panel or directly using it in your application. Simply initiate an instance load a file into it and show it.
- See also
- wxPDFView, wxPDFViewBookmarksCtrl, wxPDFViewThumbnailListBox
Enumerator |
---|
ID_ZOOM_IN |
|
ID_ZOOM_OUT |
|
ID_NAVIGATION |
|
ID_ZOOM_PAGE_FIT |
|
ID_ZOOM_PAGE_WIDTH |
|
ID_DISPLAY_SINGLE_PAGE |
|
ID_DISPLAY_2PAGES |
|
ID_DISPLAY_2PAGES_COVER |
|
ID_FIND_NEXT |
|
ID_FIND_PREV |
|
wxPDFViewDocumentPanel::wxPDFViewDocumentPanel |
( |
| ) |
|
|
inline |
wxPDFViewDocumentPanel::wxPDFViewDocumentPanel |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id = wxID_ANY , |
|
|
const wxPoint & |
pos = wxDefaultPosition , |
|
|
const wxSize & |
size = wxDefaultSize , |
|
|
long |
style = wxTAB_TRAVERSAL|wxNO_BORDER , |
|
|
const wxString & |
name = DefaultName |
|
) |
| |
wxPDFViewDocumentPanel::~wxPDFViewDocumentPanel |
( |
| ) |
|
bool wxPDFViewDocumentPanel::Create |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id = wxID_ANY , |
|
|
const wxPoint & |
pos = wxDefaultPosition , |
|
|
const wxSize & |
size = wxDefaultSize , |
|
|
long |
style = wxTAB_TRAVERSAL|wxNO_BORDER , |
|
|
const wxString & |
name = DefaultName |
|
) |
| |
void wxPDFViewDocumentPanel::EndActivity |
( |
| ) |
|
|
protected |
wxPDFView* wxPDFViewDocumentPanel::GetPDFView |
( |
| ) |
|
|
inline |
virtual wxBitmap wxPDFViewDocumentPanel::GetToolbarBitmap |
( |
wxArtID |
id | ) |
|
|
protectedvirtual |
Returns bitmap for the specified art ID.
bool wxPDFViewDocumentPanel::LoadFile |
( |
const wxString & |
fileName | ) |
|
Load the specified file into the panel.
- Parameters
-
fileName | Fully qualified local file name |
virtual void wxPDFViewDocumentPanel::PreparePrintDialogData |
( |
wxPrintDialogData & |
printDialogData | ) |
|
|
inlineprotectedvirtual |
Override this method to customize the printDialogData used when the print button is pressed.
void wxPDFViewDocumentPanel::SetToolBar |
( |
wxToolBar * |
toolBar | ) |
|
void wxPDFViewDocumentPanel::StartActivity |
( |
const wxString & |
description | ) |
|
|
protected |
void wxPDFViewDocumentPanel::UpdateActivity |
( |
const wxString & |
description | ) |
|
|
protected |
wxString wxPDFViewDocumentPanel::DefaultName |
|
static |
wxPanel* wxPDFViewDocumentPanel::m_bookmarkPanel |
|
protected |
wxNotebook* wxPDFViewDocumentPanel::m_docNotebook |
|
protected |
wxPanel* wxPDFViewDocumentPanel::m_docPanel |
|
protected |
wxString wxPDFViewDocumentPanel::m_fileName |
|
protected |
wxInfoBar* wxPDFViewDocumentPanel::m_infoBar |
|
protected |
wxPanel* wxPDFViewDocumentPanel::m_navPanel |
|
protected |
wxStaticText* wxPDFViewDocumentPanel::m_pageCountTxtCtrl |
|
protected |
wxTextCtrl* wxPDFViewDocumentPanel::m_pageTxtCtrl |
|
protected |
wxSearchCtrl* wxPDFViewDocumentPanel::m_searchCtrl |
|
protected |
wxSplitterWindow* wxPDFViewDocumentPanel::m_splitter |
|
protected |
wxPanel* wxPDFViewDocumentPanel::m_thumbPanel |
|
protected |
wxToolBar* wxPDFViewDocumentPanel::m_toolBar |
|
protected |
wxComboBox* wxPDFViewDocumentPanel::m_zoomComboBox |
|
protected |