Added underline capability to the header and footer.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353648 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shawn Laubach 2005-04-22 14:56:35 +00:00
parent 5bb531e555
commit c0ba718df8
2 changed files with 241 additions and 161 deletions

View File

@ -212,5 +212,45 @@ public class HSSFFooter extends Object {
public static String tab() { public static String tab() {
return "&A"; return "&A";
} }
/**
* Returns the string representing the start underline
*
* @return The special string for start underline
*/
public static String startUnderline()
{
return "&U";
}
/**
* Returns the string representing the end underline
*
* @return The special string for end underline
*/
public static String endUnderline()
{
return "&U";
}
/**
* Returns the string representing the start double underline
*
* @return The special string for start double underline
*/
public static String startDoubleUnderline()
{
return "&E";
}
/**
* Returns the string representing the end double underline
*
* @return The special string for end double underline
*/
public static String endDoubleUnderline()
{
return "&E";
}
} }

View File

@ -252,5 +252,45 @@ public class HSSFHeader
{ {
return "&A"; return "&A";
} }
/**
* Returns the string representing the start underline
*
* @return The special string for start underline
*/
public static String startUnderline()
{
return "&U";
}
/**
* Returns the string representing the end underline
*
* @return The special string for end underline
*/
public static String endUnderline()
{
return "&U";
}
/**
* Returns the string representing the start double underline
*
* @return The special string for start double underline
*/
public static String startDoubleUnderline()
{
return "&E";
}
/**
* Returns the string representing the end double underline
*
* @return The special string for end double underline
*/
public static String endDoubleUnderline()
{
return "&E";
}
} }