text:
package v1

import (
	unsafe "unsafe"

	v1 "github.com/openshift/api/project/v1"
	project "github.com/openshift/origin/pkg/project/apis/project"
	core_v1 "k8s.io/api/core/v1"
	conversion "k8s.io/apimachinery/pkg/conversion"
	runtime "k8s.io/apimachinery/pkg/runtime"
	core "k8s.io/kubernetes/pkg/apis/core"
)

func init() {
	localSchemeBuilder.Register(RegisterConversions)
}

// RegisterConversions adds conversion functions to the given scheme.
// Public to allow building arbitrary schemes.
func RegisterConversions(scheme *runtime.Scheme) error {
	return scheme.AddGeneratedConversionFuncs(
		Convert_v1_Project_To_project_Project,
		Convert_project_Project_To_v1_Project,
		Convert_v1_ProjectList_To_project_ProjectList,
		Convert_project_ProjectList_To_v1_ProjectList,
		Convert_v1_ProjectRequest_To_project_ProjectRequest,
		Convert_project_ProjectRequest_To_v1_ProjectRequest,
		Convert_v1_ProjectSpec_To_project_ProjectSpec,
		Convert_project_ProjectSpec_To_v1_ProjectSpec,
		Convert_v1_ProjectStatus_To_project_ProjectStatus,
		Convert_project_ProjectStatus_To_v1_ProjectStatus,
	)
}

func autoConvert_v1_Project_To_project_Project(in *v1.Project, out *project.Project, s conversion.Scope) error {
	out.ObjectMeta = in.ObjectMeta
	if err := Convert_v1_ProjectSpec_To_project_ProjectSpec(&in.Spec, &out.Spec, s); err != nil {
		return err
	}
	if err := Convert_v1_ProjectStatus_To_project_ProjectStatus(&in.Status, &out.Status, s); err != nil {
		return err
	}
	return nil
}

// Convert_v1_Project_To_project_Project is an autogenerated conversion function.
func Convert_v1_Project_To_project_Project(in *v1.Project, out *project.Project, s conversion.Scope) error {
	return autoConvert_v1_Project_To_project_Project(in, out, s)
}

func autoConvert_project_Project_To_v1_Project(in *project.Project, out *v1.Project, s conversion.Scope) error {
	out.ObjectMeta = in.ObjectMeta
	if err := Convert_project_ProjectSpec_To_v1_ProjectSpec(&in.Spec, &out.Spec, s); err != nil {
		return err
	}
	if err := Convert_project_ProjectStatus_To_v1_ProjectStatus(&in.Status, &out.Status, s); err != nil {
		return err
	}
	return nil
}

// Convert_project_Project_To_v1_Project is an autogenerated conversion function.
func Convert_project_Project_To_v1_Project(in *project.Project, out *v1.Project, s conversion.Scope) error {
	return autoConvert_project_Project_To_v1_Project(in, out, s)
}

func autoConvert_v1_ProjectList_To_project_ProjectList(in *v1.ProjectList, out *project.ProjectList, s conversion.Scope) error {
	out.ListMeta = in.ListMeta
	out.Items = *(*[]project.Project)(unsafe.Pointer(&in.Items))
	return nil
}

// Convert_v1_ProjectList_To_project_ProjectList is an autogenerated conversion function.
func Convert_v1_ProjectList_To_project_ProjectList(in *v1.ProjectList, out *project.ProjectList, s conversion.Scope) error {
	return autoConvert_v1_ProjectList_To_project_ProjectList(in, out, s)
}

func autoConvert_project_ProjectList_To_v1_ProjectList(in *project.ProjectList, out *v1.ProjectList, s conversion.Scope) error {
	out.ListMeta = in.ListMeta
	out.Items = *(*[]v1.Project)(unsafe.Pointer(&in.Items))
	return nil
}

// Convert_project_ProjectList_To_v1_ProjectList is an autogenerated conversion function.
func Convert_project_ProjectList_To_v1_ProjectList(in *project.ProjectList, out *v1.ProjectList, s conversion.Scope) error {
	return autoConvert_project_ProjectList_To_v1_ProjectList(in, out, s)
}

func autoConvert_v1_ProjectRequest_To_project_ProjectRequest(in *v1.ProjectRequest, out *project.ProjectRequest, s conversion.Scope) error {
	out.ObjectMeta = in.ObjectMeta
	out.DisplayName = in.DisplayName
	out.Description = in.Description
	return nil
}

// Convert_v1_ProjectRequest_To_project_ProjectRequest is an autogenerated conversion function.
func Convert_v1_ProjectRequest_To_project_ProjectRequest(in *v1.ProjectRequest, out *project.ProjectRequest, s conversion.Scope) error {
	return autoConvert_v1_ProjectRequest_To_project_ProjectRequest(in, out, s)
}

func autoConvert_project_ProjectRequest_To_v1_ProjectRequest(in *project.ProjectRequest, out *v1.ProjectRequest, s conversion.Scope) error {
	out.ObjectMeta = in.ObjectMeta
	out.DisplayName = in.DisplayName
	out.Description = in.Description
	return nil
}

// Convert_project_ProjectRequest_To_v1_ProjectRequest is an autogenerated conversion function.
func Convert_project_ProjectRequest_To_v1_ProjectRequest(in *project.ProjectRequest, out *v1.ProjectRequest, s conversion.Scope) error {
	return autoConvert_project_ProjectRequest_To_v1_ProjectRequest(in, out, s)
}

func autoConvert_v1_ProjectSpec_To_project_ProjectSpec(in *v1.ProjectSpec, out *project.ProjectSpec, s conversion.Scope) error {
	out.Finalizers = *(*[]core.FinalizerName)(unsafe.Pointer(&in.Finalizers))
	return nil
}

// Convert_v1_ProjectSpec_To_project_ProjectSpec is an autogenerated conversion function.
func Convert_v1_ProjectSpec_To_project_ProjectSpec(in *v1.ProjectSpec, out *project.ProjectSpec, s conversion.Scope) error {
	return autoConvert_v1_ProjectSpec_To_project_ProjectSpec(in, out, s)
}

func autoConvert_project_ProjectSpec_To_v1_ProjectSpec(in *project.ProjectSpec, out *v1.ProjectSpec, s conversion.Scope) error {
	out.Finalizers = *(*[]core_v1.FinalizerName)(unsafe.Pointer(&in.Finalizers))
	return nil
}

// Convert_project_ProjectSpec_To_v1_ProjectSpec is an autogenerated conversion function.
func Convert_project_ProjectSpec_To_v1_ProjectSpec(in *project.ProjectSpec, out *v1.ProjectSpec, s conversion.Scope) error {
	return autoConvert_project_ProjectSpec_To_v1_ProjectSpec(in, out, s)
}

func autoConvert_v1_ProjectStatus_To_project_ProjectStatus(in *v1.ProjectStatus, out *project.ProjectStatus, s conversion.Scope) error {
	out.Phase = core.NamespacePhase(in.Phase)
	return nil
}

// Convert_v1_ProjectStatus_To_project_ProjectStatus is an autogenerated conversion function.
func Convert_v1_ProjectStatus_To_project_ProjectStatus(in *v1.ProjectStatus, out *project.ProjectStatus, s conversion.Scope) error {
	return autoConvert_v1_ProjectStatus_To_project_ProjectStatus(in, out, s)
}

func autoConvert_project_ProjectStatus_To_v1_ProjectStatus(in *project.ProjectStatus, out *v1.ProjectStatus, s conversion.Scope) error {
	out.Phase = core_v1.NamespacePhase(in.Phase)
	return nil
}

// Convert_project_ProjectStatus_To_v1_ProjectStatus is an autogenerated conversion function.
func Convert_project_ProjectStatus_To_v1_ProjectStatus(in *project.ProjectStatus, out *v1.ProjectStatus, s conversion.Scope) error {
	return autoConvert_project_ProjectStatus_To_v1_ProjectStatus(in, out, s)
}


