LibreOffice Impress Remote Protocol Specification Communication is over a UTF-8 encoded character stream. (Using RTL_TEXTENCODING_UTF8 in the LibreOffice portion.) TCP --- More TCP-specific details on setup and initial handshake to be written, but the actual message protocol is the same as for Bluetooth. Bluetooth --------- Bluetooth communication is over RFCOMM. For discovery use the "standard UUID for the Serial Port Profile" I.e. the 16-bit SerialPort UUID 0x1101, or if necessary inserted into the Bluetooth BASE_UUID: 00001101-0000-1000-8000-00805F9B34FB See https://www.bluetooth.org/Technical/AssignedNumbers/service_discovery.htm Message Format -------------- A message consists of one or more lines. The first line is the message description, further lines can add any necessary data. An empty line concludes the message. I.e. "MESSAGE\n\n" or "MESSAGE\nDATA\nDATA2...\n\n" You must keep reading a message until an empty line (i.e. double new-line) is reached to allow for future protocol extension. Intialisation ------------- Once connected the server sends "LO_SERVER_SERVER_PAIRED". (I.e. "LO_SERVER_SERVER_PAIRED\n\n" is sent over the stream.) Subsequently the server will send either slideshow_started if a slideshow is running, or slideshow_finished if no slideshow is running. (See below for details of.) The current server implementation then proceeds to send all slide notes and previews to the client. (This should be changed to prevent memory issues, and a preview request mechanism implemented.) Commands (Client to Server) --------------------------- The client should not assume that the state of the server has changed when a command has been sent. All changes will be signalled back to the client. (This is to allow for cases such as multiple clients requesting different changes, etc.) Any lines in [square brackets] are optional, and should be omitted if not needed. * transition_next * transition_previous * goto_slide slide_number * presentation_start * presentation_stop * presentation_resume // Resumes after a presentation_blank_screen. * presentation_blank_screen [Colour String] // Colour the screen will show (default: black). Not // implemented, and format hasn't yet been defined. # As of gsoc2013, these commands are extended to the existing protocol, since server-end are tolerant with unknown commands, these extensions doesn't break backward compatibility * pointer_started // create a red dot on screen at initial position (x,y) initial_x // This should be called when user first touch the screen initial_y // note that x, y are in percentage (from 0.0 to 1.0) with respect to the slideshow size * pointer_dismissed // This dismiss the pointer red dot on screen, should be called when user stop touching screen * pointer_coordination // This update pointer's position to current (x,y) current_x // note that x, y are in percentage (from 0.0 to 1.0) with respect to the slideshow size current_y // unless screenupdater's performance is significantly improved, we should consider limit the update frequency on the // remote-end Status/Data (Server to Client) ------------------------------ * slideshow_finished // (Also transmitted if no slideshow running when started.) * slideshow_started // (Also transmitted if a slideshow is running on startup.) numberOfSlides currentSlideNumber * slide_notes slideNumber [Notes] // The notes are an html document, and may also include \n newlines, // i.e. the client should keep reading until a blank line is reached. * slide_updated // Slide on server has changed currentSlideNumber * slide_preview // Supplies a preview image for a slide. slideNumber image // A Base 64 Encoded png image. # As of gsoc2013, these commands are extended to the existing protocol, since remote-end also ignore all unknown commands (which is the case of gsoc2012 android implementation), backward compatibility is kept. * slideshow_info // once paired, the server-end will send back the title of the current presentation Title 7-6+backports'>distro/collabora/libreoffice-7-6+backports LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/pyuno
AgeCommit message (Expand)Author
2020-06-19tdf#121384 don't leave a bare trailing : in PYTHONPATHCaolán McNamara
2020-05-21use for-range on Sequence in i18npool..sdNoel Grandin
2020-05-20fix some more python 3.8 deprecation warningsNoel Grandin
2020-05-12Fix initialization of Python-3.8--only at-end tp_print memberStephan Bergmann
2020-05-11More targeted silencing of -Wdeprecated-declarationsStephan Bergmann
2020-05-07prevent warnings in pyuno with latest pythonNoel Grandin
2020-04-27Make upcasting css::uno::Reference ctor require complete typesStephan Bergmann
2020-04-09pyuno: sed Python2/3 string compatibility wrappersMichael Stahl
2020-04-09pyuno,*: kill Python 2 support with fireMichael Stahl
2020-04-03loplugin:flatten in pyunoNoel Grandin
2020-03-26Extend loplugin:cstylecast to certain function-style castsStephan Bergmann
2020-03-25Remove unused using declarations in oox...xmlsecurityGabor Kelemen
2020-03-12Revert "loplugin:constfields in package..registry"Noel Grandin
2020-02-22python 3.8.2 compile: add tp_print to PyTypeObjectJustin Luth
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák
2020-02-10-Werror,-Wnon-c-typedef-for-linkageStephan Bergmann
2020-01-28sys.version is for displaying; use sys.version_info for version checkMike Kaganski
2020-01-25tdf#124176: Use pragma once instead of include guardsBatuhan Taskaya
2020-01-09pyuno: remove racy debug checkMichael Stahl
2020-01-08pyuno: remove redundant ifMichael Stahl
2020-01-08pyuno: fix build against system-python-3.6Miklos Vajna
2020-01-08python3: upgrade to release 3.7.6Michael Stahl
2019-12-19sal_Char->char in oox..registryNoel Grandin
2019-12-05tdf#97361: Removed getByTindex in Pyuno pytestsMayank Suman
2019-11-22make some classes module-privateNoel Grandin
2019-11-22Extend loplugin:external to warn about classesStephan Bergmann
2019-10-15new loplugin:bufferaddNoel Grandin
2019-10-14New loplugin:getstrStephan Bergmann
2019-09-18tdf#39593 use getUnoTunnelImplementation in pyunoArkadiy Illarionov
2019-08-31Add version resource to executables where it was missingMike Kaganski
2019-08-30loplugin:noexceptmove in pyunoNoel Grandin
2019-08-20Fix typosAndrea Gelmini
2019-08-17tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctorJulien Nabet
2019-08-17Simplify Sequence iterations in postprocess..saxArkadiy Illarionov
2019-08-15loplugin:sequenceloop in postprocess..reportdesignNoel Grandin
2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): pyunoStephan Bergmann
2019-07-26Fix typo in codeAndrea Gelmini