https://angularfirebase.com/lessons/geofire-location-queries-with-google-maps/
更新图片以供解释:
Issue on length of the string in TCPDF (Click to view image)
I want to generate PDF as this format (Click to view image)
我有将主体内容(字符串)拆分为多个部分并将内容添加到新页面的问题。
以下是测量页面高度以强制生成内容到新页面的编码,但我不知道如何生成内容并在页面1和页面2上显示给定的页脚高度。目前只检测页脚的高度,并将整个内容生成到第2页。
lib.image = IMAGE
lib.image {
10 = FILES
10 {
references {
table = pages
uid.data = page:uid
fieldName = media
}
renderObj = TEXT
renderObj {
typolink {
parameter.data = file:current:publicUrl
forceAbsoluteUrl = 1
returnLast = url
}
}
}
file = GIFBUILDER
file {
XY = 200,200
format = png
10 = IMAGE
10.file.data = file:current:publicUrl
10.file.forceAbsoluteUrl = 1
}
wrap = |
}
从上面的编码开始,在AddPage()之后,获取新坐标-X和-Y,在新循环中,在新页面中写入$ product_desc,否则在同一页面上写入新循环。