text:
<?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Width>30</Width>
	<CommandBarLocation>Bottom</CommandBarLocation>
	<VerticalScroll>useIfNecessary</VerticalScroll>
	<CommandSet>
		<ExcludedCommand>CustomizeForm</ExcludedCommand>
	</CommandSet>
	<AutoCommandBar name="ФормаКоманднаяПанель" id="-1">
		<HorizontalAlign>Right</HorizontalAlign>
		<ChildItems>
			<Button name="ФормаЗакрыть" id="3">
				<Type>CommandBarButton</Type>
				<Representation>PictureAndText</Representation>
				<DefaultButton>true</DefaultButton>
				<DefaultItem>true</DefaultItem>
				<CommandName>Form.StandardCommand.Close</CommandName>
				<Parameter xsi:nil="true"/>
				<ExtendedTooltip name="ФормаЗакрытьExtendedTooltip" id="4"/>
			</Button>
		</ChildItems>
	</AutoCommandBar>
	<Events>
		<Event name="NotificationProcessing">ОбработкаОповещения</Event>
		<Event name="OnOpen">ПриОткрытии</Event>
		<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
		<Event name="OnClose">ПриЗакрытии</Event>
	</Events>
	<ChildItems>
		<LabelDecoration name="ДекорацияНадпись" id="1">
			<TextColor>style:ПоясняющийТекст</TextColor>
			<Font ref="sys:DefaultGUIFont" bold="true" italic="false" underline="false" strikeout="false" kind="WindowsFont"/>
			<Title formatted="false">
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>С помощью сканера штрихкода считайте штрихкод с печатной формы</v8:content>
				</v8:item>
			</Title>
			<ContextMenu name="ДекорацияНадписьКонтекстноеМеню" id="2"/>
			<ExtendedTooltip name="ДекорацияНадписьExtendedTooltip" id="5"/>
		</LabelDecoration>
	</ChildItems>
	<Attributes>
		<Attribute name="Объект" id="1">
			<Type>
				<v8:Type>cfg:DataProcessorObject.ПоискОбъектовПоШтрихкоду</v8:Type>
			</Type>
			<MainAttribute>true</MainAttribute>
		</Attribute>
		<Attribute name="ИспользоватьПодключаемоеОборудование" id="2">
			<Title>
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>Использовать подключаемое оборудование</v8:content>
				</v8:item>
			</Title>
			<Type>
				<v8:Type>xs:boolean</v8:Type>
			</Type>
		</Attribute>
		<Attribute name="ПоддерживаемыеТипыПодключаемогоОбрудования" id="3">
			<Title>
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>Поддерживаемые типы подключаемого обрудования</v8:content>
				</v8:item>
			</Title>
			<Type>
				<v8:Type>xs:string</v8:Type>
				<v8:StringQualifiers>
					<v8:Length>0</v8:Length>
					<v8:AllowedLength>Variable</v8:AllowedLength>
				</v8:StringQualifiers>
			</Type>
		</Attribute>
	</Attributes>
</Form>

redpajama_set_name: RedPajamaGithub


text:
<?php

class LittersController extends Controller
{
	/**
	 * @var string the default layout for the views. Defaults to '//layouts/column2', meaning
	 * using two-column layout. See 'protected/views/layouts/column2.php'.
	 */
	public $layout='//layouts/column1';

	/**
	 * @return array action filters
	 */
	public function filters()
	{
		return array(
			'accessControl', // perform access control for CRUD operations
			'postOnly + delete', // we only allow deletion via POST request
		);
	}

	/**
	 * Specifies the access control rules.
	 * This method is used by the 'accessControl' filter.
	 * @return array access control rules
	 */
	public function accessRules()
	{
		return array(
			array('allow',  // allow all users to perform 'index' and 'view' actions
				'actions'=>array('index','view','autocompleteSow','autocompleteParity','autocompleteHerdlitter',
						'autocompleteFarroweddate','autocompleteWeighteddate','autocompleteWeaneddate'),
				'users'=>array('*'),
			),
			array('allow', // allow authenticated user to perform 'create' and 'update' actions
				'actions'=>array('create','update','UpdateLitter'),
				'users'=>array('@'),
			),
			array('allow', // allow admin user to perform 'admin' and 'delete' actions
				'actions'=>array('admin','delete','admin1','UpdateLitter'),
				'users'=>array('admin'),
			),
			array('deny',  // deny all users
				'users'=>array('*'),
			),
		);
	}

	/**
	 * Displays a particular model.
	 * @param integer $id the ID of the model to be displayed
	 */
	public function actionView($id)
	{
		$this->render('view',array(
			'model'=>$this->loadModel($id),
		));
	}

	/**
	 * Creates a new model.
	 * If creation is successful, the browser will be redirected to the 'view' page.
	 */
	public function actionCreate()
	{
		$model=new Litters;

		// Uncomment the following line if AJAX validation is needed
		// $this->performAjaxValidation($model);

		if(isset($_POST['Litters']))
		{
			$model->attributes=$_POST['Litters'];
			if($model->save())
				$this->redirect(array('view','id'=>$model->litters_id));
		}

		$this->render('create',array(
			'model'=>$model,
		));
	}

	/**
	 * Updates a particular model.
	 * If update is successful, the browser will be redirected to the 'view' page.
	 * @param integer $id the ID of the model to be updated
	 */
	public function actionUpdate($id)
	{
        $oldid = $id;

		//$model=$this->loadModel($id);
		$modelSowgilts = SowGilts::model()->findByPk($id);
		if($modelSowgilts===null)
			throw new CHttpException(404,'The requested page does not exist.');
		$sql = "select * from herd where ear_notch = '".$this->calculateYear($modelSowgilts->sire_ear_notch)."'";
		$sireeartag = SowBoar::model()->findBySql($sql);

		$modelSowgilts->sire_ear_notch = preg_replace("/[0-9][0-9]([0-9][0-9]) /", "$1 ", $modelSowgilts->sire_ear_notch);

		$modelSowgilts->sire_ear_notch = $this->calculateYear($modelSowgilts->sire_ear_notch,2);
		$modelSowgilts->sow_ear_notch = $this->calculateYear($modelSowgilts->sow_ear_notch,2);

		$qtxt ="SELECT * FROM herd WHERE ear_notch = '".$modelSowgilts->sow_ear_notch."' AND bred_date = '".$modelSowgilts->date_bred."'";
		$command =Yii::app()->db->createCommand($qtxt);
		$res = $command->queryRow();
		$desc = array();
		if(isset($res['last_parity']) &&  $modelSowgilts->farrowed == 'Y') {
			$model = Litters::model()->findByAttributes(array('sow_ear_notch'=>$modelSowgilts->sow_ear_notch,'sow_parity'=>$res['last_parity']));

            for($i=1;$i<=10;$i++){
                 $code = $model->{'defect_code'.$i};
                 if($code != "") {
                     $qtxt ="SELECT description FROM defects_code WHERE code = '".$code."'";
                     $command = Yii::app()->db->createCommand($qtxt);
                     $res = $command->queryColumn();
                     $desc[$i] = $res[0];
                 }
            }
		}

		if(!isset($model) || $model === null) {
			$model = new Litters;
		}
		$model->sire_ear_notch = preg_replace("/[0-9][0-9]([0-9][0-9]) /", "$1 ", $model->sire_ear_notch);

		if($sireeartag)
			$model->sire_ear_tag = $sireeartag->ear_tag;

		//$modelSowgilts->sow_ear_notch = preg_replace("/^([0-9][A-Z])([^ ])/i", "$1 $2", $modelSowgilts->sow_ear_notch);
		//$modelSowgilts->sire_ear_notch = preg_replace("/^([0-9][A-Z])([^ ])/i", "$1 $2", $modelSowgilts->sire_ear_notch);
		// Uncomment the following line if AJAX validation is needed
		// $this->performAjaxValidation($model);
		$modelSowgilts->sire_ear_notch = $this->ChangeNotch($modelSowgilts->sire_ear_notch);

		if(isset($_POST['Litters']))
		{
		    $orgDate = $model->farrowed_date;
			$model->attributes = $_POST['Litters'];

			if($model->save()) {

				if(isset($_POST['sire_ear_tag']) && !empty($_POST['sire_ear_tag'])) {
					$sql = "UPDATE herd SET ear_tag = '".$_POST['sire_ear_tag']."' WHERE ear_notch = '".$this->calculateYear($model->sire_ear_notch)."'";
					$cmd = Yii::app()->db->createCommand($sql);
					$cmd->query();
				}
			 // New CHores Insertion

			 $farm = preg_match("/^[0-9][a-z]/i",$model->sow_ear_notch,$match);
			 $qtxt ="DELETE chores from chores JOIN auto_chores ON (chores.description =auto_chores.description)
			 WHERE date = '".$orgDate."' and comments ='".$model->sow_ear_notch."' and auto_chores.generated_by = 'F'";
			 $command =Yii::app()->db->createCommand($qtxt);
			 $res =$command->query();

			 //New Chores Generation
			 $qtxt ="SELECT * FROM  auto_chores WHERE generated_by = 'F' AND (farm_herd = '".$match[0]."' OR farm_herd = 'A') AND disabled = 'N'";
			 $command =Yii::app()->db->createCommand($qtxt);
			 $res = $command->queryAll();
			 foreach ($res as $recCount=>$record) {
			  $choresModel = new Chores();
			  $choresModel->description = $record['description'];
			  $choresModel->farm_herd = $match[0];
			  $choresModel->comments = $model->sow_ear_notch;
			  $choresModel->date = date("m/d/Y",strtotime($model->farrowed_date)+($record['days_after'] * 24 * 3600));
			  $currentdate = $choresModel->date;

			  //$choresModel->date_modified = 'CURRENT_TIMESTAMP';
			  if(!$choresModel->save()) {
			   print_r($choresModel->errors);
			   echo "Error";
			  }
			  for($i=2;$i <= $record['times_occur'];$i++) {
			   $choresModel->setIsNewRecord(true);
			   $choresModel->chores_id = NULL;
			   $choresModel->date = date("m/d/Y",strtotime($choresModel->date)+($record['days_between'] * 24 * 3600));
			   if(!$choresModel->save()) {
			    print_r($choresModel->errors);
			    echo "Error".$i;
			   }
			  }
			 }
			 //End
				$sql = "UPDATE breeding SET ";
				$sql .= " farrowed = 'Y' ";
				$sql .= " WHERE 1 = 1 ";
				if($_POST['sire_ear_notch_org'] != $model->sire_ear_notch)
					$sql .= " AND sire_ear_notch = '".$model->sire_ear_notch."' ";
				$sql .= " AND sow_gilts_id = ".$id;
				$command = Yii::app()->db->createCommand($sql);
				$command->execute();

				$sql = "UPDATE herd SET ";
				$sql .= " bred_date = '".$model->date_bred."' ";
				$sql .= " WHERE ear_notch = '".$model->sow_ear_notch."'";
				$command = Yii::app()->db->createCommand($sql);
				$command->execute();

				$sql = "UPDATE herd SET ";
				$sql .= " last_parity =  ".$model->sow_parity;
				$sql .= " WHERE ear_notch = '".$model->sow_ear_notch."' AND last_parity <= ". $model->sow_parity;
				$command = Yii::app()->db->createCommand($sql);
				$command->execute();
				$this->redirect(array('admin'));
			}
		}
		if(isset($_POST['DefectsCode'])){
    		 $modelDefects =new DefectsCode();
    		 $modelDefects->attributes=$_POST['DefectsCode'];
    		 $results = $this->isDefectCodeExist($modelDefects->code);
     		 if($results == 0) {
      		  $modelDefects->save();
      		  $code = $modelDefects->code;
      		  $model->defect_code1 = $code;
     		 }
    	}else {
    		$this->render('update',array(
    			'model'=>$model,
    			'modelsowgilts'=>$modelSowgilts,
    		    'desc'=>$desc,
    		));
		}
	}

