/* Copyright (C) 1989, 1990 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.uucp)
This file is part of groff.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 1, or (at your option) any later
groff is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
You should have received a copy of the GNU General Public License along
with groff; see the file LICENSE. If not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
unsigned char special_translation
;
unsigned char hyphenation_code
;
unsigned char ascii_code
;
OVERLAPS_HORIZONTALLY
= 8,
OVERLAPS_VERTICALLY
= 16,
int overlaps_vertically();
int overlaps_horizontally();
unsigned char get_hyphenation_code();
unsigned char get_ascii_code();
void set_hyphenation_code(unsigned char);
void set_ascii_code(unsigned char);
charinfo
*get_translation();
void set_translation(charinfo
*);
void set_flags(unsigned char);
void set_special_translation(int);
int get_special_translation();
macro
*set_macro(macro
*);
int first_time_not_found();
void set_number(unsigned char);
charinfo
*get_charinfo(symbol
);
extern charinfo
*charset_table
[];
charinfo
*get_charinfo_by_number(unsigned char);
inline int charinfo::overlaps_horizontally()
return flags
& OVERLAPS_HORIZONTALLY
;
inline int charinfo::overlaps_vertically()
return flags
& OVERLAPS_VERTICALLY
;
inline int charinfo::can_break_before()
return flags
& BREAK_BEFORE
;
inline int charinfo::can_break_after()
return flags
& BREAK_AFTER
;
inline int charinfo::ends_sentence()
return flags
& ENDS_SENTENCE
;
inline int charinfo::transparent()
return flags
& TRANSPARENT
;
inline int charinfo::numbered()
inline charinfo
*charinfo::get_translation()
inline unsigned char charinfo::get_hyphenation_code()
inline unsigned char charinfo::get_ascii_code()
inline void charinfo::set_flags(unsigned char c
)
inline int charinfo::get_index()
inline int charinfo::get_special_translation()
return special_translation
;
inline macro
*charinfo::get_macro()
inline int charinfo::first_time_not_found()