| 程序包 | 说明 |
|---|---|
| org.docx4j.org.xhtmlrenderer.context | |
| org.docx4j.org.xhtmlrenderer.layout | |
| org.docx4j.org.xhtmlrenderer.pdf | |
| org.docx4j.org.xhtmlrenderer.simple |
Includes those classes you need to render XHTML documents
quickly, right out of the box, and with no special setup needed; start here!
|
| org.docx4j.org.xhtmlrenderer.simple.extend | |
| org.docx4j.org.xhtmlrenderer.swing |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
StyleReference.setDocumentContext(SharedContext context,
NamespaceHandler nsh,
Document doc,
UserInterface ui)
Sets the documentContext attribute of the StyleReference object
|
| 构造器和说明 |
|---|
StandardAttributeResolver(NamespaceHandler nsh,
UserAgentCallback uac,
UserInterface ui)
Constructor for the StandardAttributeResolver object
|
| 限定符和类型 | 方法和说明 |
|---|---|
NamespaceHandler |
SharedContext.getNamespaceHandler() |
NamespaceHandler |
LayoutContext.getNamespaceHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SharedContext.setNamespaceHandler(NamespaceHandler nh) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ITextRenderer.setDocument(Document doc,
String url,
NamespaceHandler nsh) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
NoNamespaceHandler
Handles a general XML document
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
XhtmlCssOnlyNamespaceHandler
Handles xhtml but only css styling is honored,
no presentational html attributes (see css 2.1 spec, 6.4.4)
|
class |
XhtmlNamespaceHandler
Handles xhtml documents, including presentational html attributes (see css 2.1 spec, 6.4.4).
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RootPanel.setDocument(Document doc,
String url,
NamespaceHandler nsh) |
void |
BasicPanel.setDocument(InputStream stream,
String url,
NamespaceHandler nsh) |
void |
BasicPanel.setDocument(String url,
NamespaceHandler nsh) |
void |
BasicPanel.setDocumentFromString(String content,
String url,
NamespaceHandler nsh) |
Copyright © 2019. All Rights Reserved.