Add GetPageText to MSW IE and to GTK WebKit. Add stub for OSX and document.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-07-13 17:25:05 +00:00
parent 97ba4d81a8
commit 241b769f96
7 changed files with 35 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ public:
virtual wxString GetCurrentURL();
virtual wxString GetCurrentTitle();
virtual wxString GetPageSource();
virtual wxString GetPageText();
//We do not want to hide the other overloads
using wxWebView::SetPage;
virtual void SetPage(const wxString& html, const wxString& baseUrl);

View File

@@ -63,6 +63,7 @@ public:
virtual void Reload(wxWebViewReloadFlags flags = wxWEB_VIEW_RELOAD_DEFAULT);
virtual wxString GetPageSource();
virtual wxString GetPageText();
virtual bool IsBusy();
virtual wxString GetCurrentURL();

View File

@@ -56,6 +56,7 @@ public:
virtual void Reload(wxWebViewReloadFlags flags = wxWEB_VIEW_RELOAD_DEFAULT);
virtual void Stop();
virtual wxString GetPageSource();
virtual wxString GetPageText() { return ""; }
virtual void SetPageTitle(const wxString& title) { m_pageTitle = title; }
virtual wxString GetPageTitle(){ return m_pageTitle; }

View File

@@ -222,6 +222,7 @@ public:
* shown
*/
virtual wxString GetPageSource() = 0;
virtual wxString GetPageText() = 0;
/**
* Get the zoom factor of the page