예제 #1
0
파일: FObj.cs 프로젝트: nholik/Fo.Net
 public virtual void RemoveID(IDReferences idReferences)
 {
     if (((FObj)this).properties.GetProperty("id") == null
         || ((FObj)this).properties.GetProperty("id").GetString() == null)
     {
         return;
     }
     idReferences.RemoveID(((FObj)this).properties.GetProperty("id").GetString());
     int numChildren = this.children.Count;
     for (int i = 0; i < numChildren; i++)
     {
         FONode child = (FONode)children[i];
         if ((child is FObj))
         {
             ((FObj)child).RemoveID(idReferences);
         }
     }
 }
예제 #2
0
파일: XMLObj.cs 프로젝트: nholik/Fo.Net
 public override void RemoveID(IDReferences idReferences) { }
예제 #3
0
파일: Area.cs 프로젝트: nholik/Fo.Net
 public virtual void setIDReferences(IDReferences idReferences)
 {
     this.idReferences = idReferences;
 }
예제 #4
0
 public void Render(Page page) {
     this.idReferences = page.getIDReferences();
     this.pdfResources = this.pdfDoc.getResources();
     this.pdfDoc.setIDReferences(idReferences);
     this.RenderPage(page);
     this.pdfDoc.output();
 }
예제 #5
0
        public void StopRenderer() {
            fontSetup.AddToResources(new PdfFontCreator(pdfDoc), pdfDoc.getResources());
            pdfDoc.outputTrailer();

            pdfDoc = null;
            pdfResources = null;
            currentStream = null;
            currentAnnotList = null;
            currentPage = null;

            idReferences = null;
            currentFontName = String.Empty;
            currentFill = null;
            prevUnderlineColor = null;
            prevOverlineColor = null;
            prevLineThroughColor = null;
            fontSetup = null;
            fontInfo = null;
        }