mapcenterobj.cpp
changeset 257 199f2626fe70
parent 181 bd530b01f77f
child 332 89e7476b0007
     1.1 --- a/mapcenterobj.cpp	Tue Jan 24 15:09:48 2006 +0000
     1.2 +++ b/mapcenterobj.cpp	Thu Mar 23 12:38:54 2006 +0000
     1.3 @@ -126,24 +126,12 @@
     1.4  
     1.5  	QString linkAttr=getLinkAttr();
     1.6  
     1.7 -	QString urlAttr;
     1.8 -	if (!url.isEmpty())
     1.9 -		urlAttr=attribut ("url",url);
    1.10 -	QString vymLinkAttr;
    1.11 -	if (!vymLink.isEmpty())
    1.12 -		vymLinkAttr=attribut ("vymLink",convertToRel(mapEditor->getDestPath(),vymLink) );
    1.13 -
    1.14      s=beginElement ("mapcenter" 
    1.15 -		+attribut("absPosX",QString().setNum(absPos.x(),10))
    1.16 -		+attribut("absPosY",QString().setNum(absPos.y(),10))
    1.17 -		+vymLinkAttr
    1.18 -		+urlAttr
    1.19 -		+linkAttr
    1.20 -		+idAttr
    1.21 +		+getOrnAttr() 
    1.22  		+attribut("frameType",frame->getFrameTypeName()) 
    1.23  		+areaAttr 
    1.24 -		);
    1.25 -		
    1.26 +		+idAttr 
    1.27 +		+getIncludeImageAttr() );
    1.28      incIndent();
    1.29      if (heading->getColor()!=QColor("black"))
    1.30  		a=attribut ("textColor",QColor(heading->getColor()).name() );