Package org.docx4j.model.datastorage
Class OpenDoPEHandlerComponents
java.lang.Object
org.docx4j.model.datastorage.OpenDoPEHandlerComponents
public class OpenDoPEHandlerComponents
extends java.lang.Object
Process OpenDoPE components.
From 6.1, components can be at any level in the
Main Document Part
content hierarchy where an SdtBlock is allowed.
From 6.1, components support the idea of an XPath
context: where an XPath is not absolute, it will be
interpreted relative to context. Context can be
provided explicitly (the id of an XPath in the XPaths
part). If not provided explicitly, we can read it
from an enclosing repeat. (We don't do that for
conditions right now, since they are a bit more tricky).
In 6.1, the section break handling is missing.
TODO: consider whether it is needed. May be useful
for top level components which add headers/footers?
- Author:
- jharrop
-
Field Summary
Fields Modifier and Type Field Description protected booleanjustGotAComponent -
Constructor Summary
Constructors Constructor Description OpenDoPEHandlerComponents(WordprocessingMLPackage wordMLPackage) -
Method Summary
Modifier and Type Method Description voidextensionMissing(java.lang.Exception e)WordprocessingMLPackagefetchComponents()Component processingstatic DocxFetchergetDocxFetcher()static voidsetDocxFetcher(DocxFetcher docxFetcher)
-
Field Details
-
justGotAComponent
protected boolean justGotAComponent
-
-
Constructor Details
-
Method Details
-
getDocxFetcher
-
setDocxFetcher
-
fetchComponents
Component processing- Parameters:
srcPackage-contentAccessor-- Returns:
- Throws:
Docx4JException
-
extensionMissing
public void extensionMissing(java.lang.Exception e)
-