	/**
	 * Updates a particular model.
	 * If update is successful, the browser will be redirected to the 'view' page.
	 * @param integer $id the ID of the model to be updated
	 */
	public function actionUpdateLitter($id)
	{
		$model=$this->loadModel($id);

        $desc = array();
		if($model===null) {
			$model=new Litters;
		}else {
     		for($i=1;$i<=10;$i++){
     		 $code = $model->{'defect_code'.$i};
     		 if($code != "") {
     		  $qtxt ="SELECT description FROM defects_code WHERE code = '".$code."'";
     		  $command = Yii::app()->db->createCommand($qtxt);
     		  $res = $command->queryColumn();
     		  $desc[$i] = $res[0];
     		 }
     		}
		}
		$sql = "select * from herd where ear_notch = '".$this->calculateYear($model->sow_ear_notch)."'";
		$sireeartag = SowBoar::model()->findBySql($sql);
		if($sireeartag)
			$model->sire_ear_tag = $sireeartag->ear_tag;

		$model->sow_ear_notch = preg_replace("/^([0-9][A-Z])([^ ])/i", "$1$2", $model->sow_ear_notch);
		$model->sire_ear_notch = $this->ChangeNotch($model->sire_ear_notch);

		$model->sow_ear_notch =  $this->calculateYear($model->sow_ear_notch,2);
		// Uncomment the following line if AJAX validation is needed
		// $this->performAjaxValidation($model);

		if(isset($_POST['Litters']))
		{
		    $orgDate = $model->weaned_date;
// 		    $choresModel = new Chores();
			$model->attributes = $_POST['Litters'];
			if($model->save()) {
			 // New CHores Insertion

			 $farm = preg_match("/^[0-9][a-z]/i",$model->sow_ear_notch,$match);
			 $qtxt ="DELETE chores from chores JOIN auto_chores ON (chores.description =auto_chores.description)
			 WHERE date = '".$orgDate."' and comments ='".$model->sow_ear_notch."' and auto_chores.generated_by = 'W'";
			 $command =Yii::app()->db->createCommand($qtxt);
			 $res =$command->query();
			 //New Chores Generation
			 $qtxt ="SELECT * FROM  auto_chores WHERE generated_by = 'W' AND (farm_herd = '".$match[0]."' OR farm_herd = 'A') AND disabled = 'N'";
			 $command =Yii::app()->db->createCommand($qtxt);
			 $res =$command->queryAll();
			 //print_r($res);
			 foreach ($res as $recCount=>$record) {
			  $choresModel = new Chores();
			  $choresModel->description = $record['description'];
			  $choresModel->farm_herd = $match[0];
			  $choresModel->comments = $model->sow_ear_notch;
			  $choresModel->date = date("m/d/Y",strtotime($model->weaned_date)+($record['days_after'] * 24 * 3600));
			  $currentdate = $choresModel->date;
			  //$choresModel->date_modified = 'CURRENT_TIMESTAMP';
			  if(!$choresModel->save()) {
			   print_r($choresModel->errors);
			   echo "Error";
			  }
			  for($i=2;$i <= $record['times_occur'];$i++) {
			   $choresModel->setIsNewRecord(true);
			   $choresModel->chores_id = NULL;
			   $choresModel->date = date("m/d/Y",strtotime($choresModel->date)+($record['days_between'] * 24 * 3600));
			   if(!$choresModel->save()) {
			    print_r($choresModel->errors);
			    echo "Error".$i;
			   }
			  }
			 }
			 //End
				$this->redirect(array('admin1'));
			}
		}

		$this->render('updatelitter',array(
				'model'=>$model,
		        'desc'=>$desc,
		));
	}
	/**
	 * Deletes a particular model.
	 * If deletion is successful, the browser will be redirected to the 'admin' page.
	 * @param integer $id the ID of the model to be deleted
	 */
	public function actionDelete($id)
	{
		$this->loadModel($id)->delete();

		// if AJAX request (triggered by deletion via admin grid view), we should not redirect the browser
		if(!isset($_GET['ajax']))
			$this->redirect(isset($_POST['returnUrl']) ? $_POST['returnUrl'] : array('admin'));
	}

	/**
	 * Lists all models.
	 */
	public function actionIndex()
	{
		$dataProvider=new CActiveDataProvider('Litters');
		$this->render('index',array(
			'dataProvider'=>$dataProvider,
		));
	}

	/**
	 * Manages all models.
	 */
	public function actionAdmin()
	{
		/* $model=new Litters('search');
		$model->unsetAttributes();  // clear any default values
		if(isset($_GET['Litters']))
			$model->attributes=$_GET['Litters'];

		$this->render('admin',array(
			'model'=>$model,
		)); */
		$model=new SowGilts('search');
		$model->unsetAttributes();  // clear any default values
		if(isset($_GET['SowGilts']))
			$model->attributes=$_GET['SowGilts'];

		$sort = new CSort();
		$sort->attributes  = array(
				'desc'=>'STR_TO_DATE( due_date, "%m/%d/%Y")'
		);
		$this->render('admin',array(
				'model'=>$model,
				'sort'=>$sort,
		));
	}

	/**
	 * Manages all models.
	 */
	public function actionAdmin1()
	{

		$model=new Litters('search');
		$model->unsetAttributes();  // clear any default values
		if(isset($_GET['Litters']))
			$model->attributes=$_GET['Litters'];
		$sort = new CSort();
		$sort->attributes  = array(
				'desc'=>'STR_TO_DATE( farrowed_date, "%m/%d/%Y")'
		);
		$this->render('admin-wean',array(
				'model'=>$model,
				'sort'=>$sort,
		));
	}

	/**
	 * Returns the data model based on the primary key given in the GET variable.
	 * If the data model is not found, an HTTP exception will be raised.
	 * @param integer $id the ID of the model to be loaded
	 * @return Litters the loaded model
	 * @throws CHttpException
	 */
	public function loadModel($id)
	{
		$model=Litters::model()->findByPk($id);
		if($model===null)
			throw new CHttpException(404,'The requested page does not exist.');
		return $model;
	}

	/**
	 * Performs the AJAX validation.
	 * @param Litters $model the model to be validated
	 */
	protected function performAjaxValidation($model)
	{
		if(isset($_POST['ajax']) && $_POST['ajax']==='litters-form')
		{
			echo CActiveForm::validate($model);
			Yii::app()->end();
		}
	}

