Lines Matching refs:xComponent

104 		XComponent xComponent = unoApp.newDocument("swriter");  in testPage()  local
106 …SWUtil.setDefaultPageStyleProperty(xComponent, isLandscapeProperty, new Boolean(this.isLandscape)); in testPage()
107 SWUtil.setDefaultPageStyleProperty(xComponent, widthProperty, Integer.valueOf(this.width)); in testPage()
108 SWUtil.setDefaultPageStyleProperty(xComponent, heightProperty, Integer.valueOf(this.height)); in testPage()
109 …SWUtil.setDefaultPageStyleProperty(xComponent, topMarginProperty, Integer.valueOf(this.topMargin)); in testPage()
110 …SWUtil.setDefaultPageStyleProperty(xComponent, bottomMarginProperty, Integer.valueOf(this.bottomMa… in testPage()
111 …SWUtil.setDefaultPageStyleProperty(xComponent, leftMarginProperty, Integer.valueOf(this.leftMargin… in testPage()
112 …SWUtil.setDefaultPageStyleProperty(xComponent, rightMarginProperty, Integer.valueOf(this.rightMarg… in testPage()
115 unoApp.saveDocument(xComponent, tempFilePathODT); in testPage()
116 unoApp.closeDocument(xComponent); in testPage()
117 xComponent = unoApp.loadDocument(tempFilePathODT); in testPage()
119 …boolean actualIsLandScape = ((Boolean)SWUtil.getDefaultPageStyleProperty(xComponent, isLandscapePr… in testPage()
120 …int actualWidth = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, widthProperty)).intValu… in testPage()
121 …int actualHeight = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, heightProperty)).intVa… in testPage()
122 …int actualTop = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, topMarginProperty)).intVa… in testPage()
123 …int actualBottom = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, bottomMarginProperty))… in testPage()
124 …int actualLeft = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, leftMarginProperty)).int… in testPage()
125 …int actualRight = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, rightMarginProperty)).i… in testPage()
132 SWUtil.saveAsDoc(xComponent, FileUtil.getUrl(tempFilePathDOC)); in testPage()
133 unoApp.closeDocument(xComponent); in testPage()
134 xComponent = unoApp.loadDocument(tempFilePathDOC); in testPage()
136 …actualIsLandScape = ((Boolean)SWUtil.getDefaultPageStyleProperty(xComponent, isLandscapeProperty))… in testPage()
137 … actualWidth = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, widthProperty)).intValue(); in testPage()
138 …actualHeight = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, heightProperty)).intValue(… in testPage()
139 …actualTop = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, topMarginProperty)).intValue(… in testPage()
140 …actualBottom = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, bottomMarginProperty)).int… in testPage()
141 …actualLeft = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, leftMarginProperty)).intValu… in testPage()
142 …actualRight = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, rightMarginProperty)).intVa… in testPage()
146 unoApp.closeDocument(xComponent); in testPage()