Lines Matching refs:xComponent
111 XComponent xComponent = unoApp.newDocument("swriter"); in testFooterHeader() local
113 SWUtil.setDefaultPageStyleProperty(xComponent, m_onProperty, new Boolean(true)); in testFooterHeader()
114 …SWUtil.setDefaultPageStyleProperty(xComponent, m_LeftMarginProperty, Integer.valueOf(m_LeftMargin)… in testFooterHeader()
115 …SWUtil.setDefaultPageStyleProperty(xComponent, m_RightMarginProperty, Integer.valueOf(m_RightMargi… in testFooterHeader()
116 …SWUtil.setDefaultPageStyleProperty(xComponent, m_BodyDistanceProperty, Integer.valueOf(m_BodyDista… in testFooterHeader()
117 SWUtil.setDefaultPageStyleProperty(xComponent, m_HeightProperty, Integer.valueOf(m_Height)); in testFooterHeader()
120 unoApp.saveDocument(xComponent, tempFilePathODT); in testFooterHeader()
121 unoApp.closeDocument(xComponent); in testFooterHeader()
122 xComponent = unoApp.loadDocument(tempFilePathODT); in testFooterHeader()
124 …int leftMargin = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_LeftMarginProperty)).i… in testFooterHeader()
125 …int rightMargin = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_RightMarginProperty))… in testFooterHeader()
126 …int bodyDistance = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_BodyDistanceProperty… in testFooterHeader()
127 …int height = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_HeightProperty)).intValue(… in testFooterHeader()
132 SWUtil.saveAsDoc(xComponent, FileUtil.getUrl(tempFilePathDOC)); in testFooterHeader()
133 unoApp.closeDocument(xComponent); in testFooterHeader()
134 xComponent = unoApp.loadDocument(tempFilePathDOC); in testFooterHeader()
135 …leftMargin = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_LeftMarginProperty)).intVa… in testFooterHeader()
136 …rightMargin = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_RightMarginProperty)).int… in testFooterHeader()
137 …bodyDistance = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_BodyDistanceProperty)).i… in testFooterHeader()
138 height = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_HeightProperty)).intValue(); in testFooterHeader()
142 unoApp.closeDocument(xComponent); in testFooterHeader()