propresenter-php/generated/Rv/Data/Graphics/Text.php
Thorsten Bus 22ba4aff7d refactor: make repo Composer-compatible by moving php/ to root and ref/ to doc/reference_samples
- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root
- Move ref/ to doc/reference_samples/ for better organization
- Remove vendor/ from git tracking (now properly gitignored)
- Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/)
- Update all documentation paths (AGENTS.md, doc/*.md)
- Remove php.bak/ directory
- All 252 tests pass
2026-03-30 13:26:29 +02:00

343 lines
8.8 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: graphicsData.proto
namespace Rv\Data\Graphics;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Graphics.Text</code>
*/
class Text extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes attributes = 3;</code>
*/
protected $attributes = null;
/**
* Generated from protobuf field <code>.rv.data.Graphics.Shadow shadow = 4;</code>
*/
protected $shadow = null;
/**
* Generated from protobuf field <code>bytes rtf_data = 5;</code>
*/
protected $rtf_data = '';
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.VerticalAlignment vertical_alignment = 6;</code>
*/
protected $vertical_alignment = 0;
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.ScaleBehavior scale_behavior = 7;</code>
*/
protected $scale_behavior = 0;
/**
* Generated from protobuf field <code>.rv.data.Graphics.EdgeInsets margins = 8;</code>
*/
protected $margins = null;
/**
* Generated from protobuf field <code>bool is_superscript_standardized = 9;</code>
*/
protected $is_superscript_standardized = false;
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.Transform transform = 10;</code>
*/
protected $transform = 0;
/**
* Generated from protobuf field <code>string transformDelimiter = 11;</code>
*/
protected $transformDelimiter = '';
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.ChordPro chord_pro = 12;</code>
*/
protected $chord_pro = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\Graphics\Text\Attributes $attributes
* @type \Rv\Data\Graphics\Shadow $shadow
* @type string $rtf_data
* @type int $vertical_alignment
* @type int $scale_behavior
* @type \Rv\Data\Graphics\EdgeInsets $margins
* @type bool $is_superscript_standardized
* @type int $transform
* @type string $transformDelimiter
* @type \Rv\Data\Graphics\Text\ChordPro $chord_pro
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\GraphicsData::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes attributes = 3;</code>
* @return \Rv\Data\Graphics\Text\Attributes|null
*/
public function getAttributes()
{
return $this->attributes;
}
public function hasAttributes()
{
return isset($this->attributes);
}
public function clearAttributes()
{
unset($this->attributes);
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes attributes = 3;</code>
* @param \Rv\Data\Graphics\Text\Attributes $var
* @return $this
*/
public function setAttributes($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\Attributes::class);
$this->attributes = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Shadow shadow = 4;</code>
* @return \Rv\Data\Graphics\Shadow|null
*/
public function getShadow()
{
return $this->shadow;
}
public function hasShadow()
{
return isset($this->shadow);
}
public function clearShadow()
{
unset($this->shadow);
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Shadow shadow = 4;</code>
* @param \Rv\Data\Graphics\Shadow $var
* @return $this
*/
public function setShadow($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Shadow::class);
$this->shadow = $var;
return $this;
}
/**
* Generated from protobuf field <code>bytes rtf_data = 5;</code>
* @return string
*/
public function getRtfData()
{
return $this->rtf_data;
}
/**
* Generated from protobuf field <code>bytes rtf_data = 5;</code>
* @param string $var
* @return $this
*/
public function setRtfData($var)
{
GPBUtil::checkString($var, False);
$this->rtf_data = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.VerticalAlignment vertical_alignment = 6;</code>
* @return int
*/
public function getVerticalAlignment()
{
return $this->vertical_alignment;
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.VerticalAlignment vertical_alignment = 6;</code>
* @param int $var
* @return $this
*/
public function setVerticalAlignment($var)
{
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\VerticalAlignment::class);
$this->vertical_alignment = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.ScaleBehavior scale_behavior = 7;</code>
* @return int
*/
public function getScaleBehavior()
{
return $this->scale_behavior;
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.ScaleBehavior scale_behavior = 7;</code>
* @param int $var
* @return $this
*/
public function setScaleBehavior($var)
{
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\ScaleBehavior::class);
$this->scale_behavior = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.EdgeInsets margins = 8;</code>
* @return \Rv\Data\Graphics\EdgeInsets|null
*/
public function getMargins()
{
return $this->margins;
}
public function hasMargins()
{
return isset($this->margins);
}
public function clearMargins()
{
unset($this->margins);
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.EdgeInsets margins = 8;</code>
* @param \Rv\Data\Graphics\EdgeInsets $var
* @return $this
*/
public function setMargins($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Graphics\EdgeInsets::class);
$this->margins = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool is_superscript_standardized = 9;</code>
* @return bool
*/
public function getIsSuperscriptStandardized()
{
return $this->is_superscript_standardized;
}
/**
* Generated from protobuf field <code>bool is_superscript_standardized = 9;</code>
* @param bool $var
* @return $this
*/
public function setIsSuperscriptStandardized($var)
{
GPBUtil::checkBool($var);
$this->is_superscript_standardized = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.Transform transform = 10;</code>
* @return int
*/
public function getTransform()
{
return $this->transform;
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.Transform transform = 10;</code>
* @param int $var
* @return $this
*/
public function setTransform($var)
{
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\Transform::class);
$this->transform = $var;
return $this;
}
/**
* Generated from protobuf field <code>string transformDelimiter = 11;</code>
* @return string
*/
public function getTransformDelimiter()
{
return $this->transformDelimiter;
}
/**
* Generated from protobuf field <code>string transformDelimiter = 11;</code>
* @param string $var
* @return $this
*/
public function setTransformDelimiter($var)
{
GPBUtil::checkString($var, True);
$this->transformDelimiter = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.ChordPro chord_pro = 12;</code>
* @return \Rv\Data\Graphics\Text\ChordPro|null
*/
public function getChordPro()
{
return $this->chord_pro;
}
public function hasChordPro()
{
return isset($this->chord_pro);
}
public function clearChordPro()
{
unset($this->chord_pro);
}
/**
* Generated from protobuf field <code>.rv.data.Graphics.Text.ChordPro chord_pro = 12;</code>
* @param \Rv\Data\Graphics\Text\ChordPro $var
* @return $this
*/
public function setChordPro($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\ChordPro::class);
$this->chord_pro = $var;
return $this;
}
}