Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sal_Int32 nColonPos = sTmpl.indexOf( ':' );
- OUString sPrefix = sTmpl.copy( 0L, nColonPos );
- if ( sPrefix == "Style" )
- {
- aTemplateName = sTmpl.copy( 7L ); //get string behind "Style: "
- }
- else if ( sPrefix == "Outline" )
- {
- nTemplateOutlineLevel = ( sTmpl.copy( 15L )).toInt32(); //get string behind "Outline: Leve ";
- bCreateByOutlineLevel = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement