office-gobmx/ios
Tor Lillqvist 09f5922baf Add code to test encryption and export to .docx on iOS
Conditional on the environment variable
PTYL_TEST_ENCRYPTION_AND_EXPORT, eek. The document is written out
using the name of the input document with .new.docx appended.

I placed the function that handles it, somewhat arbitrarily, in
sofficemain.cxx. The invocation of this function is, also somewhat
arbitrarily, placed in TiledView's drawLayer:inContext: method.

Quite possibly this test functionality occasionally causes solar mutex
deadlocks or whatever, but at least in Xcode, when one has placed some
breakpoints in it, it seems to work. Which is what matters, as this is
code for manual testing, not invoked normally.

Change-Id: I38bb4b406edf47f0f24857b6044e3bf4eaf17c34
2014-08-13 12:40:47 +03:00
..
experimental Add code to test encryption and export to .docx on iOS 2014-08-13 12:40:47 +03:00
MobileLibreOffice
shared
.gitignore
CustomTarget_LibreOffice_app.mk
CustomTarget_Lo_Xcconfig.mk
CustomTarget_MobileLibreOffice_app.mk
CustomTarget_TiledLibreOffice_app.mk LO_LIB_DIR is used in nsscrypto_initialize() so must give it a value 2014-08-12 23:11:13 +03:00
Executable_LibreOffice.mk
lo.xcconfig.in Set VALID_ARCHS equal to ARCHS 2014-07-08 18:20:49 +03:00
Makefile
Module_ios.mk
README

experimental iOS apps that use LibreOffice code.

experimental/LibreOffice - Uses the "normal" desktop-style main loop
and output mechanism to display the document, and also accepts input
and selections. Broken since the tiled rendering changes. As tiled
rendering seems to be what will/should be used, this app is of limited
usefulness now. (Don't get excited by the name of this app, it was
never intended to become a "complete" LibreOffice in any sense. In
retrospect it was silly to call it just "LibreOffice.)

Note that this app is built using gbuild: The executable as a normal
executable from gbuild's perspective, and the app bundle then using a
CustomTarget that constructs it. Its Xcode project has no normal
"Compile Sources" or "Link Binary" build phases but instead a "Run
Script" one that runs make.

experimental/TiledLibreOffice - Uses tiled rendering and CATiledLayer.
No input handling, but scrolling around and zooming around works
nicely. Displays the number of tiles rendered per second. Also the
name of this app is a bit too grandiose. Built by an Xcode project.
(When built from the shell, running xcodebuild).

MobileLibreOffice - Uses the code in "shared" subdirectory. Can be
built in two configurations: 1) the "normal" configurations (Debug and
Release) that matches experimental/LibreOffice in functionality, more
or less. (But the coded is entirely differently structred.) But also
this is currently broken, 2) the Debug_tile_tester configuration,
where one can tweak tiling parameters and see a tile rendered. Also
built by an Xcode project.