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