X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbd08c6a9549538e211eb6d78152482ca6d4a810..e8f60bac1ab18be00b4e433f5db7b0261c5f17da:/utils/tex2rtf/src/tex2any.h diff --git a/utils/tex2rtf/src/tex2any.h b/utils/tex2rtf/src/tex2any.h index fb9a2eab15..d194288402 100644 --- a/utils/tex2rtf/src/tex2any.h +++ b/utils/tex2rtf/src/tex2any.h @@ -36,9 +36,9 @@ #ifdef __WXMSW__ - const int MAX_LINE_BUFFER_SIZE = 600; + const unsigned long MAX_LINE_BUFFER_SIZE = 600; #else - const int MAX_LINE_BUFFER_SIZE = 11000; + const unsigned long MAX_LINE_BUFFER_SIZE = 11000; #endif class TexMacroDef: public wxObject @@ -139,6 +139,7 @@ extern wxHashTable TopicTable; void AddKeyWordForTopic(char *topic, char *entry, char *filename = NULL); void ClearKeyWordTable(void); +extern char wxTex2RTFBuffer[]; extern TexChunk *TopLevel; extern wxHashTable MacroDefs; extern wxStringList IgnorableInputFiles; // Ignorable \input files, e.g. psbox.tex @@ -172,6 +173,10 @@ int GetCurrentColumn(void); // number of characters on current line char *ConvertCase(char *s); // Convert case, according to upperCaseNames setting. extern wxPathList TexPathList; // Path list, can be used for file searching. +#if !WXWIN_COMPATIBILITY_2 +extern bool StringMatch(const wxChar *one, const wxChar *two, bool subString = TRUE, bool exact = FALSE); +#endif + // Define a variable value from the .ini file char *RegisterSetting(char *settingName, char *settingValue, bool interactive = TRUE); @@ -239,6 +244,7 @@ extern int winHelpVersion; // Version e.g. 4 for Win95 extern bool winHelpContents; // Generate .cnt file extern bool htmlIndex; // Generate .htx HTML index file extern bool htmlFrameContents; // Use frames for HTML contents page +extern char *htmlStylesheet; // Use this CSS stylesheet for HTML pages extern int contentsDepth; // Depth of contents for linear RTF files extern bool upperCaseNames; // Filenames; default is lower case extern char *backgroundImageString; // HTML background image @@ -248,6 +254,8 @@ extern char *linkColourString; // HTML link colour extern char *followedLinkColourString; // HTML followed link colour extern bool combineSubSections; // Stop splitting files below section extern bool htmlWorkshopFiles; // generate HTML Help Workshop project files +extern bool ignoreBadRefs; // Don't insert (REF NOT FOUND) +extern char *htmlFaceName; // HTML face name // Names to help with internationalisation extern char *ContentsNameString;