FormatI.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /* $XConsortium: FormatI.h /main/5 1995/10/26 12:20:54 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: FormatI.h
  28. **
  29. ** Project: TextGraphic Display routines
  30. **
  31. ** Description: Header file for Format.c
  32. **
  33. **
  34. ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
  35. **
  36. ** (c) Copyright 1993, 1994 Hewlett-Packard Company
  37. ** (c) Copyright 1993, 1994 International Business Machines Corp.
  38. ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  39. ** (c) Copyright 1993, 1994 Novell, Inc.
  40. **
  41. **
  42. **
  43. ****************************************************************************
  44. ************************************<+>*************************************/
  45. #ifndef _DtHelpFormatI_h
  46. #define _DtHelpFormatI_h
  47. extern int _DtHelpFormatAsciiFile (
  48. XtPointer client_data,
  49. char *filename,
  50. XtPointer *ret_topic);
  51. extern int _DtHelpFormatAsciiString (
  52. XtPointer client_data,
  53. char *input_string,
  54. XtPointer *ret_topic);
  55. extern int _DtHelpFormatAsciiStringDynamic (
  56. XtPointer client_data,
  57. char *input_string,
  58. XtPointer *ret_topic);
  59. extern int _DtFormatGetParagraphList(
  60. XtPointer *ret_topic);
  61. extern int _DtHelpFormatIndexEntries (
  62. XtPointer client_data,
  63. _DtHelpVolumeHdl volume,
  64. int *ret_cnt,
  65. XmString **ret_words,
  66. XmFontList *ret_list,
  67. Boolean *ret_mod);
  68. extern void _DtFormatInitializeFontQuarks(
  69. char **font_attr );
  70. extern int _DtFormatInitializeVariables(
  71. char *input_string,
  72. int grow_size );
  73. extern int _DtFormatProcessString (
  74. char **input_string,
  75. int seg_type,
  76. char **font_attr );
  77. extern int _DtHelpFormatToc (
  78. DtHelpDispAreaStruct *client_data,
  79. _DtHelpVolumeHdl volume,
  80. char *id_string,
  81. char **ret_id,
  82. XtPointer *ret_handle);
  83. extern int _DtHelpFormatTopic (
  84. XtPointer client_data,
  85. _DtHelpVolumeHdl volume,
  86. char *id_string,
  87. Boolean look_at_id,
  88. XtPointer *ret_handle);
  89. extern int _DtHelpFormatTopicTitle (
  90. XtPointer client_data,
  91. _DtHelpVolumeHdl volume,
  92. char *location_id,
  93. XmString *ret_title,
  94. XmFontList *ret_list,
  95. Boolean *ret_mod);
  96. extern int _DtHelpFormatVolumeTitle (
  97. XtPointer client_data,
  98. _DtHelpVolumeHdl volume,
  99. XmString *ret_title,
  100. XmFontList *ret_list,
  101. Boolean *ret_mod);
  102. extern int _DtHelpGetAsciiVolumeTitle (
  103. XtPointer client_data,
  104. _DtHelpVolumeHdl volume,
  105. char **ret_title);
  106. #endif /* _DtHelpFormatI_h */