summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-06-25Remove this weird inheritance from smart-pointer-wrapped class.Kohei Yoshida
SbxVarEntry is now its own class. Change-Id: I5c5ce1990fa83930acced1d507f5b0de60bf221e
2014-06-25Use boost::optional to store alias name.Kohei Yoshida
Change-Id: I809b21ea156061a265c0d83d58534df10bc273bc
2014-06-25pData -> mpVarEntries.Kohei Yoshida
pData is a nightmare with grepping as it's too generic of a name. Change-Id: I01b3f1b503f21ee13c97733fa66804874a2cddc4
2014-06-25Remove this class that only derives from std::vector and not much else.Kohei Yoshida
Change-Id: Ibc584f4148cec49a9ac34a240cc2fa3e87daf443
2014-06-25vcl: MSVC can't link inline ITiledRenderable dtorMichael Stahl
Change-Id: Idbb776de489e0c6e6ae14cb65907ac75cfca3851
2014-06-25remove spurious com::sun::star::util prefixMichael Stahl
Change-Id: I002a14fe0cb0cbdb4d5da51db8da6c8208cf604e
2014-06-25remove spurious com::sun::star::text prefixMichael Stahl
Change-Id: I98d2fc7de3c2d3f95fb96192da83761ac1146172
2014-06-25remove spurious ::com::sun::star::sdbcx namespace prefixMichael Stahl
Change-Id: I37220af64c15259ab5bcf61b324d2a73ed8f5348
2014-06-25remove spurious com::sun::star::chaosMichael Stahl
Apparently some time before inital CVS import a global search-and-replace went horribly wrong and added spurious namespace prefixes everywhere. Change-Id: I4009bc3ab4b1d4c80412f75ad0e4628a382f99f0
2014-06-25LOK Docview: add set_zoomAndrzej Hunt
Change-Id: I902f3a134b4a7dcc721eff3f67376014a4276885
2014-06-25Add ITiledRenderable.Andrzej Hunt
We want to have a simple interface that allows access to tiled rendering without digging into the internals of writer (and in the future calc/impress/draw). Change-Id: Ia9c278a48c919333186e5361ff25bb1ab603b846
2014-06-25LIBLOK: implement getDocumentType, make doctypes unique.Andrzej Hunt
Change-Id: I6cf810af55284cb6ddd9e0bfd879fd19508d127a
2014-06-25Implement LibreOfficeKit gtk+ viewer widget.Andrzej Hunt
Very basic, but works. Change-Id: I0c521e833b53e13065e0be48e6fa767e44b29787
2014-06-25Fill the alpha channel by default for vcl 32-bit bitmaps too.Andrzej Hunt
Otherwise the alpha channel for bitmaps created directly is empty, indicating a transparent bitmap (although we don't actually handle transparency). This complements hardcoding of the alpha channel in basebmp. VCL bitmaps can be copied bit-for-bit directly into a basebmp bitmap, hence it's important to make sure we fill the alpha channel in vcl too. Conflicts: include/vcl/salbtype.hxx Change-Id: Icb2fa417db6625a6ffa6bd82eb5773ff75be5a3c
2014-06-25Add base value to set alpha channel for 32 bit colourspaces.Andrzej Hunt
Currently the alpha channel is completely ignored by basebmp. However this results in completely "transparent" output, meaning the client has to manually overwrite the alpha channel -- instead we now set it automatically when writing colourdata. Unfortunately this doesn't quite work -- it seems that drawing a non-opaque bitmap/image on top of the existing bitmap can erase the alpha channel information (i.e. these areas will once again be transparent -- for example document borders seem to have a transition effect overlayed onto them): presumably there is some method that bypasses our RGBMaskSetter (probably some form of direct manipulation of raw values?). manipulation in basebmp Change-Id: Ia4be6a748cc30191a4422121f9ec347d9198b225
2014-06-25Use external buffer for LibLO tiled rendering.Andrzej Hunt
Means we can get rid of hackily storing a reference to the last buffer we created. Change-Id: I8092a7d87bc391301f75651a59b37fbd73ac64fd
2014-06-25Allow passing in external buffers to svp's VirtualDevice.Andrzej Hunt
We also want to be able to set whether or not the buffers should be painted to top down, so add that parameter as necessary (default seems to be false, however e.g. gtk requires this to be true, i.e. needed for tiled rendering). Change-Id: Id98882e4c7f62508ae5a976c0d8df743460a4ab2
2014-06-25Implement document size retrieval for LibLO.Andrzej Hunt
Change-Id: Ibd69f8e766fd421b05d2305f967179a969bc5b56
2014-06-25Add rowstride to tiled rendering via LibLO.Andrzej Hunt
The buffer width could be larger than the desired rendering width, hence we need to give the client access to the rowstride. Change-Id: Ic63c1f455c89960164e076ed2528d43e64e81a40
2014-06-25Return a bitmap buffer for tiled rendering from LibLO.Andrzej Hunt
We still need some way of managing the buffers properly rather than just keeping a static reference to the last buffer that was rendered. Change-Id: I17940c758948aa9418f4e0216ecd253d128cd04f
2014-06-25Add tiled rendering via liblibreoffice.Andrzej Hunt
We still need to add functions for getting dimensions of documents etc. for this to be truly useful, this is also only usable for writer documents for now. Change-Id: I07812c9b72caca71dfd509705af48c1d355cb2f8
2014-06-25Move more oox/drawingml/ internal headers to oox/inc.Matúš Kukan
Change-Id: I0963c92356f8388ce02fb36e172ad3b2af8ba8f8
2014-06-25loplugin:sallogareasMiklos Vajna
Change-Id: Ia5fbdfd83971ac946de6d022be55d5a286a1bf5a
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-24Remove unused mpOwner in SvxTextEditSource.Matúš Kukan
Change-Id: I824e8436945e056840386960308b8e63627a603f
2014-06-23LOK: kill saveAsWithOptions.Andrzej Hunt
The saveAsWithOptions/saveAs split existed for reasons of historical API compatibility. Since we're breaking the API currently we can now get a clean start, and get rid of the redundant saveAs, and make saveAsWithOptions the standard saveAs function. Change-Id: Ia3e2294a8604cab08e95b07544c9d10d42dd1152
2014-06-23Remove unused INetURLObject::PART_* valuesStephan Bergmann
Change-Id: Icebdf0cad5306ae42a30de0b4f997e3b611675eb
2014-06-23Move oox/drawingml/table/ internal headers to oox/inc.Matúš Kukan
Change-Id: I9de33fdcd8b1ef73d57884033f502ac4a03f63d3
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19callcatcher: update unused codeCaolán McNamara
Change-Id: Ia25c686dac799707cae3f6112c731f8cd3f686c2
2014-06-19indentation fixesMiklos Vajna
Change-Id: Ia391ccc9889a135730f0fead11eb0b6c2f748ec4
2014-06-19Catch illegal null pointer dereferences earlyStephan Bergmann
Change-Id: I4d558e9a6e2c4e4d9feb45eb5a3fd01ee322bef8
2014-06-18LOK: kill double initialize.Andrzej Hunt
Change-Id: I4d3dd913faea8b9f4a0bd3c13af37d097ced9888
2014-06-18coverity#1028261 Uncaught exceptionCaolán McNamara
Change-Id: I7dd08c182657084ffa635e1960f4d0def6d7a6bb
2014-06-18Remove newly unused comphelper::ImplementationReferenceStephan Bergmann
Change-Id: If272d5025e08fcf5e67de30ffdf177383ef59370
2014-06-18rtl::Reference fits just fine hereStephan Bergmann
Change-Id: Ib48999c7fe532b2a8bf5222ef27d8d4929937e3b
2014-06-18Use ImplInheritanceHelperStephan Bergmann
Change-Id: I259bf6012684e393765cfd73e813bcf2875abd5f
2014-06-17restore these for the moment, still in use in scCaolán McNamara
Change-Id: I6967a3c871338d1801d913d9bb54eba50a7660ca
2014-06-17RID_FORMULADLG_FORMULA conversion to .uiSzymon Kłos
Change-Id: I098c9ee9d22ac0401faf7fc6d65e91bf5b4b2bf8 Reviewed-on: https://gerrit.libreoffice.org/9797 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-17LOK: Split into instance and class.Andrzej Hunt
Change-Id: I2b6f33eaf12343c7da1328a932eb703bb4e4ef6f
2014-06-17These headers are private, also do not export symbols.Matúš Kukan
Change-Id: Ic63372285fecb6f1be22e92c36cdb6f94733f5c1
2014-06-17-Wstrict-prototypesStephan Bergmann
...no reason to not have it enabled for URE C include files and what little real C code is still left. (But note that Clang ignores that warning.) Change-Id: Ia6940f9f940a0c226e9b724331d65c9862ce32e6
2014-06-17Resolves: #i125065# handle critical cases in FillStyle/FillProperties...Armin Le Grand
toolbar combination (cherry picked from commit 0ce4a90e14ddc9067d014405235a36aa959c6ea2) Conflicts: include/svx/fillctrl.hxx svx/source/tbxctrls/fillctrl.cxx Change-Id: I9a1b2490a7e9285559dddd4df7fb20c2216fd450
2014-06-17coverity#1209942 Uncaught exceptionCaolán McNamara
Change-Id: Ice7a4802605fbe59dfb24a27408106756a3494ba
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17VML export: handle textbox textMiklos Vajna
Previously, we always exported the text of the shape itself. Bring the VML export in sync with the drawingML export, where we only do that if the shape doesn't have an associated textbox -- if that's the case, then export the textbox's text instead. CppunitTest_sw_ooxmlsdrexport's testFdo69636 is a reproducer for this problem, the VML assert failed because of the lack of this. Change-Id: Icb236579da4e3b74e983a95aa5675fed7862d1e1
2014-06-16turn the no-space edit widgets into a editwidget featureCaolán McNamara
especially because most of them don't handle intercepting text getting *pasted* into them right, so start with the one which does that right. Change-Id: If6770798872ed3c72c469656ebf0d4fd76d2171d
2014-06-16convert Save Progress Dialog to .uiCaolán McNamara
Change-Id: I833e6e9c78620443325b5ef9efa403a5eef497cc
2014-06-16Clean up SdrModel::MigrateItemSetStephan Bergmann
* No need to support null pNewModel argument (the one call site that did pass in null explicitly in sd/source/ui/func/fupate.cxx can just as well pass in mpDoc, and all existing call sites are guaranteed to pass in a non-null value). * With that changed, SdrModel::MigrateItemSet can be static. (At least in JunitTest_forms_unoapi it could happen that the call from svx/source/sdr/properties/attributeproperites.cxx called MigrateItemSet on a null GetSdrObject.GetModel(), which was undefined behavior even though it was harmless.) Change-Id: Idface48da7e889c6e5768d0e49bc67c88b4c3ec4
2014-06-16SAL_WARN_UNUSED_RESULT for static Reference::query functionStephan Bergmann
...which the recent loplugin:staticcall changes showed was occasionally used apparently under the assumption that it was non-static and changed the object it was called on. Change-Id: I989a2a4ed3886d7f370855c9e8c1867e646c059b