	public function actionautocompleteSow() {
		$res =array();
		if (isset($_GET['term'])) {
			// http://www.yiiframework.com/doc/guide/database.dao
			$qtxt ="SELECT distinct sow_ear_notch FROM  litters WHERE replace(sow_ear_notch,' ','') LIKE :username AND sow_ear_notch like '".Yii::app()->request->cookies['farm_herd']."%'";
			$command =Yii::app()->db->createCommand($qtxt);
			$command->bindValue(":username", '%'.str_replace(" ","",$_GET['term']).'%', PDO::PARAM_STR);
			$res =$command->queryColumn();
		}
		echo CJSON::encode($res);
		Yii::app()->end();
	}
	public function actionautocompleteParity() {
		$res =array();
		if (isset($_GET['term'])) {
			// http://www.yiiframework.com/doc/guide/database.dao
			$qtxt ="SELECT distinct sow_parity FROM  litters WHERE sow_parity LIKE :username";
			$command =Yii::app()->db->createCommand($qtxt);
			$command->bindValue(":username", '%'.$_GET['term'].'%', PDO::PARAM_STR);
			$res =$command->queryColumn();
		}
		echo CJSON::encode($res);
		Yii::app()->end();
	}
	public function actionautocompleteHerdlitter() {
		$res =array();
		if (isset($_GET['term'])) {
			// http://www.yiiframework.com/doc/guide/database.dao
			$qtxt ="SELECT distinct herd_litter FROM  litters WHERE herd_litter LIKE :username";
			$command =Yii::app()->db->createCommand($qtxt);
			$command->bindValue(":username", '%'.$_GET['term'].'%', PDO::PARAM_STR);
			$res =$command->queryColumn();
		}
		echo CJSON::encode($res);
		Yii::app()->end();
	}
	public function actionautocompleteFarroweddate() {
		$res =array();
		if (isset($_GET['term'])) {
			// http://www.yiiframework.com/doc/guide/database.dao
			$qtxt ="SELECT distinct farrowed_date FROM  litters WHERE farrowed_date LIKE :username";
			$command =Yii::app()->db->createCommand($qtxt);
			$command->bindValue(":username", '%'.$_GET['term'].'%', PDO::PARAM_STR);
			$res =$command->queryColumn();
		}
		echo CJSON::encode($res);
		Yii::app()->end();
	}
	public function actionautocompleteWeighteddate() {
		$res =array();
		if (isset($_GET['term'])) {
			// http://www.yiiframework.com/doc/guide/database.dao
			$qtxt ="SELECT distinct weighted_date FROM  litters WHERE weighted_date LIKE :username";
			$command =Yii::app()->db->createCommand($qtxt);
			$command->bindValue(":username", '%'.$_GET['term'].'%', PDO::PARAM_STR);
			$res =$command->queryColumn();
		}
		echo CJSON::encode($res);
		Yii::app()->end();
	}
	public function actionautocompleteWeaneddate() {
		$res =array();
		if (isset($_GET['term'])) {
			// http://www.yiiframework.com/doc/guide/database.dao
			$qtxt ="SELECT distinct weaned_date FROM  litters WHERE weaned_date LIKE :username";
			$command =Yii::app()->db->createCommand($qtxt);
			$command->bindValue(":username", '%'.$_GET['term'].'%', PDO::PARAM_STR);
			$res =$command->queryColumn();
		}
		echo CJSON::encode($res);
		Yii::app()->end();
	}

	public function getDefectsCodes($term=NULL) {
	 $res =array();
	 $qtxt ="SELECT concat_ws('-',code,description)  FROM defects_code order by code asc";
	 $command =Yii::app()->db->createCommand($qtxt);
	 $command->bindValue(":username", '%'.$term.'%', PDO::PARAM_STR);
	 return $res = $command->queryColumn();
	}
	public function isDefectCodeExist($term=NULL) {
 	 $res =array();
 	 if (isset($term)) {
 	  $qtxt ="SELECT code FROM defects_code WHERE  code LIKE :username";
 	  $command =Yii::app()->db->createCommand($qtxt);
 	  $command->bindValue(":username", '%'.$term.'%', PDO::PARAM_STR);
 	  $res =$command->queryColumn();
 	 }
 	 if(count($res) > 0)
 	  echo 1;
 	 else
 	  echo 0;
	}
	public function calculateYear($date,$type=1){

		$ear_notch_array =  preg_split("/ /", $date);

		$isPresent =  preg_match("/ ([0-9]+) /", $date,$matches);
		$isPresent1 =  preg_match("/[0-9][0-9][0-9][0-9] /", $date);
		if(!$isPresent){
			if(!$isPresent1){
				return $date;
			}
			else {
				$date = preg_replace("/([0-9][0-9][0-9][0-9] )/", " $1", $date);
				$ear_notch_array =  preg_split("/ /", $date);
				$isPresent =  preg_match("/ ([0-9]+) /", $date,$matches);
			}
		} else {
			$ear_notch_array[2] = $matches[1];
		}
		if(!isset($ear_notch_array[2]))
			return $date;
		$curr_year = date("y");
		$year = $ear_notch_array[2];
		$length = strlen($year);
		if($length > 2){
			$ear_notch_array[2] = preg_replace("/[0-9][0-9]([0-9][0-9])/", "$1", $ear_notch_array[2]);
			$year = $ear_notch_array[2];
			$length = strlen($year);
			//return $date;
		}
		if($type == 2){
			if($year+10 > $curr_year && $year <= $curr_year){
				$ear_notch_array[2] = $ear_notch_array[2] % 10;
			}else if($length < 2){
				$ear_notch_array[2] = "0".$ear_notch_array[2];
			}

			//return implode($ear_notch_array, " ");
			$date= str_replace(" ".$matches[1]." ", " ".$ear_notch_array[2]." ", $date,$count);
			$date = preg_replace("/^([0-9][A-Z])([^ ])/i", "$1 $2", $date);
			$date = preg_replace("/\-[ ]+/i", "-", $date);
			return $date;
		}
		//echo "$year <= $curr_year";
		if($year <= $curr_year){
			$rem = $curr_year%10;
			$quo = floor($curr_year/10);
			if($length == 1){
				if($rem < $year)
					$ear_notch_array[2] = "20".($quo-1).$year;
				else
					$ear_notch_array[2] = "20".($quo).$year;
			}else{
				$ear_notch_array[2] = "20".$year;
			}
		}else{
			$ear_notch_array[2] = "19".$year;
		}

		//echo implode($ear_notch_array, " ");			exit;

		$date= str_replace(" ".$matches[1]." ", " ".$ear_notch_array[2]." ", $date,$count);
		return $date;
		//return implode($ear_notch_array, " ");
	}

	public function ChangeNotch($notch) {
		$notch = preg_replace("/[ ]+/", " ", $notch);
		$notch = preg_replace("/\- /", "-", $notch);
		return $notch;

	}
}


