Lines Matching refs:cfmt
11 …e,ty){var a,i,j,k,x,y,y0,s,font=page.abc.get_font(ty),str=page[ty],cfmt=page.abc.cfmt(),fh=font.si…
42 if(cfmt.dateformat[0]=='"')
43 cfmt.dateformat=cfmt.dateformat.slice(1,-1)
44 r[j]+=strftime(cfmt.dateformat,t)
86 return'f'+font.fid+cfmt.fullsvg+' '+font.class
87 return'f'+font.fid+cfmt.fullsvg}
97 x=cfmt.leftmargin
99 x=cfmt.pagewidth/2
101 x=cfmt.pagewidth-cfmt.rightmargin
118 return fh*a[4]},open_page:function(page,ht){var h,l,abc=page.abc,cfmt=abc.cfmt(),sty='<div style="l…
131 page.hmax=cfmt.pageheight-page.botmargin-ht
136 if(cfmt.fullsvg||sty!=page.hsty){page.hsty=sty
140 …width="'+cfmt.pagewidth.toFixed(0)+'px" height="'+(ht+h).toFixed(0)+'px">\n'+sty+'<g transform="tr…
145 width="'+cfmt.pagewidth.toFixed(0)+'px" height="'+ht.toFixed(0)+'px">\n</svg>')}
149 if(cfmt.fullsvg||sty!=page.fsty){page.fsty=sty
152 page.h=0},close_page:function(page){var h,cfmt=page.abc.cfmt()
157 …width="'+cfmt.pagewidth.toFixed(0)+'px" height="'+h.toFixed(0)+'px">\n'+page.ffsty+'<g transform="…
172 while(h+page.h>=page.hmax){ht=page.blk?0:this.cfmt().topspace
190 break}},set_fmt:function(of,cmd,parm){var v,cfmt=this.cfmt(),page=this.page
194 cfmt.pageheight=v
196 if(cfmt.header){page.header=cfmt.header;cfmt.header=null}
197 if(cfmt.footer){page.footer=cfmt.footer;cfmt.footer=null}
198 if(cfmt.botmargin!=undefined){v=this.get_unit(cfmt.botmargin)
201 if(cfmt.topmargin!=undefined){v=this.get_unit(cfmt.topmargin)
204 if(cfmt.gutter!=undefined){v=this.get_unit(cfmt.gutter)
207 if(cfmt.oneperpage)
208 page.oneperpage=this.get_bool(cfmt.oneperpage)
209 if(!cfmt.dateformat)
210 cfmt.dateformat="%b %e, %Y %H:%M"