コード例 #1
0
if (selectedToolbar('A4portrait', $elementos)) {
    echo 'data-selected="true"';
}
?>
 id="btnOrientacao" class="btn" data-edit="A4portrait" title="Orientação do papel"><i class="icon-file"></i></a>
		  </div>	
			
		  <div class="ToolBarGeral geral pull-left btn-group" data-target=".containerPDF">
			<a <?php 
if (selectedToolbar('fontSizeSmall', $elementos)) {
    echo 'data-selected="true"';
}
?>
 class="btn unico" data-edit="fontSizeSmall" title="Tamanho pequeno"><i class="icon-font" style="font-size:10px;"></i></a>
			<a <?php 
if (selectedToolbar('fontSizeNormal', $elementos)) {
    echo 'data-selected="true"';
}
?>
  class="btn unico" data-edit="fontSizeNormal" title="Tamanho normal"><i class="icon-font"></i></a>
		  </div>
				
		  <div class="ToolBarGeral geral btn-group pull-right" data-target=".containerPDF, .assinaturas">
		   
			<a class="btn unico" data-edit="justifyleft" title="Alinhar à esquerda"><i class="icon-align-left"></i></a>
			<a class="btn unico" data-edit="justifycenter" title="Centralizar"><i class="icon-align-center"></i></a>
			<a class="btn unico" data-edit="justifyright" title="Alinhar à direita"><i class="icon-align-right"></i></a>
			<a class="btn unico" data-edit="justifyfull" title="Justificar"><i class="icon-align-justify"></i></a>
		
			<a class="btn" data-edit="bold" title="Negrito"><i class="icon-bold"></i></a>
			<a class="btn" data-edit="italic" title="Itálico"><i class="icon-italic"></i></a>
コード例 #2
0
			
		  <div class="ToolBarGeral geral pull-left btn-group" data-target=".containerPDF">
			<a <?php 
if (selectedToolbar('fontSizeSmall', $elementos)) {
    echo 'data-selected="true"';
}
?>
 class="btn unico" data-edit="fontSizeSmall" title="Tamanho pequeno"><i class="icon-font" style="font-size:10px;"></i></a>
			<a <?php 
if (selectedToolbar('fontSizeNormal', $elementos)) {
    echo 'data-selected="true"';
}
?>
  class="btn unico" data-edit="fontSizeNormal" title="Tamanho normal"><i class="icon-font"></i></a>
			<a <?php 
if (selectedToolbar('fontSizeBig', $elementos)) {
    echo 'data-selected="true"';
}
?>
  class="btn unico" data-edit="fontSizeBig" title="Tamanho grande"><i class="icon-font icon-big" style="font-size:18px;"></i></a>
		  </div>
				
		  <div class="ToolBarGeral geral btn-group pull-right" data-target=".containerPDF, .assinaturas">
		   
			<a class="btn unico" data-edit="justifyleft" title="Alinhar à esquerda"><i class="icon-align-left"></i></a>
			<a class="btn unico" data-edit="justifycenter" title="Centralizar"><i class="icon-align-center"></i></a>
			<a class="btn unico" data-edit="justifyright" title="Alinhar à direita"><i class="icon-align-right"></i></a>
			<a class="btn unico" data-edit="justifyfull" title="Justificar"><i class="icon-align-justify"></i></a>
		
			<a class="btn" data-edit="bold" title="Negrito"><i class="icon-bold"></i></a>
			<a class="btn" data-edit="italic" title="Itálico"><i class="icon-italic"></i></a>