summaryrefslogtreecommitdiff
path: root/sw/inc
AgeCommit message (Collapse)AuthorFilesLines
2013-12-16Export redline 'paragraph formatting changes' back to DOCXAdam Co1-0/+1
This patch adds support for the export of any redline of type 'paragraph formatting changes' properties that were imported from a DOCX file under the 'pPrChange'->'pPr' XML node. Reviewed on: https://gerrit.libreoffice.org/6993 Change-Id: Ieea5bbb219f444e382f22948944e038bb661ec7c
2013-12-15xub_StrLen/sal_uLong to sal_Int32 + minor optimizationsMatteo Casalin1-33/+32
Change-Id: Ibbca8e2d2a4742247648a611337bd8a75db7ee2f
2013-12-12Reduce unoprnms.hxx to a set of string literal macrosStephan Bergmann1-850/+786
Change-Id: I955dcb5cedfbdf413054482d2c51d187e6f41898
2013-12-12Simplify comphelper::PropertyInfoStephan Bergmann1-1/+0
...as its sole two uses (in sw) are already fine with initializing arrays of it dynamically, there is no harm in changing it and thereby getting rid of the last use of comphelper/TypeGeneration.hxx. Change-Id: I11931dbbec48dac5a694a59cf6425206c806fbfb
2013-12-12Add new 'SwRedlineExtraData_FormattingChanges' class for formatting changesAdam Co1-1/+24
This class is for use in the 1st step with the DOCX importer\exporter, to hold information about 'track changes' that relate to formatting of text portions. Change-Id: I3f5231d0e49e0b493ec22efaac1c90b0d415f3ea Reviewed-on: https://gerrit.libreoffice.org/6901 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-12Don't hold css::uno::Type instances by pointerStephan Bergmann1-1/+1
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann1-1/+1
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11Don't hold css::uno::Type instances by pointerStephan Bergmann1-1/+1
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-05fdo#68724: sw: fix crash on Insert->File with Hybrid PDFMichael Stahl1-0/+3
This is an unfortunate combination of 2 special cases: - the Hybrid PDF has its own XFilter implementation to extract the embedded ODF document - Writer needs to create a SwReader with SwPaM for Insert Since the PDF XFilter uses a special service in sfx2 to implement the import, handling this requires a new method in SfxObjectShell that calls back into Writer to create the properly setup SwReader. Change-Id: Ie85f3bfa322bfe883c479e1cb198a8bf0cbbac23
2013-12-04sw: add CharInteropGrabBag uno property to charactersJacobo Aragunde Pérez2-1/+2
Change-Id: I2c6d8b1e4ef6df6a6662d5db89e67e5fba3c6ade
2013-12-04remove unnecessary inline keywordCaolán McNamara1-25/+32
Change-Id: I00a0c94dd9131be3969e2cfd1320682774dced3f
2013-12-04fix SwInterHyphInfo commit againNoel Grandin1-1/+1
The original commit was eb56848029a3b26a9d4f07a55364749e9e7d8339 "convert SwInterHyphInfo from xub_StrLen->sal_Int32" My first attempt at fixing the commit was a073e81c3acb0c4aa3bc4fde146b6eb9869738e1. This is the second attempt. Change-Id: I030c0a3107e1321006744473efe3ca3341251ad4
2013-12-04fix SwInterHyphInfo commitNoel Grandin1-1/+1
fix for commit eb56848029a3b26a9d4f07a55364749e9e7d8339 "convert SwInterHyphInfo from xub_StrLen->sal_Int32" Change-Id: I197edf7d5558cd44200f8f04ba29f028fba25639
2013-12-04convert SwInterHyphInfo from xub_StrLen->sal_Int32Noel Grandin1-21/+18
Change-Id: Ie5a877fb90c360506f05d0417524966e137e5d77
2013-12-03convert SwTxtNode::GetLang from xub_StrLen->sal_Int32Noel Grandin1-1/+1
Change-Id: I2740622a5e30916d050e01350208a0de268e42ac
2013-12-02Move functions to right file, prefer sal_Int32 to sal_uInt32 as indexMatteo Casalin1-6/+6
Change-Id: Ie5dca349acf2e163fdb6a47b0ba7af27220f2b2d
2013-12-02xub_StrLen to sal_Int32Matteo Casalin1-1/+1
Change-Id: Ie2c18baa3ab6a3a7c6f2ac83b6d2d5bd8ecf5811
2013-12-02xub_StrLen/unsigned to sal_Int32Matteo Casalin1-1/+1
Change-Id: I6d89f19ef2ee3aa83f3e74a416c41cd42dd448fa
2013-12-02xub_StrLen to sal_Int32Matteo Casalin1-1/+1
Change-Id: Id00f298c638b14b0e78b898373978f94b43804d9
2013-12-02xub_StrLen to sal_Int32Matteo Casalin1-1/+1
Change-Id: Ifd4f78d422eb3ed04407e9c9edb30ef319cae2cb
2013-12-02Uninitialized valueStephan Bergmann1-1/+2
Change-Id: I060fb2f8dda4a79b70e2fdf255e95b47b0d5630b
2013-12-02WaE: unused private fieldsTor Lillqvist1-3/+0
Change-Id: I2084fa7cc0af9385b532c6beab0368bc2e45e29e
2013-12-02Integrate branch of IAccessible2Steve Yin15-26/+122
Conflicts: everything Change-Id: I9619634ee1e60d449025c006803da29c1e9d14b3
2013-11-27Drop duplicate #includeTakeshi Abe1-1/+0
Change-Id: I8c5daff82b96e4d9e2e89e18473c9be8c9c8162b
2013-11-26Added dump of 'redline' objects in 'node dump' XMLAdam Co1-0/+2
Change-Id: I531a04fd4747a4b10858f6317b7c08cceb6458eb Reviewed-on: https://gerrit.libreoffice.org/6817 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-11-23SwPaM: xub_StrLen to sal_Int32Matteo Casalin1-6/+6
Change-Id: I553f91c4f49c02b3bcd2a778cbaf871b397ed89b
2013-11-23SwNumRule: rename member variables missing their prefixesMiklos Vajna1-37/+37
Change-Id: I9433438824f2c0e50cc4afa3e265e6d41350829f
2013-11-21longparas: these are really xub_StrLensCaolán McNamara1-1/+1
Change-Id: Ia754de347f277a07479e4056b7c9a03534a3dab4
2013-11-20avmedia: Implement "block untrusted referer links" featureStephan Bergmann1-0/+4
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block untrusted referer links' feature" for details. This adds some further /*TODO?*/ comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not blocked during a slideshow presentation. Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-20fdo#71645 remove footnote numbers in cross-referencesLászló Németh3-3/+6
Change-Id: Ic3780e4389e450d8c7a69d2f0f2a6a7f81b8906e
2013-11-19Resolves: #i33737# enable in-place editing of Input FieldsOliver-Rainer Wittmann14-140/+238
(cherry picked from commit c2afeb1c3f11e8f420b59f3786eb8626c99ff595) Conflicts: sw/inc/IDocumentContentOperations.hxx sw/inc/crsrsh.hxx sw/inc/doc.hxx sw/inc/editsh.hxx sw/inc/expfld.hxx sw/inc/fldbas.hxx sw/inc/fmtfld.hxx sw/inc/hintids.hxx sw/inc/ndtxt.hxx sw/inc/txatbase.hxx sw/inc/txtfld.hxx sw/inc/txtrfmrk.hxx sw/inc/txttxmrk.hxx sw/inc/viscrs.hxx sw/source/core/bastyp/init.cxx sw/source/core/crsr/crsrsh.cxx sw/source/core/crsr/crstrvl.cxx sw/source/core/crsr/findattr.cxx sw/source/core/crsr/findtxt.cxx sw/source/core/crsr/swcrsr.cxx sw/source/core/crsr/viscrs.cxx sw/source/core/doc/dbgoutsw.cxx sw/source/core/doc/doc.cxx sw/source/core/doc/docfld.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docnum.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/docruby.cxx sw/source/core/doc/doctxm.cxx sw/source/core/doc/visiturl.cxx sw/source/core/docnode/nodes.cxx sw/source/core/edit/edatmisc.cxx sw/source/core/edit/edattr.cxx sw/source/core/edit/edfld.cxx sw/source/core/edit/edfldexp.cxx sw/source/core/edit/editsh.cxx sw/source/core/edit/edlingu.cxx sw/source/core/edit/ednumber.cxx sw/source/core/fields/expfld.cxx sw/source/core/fields/fldbas.cxx sw/source/core/fields/reffld.cxx sw/source/core/frmedt/fefly1.cxx sw/source/core/inc/docfld.hxx sw/source/core/inc/rolbck.hxx sw/source/core/inc/swfont.hxx sw/source/core/layout/flycnt.cxx sw/source/core/layout/laycache.cxx sw/source/core/layout/trvlfrm.cxx sw/source/core/text/atrhndl.hxx sw/source/core/text/atrstck.cxx sw/source/core/text/inftxt.cxx sw/source/core/text/porfld.cxx sw/source/core/text/porfld.hxx sw/source/core/text/txtfld.cxx sw/source/core/tox/tox.cxx sw/source/core/tox/txmsrt.cxx sw/source/core/txtnode/atrfld.cxx sw/source/core/txtnode/ndhints.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txatbase.cxx sw/source/core/txtnode/txatritr.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/SwUndoField.cxx sw/source/core/undo/rolbck.cxx sw/source/core/undo/unsect.cxx sw/source/core/undo/untbl.cxx sw/source/core/unocore/unocrsrhelper.cxx sw/source/core/unocore/unofield.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unorefmk.cxx sw/source/core/view/vprint.cxx sw/source/filter/ascii/ascatr.cxx sw/source/filter/html/htmlatr.cxx sw/source/filter/rtf/rtffly.cxx sw/source/filter/ww1/fltshell.cxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww8/wrtw8esh.cxx sw/source/filter/ww8/wrtw8nds.cxx sw/source/filter/ww8/ww8atr.cxx sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par3.cxx sw/source/filter/ww8/ww8par5.cxx sw/source/ui/app/applab.cxx sw/source/ui/docvw/edtwin.cxx sw/source/ui/docvw/edtwin2.cxx sw/source/ui/envelp/envfmt.cxx sw/source/ui/fldui/fldedt.cxx sw/source/ui/fldui/fldmgr.cxx sw/source/ui/inc/wrtsh.hxx sw/source/ui/lingu/hhcwrp.cxx sw/source/ui/shells/basesh.cxx sw/source/ui/shells/drwtxtex.cxx sw/source/ui/shells/grfsh.cxx sw/source/ui/shells/tabsh.cxx sw/source/ui/shells/textfld.cxx sw/source/ui/shells/textidx.cxx sw/source/ui/shells/textsh.cxx sw/source/ui/shells/textsh1.cxx sw/source/ui/shells/txtattr.cxx sw/source/ui/uiview/formatclipboard.cxx sw/source/ui/uiview/view.cxx sw/source/ui/uiview/view2.cxx sw/source/ui/uiview/viewsrch.cxx sw/source/ui/uiview/viewstat.cxx sw/source/ui/uiview/viewtab.cxx sw/source/ui/wrtsh/wrtsh1.cxx sw/source/ui/wrtsh/wrtsh2.cxx Change-Id: I6758d6719e1fd523797cc6ee2648ffcb47d52595
2013-11-17undefining inline is just confusingTakeshi Abe1-2/+0
Change-Id: I70b973a88944603077a06632c801e8211f9efbd9
2013-11-17sal_Bool to boolTakeshi Abe2-9/+9
Change-Id: I0b01f904f78ec1a3d1aebd2af2ae8f55588a504f
2013-11-15Tiled rendering: Move the common code to the right place - PaintTile().Jan Holesovsky1-1/+1
Change-Id: Id0502c4e0dd48dce8d1a239b5d156ff290314954
2013-11-15Tiled rendering: Make the tiled rendering work together with normal render.Jan Holesovsky1-0/+1
Not an ideal solution, but cleaning up the amount of output devices we have around would take me quite some time, and would be not too safe just before the feature freeze, so let's live with mbTiledRendering flag for now. Change-Id: I93616df18c790d8ce1251194b0c8b09442f5a265
2013-11-15Tiled rendering: Tunnel the request for a tile to the ViewShell.Jan Holesovsky1-0/+8
Change-Id: I6271546ab2c0e92832c501617d94d5ad155de705
2013-11-14longparas: change GetExpandTxt to sal_Int32Caolán McNamara1-6/+6
Change-Id: I34b6f91d104e5f095f0aad58869d62d0a367d2b3
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann2-2/+2
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14xub_StrLen to sal_Int32 in SwIndex and some relatedMatteo Casalin15-77/+75
Change-Id: I66735635a88844c30a7fa1c886d2c1df34008f4f
2013-11-11Remove an unused inline functionTakeshi Abe1-5/+0
Change-Id: I52a5b2d7d3302ba887364e7bf5b377bf93394406
2013-11-11Drop unnecessary #includesTakeshi Abe3-5/+0
Change-Id: Ib286fa65ee54a09a78686b8b11453228c4196910
2013-11-08longparas: these sal_uInt16s are really xub_StrLensCaolán McNamara2-2/+2
Change-Id: I54ecd08c4073f1de6dd28e7d6824d8cfde98254a
2013-11-08Access by AnchoredObject of a deleted SwLayoutFrmCaolán McNamara1-5/+2
as demonstrated by abi10075-1.doc just register the AnchoredObjects in the SwLayoutFrm and inform them when the SwLayoutFrm goes away. This crash was triggered by "1e113cb7604e1509e7d598a9be329f1f7b6e9322" import different first page header/footer from doc. But that commit is blameless. Change-Id: Ia079cc635a81dff1ccbf740641f441aa784328a4
2013-11-08SwNumRule: add getter / setter for InteropGrabBagMiklos Vajna1-0/+4
Change-Id: I6f76dbfd806139f141c054dccb0884be32511e06
2013-11-07fdo#63020: Replace ::comphelper::stl_begin()...Marcos Paulo de Souza2-2/+0
And use some templates inside include/com/sun/star/uno/Sequence.hxx Change-Id: I48875fa1517751fc4cb0cf2b6c08b88975a29b47 Reviewed-on: https://gerrit.libreoffice.org/6599 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-06sw: add InteropGrabBag for paragraph stylesMiklos Vajna2-0/+2
Change-Id: I44087a5119a538a3892d7f44a33a00bc601a6d44
2013-11-06SwDocStyleSheet: add getter / setter for InteropGrabBagMiklos Vajna1-0/+2
Change-Id: I4163633f11c75cf9f12485212f563c8f53af38f7
2013-11-06SwFmt: add getter / setter for InteropGrabBagMiklos Vajna1-0/+6
Change-Id: I3f97c23077f8c2af69873e9cef244265378f44f7
2013-11-05Resolves: #i123500# unified Graphic processing to use GraphicPrimitive2DArmin Le Grand1-1/+0
(cherry picked from commit f5d69b2b8b002ca6905496a9d9065ef76b5641d7) Conflicts: sw/source/core/doc/notxtfrm.cxx Change-Id: I1758aadcbe97ece271277378e62300b895421768
2013-11-05update pchThomas Arnhold2-2/+10
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3