当前位置: 首页>>代码示例>>C#>>正文


C# IElementListener类代码示例

本文整理汇总了C#中IElementListener的典型用法代码示例。如果您正苦于以下问题:C# IElementListener类的具体用法?C# IElementListener怎么用?C# IElementListener使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


IElementListener类属于命名空间,在下文中一共展示了IElementListener类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Create

 public static void Create(IElementListener document, int invoiceNumber, InvoiceEntity invoiceEntity, CompanyInformationEntity companyInformationEntity, DateTime now)
 {
     var table = new PdfPTable(2) { WidthPercentage = 100 };
     table.AddCell(GetCompanyNameAndSlogan(invoiceEntity, companyInformationEntity));
     table.AddCell(GetInvoiceTitle());
     table.AddCell(GetCompanyAddress(invoiceEntity, companyInformationEntity));
     table.AddCell(GetInvoiceDetails(invoiceNumber,now));
     document.Add(table);
 }
开发者ID:HardcoreSoftware,项目名称:iSecretary,代码行数:9,代码来源:HeaderFactory.cs

示例2: Process

 /**
 * Processes the element by adding it (or the different parts) to an
 * <CODE>ElementListener</CODE>.
 *
 * @param       listener        an <CODE>ElementListener</CODE>
 * @return <CODE>true</CODE> if the element was processed successfully
 */
 public override bool Process(IElementListener listener)
 {
     try {
         foreach (IElement element in ((Section)this.element)) {
             listener.Add(element);
         }
         return true;
     }
     catch (DocumentException) {
         return false;
     }
 }
开发者ID:bmictech,项目名称:iTextSharp,代码行数:19,代码来源:MarkedSection.cs

示例3: Process

 // implementation of the Element-methods
 /// <summary>
 /// Processes the element by adding it (or the different parts) to an
 /// IElementListener.
 /// </summary>
 /// <param name="listener">an IElementListener</param>
 /// <returns>true if the element was processed successfully</returns>
 public bool Process(IElementListener listener)
 {
     try {
         foreach (IElement ele in list) {
             listener.Add(ele);
         }
         return true;
     }
     catch (DocumentException) {
         return false;
     }
 }
开发者ID:jomamorales,项目名称:createPDF,代码行数:19,代码来源:List.cs

示例4: Process

 /*
  * (non-Javadoc)
  *
  * @see com.itextpdf.text.Element#process(com.itextpdf.text.ElementListener)
  */
 public bool Process(IElementListener listener)
 {
     throw new NotSupportedException();
 }
开发者ID:karino2,项目名称:wikipediaconv,代码行数:9,代码来源:WritableDirectElement.cs

示例5: Process

 public bool Process(IElementListener listener)
 {
     return true;
 }
开发者ID:pixelia-es,项目名称:RazorPDF2,代码行数:4,代码来源:IncCell.cs

示例6: Process

 /* (non-Javadoc)
  * @see com.itextpdf.text.Element#process(com.itextpdf.text.ElementListener)
  */
 virtual public bool Process(IElementListener listener) {
     throw new iTextSharp.tool.xml.exceptions.NotImplementedException();
 }
开发者ID:newlysoft,项目名称:itextsharp,代码行数:6,代码来源:TableRowElement.cs

示例7: CreateSliceHeader

 /// <summary>
 /// Create the slice header
 /// </summary>
 /// <param name="doc">
 /// The <see cref="Document"/>
 /// </param>
 /// <param name="state">
 /// The current <see cref="HtmlRenderer.RendererState"/>
 /// </param>
 private void CreateSliceHeader(IElementListener doc, RendererState state)
 {
     Table headerTable = this.CreateSliceHeaderTable(state);
     PdfPTable table = CreatePdf(headerTable);
     if (table != null)
     {
         doc.Add(table);
         table.DeleteBodyRows();
     }
 }
开发者ID:alcardac,项目名称:SDMX_DATA_BROWSER,代码行数:19,代码来源:PdfRenderer.cs

示例8: Process

 // implementation of the Element-methods
 /// <summary>
 /// Processes the element by adding it (or the different parts) to an
 /// IElementListener.
 /// </summary>
 /// <param name="listener">the IElementListener</param>
 /// <returns>true if the element was processed successfully</returns>
 public bool Process(IElementListener listener)
 {
     try {
         foreach (IElement ele in this) {
             listener.Add(ele);
         }
         return true;
     }
     catch (DocumentException de) {
         de.GetType();
         return false;
     }
 }
开发者ID:hjgode,项目名称:iTextSharpCF,代码行数:20,代码来源:Section.cs

示例9: Process

 public override bool Process(IElementListener listener)
 {
     return false;
 }
开发者ID:yu0410aries,项目名称:itextsharp,代码行数:4,代码来源:PdfBody.cs

示例10: Process

 // implementation of the Element-methods
 /// <summary>
 /// Processes the element by adding it (or the different parts) to a
 /// IElementListener.
 /// </summary>
 /// <param name="listener">an IElementListener</param>
 /// <returns>true if the element was processed successfully</returns>
 public bool Process(IElementListener listener)
 {
     try {
         return listener.Add(this);
     }
     catch (DocumentException de) {
         de.GetType();
         return false;
     }
 }
开发者ID:hjgode,项目名称:iTextSharpCF,代码行数:17,代码来源:Row.cs


注:本文中的IElementListener类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。