text:
<?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<VerticalScroll>useIfNecessary</VerticalScroll>
	<AutoCommandBar name="ФормаКоманднаяПанель" id="-1">
		<Autofill>false</Autofill>
	</AutoCommandBar>
	<Events>
		<Event name="NotificationProcessing">ОбработкаОповещения</Event>
		<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
	</Events>
	<ChildItems>
		<Pages name="Страницы" id="43">
			<Title>
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>Страницы</v8:content>
				</v8:item>
			</Title>
			<ToolTip>
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>Страницы</v8:content>
				</v8:item>
			</ToolTip>
			<ExtendedTooltip name="СтраницыExtendedTooltip" id="94"/>
			<Events>
				<Event name="OnCurrentPageChange">СтраницыПриСменеСтраницы</Event>
			</Events>
			<ChildItems>
				<Page name="СтраницаДокументов" id="44">
					<Title>
						<v8:item>
							<v8:lang>ru</v8:lang>
							<v8:content>Таможенные декларации на импорт</v8:content>
						</v8:item>
					</Title>
					<ToolTip>
						<v8:item>
							<v8:lang>ru</v8:lang>
							<v8:content>Список таможенных деклараций на импорт</v8:content>
						</v8:item>
					</ToolTip>
					<ExtendedTooltip name="СтраницаДокументовExtendedTooltip" id="95"/>
					<ChildItems>

							<Representation>List</Representation>
							<UseAlternationRowColor>true</UseAlternationRowColor>
							<InitialTreeView>ExpandTopLevel</InitialTreeView>
							<EnableStartDrag>true</EnableStartDrag>
							<DataPath>Список</DataPath>
							<RowPictureDataPath>Список.DefaultPicture</RowPictureDataPath>
							<SearchStringLocation>None</SearchStringLocation>
							<ViewStatusLocation>None</ViewStatusLocation>
							<SearchControlLocation>None</SearchControlLocation>
							<AutoRefresh>false</AutoRefresh>
							<AutoRefreshPeriod>60</AutoRefreshPeriod>
							<Period xsi:type="v8:StandardPeriod">
								<v8:variant xsi:type="v8:StandardPeriodVariant">Custom</v8:variant>
								<v8:startDate>0001-01-01T00:00:00</v8:startDate>
								<v8:endDate>0001-01-01T00:00:00</v8:endDate>
							</Period>
							<ChoiceFoldersAndItems>Items</ChoiceFoldersAndItems>
							<RestoreCurrentRow>false</RestoreCurrentRow>
							<TopLevelParent xsi:nil="true"/>
							<ShowRoot>true</ShowRoot>
							<AllowRootChoice>false</AllowRootChoice>
							<UpdateOnDataChange>Auto</UpdateOnDataChange>
							<ContextMenu name="СписокКонтекстноеМеню" id="2"/>
							<AutoCommandBar name="СписокКоманднаяПанель" id="3">
								<Autofill>false</Autofill>
								<ChildItems>
									<ButtonGroup name="КнопкиФорма" id="48">
										<Title>
											<v8:item>
												<v8:lang>ru</v8:lang>
												<v8:content>Кнопки форма</v8:content>
											</v8:item>
										</Title>
										<ToolTip>
											<v8:item>
												<v8:lang>ru</v8:lang>
												<v8:content>Кнопки форма</v8:content>
											</v8:item>
										</ToolTip>
										<CommandSource>Form</CommandSource>
										<ExtendedTooltip name="КнопкиФормаExtendedTooltip" id="96"/>
									</ButtonGroup>
									<ButtonGroup name="КнопкиГлобальныеКоманды" id="47">
										<Title>
											<v8:item>
												<v8:lang>ru</v8:lang>
												<v8:content>Кнопки глобальные команды</v8:content>
											</v8:item>
										</Title>
										<ToolTip>
											<v8:item>
												<v8:lang>ru</v8:lang>
												<v8:content>Кнопки глобальные команды</v8:content>
											</v8:item>
										</ToolTip>
										<CommandSource>FormCommandPanelGlobalCommands</CommandSource>
										<ExtendedTooltip name="КнопкиГлобальныеКомандыExtendedTooltip" id="97"/>
									</ButtonGroup>
									<Button name="СписокСправка" id="49">
										<Type>CommandBarButton</Type>
										<CommandName>Form.StandardCommand.Help</CommandName>
										<Parameter xsi:nil="true"/>
										<ExtendedTooltip name="СписокСправкаExtendedTooltip" id="98"/>
									</Button>
								</ChildItems>
							</AutoCommandBar>
							<ExtendedTooltip name="СписокExtendedTooltip" id="99"/>
							<SearchStringAddition name="СписокSearchString" id="100">
								<Source>
									<lf:elementId>1</lf:elementId>
									<lf:additionId>0</lf:additionId>
								</Source>
								<ContextMenu name="СписокSearchStringContextMenu" id="101"/>
								<ExtendedTooltip name="СписокSearchStringExtendedTooltip" id="102"/>
							</SearchStringAddition>
							<ViewStatusAddition name="СписокViewStatus" id="103">
								<Source>
									<lf:elementId>1</lf:elementId>
									<lf:additionId>1</lf:additionId>
								</Source>
								<ContextMenu name="СписокViewStatusContextMenu" id="104"/>
								<ExtendedTooltip name="СписокViewStatusExtendedTooltip" id="105"/>
							</ViewStatusAddition>
							<SearchControlAddition name="СписокSearchControl" id="106">
								<Source>
									<lf:elementId>1</lf:elementId>
									<lf:additionId>2</lf:additionId>
								</Source>
								<ContextMenu name="СписокSearchControlContextMenu" id="107"/>
								<ExtendedTooltip name="СписокSearchControlExtendedTooltip" id="108"/>
							</SearchControlAddition>
							<ChildItems>
								<LabelField name="Номер" id="6">
									<DataPath>Список.Number</DataPath>
									<ContextMenu name="НомерКонтекстноеМеню" id="7"/>
									<ExtendedTooltip name="НомерExtendedTooltip" id="109"/>
								</LabelField>
								<LabelField name="Дата" id="4">
									<DataPath>Список.Date</DataPath>
									<DefaultItem>true</DefaultItem>
									<ContextMenu name="ДатаКонтекстноеМеню" id="5"/>
									<ExtendedTooltip name="ДатаExtendedTooltip" id="110"/>
								</LabelField>
								<LabelField name="Статус" id="28">
									<DataPath>Список.Статус</DataPath>
									<ContextMenu name="СтатусКонтекстноеМеню" id="29"/>
									<ExtendedTooltip name="СтатусExtendedTooltip" id="111"/>
								</LabelField>
								<LabelField name="СуммаДокумента" id="8">
									<DataPath>Список.СуммаДокумента</DataPath>
									<Title>
										<v8:item>
											<v8:lang>ru</v8:lang>
											<v8:content>Сумма</v8:content>
										</v8:item>
									</Title>
									<ContextMenu name="СуммаДокументаКонтекстноеМеню" id="9"/>
									<ExtendedTooltip name="СуммаДокументаExtendedTooltip" id="112"/>
								</LabelField>
								<InputField name="Валюта" id="10">
									<DataPath>Список.Валюта</DataPath>
									<ContextMenu name="ВалютаКонтекстноеМеню" id="11"/>
									<ExtendedTooltip name="ВалютаExtendedTooltip" id="113"/>
								</InputField>
								<LabelField name="ХозяйственнаяОперация" id="22">
									<DataPath>Список.ХозяйственнаяОперация</DataPath>
									<ContextMenu name="ХозяйственнаяОперацияКонтекстноеМеню" id="23"/>
									<ExtendedTooltip name="ХозяйственнаяОперацияExtendedTooltip" id="114"/>
								</LabelField>
								<InputField name="Партнер" id="12">
									<DataPath>Список.Партнер</DataPath>
									<ContextMenu name="ПартнерКонтекстноеМеню" id="13"/>
									<ExtendedTooltip name="ПартнерExtendedTooltip" id="115"/>
								</InputField>
								<LabelField name="Организация" id="18">
									<DataPath>Список.Организация</DataPath>
									<ContextMenu name="ОрганизацияКонтекстноеМеню" id="19"/>
									<ExtendedTooltip name="ОрганизацияExtendedTooltip" id="116"/>
								</LabelField>
								<LabelField name="Поставщик" id="34">
									<DataPath>Список.Поставщик</DataPath>
									<ContextMenu name="ПоставщикКонтекстноеМеню" id="35"/>
									<ExtendedTooltip name="ПоставщикExtendedTooltip" id="117"/>
								</LabelField>
								<ColumnGroup name="ГруппаПоступлениеТоваров" id="38">
									<ToolTip>
										<v8:item>
											<v8:lang>ru</v8:lang>
											<v8:content>Поступление товаров, по которому оформлена таможенная декларация</v8:content>
										</v8:item>
									</ToolTip>
									<Group>InCell</Group>
									<ExtendedTooltip name="ГруппаПоступлениеТоваровExtendedTooltip" id="118"/>
									<ChildItems>
										<LabelField name="ПоступлениеТоваровНомер" id="39">
											<DataPath>Список.ПоступлениеТоваров.Number</DataPath>
											<Title>
												<v8:item>
													<v8:lang>ru</v8:lang>
													<v8:content>Поступление товаров</v8:content>
												</v8:item>
											</Title>
											<Width>1</Width>
											<ContextMenu name="ПоступлениеТоваровНомерКонтекстноеМеню" id="40"/>
											<ExtendedTooltip name="ПоступлениеТоваровНомерExtendedTooltip" id="119"/>
										</LabelField>
										<LabelField name="ПоступлениеТоваровДата" id="41">
											<DataPath>Список.ПоступлениеТоваров.Date</DataPath>
											<TitleLocation>None</TitleLocation>
											<Width>1</Width>
											<ContextMenu name="ПоступлениеТоваровДатаКонтекстноеМеню" id="42"/>
											<ExtendedTooltip name="ПоступлениеТоваровДатаExtendedTooltip" id="120"/>
										</LabelField>
									</ChildItems>
								</ColumnGroup>
								<LabelField name="Менеджер" id="30">
									<DataPath>Список.Менеджер</DataPath>
									<ContextMenu name="МенеджерКонтекстноеМеню" id="31"/>
									<ExtendedTooltip name="МенеджерExtendedTooltip" id="121"/>
								</LabelField>
								<LabelField name="Комментарий" id="32">
									<DataPath>Список.Комментарий</DataPath>
									<Height>1</Height>
									<ContextMenu name="КомментарийКонтекстноеМеню" id="33"/>
									<ExtendedTooltip name="КомментарийExtendedTooltip" id="122"/>
								</LabelField>
								<LabelField name="Ссылка" id="20">
									<DataPath>Список.Ref</DataPath>
									<UserVisible>
										<xr:Common>false</xr:Common>
									</UserVisible>
									<ContextMenu name="СсылкаКонтекстноеМеню" id="21"/>
									<ExtendedTooltip name="СсылкаExtendedTooltip" id="123"/>
								</LabelField>
							</ChildItems>

					</ChildItems>
				</Page>
				<Page name="СтраницаКОформлению" id="45">
					<Title>
						<v8:item>
							<v8:lang>ru</v8:lang>
							<v8:content>К оформлению</v8:content>
						</v8:item>
					</Title>
					<ToolTip>
						<v8:item>
							<v8:lang>ru</v8:lang>
							<v8:content>Остатки товаров организаций к оформлению деклараций</v8:content>
						</v8:item>
					</ToolTip>
					<ExtendedTooltip name="СтраницаКОформлениюExtendedTooltip" id="124"/>
					<ChildItems>
						<UsualGroup name="ГруппаПериод" id="67">
							<Title>
								<v8:item>
									<v8:lang>ru</v8:lang>
									<v8:content>Группа период</v8:content>
								</v8:item>
							</Title>
							<ToolTip>
								<v8:item>
									<v8:lang>ru</v8:lang>
									<v8:content>Группа период</v8:content>
								</v8:item>
							</ToolTip>
							<Group>Horizontal</Group>
							<Representation>None</Representation>
							<ShowTitle>false</ShowTitle>
							<ExtendedTooltip name="ГруппаПериодExtendedTooltip" id="125"/>
							<ChildItems>
								<InputField name="ПериодВариант" id="68">
									<DataPath>Период.Variant</DataPath>
									<Title>
										<v8:item>
											<v8:lang>ru</v8:lang>
											<v8:content>За период</v8:content>
										</v8:item>
									</Title>
									<Width>28</Width>
									<HorizontalStretch>false</HorizontalStretch>
									<ClearButton>true</ClearButton>
									<ContextMenu name="ПериодВариантКонтекстноеМеню" id="69"/>
									<ExtendedTooltip name="ПериодВариантExtendedTooltip" id="126"/>
									<Events>
										<Event name="OnChange">ПериодВариантПриИзменении</Event>
									</Events>
								</InputField>
								<InputField name="ПериодДатаНачала" id="70">
									<DataPath>Период.StartDate</DataPath>
									<Title>
										<v8:item>
											<v8:lang>ru</v8:lang>
											<v8:content>с</v8:content>
										</v8:item>
									</Title>
									<ContextMenu name="ПериодДатаНачалаКонтекстноеМеню" id="71"/>
									<ExtendedTooltip name="ПериодДатаНачалаExtendedTooltip" id="127"/>
								</InputField>
								<InputField name="ПериодДатаОкончания" id="72">
									<DataPath>Период.EndDate</DataPath>
									<Title>
										<v8:item>
											<v8:lang>ru</v8:lang>
											<v8:content>по</v8:content>
										</v8:item>
									</Title>
									<ContextMenu name="ПериодДатаОкончанияКонтекстноеМеню" id="73"/>
									<ExtendedTooltip name="ПериодДатаОкончанияExtendedTooltip" id="128"/>
									<Events>
										<Event name="OnChange">ПериодДатаОкончанияПриИзменении</Event>
									</Events>
								</InputField>
							</ChildItems>
						</UsualGroup>
						<UsualGroup name="ГруппаТаблицОформления" id="91">
							<Group>Horizontal</Group>
							<Representation>None</Representation>
							<ShowTitle>false</ShowTitle>
							<ExtendedTooltip name="ГруппаТаблицОформленияExtendedTooltip" id="129"/>
							<ChildItems>

									<Representation>List</Representation>
									<ChangeRowSet>false</ChangeRowSet>
									<SelectionMode>SingleRow</SelectionMode>
									<UseAlternationRowColor>true</UseAlternationRowColor>
									<EnableStartDrag>true</EnableStartDrag>
									<DataPath>КОформлению</DataPath>
									<RowPictureDataPath>КОформлению.DefaultPicture</RowPictureDataPath>
									<SearchStringLocation>None</SearchStringLocation>
									<ViewStatusLocation>None</ViewStatusLocation>
									<SearchControlLocation>None</SearchControlLocation>
									<AutoRefresh>false</AutoRefresh>
									<AutoRefreshPeriod>60</AutoRefreshPeriod>
									<Period xsi:type="v8:StandardPeriod">
										<v8:variant xsi:type="v8:StandardPeriodVariant">Custom</v8:variant>
										<v8:startDate>0001-01-01T00:00:00</v8:startDate>
										<v8:endDate>0001-01-01T00:00:00</v8:endDate>
									</Period>
									<ChoiceFoldersAndItems>Items</ChoiceFoldersAndItems>
									<RestoreCurrentRow>false</RestoreCurrentRow>
									<TopLevelParent xsi:nil="true"/>
									<ShowRoot>true</ShowRoot>
									<AllowRootChoice>false</AllowRootChoice>
									<UpdateOnDataChange>Auto</UpdateOnDataChange>
									<ContextMenu name="КОформлениюКонтекстноеМеню" id="51"/>
									<AutoCommandBar name="КОформлениюКоманднаяПанель" id="52">
										<Autofill>false</Autofill>
										<ChildItems>
											<Button name="КОформлениюСоздатьТаможеннуюДекларацию" id="74">
												<Type>CommandBarButton</Type>
												<CommandName>Form.Command.СоздатьТаможеннуюДекларацию</CommandName>
												<Parameter xsi:nil="true"/>
												<ExtendedTooltip name="КОформлениюСоздатьТаможеннуюДекларациюExtendedTooltip" id="130"/>
											</Button>
											<ButtonGroup name="КнопкиКОформлению" id="75">
												<Title>
													<v8:item>
														<v8:lang>ru</v8:lang>
														<v8:content>Кнопки к оформлению</v8:content>
													</v8:item>
												</Title>
												<ToolTip>
													<v8:item>
														<v8:lang>ru</v8:lang>
														<v8:content>Кнопки к оформлению</v8:content>
													</v8:item>
												</ToolTip>
												<CommandSource>Item.КОформлению</CommandSource>
												<ExtendedTooltip name="КнопкиКОформлениюExtendedTooltip" id="131"/>
											</ButtonGroup>
										</ChildItems>
									</AutoCommandBar>
									<ExtendedTooltip name="КОформлениюExtendedTooltip" id="132"/>
									<SearchStringAddition name="КОформлениюSearchString" id="133">
										<Source>
											<lf:elementId>50</lf:elementId>
											<lf:additionId>0</lf:additionId>
										</Source>
										<ContextMenu name="КОформлениюSearchStringContextMenu" id="134"/>
										<ExtendedTooltip name="КОформлениюSearchStringExtendedTooltip" id="135"/>
									</SearchStringAddition>
									<ViewStatusAddition name="КОформлениюViewStatus" id="136">
										<Source>
											<lf:elementId>50</lf:elementId>
											<lf:additionId>1</lf:additionId>
										</Source>
										<ContextMenu name="КОформлениюViewStatusContextMenu" id="137"/>
										<ExtendedTooltip name="КОформлениюViewStatusExtendedTooltip" id="138"/>
									</ViewStatusAddition>
									<SearchControlAddition name="КОформлениюSearchControl" id="139">
										<Source>
											<lf:elementId>50</lf:elementId>
											<lf:additionId>2</lf:additionId>
										</Source>
										<ContextMenu name="КОформлениюSearchControlContextMenu" id="140"/>
										<ExtendedTooltip name="КОформлениюSearchControlExtendedTooltip" id="141"/>
									</SearchControlAddition>
									<Events>
										<Event name="Selection">КОформлениюВыбор</Event>
										<Event name="OnActivateRow">КОформлениюПриАктивизацииСтроки</Event>
									</Events>
									<ChildItems>
										<LabelField name="КОформлениюПоставщик" id="61">
											<DataPath>КОформлению.Поставщик</DataPath>
											<ContextMenu name="КОформлениюПоставщикКонтекстноеМеню" id="62"/>
											<ExtendedTooltip name="КОформлениюПоставщикExtendedTooltip" id="142"/>
										</LabelField>
										<LabelField name="КОформлениюОрганизация" id="59">
											<DataPath>КОформлению.Организация</DataPath>
											<ContextMenu name="КОформлениюОрганизацияКонтекстноеМеню" id="60"/>
											<ExtendedTooltip name="КОформлениюОрганизацияExtendedTooltip" id="143"/>
										</LabelField>
									</ChildItems>

									<Representation>List</Representation>
									<ChangeRowSet>false</ChangeRowSet>
									<SelectionMode>SingleRow</SelectionMode>
									<UseAlternationRowColor>true</UseAlternationRowColor>
									<EnableStartDrag>true</EnableStartDrag>
									<DataPath>КОформлениюНоменклатура</DataPath>
									<RowPictureDataPath>КОформлениюНоменклатура.DefaultPicture</RowPictureDataPath>
									<SearchStringLocation>None</SearchStringLocation>
									<ViewStatusLocation>None</ViewStatusLocation>
									<SearchControlLocation>None</SearchControlLocation>
									<AutoRefresh>false</AutoRefresh>
									<AutoRefreshPeriod>60</AutoRefreshPeriod>
									<Period xsi:type="v8:StandardPeriod">
										<v8:variant xsi:type="v8:StandardPeriodVariant">Custom</v8:variant>
										<v8:startDate>0001-01-01T00:00:00</v8:startDate>
										<v8:endDate>0001-01-01T00:00:00</v8:endDate>
									</Period>
									<ChoiceFoldersAndItems>Items</ChoiceFoldersAndItems>
									<RestoreCurrentRow>false</RestoreCurrentRow>
									<TopLevelParent xsi:nil="true"/>
									<ShowRoot>true</ShowRoot>
									<AllowRootChoice>false</AllowRootChoice>
									<UpdateOnDataChange>Auto</UpdateOnDataChange>
									<ContextMenu name="КОформлениюНоменклатураКонтекстноеМеню" id="77"/>
									<AutoCommandBar name="КОформлениюНоменклатураКоманднаяПанель" id="78"/>
									<ExtendedTooltip name="КОформлениюНоменклатураExtendedTooltip" id="144"/>
									<SearchStringAddition name="КОформлениюНоменклатураSearchString" id="145">
										<Source>
											<lf:elementId>76</lf:elementId>
											<lf:additionId>0</lf:additionId>
										</Source>
										<ContextMenu name="КОформлениюНоменклатураSearchStringContextMenu" id="146"/>
										<ExtendedTooltip name="КОформлениюНоменклатураSearchStringExtendedTooltip" id="147"/>
									</SearchStringAddition>
									<ViewStatusAddition name="КОформлениюНоменклатураViewStatus" id="148">
										<Source>
											<lf:elementId>76</lf:elementId>
											<lf:additionId>1</lf:additionId>
										</Source>
										<ContextMenu name="КОформлениюНоменклатураViewStatusContextMenu" id="149"/>
										<ExtendedTooltip name="КОформлениюНоменклатураViewStatusExtendedTooltip" id="150"/>
									</ViewStatusAddition>
									<SearchControlAddition name="КОформлениюНоменклатураSearchControl" id="151">
										<Source>
											<lf:elementId>76</lf:elementId>
											<lf:additionId>2</lf:additionId>
										</Source>
										<ContextMenu name="КОформлениюНоменклатураSearchControlContextMenu" id="152"/>
										<ExtendedTooltip name="КОформлениюНоменклатураSearchControlExtendedTooltip" id="153"/>
									</SearchControlAddition>
									<ChildItems>
										<LabelField name="КОформлениюНоменклатураНоменклатура" id="83">
											<DataPath>КОформлениюНоменклатура.Номенклатура</DataPath>
											<Width>1</Width>
											<ContextMenu name="КОформлениюНоменклатураНоменклатураКонтекстноеМеню" id="84"/>
											<ExtendedTooltip name="КОформлениюНоменклатураНоменклатураExtendedTooltip" id="154"/>
										</LabelField>
										<LabelField name="КОформлениюНоменклатураХарактеристика" id="85">
											<DataPath>КОформлениюНоменклатура.Характеристика</DataPath>
											<Width>1</Width>
											<ContextMenu name="КОформлениюНоменклатураХарактеристикаКонтекстноеМеню" id="86"/>
											<ExtendedTooltip name="КОформлениюНоменклатураХарактеристикаExtendedTooltip" id="155"/>
										</LabelField>
										<LabelField name="КОформлениюНоменклатураКоличествоОстаток" id="81">
											<DataPath>КОформлениюНоменклатура.КоличествоBalance</DataPath>
											<Title>
												<v8:item>
													<v8:lang>ru</v8:lang>
													<v8:content>Остаток к оформлению</v8:content>
												</v8:item>
											</Title>
											<Width>1</Width>
											<Format>
												<v8:item>
													<v8:lang>ru</v8:lang>
													<v8:content>ЧДЦ=3</v8:content>
												</v8:item>
											</Format>
											<ContextMenu name="КОформлениюНоменклатураКоличествоОстатокКонтекстноеМеню" id="82"/>
											<ExtendedTooltip name="КОформлениюНоменклатураКоличествоОстатокExtendedTooltip" id="156"/>
										</LabelField>
										<LabelField name="КОформлениюНоменклатураНоменклатураЕдиницаИзмерения" id="87">
											<DataPath>КОформлениюНоменклатура.Номенклатура.ЕдиницаИзмерения</DataPath>
											<Title>
												<v8:item>
													<v8:lang>ru</v8:lang>
													<v8:content>Ед. изм.</v8:content>
												</v8:item>
											</Title>
											<Width>1</Width>
											<HorizontalStretch>false</HorizontalStretch>
											<ContextMenu name="КОформлениюНоменклатураНоменклатураЕдиницаИзмеренияКонтекстноеМеню" id="88"/>
											<ExtendedTooltip name="КОформлениюНоменклатураНоменклатураЕдиницаИзмеренияExtendedTooltip" id="157"/>
										</LabelField>
										<LabelField name="КОформлениюНоменклатураСклад" id="89">
											<DataPath>КОформлениюНоменклатура.Склад</DataPath>
											<Width>1</Width>
											<ContextMenu name="КОформлениюНоменклатураСкладКонтекстноеМеню" id="90"/>
											<ExtendedTooltip name="КОформлениюНоменклатураСкладExtendedTooltip" id="158"/>
										</LabelField>
										<LabelField name="КОформлениюНоменклатураВидЗапасов" id="79">
											<DataPath>КОформлениюНоменклатура.ВидЗапасов</DataPath>
											<UserVisible>
												<xr:Common>false</xr:Common>
											</UserVisible>
											<Width>1</Width>
											<ContextMenu name="КОформлениюНоменклатураВидЗапасовКонтекстноеМеню" id="80"/>
											<ExtendedTooltip name="КОформлениюНоменклатураВидЗапасовExtendedTooltip" id="159"/>
										</LabelField>
										<LabelField name="КОформлениюНоменклатураВидЗапасовСделка" id="92">
											<DataPath>КОформлениюНоменклатура.ВидЗапасов.Сделка</DataPath>
											<ContextMenu name="КОформлениюНоменклатураВидЗапасовСделкаКонтекстноеМеню" id="93"/>
											<ExtendedTooltip name="КОформлениюНоменклатураВидЗапасовСделкаExtendedTooltip" id="160"/>
										</LabelField>
									</ChildItems>

							</ChildItems>
						</UsualGroup>
					</ChildItems>
				</Page>
			</ChildItems>
		</Pages>
	</ChildItems>
	<Attributes>
		<Attribute name="Список" id="1">
			<Type>
				<v8:Type>cfg:DynamicList</v8:Type>
			</Type>
			<MainAttribute>true</MainAttribute>
			<Settings xsi:type="DynamicList">
				<ManualQuery>false</ManualQuery>
				<DynamicDataRead>true</DynamicDataRead>
				<MainTable>Document.ТаможеннаяДекларацияИмпорт</MainTable>
				<ListSettings>
					<dcsset:filter>
						<dcsset:viewMode>Normal</dcsset:viewMode>
						<dcsset:userSettingID>dfcece9d-5077-440b-b6b3-45a5cb4538eb</dcsset:userSettingID>
					</dcsset:filter>
					<dcsset:order>
						<dcsset:viewMode>Normal</dcsset:viewMode>
						<dcsset:userSettingID>88619765-ccb3-46c6-ac52-38e9c992ebd4</dcsset:userSettingID>
					</dcsset:order>
					<dcsset:conditionalAppearance>
						<dcsset:viewMode>Normal</dcsset:viewMode>
						<dcsset:userSettingID>b75fecce-942b-4aed-abc9-e6a02e460fb3</dcsset:userSettingID>
					</dcsset:conditionalAppearance>
				</ListSettings>
			</Settings>
		</Attribute>
		<Attribute name="КОформлению" id="2">
			<Title>
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>К оформлению</v8:content>
				</v8:item>
			</Title>
			<Type>
				<v8:Type>cfg:DynamicList</v8:Type>
			</Type>
			<UseAlways>
				<Field>2/3</Field>
				<Field>2/4</Field>
				<Field>2/5</Field>
				<Field>2/6</Field>
				<Field>2/7</Field>
				<Field>2/8</Field>
				<Field>2/9</Field>
				<Field>2/14</Field>
				<Field>2/15</Field>
				<Field>2/16</Field>
				<Field>КОформлению.Организация</Field>
				<Field>КОформлению.Поставщик</Field>
			</UseAlways>
			<Settings xsi:type="DynamicList">
				<ManualQuery>true</ManualQuery>
				<DynamicDataRead>false</DynamicDataRead>
				<QueryText>ВЫБРАТЬ РАЗЛИЧНЫЕ
    НаДату.Поставщик, НаДату.Организация
