~ubuntu-branches/ubuntu/edgy/libwpd/edgy-security

« back to all changes in this revision

Viewing changes to src/lib/WP3SingleByteFunction.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2005-12-09 16:20:02 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20051209162002-6yx3aa0jrh06oocj
Tags: 0.8.4-2
* re-autogen to fix hppa build
* update automake builddep and add autoconf

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 *
16
16
 * You should have received a copy of the GNU Library General Public
17
17
 * License along with this library; if not, write to the Free Software
18
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
19
19
 *
20
20
 * For further information visit http://libwpd.sourceforge.net
21
21
 */
25
25
 */
26
26
 
27
27
#include "WP3SingleByteFunction.h"
28
 
#include "WP3LLListener.h"
29
28
#include "libwpd_internal.h"
30
29
 
31
30
WP3SingleByteFunction * WP3SingleByteFunction::constructSingleByteFunction(WPXInputStream *input, uint8_t groupID)
54
53
                }
55
54
}
56
55
 
57
 
/*void WP3SpaceFunction::parse(WP3HLListener *listener)
58
 
{
59
 
        listener->insertCharacter((uint16_t) ' ');
60
 
}*/
61
 
 
62
 
void WP3HardSpaceFunction::parse(WP3HLListener *listener)
 
56
void WP3HardSpaceFunction::parse(WP3Listener *listener)
63
57
{
64
58
        listener->insertCharacter((uint16_t) 0xa0);
65
59
}
66
60
 
67
 
void WP3HyphenFunction::parse(WP3HLListener *listener)
 
61
void WP3HyphenFunction::parse(WP3Listener *listener)
68
62
{
69
63
        listener->insertCharacter((uint16_t) '-');
70
64
}
71
65
 
72
 
void WP3SoftHyphenFunction::parse(WP3HLListener *listener)
 
66
void WP3SoftHyphenFunction::parse(WP3Listener *listener)
73
67
{
74
68
        listener->insertCharacter((uint16_t) 0xad);
75
69
}
76
70
 
77
 
void WP3EOLFunction::parse(WP3HLListener *listener)
 
71
void WP3EOLFunction::parse(WP3Listener *listener)
78
72
{
79
73
        listener->insertEOL();
80
74
}
81
75
 
82
 
/* void WP3EOCFunction::parse(WP3HLListener *listener)
83
 
{
84
 
        listener->insertBreak(WPX_COLUMN_BREAK);
85
 
}*/
86
 
 
87
 
void WP3EOPFunction::parse(WP3HLListener *listener)
 
76
void WP3EOPFunction::parse(WP3Listener *listener)
88
77
{
89
78
        listener->insertBreak(WPX_PAGE_BREAK);
90
79
}
91