\documentclass[12pt]{article}
\begin{document}
\pagedir TRT \bodydir TRT  \pardir TRT \textdir TRT 
\tableofcontents
\part{bakhsh aval}

\section{ghesmat 1}

\subsection{zir ghesmat}

\subsubsection{zire zir ghesmat}
\end{document}