projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed DLL compilation warning
[wxWidgets.git]
/
include
/
wx
/
html
/
htmprint.h
diff --git
a/include/wx/html/htmprint.h
b/include/wx/html/htmprint.h
index 5b6ab89c87a834083482985463881958efe5734a..b407ebeeec90c7ecbc133ff17b4dff5719667aaa 100644
(file)
--- a/
include/wx/html/htmprint.h
+++ b/
include/wx/html/htmprint.h
@@
-4,17
+4,13
@@
// Author: Vaclav Slavik
// Created: 25/09/99
// RCS-ID: $Id$
// Author: Vaclav Slavik
// Created: 25/09/99
// RCS-ID: $Id$
-// Copyright: (c)
+// Copyright: (c)
Vaclav Slavik
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_HTMPRINT_H_
#define _WX_HTMPRINT_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_HTMPRINT_H_
#define _WX_HTMPRINT_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "htmprint.h"
-#endif
-
#include "wx/defs.h"
#if wxUSE_HTML & wxUSE_PRINTING_ARCHITECTURE
#include "wx/defs.h"
#if wxUSE_HTML & wxUSE_PRINTING_ARCHITECTURE
@@
-57,7
+53,7
@@
public:
void SetHtmlText(const wxString& html, const wxString& basepath = wxEmptyString, bool isdir = true);
// Sets fonts to be used when displaying HTML page. (if size null then default sizes used).
void SetHtmlText(const wxString& html, const wxString& basepath = wxEmptyString, bool isdir = true);
// Sets fonts to be used when displaying HTML page. (if size null then default sizes used).
- void SetFonts(
wxString normal_face, wxString
fixed_face, const int *sizes = NULL);
+ void SetFonts(
const wxString& normal_face, const wxString&
fixed_face, const int *sizes = NULL);
// Sets font sizes to be relative to the given size or the system
// default size; use either specified or default font
// Sets font sizes to be relative to the given size or the system
// default size; use either specified or default font
@@
-81,7
+77,8
@@
public:
// set the same pagebreak twice.
//
// CAUTION! Render() changes DC's user scale and does NOT restore it!
// set the same pagebreak twice.
//
// CAUTION! Render() changes DC's user scale and does NOT restore it!
- int Render(int x, int y, int from = 0, int dont_render = FALSE, int to = INT_MAX,
+ int Render(int x, int y, int from = 0, int dont_render = FALSE,
+ int maxHeight = INT_MAX,
int *known_pagebreaks = NULL, int number_of_pages = 0);
// returns total height of the html document
int *known_pagebreaks = NULL, int number_of_pages = 0);
// returns total height of the html document
@@
-146,7
+143,7
@@
public:
// You can set different header/footer for odd and even pages
// Sets fonts to be used when displaying HTML page. (if size null then default sizes used).
// You can set different header/footer for odd and even pages
// Sets fonts to be used when displaying HTML page. (if size null then default sizes used).
- void SetFonts(
wxString normal_face, wxString
fixed_face, const int *sizes = NULL);
+ void SetFonts(
const wxString& normal_face, const wxString&
fixed_face, const int *sizes = NULL);
// Sets font sizes to be relative to the given size or the system
// default size; use either specified or default font
// Sets font sizes to be relative to the given size or the system
// default size; use either specified or default font
@@
-245,7
+242,7
@@
public:
// pg is one of wxPAGE_ODD, wxPAGE_EVEN and wx_PAGE_ALL constants.
// You can set different header/footer for odd and even pages
// pg is one of wxPAGE_ODD, wxPAGE_EVEN and wx_PAGE_ALL constants.
// You can set different header/footer for odd and even pages
- void SetFonts(
wxString normal_face, wxString
fixed_face, const int *sizes = 0);
+ void SetFonts(
const wxString& normal_face, const wxString&
fixed_face, const int *sizes = 0);
// Sets fonts to be used when displaying HTML page. (if size null then default sizes used)
// Sets font sizes to be relative to the given size or the system
// Sets fonts to be used when displaying HTML page. (if size null then default sizes used)
// Sets font sizes to be relative to the given size or the system