Commit Graph

15 Commits

Author SHA1 Message Date
6548361109 LOK: Add getPartName.
By default (i.e. for writer) we can just return an empty string,
and we only actually need to implement ITiledRenderable's
getPartName for components that actually support it (i.e. calc/impress).

Change-Id: I8b381e5d7a8000638b02f763b4bea8ef0226f8e0
2014-07-30 12:44:01 +02:00
4d15212ef8 Add get/setPart to ITiledRenderable, and implement for sw/sc.
Change-Id: Iec3d6374f029149cadf8fb9c9b16fec90146c31e
2014-07-12 05:19:13 +02:00
67d7bad694 Use external buffer for LibLO tiled rendering.
Means we can get rid of hackily storing a reference to the last
buffer we created.

Change-Id: I8092a7d87bc391301f75651a59b37fbd73ac64fd
2014-06-25 13:04:30 +01:00
fd5f324b09 Implement document size retrieval for LibLO.
Change-Id: Ibd69f8e766fd421b05d2305f967179a969bc5b56
2014-06-25 13:04:29 +01:00
41911db36e Add rowstride to tiled rendering via LibLO.
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-25 13:04:28 +01:00
0434043aed Return a bitmap buffer for tiled rendering from LibLO.
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-25 13:04:28 +01:00
d2382e3f3d Add tiled rendering via liblibreoffice.
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-25 13:04:28 +01:00
707a648eb3 LOK: kill saveAsWithOptions.
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-23 12:24:36 +01:00
f73e4594d3 LOK: kill double initialize.
Change-Id: I4d3dd913faea8b9f4a0bd3c13af37d097ced9888
2014-06-18 12:07:16 +01:00
8ba3116a8f LOK: Split into instance and class.
Change-Id: I2b6f33eaf12343c7da1328a932eb703bb4e4ef6f
2014-06-17 16:58:57 +01:00
202dac6e20 liblok: check new methods via macros on nSize, not by de-referencing.
We can't check for NULL from beyond the end of a smaller structure.

Change-Id: Id3754bf747c402cf0d767eda5fd4b5ad6b5789e9
2014-06-12 14:07:23 +01:00
f24f4f92ee Complete LibreOfficeKit C++ renaming.
Change-Id: Ice611cf5913051346a3a0c0b00ed35a35a0dfe3c
2014-06-12 14:07:22 +01:00
a533f986f9 Upgrade LibreOfficeKit C++ API.
Change-Id: If263b8fc748f67a1ed423c0f3f7cd465cf533993
2014-06-11 13:44:56 +01:00
cd76b9996c Rename C api of LibreOfficeKit.
However for the sake of ABI compatibility we can't change
liblibreoffice_hook.

Change-Id: I0e921efeeab40ef1b53a67c0e7a89d4c75ced831
2014-06-11 13:44:55 +01:00
9a1b2970ed Move liblibreoffice into LibreOfficeKit.
Change-Id: Ib2754a77be470faaa6f9b27644a1d8dd082ed2b8
2014-06-11 13:44:55 +01:00