summaryrefslogtreecommitdiff
path: root/sw/inc
AgeCommit message (Collapse)Author
2014-06-04sw: use ifndefThomas Arnhold
Change-Id: Ia74abd902bb2d40c6fe19d3c186fabfd559fb89d
2014-06-03Split out IDocumentDrawModelAccess from SwDoc.Valentin Kettner
To the new class DocumentDrawModelManager. All moved methods and members have the same in thew new class. Change-Id: I89ad0e0c4a42885d5810e834983ea8e8e6c0a2d2
2014-06-03Added IDocumentSettingAccess& getIDocumentSettingAccess() to SwDocValentin Kettner
Which returns the DocumentSettingManager as its interface. Change-Id: I7d2c2d28a28fbcf19176ab5dda6940ce6d9b17cb
2014-06-03Fixed a typo in IDocumentSettingAccess.hxxValentin Kettner
Compatability -> Compatibility Change-Id: Ia80e6db589a74d2aa8d1276195bc30ddb8d251fd
2014-06-03Removed IDocumentDeviceAccess.hxx include in SwDoc.hxxValentin Kettner
Because it is not needed there anymore in that class. I added it as an include in all files that need it. Change-Id: I3eb2e1da9d153017968b286e1a0250f145ca7cfe
2014-06-03Removed IDocumentSettingAccess.hxx include in SwDoc.hxxValentin Kettner
Because it is not needed there anymore with IDocumentSettingManager. Change-Id: Iad5e0a03f2628c9d26698d23e691b3e6228eee0b
2014-06-03Removed DocumentSettingManager methods from SwDoc.Valentin Kettner
And moved all calls to those methods to GetDocumentSettingManager(). Change-Id: I9b6cc8c3aa9b57bbc0c39f39499dfb4f5f254ad9
2014-06-03Added 32DummyCompatabilityOptions to DocumentSettingManangerValentin Kettner
And corresponding getter and setter which had to be made part of IDocumentSettingAccess so their symbols get correclty exported. Change-Id: Ia33244767110364174b115eaca5d733462be61ca
2014-06-03Work on DocumentSettingManager for SwDoc.Valentin Kettner
Moved mn32DummyCompatabilityOptions1 from SwDoc to DocumentSettingManager and moved a comment from SwDoc to it. Change-Id: I4abd5cd9596d23dc3ac12460ee9b38345d0bf0a7
2014-06-03Made SwDoc::getDocumentDeviceAccess return a reference.Valentin Kettner
Also overloaded SwDoc::getDocumentDeviceAccess with its const version. Change-Id: I3272be3ee067aa2e0174663ede3c98190ecf2b09
2014-06-03Finished cleaning up of IDocumentDeviceAccess methods in SwDoc.Valentin Kettner
Moved all SwDoc::getPrintData and SwDoc::setPrintData calls to their appropriate interface methods (SwDoc::getIDocumentDeviceAccess::"). Change-Id: I5671b365238abae6d94f125fb7a99481d81392f9
2014-06-03Cleaning up of IDocumentDeviceAccess methods in SwDoc.Valentin Kettner
Moved all SwDoc::getJobSetup and SwDoc::setJobSetup calls to their appropriate interface methods (SwDoc::getIDocumentDeviceAccess::"). Change-Id: I155a0341363ec42eaad3290d2e6feb8c7d73bbb1
2014-06-03Cleaning up of IDocumentDeviceAccess methods in SwDoc.Valentin Kettner
Moved all SwDoc::getReferenceDevice and SwDoc::setReferenceDevice calls to their appropriate interface methods (SwDoc::getIDocumentDeviceAccess::"). Change-Id: I2a1b488500fa4f0bfbb7ebadccde2c94b70efd85
2014-06-03Removed getVirtualDevice and setVirtualDevice from SwDoc.Valentin Kettner
Nothing else had to be chaned because they werent call from anywhere else. Change-Id: I708b54b909c5a1814bcec858dd356e17e5c6c473
2014-06-03Started cleaning up of IDocumentDeviceAccess methods in SwDoc.Valentin Kettner
Moved all SwDoc::getPrinter and SwDoc::setPrinter calls to their appropriate interface methods (SwDoc::getIDocumenterDeviceAccess::"). Change-Id: Icbe5369ba03a05d9e2afb1300a9c67b0a0a20c60
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directory sw/ Change-Id: I5859f986c6f954d41a7940dc9ae8febaa714d34f Reviewed-on: https://gerrit.libreoffice.org/9587 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-31SwFmtVertOrient: rename member variables missing their prefixesMiklos Vajna
Change-Id: I83922fa1abe7830b12fcd811c9391ae8fff853c9
2014-05-30SwTextBoxHelper: handle size when it's set before CustomShapeGeometryMiklos Vajna
E.g. the ODF import won't set an explicit size, it'll just set a Transformation property, and a CustomShapeGeometry one, which contains the textbox rectangle. Change-Id: I9ac7ab5a324dc9c7c5ce3196fee8d257b7426f41
2014-05-29SwTextBoxHelper::syncProperty(): no need to pass the property nameMiklos Vajna
Change-Id: Ic2f6ae15fd81826d2bc6f8796e33c3c93b34e240
2014-05-29SwTextBoxHelper::create(): initialize positionMiklos Vajna
The situation is a bit more complicated here, drawing::XCustomShapeEngine returns the text rectangle in absolute coordinates, but that's on the drawpage. So count the relative coordinates, and then just adjust the position we got from the original shape. Change-Id: Ibfbc183e5170037c8c281d61ce802a19a7acda17
2014-05-29handle direct formatting for numbering in .docx (bnc#875717)Luboš Luňák
Change-Id: I3ed0f926e79f3878c5702c2becae97d99d00e201
2014-05-28coverity#707290 Uncaught exceptionCaolán McNamara
Change-Id: Ia1d09b753270cca82cadf8779abec44c8a0180b1
2014-05-28SwTextBoxHelper: extract getTextRectangle() from syncProperty()Miklos Vajna
Change-Id: I6265247593571ffba4cbda7f87bdde1e943aff51
2014-05-28update_pchThomas Arnhold
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-28coverity#704955 Unchecked dynamic_castCaolán McNamara
and coverity#704956 and coverity#704957 Change-Id: I6df06c3b20440659788b12a1f73dcdd68dcbe5b5
2014-05-28Related: fdo#79142 make SetName default to ReindexingCaolán McNamara
Change-Id: I408042bc7bf1a5a955203d65d2c68ebf9527b9b5
2014-05-27css already means ::com::sun::starThomas Arnhold
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342
2014-05-27cid#707295 Uncaught exceptionNoel Grandin
Change-Id: If63df32a079bb4a568ed6085097062f77c351a06
2014-05-27cid#707296 and cid#738184 Uncaught exceptionNoel Grandin
Change-Id: I59d1a0818bd896f0ac601c72e7f6cc89f95f043c
2014-05-27SwXFrames::getByIndex: ignore textboxesMiklos Vajna
Change-Id: I58a8c3cf5e0384f68a9259b3a1575a201436057e
2014-05-27SwXFrames::getCount: ignore TextFrames, which are TextBoxesMiklos Vajna
Change-Id: I12d2912f566a31e36f6d091d554106b927abb9c9
2014-05-27let SwTextBoxHelper::findTextBoxes() take a const SwDocMiklos Vajna
Change-Id: Icb1540b93f4117999b755d4d5fd387f1228250aa
2014-05-27SwXDrawPage::getByIndex(): ignore textboxesMiklos Vajna
Change-Id: I643ca4268e15af1882adb168af152835ef216cd9
2014-05-27SwXDrawPage::getCount(): ignore textboxesMiklos Vajna
Change-Id: I579cc0242f6901175162b169813e4465d52952a0
2014-05-27SwXShape: return the right XText implementaation in the TextBox caseMiklos Vajna
Change-Id: Iac31bd4b3b1918f857feff9045df473e9b1d3d2b
2014-05-27SwXShape: allow setting TextBox property to falseMiklos Vajna
Change-Id: I23d79fc3f5c020c86296bfc84bb0824e1ca68228
2014-05-27SwXShape: new bool TextBox propertyMiklos Vajna
Change-Id: Iae588c817ea17b6b2c2d3f2818ee5f94ed6f4e96
2014-05-27Initial SwTextBoxHelperMiklos Vajna
Change-Id: I2674d72a2ba7bf49f102e09ed8435445c9687bb2
2014-05-27Remove ASCII art and useless comments from sw moduleChris Laplante
Change-Id: I3ba4ac78fd4810e006b1034bbe7c28b1803895d2 Reviewed-on: https://gerrit.libreoffice.org/9494 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-26SwFmtFlyCnt: add doxygen commentMiklos Vajna
Change-Id: I9e48b471f4afbb071112f3b1f5b71ee42cfe186f
2014-05-24Remove unused headersMatteo Casalin
Change-Id: I67cb5bf14114f9892d2680b7688092cafd9644f1
2014-05-24coverity#983959 Uncaught exceptionCaolán McNamara
Change-Id: Id2f069576ecacb66cfa461bdca394a06befd765b
2014-05-23Resolves: #i124946# only apply new embedded stream name...Oliver-Rainer Wittmann
for a graphic, if is already has one. - needed correction for the fix made for issue #i114361# (cherry picked from commit 23a4bd91ceb89e5e0a2413f80fc987db106a0bc9) Conflicts: sw/inc/ndgrf.hxx sw/source/core/graphic/ndgrf.cxx sw/source/filter/xml/xmltexte.cxx Change-Id: Ia9771932ae5b380ccae9b0a3cbb79d41f5d9bdb8
2014-05-23Resolves: #i114361# provide and accept changed URL...Oliver-Rainer Wittmann
of embedded graphic file during save (ODF export) (cherry picked from commit a90c007908eb3f66e28a9ea525729065db652b6f) Conflicts: sw/inc/ndgrf.hxx sw/source/core/graphic/ndgrf.cxx sw/source/core/unocore/unoframe.cxx sw/source/filter/xml/xmltexte.cxx xmloff/source/draw/shapeexport2.cxx Change-Id: I9d4a02af2561467fe1a66f036b55d6dcf2429986
2014-05-23sw: try not to include sw/souce/core stuff from sw/source/filterMichael Stahl
Change-Id: I21f1de79ed0a6df73afc53d1c93450f9eef23ac6
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19sw doc model xml dump: handle SwDoc::mpFrmFmtTblMiklos Vajna
Change-Id: Ie15ff20524e7065323e681945bb5eaf199a2bf3a
2014-05-17SwFmtCol: rename member variables missing their prefixesMiklos Vajna
Change-Id: I0cf0b585a9cfcbb119c68adf51dc786bc6373e2e
2014-05-15Resolves: fdo#78204 adjust note icons on comments-in-margins caseCaolán McNamara
the page has been scaled by 75% and vertically centered so the page positions need to be also adjusted. Change-Id: I7ab6b4956933ba444441c857e78aee8e5c1cf97a
2014-05-14fix windows buildThomas Arnhold
Change-Id: Ib2e882194087e3eb85b52921f27fafc40227c52d