<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=189222310-01122006><FONT face=Arial
color=#0000ff size=2>What version of MapGuide are you running? Are you
building it yourself? We just added multi-line label support to the
AJAX viewer a few weeks ago, and it will be in the next
release.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=189222310-01122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=189222310-01122006><FONT face=Arial
color=#0000ff size=2>Unless you're building MG yourself there's currently
no way to make it work with both viewers. With the next release though any
of the following will be interpreted as a line-break:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=189222310-01122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=189222310-01122006><FONT color=#0000ff
size=2><FONT face="Courier New">"\n" (char 92 + char
110)</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=189222310-01122006><FONT color=#0000ff
size=2><FONT face="Courier New">\n\r (char 13 + char 10)<BR>\r\n
(char 10 + char 13)<BR>\n (char 13)<BR>\r
(char 10)<BR></FONT></FONT></SPAN><SPAN class=189222310-01122006><FONT
color=#0000ff size=2><FONT face="Courier New"><FONT
face=Arial></FONT></DIV></FONT></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=189222310-01122006><FONT face=Arial
color=#0000ff size=2>So pick your favorite and just use that for
now.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=189222310-01122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=189222310-01122006><FONT face=Arial
color=#0000ff size=2>Walt</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Jackie Ng
[mailto:jackie.ng@aecsystems.com.au] <BR><B>Sent:</B> Friday, December 01, 2006
5:20 AM<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Subject:</B> Re:
[mapguide-users] Newline characters not recognised in DWF
viewer.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=322001504-01122006>I've just tried
this and yes it now works for the DWF viewer. But now, the situation has
reversed. The AJAX viewer now treats it as the string "\n" instead of the
control character.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=322001504-01122006></SPAN></FONT><FONT
face=Arial size=2><SPAN class=322001504-01122006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=322001504-01122006>Is there a solution
that can work with both viewers?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=005021001-13102006></SPAN></FONT><FONT face="Lucida Sans Unicode"
size=2>Regards,</FONT></DIV>
<DIV align=left>
<P align=left><FONT face="Lucida Sans Unicode" size=2>Jackie Ng</FONT></P>
<P align=left><FONT face="Lucida Sans Unicode" color=#0000ff size=2>AEC Spatial
Pty Ltd. / AEC Systems Pty Ltd.</FONT><BR><SPAN lang=en-au><FONT
face="Lucida Sans Unicode" color=#0000ff size=2>SYDNEY - MELBOURNE - BRISBANE -
PERTH - ADELAIDE - HOBART</FONT></SPAN> <SPAN lang=en-au><FONT
face="Lucida Sans Unicode" color=#0000ff size=2><FONT size=2></P>
<P>A.B.N: 32 075 809 451</P></FONT></FONT></SPAN>
<P><SPAN lang=en-au><FONT face="Lucida Sans Unicode" color=#0000ff size=2>Level
4, 37-41 Prospect St. Box Hill, Victoria, 3128</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Lucida Sans Unicode" size=2>Phone: 1300 368
609</FONT></SPAN> <BR><SPAN lang=en-au><FONT face="Lucida Sans Unicode"
size=2>Fax: 1300 362 140</FONT></SPAN> </P>
<P><SPAN lang=en-au><FONT face="Lucida Sans Unicode"
size=2>www.aecsystems.com.au</FONT></SPAN> <BR><FONT face=Arial size=2><A
title=mailto:jackie.ng@aecsystems.com.au
href="mailto:jackie.ng@aecsystems.com.au">jackie.ng@aecsystems.com.au</A></FONT></P>
<P><FONT face=Arial size=2></FONT> </P><PRE>Content-Type: multipart/alternative;
        boundary="----_=_NextPart_001_01C714F0.434ACB9A"
Date: Thu, 30 Nov 2006 21:27:35 -0500
From: Walt Welton-Lair <walt.welton-lair@autodesk.com>
Subject: [mapguide-users] Newline characters not recognised in DWF viewer.
</PRE><PRE>Use "\n" (2 characters) in your label string, not '\n' (the control
character).
</PRE></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>