/** * * Copyright (c) behosoft Co.,Ltd. * All Rights Reserved. * * This software is the confidential and proprietary information of behosoft. * (Social Security Department). You shall not disclose such * Confidential Information and shall use it only in accordance with * the terms of the license agreement you entered into with behosoft. * * Distributable under GNU LGPL license by gnu.org */ package com.behosoft.util.pdfutil; import java.awt.Color; import com.lowagie.text.Font; import com.lowagie.text.FontFactory; import com.lowagie.text.Paragraph; /** *

* Title: Wms_common_utils_pdfUtils *

*

* Description: 定义pdf的文本段 *

* * @author daijiashun * @version $Revision$ 2009-8-17 * @author (lastest modification by $Author$) * @since 1.0 */ public class PdfParagraph extends Paragraph implements IsPdfContent { /** * */ private static final long serialVersionUID = 1L; public PdfParagraph(String content, Font font) { super(content, font); } public PdfParagraph(String content) { super(content, FontFactory.getFont(FontFactory.COURIER, 14, Font.NORMAL, Color.black)); } }