Lines Matching refs:Width
102 if ( !rPage.Width() || !rPage.Height() ) in ScLimitSizeOnDrawPage()
106 sal_Bool bNegative = aPageSize.Width() < 0; in ScLimitSizeOnDrawPage()
110 aPageSize.Width() = -aPageSize.Width(); in ScLimitSizeOnDrawPage()
111 rPos.X() = -rPos.X() - rSize.Width(); in ScLimitSizeOnDrawPage()
114 if ( rSize.Width() > aPageSize.Width() || rSize.Height() > aPageSize.Height() ) in ScLimitSizeOnDrawPage()
116 double fX = aPageSize.Width() / (double) rSize.Width(); in ScLimitSizeOnDrawPage()
121 rSize.Width() = aPageSize.Width(); in ScLimitSizeOnDrawPage()
127 rSize.Width() = (long) ( rSize.Width() * fY ); in ScLimitSizeOnDrawPage()
130 if (!rSize.Width()) in ScLimitSizeOnDrawPage()
131 rSize.Width() = 1; in ScLimitSizeOnDrawPage()
136 if ( rPos.X() + rSize.Width() > aPageSize.Width() ) in ScLimitSizeOnDrawPage()
137 rPos.X() = aPageSize.Width() - rSize.Width(); in ScLimitSizeOnDrawPage()
142 rPos.X() = -rPos.X() - rSize.Width(); // back to real position in ScLimitSizeOnDrawPage()
206 aInsertPos.X() -= aLogicSize.Width(); // move position to left edge in lcl_InsertGraphic()
245 if( rPrefSize.Width() && rPrefSize.Height() ) in lcl_InsertMedia()
258 aInsertPos.X() -= aSize.Width(); in lcl_InsertMedia()