ИЗ
    РегистрНакопления.ТоварыОрганизацийКОформлению.Остатки(&Граница, ) КАК НаДату
    ЛЕВОЕ СОЕДИНЕНИЕ РегистрНакопления.ТоварыОрганизацийКОформлению.Остатки(, ) КАК НаСейчас
    ПО НаДату.Номенклатура = НаСейчас.Номенклатура
        И НаДату.Характеристика = НаСейчас.Характеристика
        И НаДату.Поставщик = НаСейчас.Поставщик
        И НаДату.Склад = НаСейчас.Склад
        И НаДату.Организация = НаСейчас.Организация
        И НаДату.ВидЗапасов = НаСейчас.ВидЗапасов
ГДЕ
    НаСейчас.КоличествоОстаток > 0</QueryText>
				<ListSettings>
					<dcsset:filter>
						<dcsset:viewMode>Normal</dcsset:viewMode>
						<dcsset:userSettingID>dfcece9d-5077-440b-b6b3-45a5cb4538eb</dcsset:userSettingID>
					</dcsset:filter>
					<dcsset:order>
						<dcsset:viewMode>Normal</dcsset:viewMode>
						<dcsset:userSettingID>88619765-ccb3-46c6-ac52-38e9c992ebd4</dcsset:userSettingID>
					</dcsset:order>
					<dcsset:conditionalAppearance>
						<dcsset:viewMode>Normal</dcsset:viewMode>
						<dcsset:userSettingID>b75fecce-942b-4aed-abc9-e6a02e460fb3</dcsset:userSettingID>
					</dcsset:conditionalAppearance>
				</ListSettings>
			</Settings>
		</Attribute>
		<Attribute name="Период" id="3">
			<Title>
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>Период</v8:content>
				</v8:item>
			</Title>
			<Type>
				<v8:Type>v8:StandardPeriod</v8:Type>
			</Type>
			<Save>
				<Field>Период</Field>
				<Field>Период.Variant</Field>
				<Field>Период.StartDate</Field>
				<Field>Период.EndDate</Field>
			</Save>
		</Attribute>
		<Attribute name="КОформлениюНоменклатура" id="4">
			<Title>
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>К оформлению номенклатура</v8:content>
				</v8:item>
			</Title>
			<Type>
				<v8:Type>cfg:DynamicList</v8:Type>
			</Type>
			<UseAlways>
				<Field>КОформлениюНоменклатура.Организация</Field>
				<Field>КОформлениюНоменклатура.Поставщик</Field>
			</UseAlways>
			<Settings xsi:type="DynamicList">
				<ManualQuery>true</ManualQuery>
				<DynamicDataRead>false</DynamicDataRead>
				<QueryText>ВЫБРАТЬ
    НаДату.Номенклатура, НаДату.Характеристика, НаДату.ВидЗапасов, НаСейчас.КоличествоОстаток,
    НаДату.Поставщик, НаДату.Организация, НаДату.Склад
