Advertisement
Guest User

Untitled

a guest
Nov 16th, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.64 KB | None | 0 0
  1. sal_Int32 nColonPos = sTmpl.indexOf( ':' );
  2.                             OUString sPrefix = sTmpl.copy( 0L, nColonPos );
  3.                             if ( sPrefix == "Style" )
  4.                             {
  5.                                 aTemplateName = sTmpl.copy( 7L );   //get string behind "Style: "
  6.                             }
  7.                             else if ( sPrefix == "Outline" )
  8.                             {
  9.                                 nTemplateOutlineLevel = ( sTmpl.copy( 15L )).toInt32(); //get string behind "Outline: Leve  ";
  10.                                 bCreateByOutlineLevel = true;
  11.                             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement