Neste exemplo, todas as ocorrências de \u0022software\u0022 são substituídas por \u0022SOFTWARE\u0022 e formatadas em azul com tamanho de fonte 14....initialize_data_dir def replace_text_with_state ( infile , outfile...infile ) text_state = ap . text . TextState () text_state . foreground_color...