ИЗ
    РегистрНакопления.ТоварыОрганизацийКОформлению.Остатки(&Граница, ) КАК НаДату
    ЛЕВОЕ СОЕДИНЕНИЕ РегистрНакопления.ТоварыОрганизацийКОформлению.Остатки(, ) КАК НаСейчас
    ПО НаДату.Номенклатура = НаСейчас.Номенклатура
        И НаДату.Характеристика = НаСейчас.Характеристика
        И НаДату.Поставщик = НаСейчас.Поставщик
        И НаДату.Склад = НаСейчас.Склад
        И НаДату.Организация = НаСейчас.Организация
        И НаДату.ВидЗапасов = НаСейчас.ВидЗапасов
ГДЕ
    НаСейчас.КоличествоОстаток > 0</QueryText>
				<ListSettings>
					<dcsset:filter>
						<dcsset:viewMode>Normal</dcsset:viewMode>
						<dcsset:userSettingID>dfcece9d-5077-440b-b6b3-45a5cb4538eb</dcsset:userSettingID>
					</dcsset:filter>
					<dcsset:order>
						<dcsset:viewMode>Normal</dcsset:viewMode>
						<dcsset:userSettingID>88619765-ccb3-46c6-ac52-38e9c992ebd4</dcsset:userSettingID>
					</dcsset:order>
					<dcsset:conditionalAppearance>
						<dcsset:viewMode>Normal</dcsset:viewMode>
						<dcsset:userSettingID>b75fecce-942b-4aed-abc9-e6a02e460fb3</dcsset:userSettingID>
					</dcsset:conditionalAppearance>
				</ListSettings>
			</Settings>
		</Attribute>
	</Attributes>
	<Commands>
		<Command name="СоздатьТаможеннуюДекларацию" id="1">
			<Title>
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>Создать декларацию</v8:content>
				</v8:item>
			</Title>
			<ToolTip>
				<v8:item>
					<v8:lang>ru</v8:lang>
					<v8:content>Создать таможенную декларацию</v8:content>
				</v8:item>
			</ToolTip>
			<Picture>
				<xr:Ref>CommonPicture.ОформитьПоРаспоряжению</xr:Ref>
				<xr:LoadTransparent>false</xr:LoadTransparent>
			</Picture>
			<Action>СоздатьТаможеннуюДекларацию</Action>
			<Representation>TextPicture</Representation>
		</Command>
	</Commands>
