Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
rtfclass
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
RTF Parse class
>
All threads
>
rtfclass
>
(Un) Subscribe thread alerts
Subject:
rtfclass
Summary:
First Words is mising
Messages:
2
Author:
Manfred Hungerland
Date:
2007-10-05 10:14:51
Update:
2007-10-08 07:37:56
1. rtfclass
Reply
Report abuse
Manfred Hungerland - 2007-10-05 10:14:51
Hi
on a Website i use this Class to Parse RTF Doks out of a Database.
This works. The Problem is this:
In the DB i have this:
gibt folgendes Zeugnis:\par
\par
Mit 17 Jahren bekam
On the Website i get that:
gibt folgendes Zeugnis:
17 Jahren bekam
You See that the Word Mit is not sohown.
This happens almost after every \par
Anybody a Idea?
Shalom
Manfred
2. Re: rtfclass
Reply
Report abuse
Manfred Hungerland - 2007-10-08 07:37:56 -
In reply to
message 1
from Manfred Hungerland
Solution for this Problem:
Change this Line ( 600 )
if( (ord( $this->rtf[$i]) == 10) || (ord($this->rtf[$i]) == 13)) break; // eat line breaks
with this:
if ((ord($this->rtf[$i]) == 10) || (ord($this->rtf[$i]) == 13)) {
if ($this->cw && !$this->cfirst) {
$this->cw = false;
$this->flushControl();
};
break; // eat line breaks
};
Thanks to: Benjamin R. and marabu from Delphi-PRAXIS ;-) !!
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2024
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger