% Copyright 2006 Konstantin Korikov <lostclus@ua.fm>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status "maintained".
% 
% This Current Maintainer of this work is Konstantin Korikov.
%
% This work consists of all files listed in manifest.txt.
%

%
% This is automaticaly generated file, do not edit it.
%

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xespdtitlebase}[2020/03/20 v1.00 Base Title Commands]

\newcommand{\XESPDtitleApprovedBy}[2]{%
  \@namedef{XESPD@title@approved@post@1}{#1}
  \@namedef{XESPD@title@approved@name@1}{#2}}

\newcount\XESPD@title@agreed@cnt
\newcount\XESPD@title@designed@cnt
\XESPD@title@agreed@cnt = 0
\XESPD@title@designed@cnt = 0

\newcommand{\XESPDtitleAgreedBy}[2]{%
  \advance \XESPD@title@agreed@cnt 1
  \@namedef{XESPD@title@agreed@post@\number\XESPD@title@agreed@cnt}{#1}
  \@namedef{XESPD@title@agreed@name@\number\XESPD@title@agreed@cnt}{#2}}

\newcommand{\XESPDtitleDesignedBy}[2]{%
  \advance \XESPD@title@designed@cnt 1
  \@namedef{XESPD@title@designed@post@\number\XESPD@title@designed@cnt}{#1}
  \@namedef{XESPD@title@designed@name@\number\XESPD@title@designed@cnt}{#2}}

\let\XESPD@title@approving@sheet\@undefinded
\newcommand{\XESPDtitleApprovingSheet}[1]{%
  \def\XESPD@title@approving@sheet{#1}}

\newcommand{\XESPDtitleMakeStamp}[2]{#1\\\rule{2cm}{.1mm}\ #2\\
``\rule{.8cm}{.1mm}'' \rule{2.3cm}{.1mm}\ \rule{1.5cm}{.1mm}}

\newcommand{\XESPD@title@make@stamp}[2]{%
  \XESPDtitleMakeStamp{%
    \@nameuse{XESPD@title@#1@post@#2}}{%
    \@nameuse{XESPD@title@#1@name@#2}}}

\newcommand{\XESPDtheTitleFieldI}{}
\newcommand{\XESPDtheTitleFieldII}{}
\newcommand{\XESPDtheTitleFieldIII}{}
\newcommand{\XESPDtheTitleFieldIV}{}
\newcommand{\XESPDtheTitleFieldV}{}
\newcommand{\XESPDtheTitleFieldVI}{}
\newcommand{\XESPDtheTitleFieldVII}{}
\newcommand{\XESPDtheTitleFieldVIII}{}
\newcommand{\XESPDtheTitleFieldIX}{}
\newcommand{\XESPDtheTitleFieldX}{}
\newcommand{\XESPDtitleFontI}{}
\newcommand{\XESPDtitleFontII}{}
\newcommand{\XESPDtitleFontIII}{}
\newcommand{\XESPDtitleFontIV}{}
\newcommand{\XESPDtitleFontV}{}
\newcommand{\XESPDtitleFontVI}{}
\newcommand{\XESPDtitleFontVII}{}
\newcommand{\XESPDtitleFontVIII}{}
\newcommand{\XESPDtitleFontIX}{}
\newcommand{\XESPDtitleFontX}{}

\def\XESPD@title@after@page{%
  \XESPDclearDoublePage
  \XESPDstyle{\XESPD@default@style@other}
  \XESPDthisStyle{\XESPD@default@style@first}}

\newenvironment{XESPDtitlePage}{%
  \begin{XESPDpadding}{5mm}{5mm}
  \XESPDstyle{\XESPD@default@style@title}}{%
  \end{XESPDpadding}
  \aftergroup\XESPD@title@after@page}

