Commit Graph

12 Commits

Author SHA1 Message Date
Miklos Vajna
ad8aeb6e02 SwTextBoxHelper::create(): initialize size
On import, syncProperty() takes care of this, but in case the user
interactively adds a textbox, when we need to handle the size in
create() as well.

Change-Id: I9428a682dbf70550bdfd081900e8098aeb64d38f
2014-05-29 14:43:44 +02:00
Miklos Vajna
31c4c834b8 SwTextBoxHelper: extract getTextRectangle() from syncProperty()
Change-Id: I6265247593571ffba4cbda7f87bdde1e943aff51
2014-05-28 15:57:11 +02:00
Miklos Vajna
6971e5f32d SwTextBoxHelper: set textbox Surround for inline shapes
Change-Id: I25167b28397db185cdf9fe5844feecb5a16cc13e
2014-05-27 22:13:20 +02:00
Miklos Vajna
4782e774e3 SwTextBoxHelper::findTextBox: only draw frames can have textboxes
Change-Id: I4ff9f87120a9ba392aee205641e17c12cb30649b
2014-05-27 09:32:45 +02:00
Miklos Vajna
0f884b27fd let SwTextBoxHelper::findTextBoxes() take a const SwDoc
Change-Id: Icb1540b93f4117999b755d4d5fd387f1228250aa
2014-05-27 09:32:45 +02:00
Miklos Vajna
69578bf06d SwXDrawPage::getByIndex(): ignore textboxes
Change-Id: I643ca4268e15af1882adb168af152835ef216cd9
2014-05-27 09:32:44 +02:00
Miklos Vajna
f1dae10ca5 SwXDrawPage::getCount(): ignore textboxes
Change-Id: I579cc0242f6901175162b169813e4465d52952a0
2014-05-27 09:32:44 +02:00
Miklos Vajna
ae59502b20 SwXShape: return the right XText implementaation in the TextBox case
Change-Id: Iac31bd4b3b1918f857feff9045df473e9b1d3d2b
2014-05-27 09:32:44 +02:00
Miklos Vajna
f8ef170acf SwXShape: allow setting TextBox property to false
Change-Id: I23d79fc3f5c020c86296bfc84bb0824e1ca68228
2014-05-27 09:32:44 +02:00
Miklos Vajna
0baec97070 SwTextBoxHelper::syncProperty(): avoid crash on not-yet-inserted shape
Change-Id: I3308ba685b4066ea6849e8002e9d98cc5264c368
2014-05-27 09:32:43 +02:00
Miklos Vajna
f1ada85a95 SwXShape: new bool TextBox property
Change-Id: Iae588c817ea17b6b2c2d3f2818ee5f94ed6f4e96
2014-05-27 09:32:43 +02:00
Miklos Vajna
72159041cb Initial SwTextBoxHelper
Change-Id: I2674d72a2ba7bf49f102e09ed8435445c9687bb2
2014-05-27 09:32:42 +02:00