Catalogen

XWPFDocument @Cluster 2 (getpartbyid, hdrpart, list)


OLDXHTMLMapper.java

sets the

60. public OLDXHTMLMapper( XWPFDocument document )
66.         defaults = document.getStyle().getDocDefaults();

XHTMLStyleUtil.java

sets style of a cell @ param for the @ param @ return style of the shape

72. public static StringBuilder getStyle( XWPFDocument document, CTDocDefaults defaults )
75.     CTSectPr sectPr = document.getDocument().getBody().getSectPr();

StreamingDOCXImpl.java

has our in - memory objects )

59. XWPFDocument doc = new XWPFDocument();
61. XWPFParagraph p1 = doc.createParagraph();
88. doc.write(outs);

XWPFWordExtractorDecorator.java

@ see org . apache . poi . openxml 4 j . opc . relationshipsource #

54. XWPFDocument document = (XWPFDocument) extractor.getDocument();
55. XWPFHeaderFooterPolicy hfPolicy = document.getHeaderFooterPolicy();
61. Iterator<XWPFParagraph> i = document.getParagraphsIterator();

XWPFElementVisitor.java

test that we get the same value as excel and , for

61. protected final XWPFDocument document;
70.         this.defaults = document.getStyle().getDocDefaults();
96.     CTSectPr sectPr = document.getDocument().getBody().getSectPr();
100.     List<IBodyElement> bodyElements = document.getBodyElements();
139.     PackagePart hdrPart = document.getPartById( headerRef.getId() );
151.     PackagePart hdrPart = document.getPartById( footerRef.getId() );
302.         return document.getStyles().getStyle( styleID );

XWPFDocumentVisitor.java

test that we get the same value as excel and , for

129. protected final XWPFDocument document;
192.     List<IBodyElement> bodyElements = document.getBodyElements();
467.     XWPFNum num = document.getNumbering().getNum( numID.getVal() );
474.     XWPFAbstractNum abstractNum = document.getNumbering().getAbstractNum( abstractNumID.getVal() );
660.             XWPFHyperlink hyperlink = document.getHyperlinkByID( hyperlinkId );
1078.         return document.getStyles().getStyle( styleID );
1183.     PackagePart hdrPart = document.getPartById( headerRef.getId() );
1184.     List<XWPFHeader> headers = document.getHeaderList();
1211.     PackagePart hdrPart = document.getPartById( footerRef.getId() );
1212.     List<XWPFFooter> footers = document.getFooterList();
1350.     return document.getPictureDataByID( blipId );