WKPage

org.beangle.doc.pdf.wk.WKPage
See theWKPage companion object
class WKPage(val data: String)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Constructors

def this(data: String, initSetting: Map[String, String])

Concrete methods

def authPassword(password: String): WKPage.this.type

请求网页需要认证时的密码

请求网页需要认证时的密码

Attributes

def authUsername(username: String): WKPage.this.type

请求网页需要认证时的用户名

请求网页需要认证时的用户名

Attributes

def blockLocalFileAccess(block: Boolean): WKPage.this.type

是否禁止从本地加载资源

是否禁止从本地加载资源

Attributes

def convertInternalLinksToPdfReferences(convert: Boolean): WKPage.this.type

是否将内部链接转为pdf内部引用

是否将内部链接转为pdf内部引用

Attributes

def debugJavascrip(debug: Boolean): WKPage.this.type

是否调试javascript

是否调试javascript

Attributes

def defaultEncoding(encoding: String): WKPage.this.type

当网页没有指定编码时的缺省编码

当网页没有指定编码时的缺省编码

Attributes

def enableIntelligentShrinking(enable: Boolean): WKPage.this.type

是否启用只能缩减(缺省是)

是否启用只能缩减(缺省是)

Attributes

def enableJavascript(enable: Boolean): WKPage.this.type

是否启用Javascript(缺省是)

是否启用Javascript(缺省是)

Attributes

def handleErrors(errorHandling: ErrorPolicy): WKPage.this.type

对于一个网页加载出错的处理办法

对于一个网页加载出错的处理办法

Attributes

def header(left: String, center: String, right: String): WKPage.this.type

页眉左边的文本

页眉左边的文本

Attributes

def headerFon(fontName: String, size: Int): WKPage.this.type

自定义头的页眉字体

自定义头的页眉字体

Attributes

def headerHtmlUrl(url: String): WKPage.this.type

页眉的URL

页眉的URL

Attributes

def headerLine(line: Boolean): WKPage.this.type

是否在自定义页眉下添加一条线

是否在自定义页眉下添加一条线

Attributes

def headerSpacing(spacing: Int): WKPage.this.type

页眉和内容之间空格的数量

页眉和内容之间空格的数量

Attributes

def javascriptDelay(delayMs: Int): WKPage.this.type

在加载页面到转换pdf之间,留给Javascript的延迟时间.

在加载页面到转换pdf之间,留给Javascript的延迟时间.

Attributes

def loadImages(load: Boolean): WKPage.this.type

是否加载图片(缺省是)

是否加载图片(缺省是)

Attributes

def minimumFontSize(size: Int): WKPage.this.type

最小字体

最小字体

Attributes

def pageCount(pageCount: Boolean): WKPage.this.type

是否将页码放入到页眉,页脚和目录中

是否将页码放入到页眉,页脚和目录中

Attributes

def produceForms(produce: Boolean): WKPage.this.type

是否将HTML表单转换位PDF表单

是否将HTML表单转换位PDF表单

Attributes

def set(name: String, value: Any): WKPage.this.type
def settings: Map[String, String]
def showBackground(background: Boolean): WKPage.this.type

是否显示背景(缺省是)

是否显示背景(缺省是)

Attributes

def stopSlowScript(stop: Boolean): WKPage.this.type

是否停止缓慢的javascript

是否停止缓慢的javascript

Attributes

def tocCaptionText(captionText: String): WKPage.this.type

目录名称

目录名称

Attributes

def tocFontScale(scale: Float): WKPage.this.type

缩进缩小的比例,例如0.8表示缩小20%

缩进缩小的比例,例如0.8表示缩小20%

Attributes

def tocIncludeSections(include: Boolean): WKPage.this.type

是否将文档中的章节也放入到目录的大纲里

是否将文档中的章节也放入到目录的大纲里

Attributes

def tocIndentation(indentation: String): WKPage.this.type

目录内的缩进尺度,使用CSS中允许的单位(例如"5px", "2em".)

目录内的缩进尺度,使用CSS中允许的单位(例如"5px", "2em".)

Attributes

def tocUseDottedLines(dottedLines: Boolean): WKPage.this.type

是否在生成的目录中使用点线

是否在生成的目录中使用点线

Attributes

def usePrintMediaType(use: Boolean): WKPage.this.type

是否设置位打印介质(缺省否)

是否设置位打印介质(缺省否)

Attributes

def userStyleSheet(urlOrPath: String): WKPage.this.type

CSS样式单的url或者路径

CSS样式单的url或者路径

Attributes

def zoomFactor(factor: Float): WKPage.this.type

缩放比例,默认1

缩放比例,默认1

Attributes

Concrete fields

val data: String