Added NormalizeFontSizes which will set the html font sizes based on

the size of a system font.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-08-05 23:59:44 +00:00
parent ebee3cd033
commit 7acd36259b
7 changed files with 120 additions and 1 deletions

View File

@@ -199,6 +199,9 @@ public:
}
}
// Sets font sizes to be relative to the given size or the system default size
void NormalizeFontSizes(int size=-1);
wxHtmlContainerCell* GetContainer();
wxHtmlContainerCell* OpenContainer();
wxHtmlContainerCell *SetContainer(wxHtmlContainerCell *c);
@@ -865,6 +868,9 @@ public:
}
}
// Sets font sizes to be relative to the given size or the system default size
void NormalizeFontSizes(int size=-1);
DocDeclStr(
void, SetTitle(const wxString& title),
"", "");
@@ -952,6 +958,10 @@ public:
delete [] temp;
}
}
// Sets font sizes to be relative to the given size or the system default size
void NormalizeFontSizes(int size=-1);
int Render(int x, int y, int from = 0, int dont_render = False, int to = INT_MAX,
//int *known_pagebreaks = NULL, int number_of_pages = 0
int* choices=NULL, int LCOUNT = 0
@@ -993,6 +1003,10 @@ public:
delete [] temp;
}
}
// Sets font sizes to be relative to the given size or the system default size
void NormalizeFontSizes(int size=-1);
void SetMargins(float top = 25.2, float bottom = 25.2,
float left = 25.2, float right = 25.2,
float spaces = 5);
@@ -1033,6 +1047,9 @@ public:
}
}
// Sets font sizes to be relative to the given size or the system default size
void NormalizeFontSizes(int size=-1);
wxPrintData *GetPrintData() {return m_PrintData;}
wxPageSetupDialogData *GetPageSetupData() {return m_PageSetupData;}