propresenter7-php-lib/generated/Rv/Data/Slide/Element/TextScroller.php
Thorsten Buss 4d10db4f17 Initial public release
PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7
files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes,
and the global library files (Macros, Labels, Groups, ClearGroups, CCLI,
Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar,
KeyMappings, CommunicationDevices).

Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy
(v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/,
binary-format specs, and a synthetic 369-test PHPUnit suite covering
RTF extraction, translation slides, ZIP64 repair, round-trip fidelity,
and end-to-end generation.
2026-05-03 22:21:01 +02:00

249 lines
6 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: slide.proto
namespace Rv\Data\Slide\Element;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Slide.Element.TextScroller</code>
*/
class TextScroller extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>bool should_scroll = 1;</code>
*/
protected $should_scroll = false;
/**
* Generated from protobuf field <code>double scroll_rate = 2;</code>
*/
protected $scroll_rate = 0.0;
/**
* Generated from protobuf field <code>bool should_repeat = 3;</code>
*/
protected $should_repeat = false;
/**
* Generated from protobuf field <code>double repeat_distance = 4;</code>
*/
protected $repeat_distance = 0.0;
/**
* Generated from protobuf field <code>.rv.data.Slide.Element.TextScroller.Direction scrolling_direction = 5;</code>
*/
protected $scrolling_direction = 0;
/**
* Generated from protobuf field <code>bool starts_off_screen = 6;</code>
*/
protected $starts_off_screen = false;
/**
* Generated from protobuf field <code>double fade_left = 7;</code>
*/
protected $fade_left = 0.0;
/**
* Generated from protobuf field <code>double fade_right = 8;</code>
*/
protected $fade_right = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $should_scroll
* @type float $scroll_rate
* @type bool $should_repeat
* @type float $repeat_distance
* @type int $scrolling_direction
* @type bool $starts_off_screen
* @type float $fade_left
* @type float $fade_right
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Slide::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>bool should_scroll = 1;</code>
* @return bool
*/
public function getShouldScroll()
{
return $this->should_scroll;
}
/**
* Generated from protobuf field <code>bool should_scroll = 1;</code>
* @param bool $var
* @return $this
*/
public function setShouldScroll($var)
{
GPBUtil::checkBool($var);
$this->should_scroll = $var;
return $this;
}
/**
* Generated from protobuf field <code>double scroll_rate = 2;</code>
* @return float
*/
public function getScrollRate()
{
return $this->scroll_rate;
}
/**
* Generated from protobuf field <code>double scroll_rate = 2;</code>
* @param float $var
* @return $this
*/
public function setScrollRate($var)
{
GPBUtil::checkDouble($var);
$this->scroll_rate = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool should_repeat = 3;</code>
* @return bool
*/
public function getShouldRepeat()
{
return $this->should_repeat;
}
/**
* Generated from protobuf field <code>bool should_repeat = 3;</code>
* @param bool $var
* @return $this
*/
public function setShouldRepeat($var)
{
GPBUtil::checkBool($var);
$this->should_repeat = $var;
return $this;
}
/**
* Generated from protobuf field <code>double repeat_distance = 4;</code>
* @return float
*/
public function getRepeatDistance()
{
return $this->repeat_distance;
}
/**
* Generated from protobuf field <code>double repeat_distance = 4;</code>
* @param float $var
* @return $this
*/
public function setRepeatDistance($var)
{
GPBUtil::checkDouble($var);
$this->repeat_distance = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Slide.Element.TextScroller.Direction scrolling_direction = 5;</code>
* @return int
*/
public function getScrollingDirection()
{
return $this->scrolling_direction;
}
/**
* Generated from protobuf field <code>.rv.data.Slide.Element.TextScroller.Direction scrolling_direction = 5;</code>
* @param int $var
* @return $this
*/
public function setScrollingDirection($var)
{
GPBUtil::checkEnum($var, \Rv\Data\Slide\Element\TextScroller\Direction::class);
$this->scrolling_direction = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool starts_off_screen = 6;</code>
* @return bool
*/
public function getStartsOffScreen()
{
return $this->starts_off_screen;
}
/**
* Generated from protobuf field <code>bool starts_off_screen = 6;</code>
* @param bool $var
* @return $this
*/
public function setStartsOffScreen($var)
{
GPBUtil::checkBool($var);
$this->starts_off_screen = $var;
return $this;
}
/**
* Generated from protobuf field <code>double fade_left = 7;</code>
* @return float
*/
public function getFadeLeft()
{
return $this->fade_left;
}
/**
* Generated from protobuf field <code>double fade_left = 7;</code>
* @param float $var
* @return $this
*/
public function setFadeLeft($var)
{
GPBUtil::checkDouble($var);
$this->fade_left = $var;
return $this;
}
/**
* Generated from protobuf field <code>double fade_right = 8;</code>
* @return float
*/
public function getFadeRight()
{
return $this->fade_right;
}
/**
* Generated from protobuf field <code>double fade_right = 8;</code>
* @param float $var
* @return $this
*/
public function setFadeRight($var)
{
GPBUtil::checkDouble($var);
$this->fade_right = $var;
return $this;
}
}