</Form>


text:
package com.blogspot.sontx.chatsocket.client.view.javafx;

import com.blogspot.sontx.chatsocket.client.view.ChatView;
import com.blogspot.sontx.chatsocket.client.view.javafx.custom.ChatMessageCell;
import com.blogspot.sontx.chatsocket.client.view.javafx.custom.ChatMessageInternal;
import com.blogspot.sontx.chatsocket.lib.Callback;
import com.blogspot.sontx.chatsocket.lib.view.AbstractJavaFxWindow;
import javafx.fxml.FXML;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.TextArea;
import javafx.scene.layout.GridPane;
import lombok.Setter;
import lombok.extern.log4j.Log4j;

import java.io.IOException;

@Log4j
class ChatWindow extends AbstractJavaFxWindow implements ChatView {
    @FXML
    private TextArea messageTextArea;
    @FXML
    private GridPane messageBox;
    @FXML
    private ScrollPane scrollPane;

    @Setter
    private Callback<String> sendButtonClickListener;

    ChatWindow() {
        init(this, "chat-window.fxml");
    }

    @FXML
    private void onMessageTextAreaEnter() {
        if (sendButtonClickListener != null)
            sendButtonClickListener.call(messageTextArea.getText());
    }

    @Override
    public void appendFriendMessage(String message) {
        showChatMessage(new ChatMessageInternal(message, false));
    }

    private void showChatMessage(ChatMessageInternal chatMessageInternal) {
        try {
            ChatMessageCell chatMessageCell = new ChatMessageCell(chatMessageInternal);
            messageBox.add(chatMessageCell, 0, messageBox.getChildren().size());
            scrollPane.setVvalue(1.0);
        } catch (IOException e) {
            log.error("Error while create chat message cell", e);
        }
    }

    @Override
    public void appendMeMyMessage(String message) {
        showChatMessage(new ChatMessageInternal(message, true));
    }

    @Override
    public void clearInput() {
        messageTextArea.clear();
    }
}


text:
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace MartinCostello.LondonTravel.Site.Pages.Account;

public class AccessDenied : PageModel
{
    public void OnGet()
    {
    }
}


text:
namespace Merchello.Core.Gateways.Taxation
{
    using Models;

    /// <summary>
    /// Defines the Taxation context
    /// </summary>
    public interface ITaxationContext : IGatewayProviderTypedContextBase<TaxationGatewayProviderBase>
    {
        /// <summary>
        /// Gets a value indicating whether product pricing enabled.
        /// </summary>
        bool ProductPricingEnabled { get; }

        /// <summary>
        /// Gets the taxation application.
        /// </summary>
        TaxationApplication TaxationApplication { get; }

        /// <summary>
        /// Calculates taxes for the <see cref="IInvoice"/>
        /// </summary>
        /// <param name="invoice">The <see cref="IInvoice"/> to tax</param>
        /// <param name="quoteOnly">A value indicating whether or not the taxes should be calculated as a quote</param>
        /// <returns>The <see cref="ITaxCalculationResult"/></returns>
        /// <remarks>
        ///
        /// This assumes that the tax rate is assoicated with the invoice's billing address
        ///
        /// </remarks>
        ITaxCalculationResult CalculateTaxesForInvoice(IInvoice invoice, bool quoteOnly = false);

        /// <summary>
        /// Calculates taxes for the <see cref="IInvoice"/>
        /// </summary>
        /// <param name="invoice">
        /// The <see cref="IInvoice"/> to tax
        /// </param>
        /// <param name="taxAddress">
        /// The address to base the taxation calculation - generally country and region
        /// </param>
        /// <param name="quoteOnly">
        /// A value indicating whether or not the taxes should be calculated as a quote
        /// </param>
        /// <returns>
        /// The <see cref="ITaxCalculationResult"/>
        /// </returns>
        ITaxCalculationResult CalculateTaxesForInvoice(IInvoice invoice, IAddress taxAddress, bool quoteOnly = false);

        /// <summary>
        /// The calculate taxes for a product.
        /// </summary>
        /// <param name="product">
        /// The product.
        /// </param>
        /// <returns>
        /// The <see cref="ITaxCalculationResult"/>.
        /// </returns>
        IProductTaxCalculationResult CalculateTaxesForProduct(IProductVariantDataModifierData product);

        /// <summary>
        /// Gets the tax method for a given tax address
        /// </summary>
        /// <param name="taxAddress">
        /// The tax address
        /// </param>
        /// <returns>
        /// The <see cref="ITaxMethod"/>.
        /// </returns>
        ITaxMethod GetTaxMethodForTaxAddress(IAddress taxAddress);

        /// <summary>
        /// Gets the tax method for country code.
        /// </summary>
        /// <param name="countryCode">
        /// The country code.
        /// </param>
        /// <returns>
        /// The <see cref="ITaxMethod"/>.
        /// </returns>
        ITaxMethod GetTaxMethodForCountryCode(string countryCode);
    }
}


text:
layout: page
title: Typography
---

Headings, paragraphs, blockquotes, lists, and more have some global resets. It's worth noting these aren't the same as our Markdown styles.

## Contents

* Will be replaced with the ToC, excluding the "Contents" header
{:toc}

## Headings

{% example html %}

h1. Dojo heading

h2. Dojo heading

h3. Dojo heading

h4. Dojo heading

h5. Dojo heading

h6. Dojo heading

{% endexample %}

## Body text

{% example html %}

Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.

Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.

{% endexample %}

## Lead

Make a paragraph stand out by adding `.lead`.

{% example html %}

  Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.

{% endexample %}

## Inline text elements

Styling for common inline HTML5 elements.

{% example html %}

You can use the mark tag to highlight text.

This line of text is meant to be treated as deleted text.

<s>This line of text is meant to be treated as no longer accurate.</s>

This line of text is meant to be treated as an addition to the document.

This line of text will render as underlined

This line of text is meant to be treated as fine print.

This line rendered as bold text.

This line rendered as italicized text.

{% endexample %}

## Blockquotes

Wrap `<blockquote>` around any HTML as the quote. For straight quotes, we recommend a `<p>`.

{% example html %}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

{% endexample %}

## Lists

### Unordered

A list of items in which the order does *not* explicitly matter.

{% example html %}

Lorem ipsum dolor sit amet

Nulla volutpat aliquam velit

Phasellus iaculis neque

Purus sodales ultricies

Vestibulum laoreet porttitor sem

Ac tristique libero volutpat at

Faucibus porta lacus fringilla vel

Aenean sit amet erat nunc

Eget porttitor lorem

{% endexample %}

### Ordered

A list of items in which the order *does* explicitly matter.

{% example html %}

Lorem ipsum dolor sit amet

Nulla volutpat aliquam velit

Phasellus iaculis neque

Purus sodales ultricies

Vestibulum laoreet porttitor sem

Ac tristique libero volutpat at

Faucibus porta lacus fringilla vel

Aenean sit amet erat nunc

Eget porttitor lorem

{% endexample %}


text:
OOOVirtuals
	OOOVirtual(void, run)
	OOOVirtual(char *, getName)
OOOVirtualsEnd
#undef OOOInterface

#endif