noteobj.cpp
changeset 613 8fb5b3956b3e
parent 554 34520279e086
child 625 22955004d512
     1.1 --- a/noteobj.cpp	Tue Oct 23 13:05:22 2007 +0000
     1.2 +++ b/noteobj.cpp	Wed Oct 24 12:21:24 2007 +0000
     1.3 @@ -46,6 +46,11 @@
     1.4  
     1.5  QString NoteObj::getNoteASCII()
     1.6  {
     1.7 +	return getNoteASCII (QString(""),80);
     1.8 +}
     1.9 +
    1.10 +QString NoteObj::getNoteASCII(const QString &indent, const int &width)
    1.11 +{
    1.12  	QString r=note;
    1.13  
    1.14  	// Remove all <style...> ...</style>
    1.15 @@ -79,6 +84,12 @@
    1.16  	rx.setPattern ("&quot;");
    1.17  	r.replace (rx,"\"");
    1.18  
    1.19 +/* FIXME
    1.20 +	if (fonthint !="fixed")
    1.21 +	{
    1.22 +		// wrap text at width
    1.23 +	}
    1.24 +*/	
    1.25  	return r;
    1.26  }
    1.27