⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 antiword.h

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻 H
📖 第 1 页 / 共 2 页
字号:
extern const font_block_type	*pGetNextFontInfoListItem(					const font_block_type *);/* fonts.c */extern int	iGetFontByNumber(UCHAR, USHORT);extern const char	*szGetOurFontname(int);extern int	iFontname2Fontnumber(const char *, USHORT);extern void	vCreate0FontTable(void);extern void	vCreate2FontTable(FILE *, int, const UCHAR *);extern void	vCreate6FontTable(FILE *, ULONG,			const ULONG *, size_t, const UCHAR *);extern void	vCreate8FontTable(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);extern void	vDestroyFontTable(void);extern const font_table_type	*pGetNextFontTableRecord(						const font_table_type *);extern size_t	tGetFontTableLength(void);extern void	vCorrectFontTable(conversion_type, encoding_type);extern long	lComputeSpaceWidth(drawfile_fontref, USHORT);/* fonts_r.c & fonts_u.c */extern FILE	*pOpenFontTableFile(void);extern void	vCloseFont(void);extern drawfile_fontref	tOpenFont(UCHAR, USHORT, USHORT);extern drawfile_fontref	tOpenTableFont(USHORT);extern long	lComputeStringWidth(const char *, size_t, drawfile_fontref, USHORT);extern size_t	tCountColumns(const char *, size_t);extern size_t	tGetCharacterLength(const char *);/* fonts_u.c */#if !defined(__riscos)extern const char	*szGetFontname(drawfile_fontref);#endif /* !__riscos *//* hdrftrlist.c */extern void	vDestroyHdrFtrInfoList(void);extern void	vCreat8HdrFtrInfoList(const ULONG *, size_t);extern void	vCreat6HdrFtrInfoList(const ULONG *, size_t);extern void	vCreat2HdrFtrInfoList(const ULONG *, size_t);extern const hdrftr_block_type *pGetHdrFtrInfo(int, BOOL, BOOL, BOOL);extern void	vPrepareHdrFtrText(FILE *);#if defined(__riscos)/* icons.c */extern void	vUpdateIcon(window_handle, icon_block *);extern void	vUpdateRadioButton(window_handle, icon_handle, BOOL);extern void	vUpdateWriteable(window_handle, icon_handle, const char *);extern void	vUpdateWriteableNumber(window_handle, icon_handle, int);#endif /* __riscos *//* imgexam.c */extern image_info_enum	eExamineImage(FILE *, ULONG, imagedata_type *);/* imgtrans */extern BOOL	bTranslateImage(diagram_type *,			FILE *, BOOL, ULONG, const imagedata_type *);/* jpeg2eps.c & jpeg2spr.c */extern BOOL	bTranslateJPEG(diagram_type *,			FILE *, ULONG, size_t, const imagedata_type *);/* listlist.c */extern void	vDestroyListInfoList(void);extern void	vBuildLfoList(const UCHAR *, size_t);extern void	vAdd2ListInfoList(ULONG, USHORT, UCHAR,			const list_block_type *);extern const list_block_type	*pGetListInfo(USHORT, UCHAR);extern USHORT	usGetListValue(int, int, const style_block_type *);/* misc.c */#if !defined(__riscos)extern const char	*szGetHomeDirectory(void);extern const char	*szGetAntiwordDirectory(void);#endif /* !__riscos */extern long	lGetFilesize(const char *);#if defined(DEBUG)extern void	vPrintBlock(const char *, int, const UCHAR *, size_t);extern void	vPrintUnicode(const char *, int, const UCHAR *, size_t);extern BOOL	bCheckDoubleLinkedList(output_type *);#endif /* DEBUG */extern BOOL	bReadBytes(UCHAR *, size_t, ULONG, FILE *);extern BOOL	bReadBuffer(FILE *, ULONG, const ULONG *, size_t, size_t,			UCHAR *, ULONG, size_t);extern ULONG	ulColor2Color(UCHAR);extern output_type *pSplitList(output_type *);extern size_t	tNumber2Roman(UINT, BOOL, char *);extern size_t	tNumber2Alpha(UINT, BOOL, char *);extern char	*unincpy(char *, const UCHAR *, size_t);extern size_t	unilen(const UCHAR *);extern const char	*szBasename(const char *);extern long	lComputeLeading(USHORT);extern size_t	tUcs2Utf8(ULONG, char *, size_t);extern void	vGetBulletValue(conversion_type, encoding_type, char *, size_t);extern BOOL	bAllZero(const UCHAR *, size_t);extern BOOL	bGetNormalizedCodeset(char *, size_t, BOOL *);extern const char	*szGetDefaultMappingFile(void);extern time_t	tConvertDTTM(ULONG);/* notes.c */extern void	vDestroyNotesInfoLists(void);extern void	vGetNotesInfo(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *, int);extern void	vPrepareFootnoteText(FILE *);extern const char	*szGetFootnootText(UINT);extern notetype_enum eGetNotetype(ULONG);/* options.c */extern int	iReadOptions(int, char **);extern void	vGetOptions(options_type *);#if defined(__riscos)extern void	vChoicesOpenAction(window_handle);extern BOOL	bChoicesMouseClick(event_pollblock *, void *);extern BOOL	bChoicesKeyPressed(event_pollblock *, void *);#endif /* __riscos *//* out2window.c */extern void	vSetLeftIndentation(diagram_type *, long);extern void	vAlign2Window(diagram_type *, output_type *,			long, UCHAR);extern void	vJustify2Window(diagram_type *, output_type *,			long, long, UCHAR);extern void	vResetStyles(void);extern size_t	tStyle2Window(char *, size_t, const style_block_type *,			const section_block_type *);extern void	vTableRow2Window(diagram_type *, output_type *,			const row_block_type *, conversion_type, int);/* pdf.c */extern void	vCreateInfoDictionary(diagram_type *, int);extern void	vProloguePDF(diagram_type *,			const char *, const options_type *);extern void	vEpiloguePDF(diagram_type *);extern void	vImageProloguePDF(diagram_type *, const imagedata_type *);extern void	vImageEpiloguePDF(diagram_type *);extern BOOL	bAddDummyImagePDF(diagram_type *, const imagedata_type *);extern void	vAddFontsPDF(diagram_type *);extern void	vMove2NextLinePDF(diagram_type *, USHORT);extern void	vSubstringPDF(diagram_type *,				char *, size_t, long, UCHAR, USHORT,				drawfile_fontref, USHORT, USHORT);extern void	vStartOfParagraphPDF(diagram_type *, long);extern void	vEndOfParagraphPDF(diagram_type *, USHORT, long);extern void	vEndOfPagePDF(diagram_type *, BOOL);/* pictlist.c */extern void	vDestroyPictInfoList(void);extern void	vAdd2PictInfoList(const picture_block_type *);extern ULONG	ulGetPictInfoListItem(ULONG);/* png2eps.c & png2spr.c */extern BOOL	bTranslatePNG(diagram_type *,			FILE *, ULONG, size_t, const imagedata_type *);/* postscript.c */extern void	vProloguePS(diagram_type *,			const char *, const char *, const options_type *);extern void	vEpiloguePS(diagram_type *);extern void	vImageProloguePS(diagram_type *, const imagedata_type *);extern void	vImageEpiloguePS(diagram_type *);extern BOOL	bAddDummyImagePS(diagram_type *, const imagedata_type *);extern void	vAddFontsPS(diagram_type *);extern void	vMove2NextLinePS(diagram_type *, USHORT);extern void	vSubstringPS(diagram_type *,				char *, size_t, long, UCHAR, USHORT,				drawfile_fontref, USHORT, USHORT);extern void	vStartOfParagraphPS(diagram_type *, long);extern void	vEndOfParagraphPS(diagram_type *, USHORT, long);extern void	vEndOfPagePS(diagram_type *, BOOL);/* prop0.c */extern void	vGet0DopInfo(FILE *, const UCHAR *);extern void	vGet0SepInfo(FILE *, const UCHAR *);extern void	vGet0PapInfo(FILE *, const UCHAR *);extern void	vGet0ChrInfo(FILE *, const UCHAR *);/* prop2.c */extern void	vGet2DopInfo(FILE *, const UCHAR *);extern void	vGet2SepInfo(FILE *, const UCHAR *);extern void	vGet2HdrFtrInfo(FILE *, const UCHAR *);extern row_info_enum	eGet2RowInfo(int,			const UCHAR *, int, row_block_type *);extern void	vGet2StyleInfo(int,			const UCHAR *, int, style_block_type *);extern void	vGet2PapInfo(FILE *, const UCHAR *);extern void	vGet1FontInfo(int,			const UCHAR *, size_t, font_block_type *);extern void	vGet2FontInfo(int,			const UCHAR *, size_t, font_block_type *);extern void	vGet2ChrInfo(FILE *, int, const UCHAR *);/* prop6.c */extern void	vGet6DopInfo(FILE *, ULONG, const ULONG *, size_t,			const UCHAR *);extern void	vGet6SepInfo(FILE *, ULONG, const ULONG *, size_t,			const UCHAR *);extern void	vGet6HdrFtrInfo(FILE *, ULONG, const ULONG *, size_t,			const UCHAR *);extern row_info_enum	eGet6RowInfo(int,			const UCHAR *, int, row_block_type *);extern void	vGet6StyleInfo(int,			const UCHAR *, int, style_block_type *);extern void	vGet6PapInfo(FILE *, ULONG, const ULONG *, size_t,			const UCHAR *);extern void	vGet6FontInfo(int, USHORT,			const UCHAR *, int, font_block_type *);extern void	vGet6ChrInfo(FILE *, ULONG, const ULONG *, size_t,			const UCHAR *);/* prop8.c */extern void	vGet8DopInfo(FILE *, const pps_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);extern void	vGet8SepInfo(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);extern void	vGet8HdrFtrInfo(FILE *, const pps_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);extern row_info_enum	eGet8RowInfo(int,			const UCHAR *, int, row_block_type *);extern void	vGet8StyleInfo(int,			const UCHAR *, int, style_block_type *);extern void	vGet8LstInfo(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);extern void	vGet8PapInfo(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);extern void	vGet8FontInfo(int, USHORT,			const UCHAR *, int, font_block_type *);extern void	vGet8ChrInfo(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);/* properties.c */extern void	vGetPropertyInfo(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *, int);extern row_info_enum	ePropMod2RowInfo(USHORT, int);/* propmod.c */extern void	vDestroyPropModList(void);extern void	vAdd2PropModList(const UCHAR *);extern const UCHAR	*aucReadPropModListItem(USHORT);/* rowlist.c */extern void	vDestroyRowInfoList(void);extern void	vAdd2RowInfoList(const row_block_type *);extern const row_block_type	*pGetNextRowInfoListItem(void);/* riscos.c */#if defined(__riscos)extern int	iGetFiletype(const char *);extern void	vSetFiletype(const char *, int);extern BOOL	bMakeDirectory(const char *);extern int	iReadCurrentAlphabetNumber(void);extern int	iGetRiscOsVersion(void);extern BOOL	bDrawRenderDiag360(void *, size_t,			window_redrawblock *, double, os_error *);#if defined(DEBUG)extern BOOL	bGetJpegInfo(UCHAR *, size_t);#endif /* DEBUG */#endif /* __riscos *//* saveas.c */#if defined(__riscos)extern BOOL	bSaveTextfile(event_pollblock *, void *);extern BOOL	bSaveDrawfile(event_pollblock *, void *);#endif /* __riscos *//* sectlist.c */extern void	vDestroySectionInfoList(void);extern void	vAdd2SectionInfoList(const section_block_type *, ULONG);extern void	vGetDefaultSection(section_block_type *);extern void	vDefault2SectionInfoList(ULONG);extern const section_block_type *		pGetSectionInfo(const section_block_type *, ULONG);extern size_t	tGetNumberOfSections(void);extern UCHAR	ucGetSepHdrFtrSpecification(size_t);/* stylelist.c */extern void	vDestroyStyleInfoList(void);extern level_type_enum	eGetNumType(UCHAR);extern void	vCorrectStyleValues(style_block_type *);extern void	vAdd2StyleInfoList(const style_block_type *);extern const style_block_type	*pGetNextStyleInfoListItem(					const style_block_type *);extern const style_block_type	*pGetNextTextStyle(const style_block_type *);extern USHORT	usGetIstd(ULONG);extern BOOL	bStyleImpliesList(const style_block_type *, int);/* stylesheet.c */extern void	vDestroyStylesheetList(void);extern USHORT	usStc2istd(UCHAR);extern void	vGet2Stylesheet(FILE *, int, const UCHAR *);extern void	vGet6Stylesheet(FILE *, ULONG, const ULONG *, size_t,			const UCHAR *);extern void	vGet8Stylesheet(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);extern void	vFillStyleFromStylesheet(USHORT, style_block_type *);extern void	vFillFontFromStylesheet(USHORT, font_block_type *);/* summary.c */extern void	vDestroySummaryInfo(void);extern void	vSet0SummaryInfo(FILE *, const UCHAR *);extern void	vSet2SummaryInfo(FILE *, int, const UCHAR *);extern void	vSet6SummaryInfo(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);extern void	vSet8SummaryInfo(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *);extern const char	*szGetTitle(void);extern const char	*szGetSubject(void);extern const char	*szGetAuthor(void);extern const char	*szGetLastSaveDtm(void);extern const char	*szGetModDate(void);extern const char	*szGetCreationDate(void);extern const char	*szGetCompany(void);extern const char	*szGetLanguage(void);/* tabstop.c */extern void	vSetDefaultTabWidth(FILE *, const pps_info_type *,			const ULONG *, size_t, const ULONG *, size_t,			const UCHAR *, int);extern long	lGetDefaultTabWidth(void);/* text.c */extern void	vPrologueTXT(diagram_type *, const options_type *);extern void	vEpilogueTXT(FILE *);extern void	vMove2NextLineTXT(diagram_type *);extern void	vSubstringTXT(diagram_type *, const char *, size_t, long);extern void	vStartOfParagraphTXT(diagram_type *, long);extern void	vEndOfParagraphTXT(diagram_type *, long);extern void	vEndOfPageTXT(diagram_type *, long);/* unix.c */extern void	werr(int, const char *, ...);#if !defined(__riscos)extern void	Hourglass_On(void);extern void	Hourglass_Off(void);#endif /* !__riscos *//* utf8.c */#if !defined(__riscos)extern long	utf8_strwidth(const char *, size_t);extern int	utf8_chrlength(const char *);extern BOOL	is_locale_utf8(void);#endif /* !__riscos *//* word2text.c */extern BOOL	bOutputContainsText(const output_type *);extern BOOL	bWordDecryptor(FILE *, long, diagram_type *);extern output_type	*pHdrFtrDecryptor(FILE *, ULONG, ULONG);extern char		*szFootnoteDecryptor(FILE *, ULONG, ULONG);/* worddos.c */extern int	iInitDocumentDOS(FILE *, long);/* wordlib.c */extern BOOL	bIsWordForDosFile(FILE *, long);extern BOOL	bIsRtfFile(FILE *);extern BOOL	bIsWordPerfectFile(FILE *);extern BOOL	bIsWinWord12File(FILE *, long);extern BOOL	bIsMacWord45File(FILE *);extern int	iGuessVersionNumber(FILE *, long);extern int	iGetVersionNumber(const UCHAR *);extern BOOL	bIsOldMacFile(void);extern int	iInitDocument(FILE *, long);extern void	vFreeDocument(void);/* wordmac.c */extern int	iInitDocumentMAC(FILE *, long);/* wordole.c */extern int	iInitDocumentOLE(FILE *, long);/* wordwin.c */extern int	iInitDocumentWIN(FILE *, long);/* xmalloc.c */extern void 	*xmalloc(size_t);extern void	*xcalloc(size_t, size_t);extern void 	*xrealloc(void *, size_t);extern char	*xstrdup(const char *);extern void 	*xfree(void *);/* xml.c */extern void	vCreateBookIntro(diagram_type *, int);extern void	vPrologueXML(diagram_type *, const options_type *);extern void	vEpilogueXML(diagram_type *);extern void	vMove2NextLineXML(diagram_type *);extern void	vSubstringXML(diagram_type *,				const char *, size_t, long, USHORT);extern void	vStartOfParagraphXML(diagram_type *, UINT);extern void	vEndOfParagraphXML(diagram_type *, UINT);extern void	vEndOfPageXML(diagram_type *);extern void	vSetHeadersXML(diagram_type *, USHORT);extern void	vStartOfListXML(diagram_type *, UCHAR, BOOL);extern void	vEndOfListXML(diagram_type *);extern void	vStartOfListItemXML(diagram_type *, BOOL);extern void	vEndOfTableXML(diagram_type *);extern void	vAddTableRowXML(diagram_type *, char **, int,			const short *, UCHAR);#endif /* __antiword_h */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -