diff --git a/README.md b/README.md
index fd23d8c..873eb8a 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# Aspose.BarCode Cloud SDK for PHP
- API version: 3.0
-- Package version: 20.11.0
+- Package version: 20.12.0
Aspose.BarCode for Cloud is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.
@@ -140,6 +140,7 @@ Class | Method | HTTP request | Description
- [GeneratorParamsList](docs/Model/GeneratorParamsList.md)
- [ITF14BorderType](docs/Model/ITF14BorderType.md)
- [ITFParams](docs/Model/ITFParams.md)
+- [MacroCharacter](docs/Model/MacroCharacter.md)
- [MaxiCodeParams](docs/Model/MaxiCodeParams.md)
- [ObjectExist](docs/Model/ObjectExist.md)
- [Padding](docs/Model/Padding.md)
@@ -160,6 +161,7 @@ Class | Method | HTTP request | Description
- [ResultImageInfo](docs/Model/ResultImageInfo.md)
- [StorageExist](docs/Model/StorageExist.md)
- [StorageFile](docs/Model/StorageFile.md)
+- [StructuredAppend](docs/Model/StructuredAppend.md)
- [TextAlignment](docs/Model/TextAlignment.md)
- [FileVersion](docs/Model/FileVersion.md)
diff --git a/docs/Api/BarcodeApi.md b/docs/Api/BarcodeApi.md
index 9132da5..fe7f47d 100644
--- a/docs/Api/BarcodeApi.md
+++ b/docs/Api/BarcodeApi.md
@@ -14,7 +14,7 @@ Method | HTTP request | Description
# **getBarcodeGenerate**
-> \SplFileObject getBarcodeGenerate($type, $text, $two_d_display_text, $text_location, $text_alignment, $text_color, $font_size_mode, $resolution, $resolution_x, $resolution_y, $dimension_x, $text_space, $units, $size_mode, $bar_height, $image_height, $image_width, $rotation_angle, $back_color, $bar_color, $border_color, $border_width, $border_dash_style, $border_visible, $enable_checksum, $enable_escape, $filled_bars, $always_show_checksum, $wide_narrow_ratio, $validate_text, $supplement_data, $supplement_space, $bar_width_reduction, $format)
+> \SplFileObject getBarcodeGenerate($type, $text, $two_d_display_text, $text_location, $text_alignment, $text_color, $font_size_mode, $no_wrap, $resolution, $resolution_x, $resolution_y, $dimension_x, $text_space, $units, $size_mode, $bar_height, $image_height, $image_width, $rotation_angle, $back_color, $bar_color, $border_color, $border_width, $border_dash_style, $border_visible, $enable_checksum, $enable_escape, $filled_bars, $always_show_checksum, $wide_narrow_ratio, $validate_text, $supplement_data, $supplement_space, $bar_width_reduction, $format)
Generate barcode.
@@ -39,6 +39,7 @@ $text_location = "text_location_example"; // string | Specify the displaying Tex
$text_alignment = "text_alignment_example"; // string | Text alignment.
$text_color = "text_color_example"; // string | Specify the displaying CodeText's Color. Default value: Color.Black.
$font_size_mode = "font_size_mode_example"; // string | Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto.
+$no_wrap = true; // bool | Specify word wraps (line breaks) within text. Default value: false.
$resolution = 1.2; // double | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
$resolution_x = 1.2; // double | DEPRECATED: Use 'Resolution' instead.
$resolution_y = 1.2; // double | DEPRECATED: Use 'Resolution' instead.
@@ -68,7 +69,7 @@ $bar_width_reduction = 1.2; // double | Bars reduction value that is used to com
$format = "format_example"; // string | Result image format.
try {
- $result = $apiInstance->getBarcodeGenerate($type, $text, $two_d_display_text, $text_location, $text_alignment, $text_color, $font_size_mode, $resolution, $resolution_x, $resolution_y, $dimension_x, $text_space, $units, $size_mode, $bar_height, $image_height, $image_width, $rotation_angle, $back_color, $bar_color, $border_color, $border_width, $border_dash_style, $border_visible, $enable_checksum, $enable_escape, $filled_bars, $always_show_checksum, $wide_narrow_ratio, $validate_text, $supplement_data, $supplement_space, $bar_width_reduction, $format);
+ $result = $apiInstance->getBarcodeGenerate($type, $text, $two_d_display_text, $text_location, $text_alignment, $text_color, $font_size_mode, $no_wrap, $resolution, $resolution_x, $resolution_y, $dimension_x, $text_space, $units, $size_mode, $bar_height, $image_height, $image_width, $rotation_angle, $back_color, $bar_color, $border_color, $border_width, $border_dash_style, $border_visible, $enable_checksum, $enable_escape, $filled_bars, $always_show_checksum, $wide_narrow_ratio, $validate_text, $supplement_data, $supplement_space, $bar_width_reduction, $format);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BarcodeApi->getBarcodeGenerate: ', $e->getMessage(), PHP_EOL;
@@ -87,6 +88,7 @@ Name | Type | Description | Notes
**text_alignment** | **string**| Text alignment. | [optional]
**text_color** | **string**| Specify the displaying CodeText's Color. Default value: Color.Black. | [optional]
**font_size_mode** | **string**| Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto. | [optional]
+ **no_wrap** | **bool**| Specify word wraps (line breaks) within text. Default value: false. | [optional]
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. | [optional]
**resolution_x** | **double**| DEPRECATED: Use 'Resolution' instead. | [optional]
**resolution_y** | **double**| DEPRECATED: Use 'Resolution' instead. | [optional]
@@ -420,7 +422,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
# **putBarcodeGenerateFile**
-> \Aspose\BarCode\Model\ResultImageInfo putBarcodeGenerateFile($name, $type, $text, $two_d_display_text, $text_location, $text_alignment, $text_color, $font_size_mode, $resolution, $resolution_x, $resolution_y, $dimension_x, $text_space, $units, $size_mode, $bar_height, $image_height, $image_width, $rotation_angle, $back_color, $bar_color, $border_color, $border_width, $border_dash_style, $border_visible, $enable_checksum, $enable_escape, $filled_bars, $always_show_checksum, $wide_narrow_ratio, $validate_text, $supplement_data, $supplement_space, $bar_width_reduction, $storage, $folder, $format)
+> \Aspose\BarCode\Model\ResultImageInfo putBarcodeGenerateFile($name, $type, $text, $two_d_display_text, $text_location, $text_alignment, $text_color, $font_size_mode, $no_wrap, $resolution, $resolution_x, $resolution_y, $dimension_x, $text_space, $units, $size_mode, $bar_height, $image_height, $image_width, $rotation_angle, $back_color, $bar_color, $border_color, $border_width, $border_dash_style, $border_visible, $enable_checksum, $enable_escape, $filled_bars, $always_show_checksum, $wide_narrow_ratio, $validate_text, $supplement_data, $supplement_space, $bar_width_reduction, $storage, $folder, $format)
Generate barcode and save on server (from query params or from file with json or xml content)
@@ -446,6 +448,7 @@ $text_location = "text_location_example"; // string | Specify the displaying Tex
$text_alignment = "text_alignment_example"; // string | Text alignment.
$text_color = "text_color_example"; // string | Specify the displaying CodeText's Color. Default value: Color.Black.
$font_size_mode = "font_size_mode_example"; // string | Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto.
+$no_wrap = true; // bool | Specify word wraps (line breaks) within text. Default value: false.
$resolution = 1.2; // double | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
$resolution_x = 1.2; // double | DEPRECATED: Use 'Resolution' instead.
$resolution_y = 1.2; // double | DEPRECATED: Use 'Resolution' instead.
@@ -477,7 +480,7 @@ $folder = "folder_example"; // string | Image's folder.
$format = "format_example"; // string | The image format.
try {
- $result = $apiInstance->putBarcodeGenerateFile($name, $type, $text, $two_d_display_text, $text_location, $text_alignment, $text_color, $font_size_mode, $resolution, $resolution_x, $resolution_y, $dimension_x, $text_space, $units, $size_mode, $bar_height, $image_height, $image_width, $rotation_angle, $back_color, $bar_color, $border_color, $border_width, $border_dash_style, $border_visible, $enable_checksum, $enable_escape, $filled_bars, $always_show_checksum, $wide_narrow_ratio, $validate_text, $supplement_data, $supplement_space, $bar_width_reduction, $storage, $folder, $format);
+ $result = $apiInstance->putBarcodeGenerateFile($name, $type, $text, $two_d_display_text, $text_location, $text_alignment, $text_color, $font_size_mode, $no_wrap, $resolution, $resolution_x, $resolution_y, $dimension_x, $text_space, $units, $size_mode, $bar_height, $image_height, $image_width, $rotation_angle, $back_color, $bar_color, $border_color, $border_width, $border_dash_style, $border_visible, $enable_checksum, $enable_escape, $filled_bars, $always_show_checksum, $wide_narrow_ratio, $validate_text, $supplement_data, $supplement_space, $bar_width_reduction, $storage, $folder, $format);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BarcodeApi->putBarcodeGenerateFile: ', $e->getMessage(), PHP_EOL;
@@ -497,6 +500,7 @@ Name | Type | Description | Notes
**text_alignment** | **string**| Text alignment. | [optional]
**text_color** | **string**| Specify the displaying CodeText's Color. Default value: Color.Black. | [optional]
**font_size_mode** | **string**| Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto. | [optional]
+ **no_wrap** | **bool**| Specify word wraps (line breaks) within text. Default value: false. | [optional]
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. | [optional]
**resolution_x** | **double**| DEPRECATED: Use 'Resolution' instead. | [optional]
**resolution_y** | **double**| DEPRECATED: Use 'Resolution' instead. | [optional]
diff --git a/docs/Model/CaptionParams.md b/docs/Model/CaptionParams.md
index fafcc67..bd65957 100644
--- a/docs/Model/CaptionParams.md
+++ b/docs/Model/CaptionParams.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**visible** | **bool** | Is caption visible. | [optional]
**font** | [**\Aspose\BarCode\Model\FontParams**](FontParams.md) | Font. | [optional]
**padding** | [**\Aspose\BarCode\Model\Padding**](Padding.md) | Padding. | [optional]
+**no_wrap** | **bool** | Specify word wraps (line breaks) within text. Default value: false. | [optional]
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
diff --git a/docs/Model/DataBarParams.md b/docs/Model/DataBarParams.md
index 983794c..cfe4564 100644
--- a/docs/Model/DataBarParams.md
+++ b/docs/Model/DataBarParams.md
@@ -6,6 +6,8 @@ Name | Type | Description | Notes
**aspect_ratio** | **double** | Height/Width ratio of 2D BarCode module. Used for DataBar stacked. | [optional]
**columns** | **int** | Columns count. | [optional]
**rows** | **int** | Rows count. | [optional]
+**is2_d_composite_component** | **bool** | Enables flag of 2D composite component with DataBar barcode | [optional]
+**is_allow_only_gs1_encoding** | **bool** | If this flag is set, it allows only GS1 encoding standard for Databar barcode types | [optional]
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
diff --git a/docs/Model/DataMatrixParams.md b/docs/Model/DataMatrixParams.md
index 467083b..2e103f7 100644
--- a/docs/Model/DataMatrixParams.md
+++ b/docs/Model/DataMatrixParams.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**data_matrix_ecc** | [**\Aspose\BarCode\Model\DataMatrixEccType**](DataMatrixEccType.md) | Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200. | [optional]
**data_matrix_encode_mode** | [**\Aspose\BarCode\Model\DataMatrixEncodeMode**](DataMatrixEncodeMode.md) | Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.Auto. | [optional]
**rows** | **int** | Rows count. | [optional]
+**macro_characters** | [**\Aspose\BarCode\Model\MacroCharacter**](MacroCharacter.md) | Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes.GS1DataMatrix Default value: MacroCharacters.None. | [optional]
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
diff --git a/docs/Model/GeneratorParams.md b/docs/Model/GeneratorParams.md
index ed75e4e..3580bfe 100644
--- a/docs/Model/GeneratorParams.md
+++ b/docs/Model/GeneratorParams.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**text_color** | **string** | Specify the displaying CodeText's Color. Default value: Color.Black. | [optional]
**font** | [**\Aspose\BarCode\Model\FontParams**](FontParams.md) | Specify the displaying Text's font. Default value: Arial 5pt regular. Ignored if FontSizeMode is set to FontSizeMode.Auto. | [optional]
**font_size_mode** | [**\Aspose\BarCode\Model\FontMode**](FontMode.md) | Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto. | [optional]
+**no_wrap** | **bool** | Specify word wraps (line breaks) within text. Default value: false. | [optional]
**resolution** | **double** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. | [optional]
**resolution_x** | **double** | DEPRECATED: Use 'Resolution' instead. | [optional]
**resolution_y** | **double** | DEPRECATED: Use 'Resolution' instead. | [optional]
diff --git a/docs/Model/MacroCharacter.md b/docs/Model/MacroCharacter.md
new file mode 100644
index 0000000..b67da33
--- /dev/null
+++ b/docs/Model/MacroCharacter.md
@@ -0,0 +1,9 @@
+# MacroCharacter
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
+
+
diff --git a/docs/Model/QrParams.md b/docs/Model/QrParams.md
index eb1f176..e1d0403 100644
--- a/docs/Model/QrParams.md
+++ b/docs/Model/QrParams.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
**encode_mode** | [**\Aspose\BarCode\Model\QREncodeMode**](QREncodeMode.md) | QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto. | [optional]
**error_level** | [**\Aspose\BarCode\Model\QRErrorLevel**](QRErrorLevel.md) | Level of Reed-Solomon error correction for QR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. see QRErrorLevel. | [optional]
**version** | [**\Aspose\BarCode\Model\QRVersion**](QRVersion.md) | Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.Auto. | [optional]
+**structured_append** | [**\Aspose\BarCode\Model\StructuredAppend**](StructuredAppend.md) | QR structured append parameters. | [optional]
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
diff --git a/docs/Model/StructuredAppend.md b/docs/Model/StructuredAppend.md
new file mode 100644
index 0000000..eb3ebc7
--- /dev/null
+++ b/docs/Model/StructuredAppend.md
@@ -0,0 +1,12 @@
+# StructuredAppend
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**sequence_indicator** | **int** | The index of the QR structured append mode barcode. Index starts from 0. | [optional]
+**total_count** | **int** | Gets or sets the QR structured append mode barcodes quantity. Max value is 16. | [optional]
+**parity_byte** | **int** | Gets or sets the QR structured append mode parity data. | [optional]
+
+[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
+
+
diff --git a/src/Aspose/BarCode/BarcodeApi.php b/src/Aspose/BarCode/BarcodeApi.php
index 0a7d161..4ef2886 100644
--- a/src/Aspose/BarCode/BarcodeApi.php
+++ b/src/Aspose/BarCode/BarcodeApi.php
@@ -352,6 +352,16 @@ protected function GetBarcodeGenerateRequest(Requests\GetBarcodeGenerateRequest
}
}
// query params
+ if (isset($request->no_wrap)) {
+ $localName = lcfirst('NoWrap');
+ $localValue = is_bool($request->no_wrap) ? ($request->no_wrap ? 'true' : 'false') : $request->no_wrap;
+ if (strpos($resourcePath, '{' . $localName . '}') !== false) {
+ $resourcePath = str_replace('{' . $localName . '}', ObjectSerializer::toPathValue($localValue), $resourcePath);
+ } else {
+ $queryParams[$localName] = ObjectSerializer::toQueryValue($localValue);
+ }
+ }
+ // query params
if (isset($request->resolution)) {
$localName = lcfirst('Resolution');
$localValue = is_bool($request->resolution) ? ($request->resolution ? 'true' : 'false') : $request->resolution;
@@ -2458,6 +2468,16 @@ protected function PutBarcodeGenerateFileRequest(Requests\PutBarcodeGenerateFile
}
}
// query params
+ if (isset($request->no_wrap)) {
+ $localName = lcfirst('NoWrap');
+ $localValue = is_bool($request->no_wrap) ? ($request->no_wrap ? 'true' : 'false') : $request->no_wrap;
+ if (strpos($resourcePath, '{' . $localName . '}') !== false) {
+ $resourcePath = str_replace('{' . $localName . '}', ObjectSerializer::toPathValue($localValue), $resourcePath);
+ } else {
+ $queryParams[$localName] = ObjectSerializer::toQueryValue($localValue);
+ }
+ }
+ // query params
if (isset($request->resolution)) {
$localName = lcfirst('Resolution');
$localValue = is_bool($request->resolution) ? ($request->resolution ? 'true' : 'false') : $request->resolution;
diff --git a/src/Aspose/BarCode/Configuration.php b/src/Aspose/BarCode/Configuration.php
index 2eefed2..6333388 100644
--- a/src/Aspose/BarCode/Configuration.php
+++ b/src/Aspose/BarCode/Configuration.php
@@ -46,7 +46,7 @@ class Configuration implements JsonSerializable
*
* @var string
*/
- protected $clientVersion = '20.11.0';
+ protected $clientVersion = '20.12.0';
/*
* ClientId for API
@@ -362,7 +362,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' OpenAPI Spec Version: 3.0' . PHP_EOL;
- $report .= ' SDK Package Version: 20.11.0' . PHP_EOL;
+ $report .= ' SDK Package Version: 20.12.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
return $report;
diff --git a/src/Aspose/BarCode/Model/CaptionParams.php b/src/Aspose/BarCode/Model/CaptionParams.php
index d31c11c..d3df108 100644
--- a/src/Aspose/BarCode/Model/CaptionParams.php
+++ b/src/Aspose/BarCode/Model/CaptionParams.php
@@ -65,7 +65,8 @@ class CaptionParams implements ArrayAccess
'color' => 'string',
'visible' => 'bool',
'font' => '\Aspose\BarCode\Model\FontParams',
- 'padding' => '\Aspose\BarCode\Model\Padding'
+ 'padding' => '\Aspose\BarCode\Model\Padding',
+ 'no_wrap' => 'bool'
];
/*
@@ -79,7 +80,8 @@ class CaptionParams implements ArrayAccess
'color' => null,
'visible' => null,
'font' => null,
- 'padding' => null
+ 'padding' => null,
+ 'no_wrap' => null
];
/*
@@ -114,7 +116,8 @@ public static function swaggerFormats()
'color' => 'Color',
'visible' => 'Visible',
'font' => 'Font',
- 'padding' => 'Padding'
+ 'padding' => 'Padding',
+ 'no_wrap' => 'NoWrap'
];
/*
@@ -128,7 +131,8 @@ public static function swaggerFormats()
'color' => 'setColor',
'visible' => 'setVisible',
'font' => 'setFont',
- 'padding' => 'setPadding'
+ 'padding' => 'setPadding',
+ 'no_wrap' => 'setNoWrap'
];
/*
@@ -142,7 +146,8 @@ public static function swaggerFormats()
'color' => 'getColor',
'visible' => 'getVisible',
'font' => 'getFont',
- 'padding' => 'getPadding'
+ 'padding' => 'getPadding',
+ 'no_wrap' => 'getNoWrap'
];
/*
@@ -211,6 +216,7 @@ public function __construct(array $data = null)
$this->container['visible'] = isset($data['visible']) ? $data['visible'] : null;
$this->container['font'] = isset($data['font']) ? $data['font'] : null;
$this->container['padding'] = isset($data['padding']) ? $data['padding'] : null;
+ $this->container['no_wrap'] = isset($data['no_wrap']) ? $data['no_wrap'] : null;
}
/*
@@ -380,6 +386,30 @@ public function setPadding($padding)
return $this;
}
+
+ /*
+ * Gets no_wrap
+ *
+ * @return bool
+ */
+ public function getNoWrap()
+ {
+ return $this->container['no_wrap'];
+ }
+
+ /*
+ * Sets no_wrap
+ *
+ * @param bool $no_wrap Specify word wraps (line breaks) within text. Default value: false.
+ *
+ * @return $this
+ */
+ public function setNoWrap($no_wrap)
+ {
+ $this->container['no_wrap'] = $no_wrap;
+
+ return $this;
+ }
/*
* Returns true if offset exists. False otherwise.
*
diff --git a/src/Aspose/BarCode/Model/DataBarParams.php b/src/Aspose/BarCode/Model/DataBarParams.php
index dc2dcb5..702bc2b 100644
--- a/src/Aspose/BarCode/Model/DataBarParams.php
+++ b/src/Aspose/BarCode/Model/DataBarParams.php
@@ -62,7 +62,9 @@ class DataBarParams implements ArrayAccess
protected static $swaggerTypes = [
'aspect_ratio' => 'double',
'columns' => 'int',
- 'rows' => 'int'
+ 'rows' => 'int',
+ 'is2_d_composite_component' => 'bool',
+ 'is_allow_only_gs1_encoding' => 'bool'
];
/*
@@ -73,7 +75,9 @@ class DataBarParams implements ArrayAccess
protected static $swaggerFormats = [
'aspect_ratio' => 'double',
'columns' => 'int32',
- 'rows' => 'int32'
+ 'rows' => 'int32',
+ 'is2_d_composite_component' => null,
+ 'is_allow_only_gs1_encoding' => null
];
/*
@@ -105,7 +109,9 @@ public static function swaggerFormats()
protected static $attributeMap = [
'aspect_ratio' => 'AspectRatio',
'columns' => 'Columns',
- 'rows' => 'Rows'
+ 'rows' => 'Rows',
+ 'is2_d_composite_component' => 'Is2DCompositeComponent',
+ 'is_allow_only_gs1_encoding' => 'IsAllowOnlyGS1Encoding'
];
/*
@@ -116,7 +122,9 @@ public static function swaggerFormats()
protected static $setters = [
'aspect_ratio' => 'setAspectRatio',
'columns' => 'setColumns',
- 'rows' => 'setRows'
+ 'rows' => 'setRows',
+ 'is2_d_composite_component' => 'setIs2DCompositeComponent',
+ 'is_allow_only_gs1_encoding' => 'setIsAllowOnlyGs1Encoding'
];
/*
@@ -127,7 +135,9 @@ public static function swaggerFormats()
protected static $getters = [
'aspect_ratio' => 'getAspectRatio',
'columns' => 'getColumns',
- 'rows' => 'getRows'
+ 'rows' => 'getRows',
+ 'is2_d_composite_component' => 'getIs2DCompositeComponent',
+ 'is_allow_only_gs1_encoding' => 'getIsAllowOnlyGs1Encoding'
];
/*
@@ -193,6 +203,8 @@ public function __construct(array $data = null)
$this->container['aspect_ratio'] = isset($data['aspect_ratio']) ? $data['aspect_ratio'] : null;
$this->container['columns'] = isset($data['columns']) ? $data['columns'] : null;
$this->container['rows'] = isset($data['rows']) ? $data['rows'] : null;
+ $this->container['is2_d_composite_component'] = isset($data['is2_d_composite_component']) ? $data['is2_d_composite_component'] : null;
+ $this->container['is_allow_only_gs1_encoding'] = isset($data['is_allow_only_gs1_encoding']) ? $data['is_allow_only_gs1_encoding'] : null;
}
/*
@@ -290,6 +302,54 @@ public function setRows($rows)
return $this;
}
+
+ /*
+ * Gets is2_d_composite_component
+ *
+ * @return bool
+ */
+ public function getIs2DCompositeComponent()
+ {
+ return $this->container['is2_d_composite_component'];
+ }
+
+ /*
+ * Sets is2_d_composite_component
+ *
+ * @param bool $is2_d_composite_component Enables flag of 2D composite component with DataBar barcode
+ *
+ * @return $this
+ */
+ public function setIs2DCompositeComponent($is2_d_composite_component)
+ {
+ $this->container['is2_d_composite_component'] = $is2_d_composite_component;
+
+ return $this;
+ }
+
+ /*
+ * Gets is_allow_only_gs1_encoding
+ *
+ * @return bool
+ */
+ public function getIsAllowOnlyGs1Encoding()
+ {
+ return $this->container['is_allow_only_gs1_encoding'];
+ }
+
+ /*
+ * Sets is_allow_only_gs1_encoding
+ *
+ * @param bool $is_allow_only_gs1_encoding If this flag is set, it allows only GS1 encoding standard for Databar barcode types
+ *
+ * @return $this
+ */
+ public function setIsAllowOnlyGs1Encoding($is_allow_only_gs1_encoding)
+ {
+ $this->container['is_allow_only_gs1_encoding'] = $is_allow_only_gs1_encoding;
+
+ return $this;
+ }
/*
* Returns true if offset exists. False otherwise.
*
diff --git a/src/Aspose/BarCode/Model/DataMatrixEncodeMode.php b/src/Aspose/BarCode/Model/DataMatrixEncodeMode.php
index 17c3330..9f9880e 100644
--- a/src/Aspose/BarCode/Model/DataMatrixEncodeMode.php
+++ b/src/Aspose/BarCode/Model/DataMatrixEncodeMode.php
@@ -84,4 +84,9 @@ class DataMatrixEncodeMode
/// Enum value ANSIX12
///
const ANSIX12 = "ANSIX12";
+
+ ///
+ /// Enum value ExtendedCodetext
+ ///
+ const ExtendedCodetext = "ExtendedCodetext";
}
diff --git a/src/Aspose/BarCode/Model/DataMatrixParams.php b/src/Aspose/BarCode/Model/DataMatrixParams.php
index 3298278..3384d4d 100644
--- a/src/Aspose/BarCode/Model/DataMatrixParams.php
+++ b/src/Aspose/BarCode/Model/DataMatrixParams.php
@@ -65,7 +65,8 @@ class DataMatrixParams implements ArrayAccess
'columns' => 'int',
'data_matrix_ecc' => '\Aspose\BarCode\Model\DataMatrixEccType',
'data_matrix_encode_mode' => '\Aspose\BarCode\Model\DataMatrixEncodeMode',
- 'rows' => 'int'
+ 'rows' => 'int',
+ 'macro_characters' => '\Aspose\BarCode\Model\MacroCharacter'
];
/*
@@ -79,7 +80,8 @@ class DataMatrixParams implements ArrayAccess
'columns' => 'int32',
'data_matrix_ecc' => null,
'data_matrix_encode_mode' => null,
- 'rows' => 'int32'
+ 'rows' => 'int32',
+ 'macro_characters' => null
];
/*
@@ -114,7 +116,8 @@ public static function swaggerFormats()
'columns' => 'Columns',
'data_matrix_ecc' => 'DataMatrixEcc',
'data_matrix_encode_mode' => 'DataMatrixEncodeMode',
- 'rows' => 'Rows'
+ 'rows' => 'Rows',
+ 'macro_characters' => 'MacroCharacters'
];
/*
@@ -128,7 +131,8 @@ public static function swaggerFormats()
'columns' => 'setColumns',
'data_matrix_ecc' => 'setDataMatrixEcc',
'data_matrix_encode_mode' => 'setDataMatrixEncodeMode',
- 'rows' => 'setRows'
+ 'rows' => 'setRows',
+ 'macro_characters' => 'setMacroCharacters'
];
/*
@@ -142,7 +146,8 @@ public static function swaggerFormats()
'columns' => 'getColumns',
'data_matrix_ecc' => 'getDataMatrixEcc',
'data_matrix_encode_mode' => 'getDataMatrixEncodeMode',
- 'rows' => 'getRows'
+ 'rows' => 'getRows',
+ 'macro_characters' => 'getMacroCharacters'
];
/*
@@ -211,6 +216,7 @@ public function __construct(array $data = null)
$this->container['data_matrix_ecc'] = isset($data['data_matrix_ecc']) ? $data['data_matrix_ecc'] : null;
$this->container['data_matrix_encode_mode'] = isset($data['data_matrix_encode_mode']) ? $data['data_matrix_encode_mode'] : null;
$this->container['rows'] = isset($data['rows']) ? $data['rows'] : null;
+ $this->container['macro_characters'] = isset($data['macro_characters']) ? $data['macro_characters'] : null;
}
/*
@@ -380,6 +386,30 @@ public function setRows($rows)
return $this;
}
+
+ /*
+ * Gets macro_characters
+ *
+ * @return \Aspose\BarCode\Model\MacroCharacter
+ */
+ public function getMacroCharacters()
+ {
+ return $this->container['macro_characters'];
+ }
+
+ /*
+ * Sets macro_characters
+ *
+ * @param \Aspose\BarCode\Model\MacroCharacter $macro_characters Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes.GS1DataMatrix Default value: MacroCharacters.None.
+ *
+ * @return $this
+ */
+ public function setMacroCharacters($macro_characters)
+ {
+ $this->container['macro_characters'] = $macro_characters;
+
+ return $this;
+ }
/*
* Returns true if offset exists. False otherwise.
*
diff --git a/src/Aspose/BarCode/Model/GeneratorParams.php b/src/Aspose/BarCode/Model/GeneratorParams.php
index f2a47df..af7c0c7 100644
--- a/src/Aspose/BarCode/Model/GeneratorParams.php
+++ b/src/Aspose/BarCode/Model/GeneratorParams.php
@@ -68,6 +68,7 @@ class GeneratorParams implements ArrayAccess
'text_color' => 'string',
'font' => '\Aspose\BarCode\Model\FontParams',
'font_size_mode' => '\Aspose\BarCode\Model\FontMode',
+ 'no_wrap' => 'bool',
'resolution' => 'double',
'resolution_x' => 'double',
'resolution_y' => 'double',
@@ -128,6 +129,7 @@ class GeneratorParams implements ArrayAccess
'text_color' => null,
'font' => null,
'font_size_mode' => null,
+ 'no_wrap' => null,
'resolution' => 'double',
'resolution_x' => 'double',
'resolution_y' => 'double',
@@ -209,6 +211,7 @@ public static function swaggerFormats()
'text_color' => 'TextColor',
'font' => 'Font',
'font_size_mode' => 'FontSizeMode',
+ 'no_wrap' => 'NoWrap',
'resolution' => 'Resolution',
'resolution_x' => 'ResolutionX',
'resolution_y' => 'ResolutionY',
@@ -269,6 +272,7 @@ public static function swaggerFormats()
'text_color' => 'setTextColor',
'font' => 'setFont',
'font_size_mode' => 'setFontSizeMode',
+ 'no_wrap' => 'setNoWrap',
'resolution' => 'setResolution',
'resolution_x' => 'setResolutionX',
'resolution_y' => 'setResolutionY',
@@ -329,6 +333,7 @@ public static function swaggerFormats()
'text_color' => 'getTextColor',
'font' => 'getFont',
'font_size_mode' => 'getFontSizeMode',
+ 'no_wrap' => 'getNoWrap',
'resolution' => 'getResolution',
'resolution_x' => 'getResolutionX',
'resolution_y' => 'getResolutionY',
@@ -443,6 +448,7 @@ public function __construct(array $data = null)
$this->container['text_color'] = isset($data['text_color']) ? $data['text_color'] : null;
$this->container['font'] = isset($data['font']) ? $data['font'] : null;
$this->container['font_size_mode'] = isset($data['font_size_mode']) ? $data['font_size_mode'] : null;
+ $this->container['no_wrap'] = isset($data['no_wrap']) ? $data['no_wrap'] : null;
$this->container['resolution'] = isset($data['resolution']) ? $data['resolution'] : null;
$this->container['resolution_x'] = isset($data['resolution_x']) ? $data['resolution_x'] : null;
$this->container['resolution_y'] = isset($data['resolution_y']) ? $data['resolution_y'] : null;
@@ -717,6 +723,30 @@ public function setFontSizeMode($font_size_mode)
return $this;
}
+ /*
+ * Gets no_wrap
+ *
+ * @return bool
+ */
+ public function getNoWrap()
+ {
+ return $this->container['no_wrap'];
+ }
+
+ /*
+ * Sets no_wrap
+ *
+ * @param bool $no_wrap Specify word wraps (line breaks) within text. Default value: false.
+ *
+ * @return $this
+ */
+ public function setNoWrap($no_wrap)
+ {
+ $this->container['no_wrap'] = $no_wrap;
+
+ return $this;
+ }
+
/*
* Gets resolution
*
diff --git a/src/Aspose/BarCode/Model/MacroCharacter.php b/src/Aspose/BarCode/Model/MacroCharacter.php
new file mode 100644
index 0000000..1a1ef25
--- /dev/null
+++ b/src/Aspose/BarCode/Model/MacroCharacter.php
@@ -0,0 +1,62 @@
+
+ * Copyright (c) 2020 Aspose Pty Ltd
+ *
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ * --------------------------------------------------------------------------------------------------------------------
+ */
+
+/*
+ *
+ */
+//
+// This source code was auto-generated by AsposeBarcodeCloudCodegen.
+//
+
+namespace Aspose\BarCode\Model;
+
+use Aspose\BarCode\ObjectSerializer;
+
+/*
+ * MacroCharacter
+ *
+ * @description
+ */
+class MacroCharacter
+{
+
+ ///
+ /// Enum value None
+ ///
+ const None = "None";
+
+ ///
+ /// Enum value Macro05
+ ///
+ const Macro05 = "Macro05";
+
+ ///
+ /// Enum value Macro06
+ ///
+ const Macro06 = "Macro06";
+}
diff --git a/src/Aspose/BarCode/Model/QrParams.php b/src/Aspose/BarCode/Model/QrParams.php
index c29c620..9fe3a5c 100644
--- a/src/Aspose/BarCode/Model/QrParams.php
+++ b/src/Aspose/BarCode/Model/QrParams.php
@@ -66,7 +66,8 @@ class QrParams implements ArrayAccess
'eci_encoding' => '\Aspose\BarCode\Model\ECIEncodings',
'encode_mode' => '\Aspose\BarCode\Model\QREncodeMode',
'error_level' => '\Aspose\BarCode\Model\QRErrorLevel',
- 'version' => '\Aspose\BarCode\Model\QRVersion'
+ 'version' => '\Aspose\BarCode\Model\QRVersion',
+ 'structured_append' => '\Aspose\BarCode\Model\StructuredAppend'
];
/*
@@ -81,7 +82,8 @@ class QrParams implements ArrayAccess
'eci_encoding' => null,
'encode_mode' => null,
'error_level' => null,
- 'version' => null
+ 'version' => null,
+ 'structured_append' => null
];
/*
@@ -117,7 +119,8 @@ public static function swaggerFormats()
'eci_encoding' => 'ECIEncoding',
'encode_mode' => 'EncodeMode',
'error_level' => 'ErrorLevel',
- 'version' => 'Version'
+ 'version' => 'Version',
+ 'structured_append' => 'StructuredAppend'
];
/*
@@ -132,7 +135,8 @@ public static function swaggerFormats()
'eci_encoding' => 'setEciEncoding',
'encode_mode' => 'setEncodeMode',
'error_level' => 'setErrorLevel',
- 'version' => 'setVersion'
+ 'version' => 'setVersion',
+ 'structured_append' => 'setStructuredAppend'
];
/*
@@ -147,7 +151,8 @@ public static function swaggerFormats()
'eci_encoding' => 'getEciEncoding',
'encode_mode' => 'getEncodeMode',
'error_level' => 'getErrorLevel',
- 'version' => 'getVersion'
+ 'version' => 'getVersion',
+ 'structured_append' => 'getStructuredAppend'
];
/*
@@ -217,6 +222,7 @@ public function __construct(array $data = null)
$this->container['encode_mode'] = isset($data['encode_mode']) ? $data['encode_mode'] : null;
$this->container['error_level'] = isset($data['error_level']) ? $data['error_level'] : null;
$this->container['version'] = isset($data['version']) ? $data['version'] : null;
+ $this->container['structured_append'] = isset($data['structured_append']) ? $data['structured_append'] : null;
}
/*
@@ -410,6 +416,30 @@ public function setVersion($version)
return $this;
}
+
+ /*
+ * Gets structured_append
+ *
+ * @return \Aspose\BarCode\Model\StructuredAppend
+ */
+ public function getStructuredAppend()
+ {
+ return $this->container['structured_append'];
+ }
+
+ /*
+ * Sets structured_append
+ *
+ * @param \Aspose\BarCode\Model\StructuredAppend $structured_append QR structured append parameters.
+ *
+ * @return $this
+ */
+ public function setStructuredAppend($structured_append)
+ {
+ $this->container['structured_append'] = $structured_append;
+
+ return $this;
+ }
/*
* Returns true if offset exists. False otherwise.
*
diff --git a/src/Aspose/BarCode/Model/StructuredAppend.php b/src/Aspose/BarCode/Model/StructuredAppend.php
new file mode 100644
index 0000000..d2c35aa
--- /dev/null
+++ b/src/Aspose/BarCode/Model/StructuredAppend.php
@@ -0,0 +1,362 @@
+
+ * Copyright (c) 2020 Aspose Pty Ltd
+ *
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ * --------------------------------------------------------------------------------------------------------------------
+ */
+
+/*
+ *
+ */
+//
+// This source code was auto-generated by AsposeBarcodeCloudCodegen.
+//
+
+namespace Aspose\BarCode\Model;
+
+use \ArrayAccess;
+use Aspose\BarCode\ObjectSerializer;
+
+/*
+ * StructuredAppend
+ *
+ * @description QR structured append parameters.
+ */
+class StructuredAppend implements ArrayAccess
+{
+ const DISCRIMINATOR = null;
+
+ /*
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $swaggerModelName = "StructuredAppend";
+
+ /*
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'sequence_indicator' => 'int',
+ 'total_count' => 'int',
+ 'parity_byte' => 'int'
+ ];
+
+ /*
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'sequence_indicator' => 'int32',
+ 'total_count' => 'int32',
+ 'parity_byte' => 'byte'
+ ];
+
+ /*
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /*
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /*
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'sequence_indicator' => 'SequenceIndicator',
+ 'total_count' => 'TotalCount',
+ 'parity_byte' => 'ParityByte'
+ ];
+
+ /*
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'sequence_indicator' => 'setSequenceIndicator',
+ 'total_count' => 'setTotalCount',
+ 'parity_byte' => 'setParityByte'
+ ];
+
+ /*
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'sequence_indicator' => 'getSequenceIndicator',
+ 'total_count' => 'getTotalCount',
+ 'parity_byte' => 'getParityByte'
+ ];
+
+ /*
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /*
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /*
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /*
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /*
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /*
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['sequence_indicator'] = isset($data['sequence_indicator']) ? $data['sequence_indicator'] : null;
+ $this->container['total_count'] = isset($data['total_count']) ? $data['total_count'] : null;
+ $this->container['parity_byte'] = isset($data['parity_byte']) ? $data['parity_byte'] : null;
+ }
+
+ /*
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /*
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return true;
+ }
+
+
+ /*
+ * Gets sequence_indicator
+ *
+ * @return int
+ */
+ public function getSequenceIndicator()
+ {
+ return $this->container['sequence_indicator'];
+ }
+
+ /*
+ * Sets sequence_indicator
+ *
+ * @param int $sequence_indicator The index of the QR structured append mode barcode. Index starts from 0.
+ *
+ * @return $this
+ */
+ public function setSequenceIndicator($sequence_indicator)
+ {
+ $this->container['sequence_indicator'] = $sequence_indicator;
+
+ return $this;
+ }
+
+ /*
+ * Gets total_count
+ *
+ * @return int
+ */
+ public function getTotalCount()
+ {
+ return $this->container['total_count'];
+ }
+
+ /*
+ * Sets total_count
+ *
+ * @param int $total_count Gets or sets the QR structured append mode barcodes quantity. Max value is 16.
+ *
+ * @return $this
+ */
+ public function setTotalCount($total_count)
+ {
+ $this->container['total_count'] = $total_count;
+
+ return $this;
+ }
+
+ /*
+ * Gets parity_byte
+ *
+ * @return int
+ */
+ public function getParityByte()
+ {
+ return $this->container['parity_byte'];
+ }
+
+ /*
+ * Sets parity_byte
+ *
+ * @param int $parity_byte Gets or sets the QR structured append mode parity data.
+ *
+ * @return $this
+ */
+ public function setParityByte($parity_byte)
+ {
+ $this->container['parity_byte'] = $parity_byte;
+
+ return $this;
+ }
+ /*
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /*
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /*
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /*
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /*
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
diff --git a/src/Aspose/BarCode/Requests/GetBarcodeGenerateRequest.php b/src/Aspose/BarCode/Requests/GetBarcodeGenerateRequest.php
index d003e28..cd716e0 100644
--- a/src/Aspose/BarCode/Requests/GetBarcodeGenerateRequest.php
+++ b/src/Aspose/BarCode/Requests/GetBarcodeGenerateRequest.php
@@ -49,6 +49,7 @@ class GetBarcodeGenerateRequest
* @param string $text_alignment Text alignment.
* @param string $text_color Specify the displaying CodeText's Color. Default value: Color.Black.
* @param string $font_size_mode Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto.
+ * @param bool $no_wrap Specify word wraps (line breaks) within text. Default value: false.
* @param double $resolution Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
* @param double $resolution_x DEPRECATED: Use 'Resolution' instead.
* @param double $resolution_y DEPRECATED: Use 'Resolution' instead.
@@ -77,7 +78,7 @@ class GetBarcodeGenerateRequest
* @param double $bar_width_reduction Bars reduction value that is used to compensate ink spread while printing.
* @param string $format Result image format.
*/
- public function __construct($type, $text, $two_d_display_text = null, $text_location = null, $text_alignment = null, $text_color = null, $font_size_mode = null, $resolution = null, $resolution_x = null, $resolution_y = null, $dimension_x = null, $text_space = null, $units = null, $size_mode = null, $bar_height = null, $image_height = null, $image_width = null, $rotation_angle = null, $back_color = null, $bar_color = null, $border_color = null, $border_width = null, $border_dash_style = null, $border_visible = null, $enable_checksum = null, $enable_escape = null, $filled_bars = null, $always_show_checksum = null, $wide_narrow_ratio = null, $validate_text = null, $supplement_data = null, $supplement_space = null, $bar_width_reduction = null, $format = null)
+ public function __construct($type, $text, $two_d_display_text = null, $text_location = null, $text_alignment = null, $text_color = null, $font_size_mode = null, $no_wrap = null, $resolution = null, $resolution_x = null, $resolution_y = null, $dimension_x = null, $text_space = null, $units = null, $size_mode = null, $bar_height = null, $image_height = null, $image_width = null, $rotation_angle = null, $back_color = null, $bar_color = null, $border_color = null, $border_width = null, $border_dash_style = null, $border_visible = null, $enable_checksum = null, $enable_escape = null, $filled_bars = null, $always_show_checksum = null, $wide_narrow_ratio = null, $validate_text = null, $supplement_data = null, $supplement_space = null, $bar_width_reduction = null, $format = null)
{
$this->type = $type;
$this->text = $text;
@@ -86,6 +87,7 @@ public function __construct($type, $text, $two_d_display_text = null, $text_loca
$this->text_alignment = $text_alignment;
$this->text_color = $text_color;
$this->font_size_mode = $font_size_mode;
+ $this->no_wrap = $no_wrap;
$this->resolution = $resolution;
$this->resolution_x = $resolution_x;
$this->resolution_y = $resolution_y;
@@ -150,6 +152,11 @@ public function __construct($type, $text, $two_d_display_text = null, $text_loca
*/
public $font_size_mode;
+ /*
+ * Specify word wraps (line breaks) within text. Default value: false.
+ */
+ public $no_wrap;
+
/*
* Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
*/
diff --git a/src/Aspose/BarCode/Requests/PutBarcodeGenerateFileRequest.php b/src/Aspose/BarCode/Requests/PutBarcodeGenerateFileRequest.php
index 6f27c37..9fcd55b 100644
--- a/src/Aspose/BarCode/Requests/PutBarcodeGenerateFileRequest.php
+++ b/src/Aspose/BarCode/Requests/PutBarcodeGenerateFileRequest.php
@@ -50,6 +50,7 @@ class PutBarcodeGenerateFileRequest
* @param string $text_alignment Text alignment.
* @param string $text_color Specify the displaying CodeText's Color. Default value: Color.Black.
* @param string $font_size_mode Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto.
+ * @param bool $no_wrap Specify word wraps (line breaks) within text. Default value: false.
* @param double $resolution Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
* @param double $resolution_x DEPRECATED: Use 'Resolution' instead.
* @param double $resolution_y DEPRECATED: Use 'Resolution' instead.
@@ -80,7 +81,7 @@ class PutBarcodeGenerateFileRequest
* @param string $folder Image's folder.
* @param string $format The image format.
*/
- public function __construct($name, $type, $text, $two_d_display_text = null, $text_location = null, $text_alignment = null, $text_color = null, $font_size_mode = null, $resolution = null, $resolution_x = null, $resolution_y = null, $dimension_x = null, $text_space = null, $units = null, $size_mode = null, $bar_height = null, $image_height = null, $image_width = null, $rotation_angle = null, $back_color = null, $bar_color = null, $border_color = null, $border_width = null, $border_dash_style = null, $border_visible = null, $enable_checksum = null, $enable_escape = null, $filled_bars = null, $always_show_checksum = null, $wide_narrow_ratio = null, $validate_text = null, $supplement_data = null, $supplement_space = null, $bar_width_reduction = null, $storage = null, $folder = null, $format = null)
+ public function __construct($name, $type, $text, $two_d_display_text = null, $text_location = null, $text_alignment = null, $text_color = null, $font_size_mode = null, $no_wrap = null, $resolution = null, $resolution_x = null, $resolution_y = null, $dimension_x = null, $text_space = null, $units = null, $size_mode = null, $bar_height = null, $image_height = null, $image_width = null, $rotation_angle = null, $back_color = null, $bar_color = null, $border_color = null, $border_width = null, $border_dash_style = null, $border_visible = null, $enable_checksum = null, $enable_escape = null, $filled_bars = null, $always_show_checksum = null, $wide_narrow_ratio = null, $validate_text = null, $supplement_data = null, $supplement_space = null, $bar_width_reduction = null, $storage = null, $folder = null, $format = null)
{
$this->name = $name;
$this->type = $type;
@@ -90,6 +91,7 @@ public function __construct($name, $type, $text, $two_d_display_text = null, $te
$this->text_alignment = $text_alignment;
$this->text_color = $text_color;
$this->font_size_mode = $font_size_mode;
+ $this->no_wrap = $no_wrap;
$this->resolution = $resolution;
$this->resolution_x = $resolution_x;
$this->resolution_y = $resolution_y;
@@ -161,6 +163,11 @@ public function __construct($name, $type, $text, $two_d_display_text = null, $te
*/
public $font_size_mode;
+ /*
+ * Specify word wraps (line breaks) within text. Default value: false.
+ */
+ public $no_wrap;
+
/*
* Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
*/