in d3d/archive/images/d3d11/postproc.pl [554:589]
sub text
{
my($self, $origtext, $is_cdata) = @_;
if ( $in_int && $::no_int ) { return; }
if ( $in_api && $::in_api ) { return; }
if ( $in_ddi && $::no_ddi ) { return; }
if ( $in_rem && $::no_rem ) { return; }
if ( $in_del10To11 && $::no_del10To11 ) { return; }
if ($InHeader) { $Header .= $origtext; }
else
{
if( $bInLinkDefinition eq true )
{
if( $origtext =~ /(.*)(\s*)$UseUnlabeledLink(\s*)(.*)/ )
{
PrintWithNamesResolved $1.$4; # don't label this link with section number, and skip the tag telling us that.
}
elsif( $origtext =~ /(.*)(\s*)$OutsideLink(\s*)(.*)/ )
{
$DeclaredOutsideLinks{$CurrLinkTag} = 1; # remember that the outside link has been declared
PrintWithNamesResolved $1.$4.$LinkSectionTag."\[".$CurrLinkTag."\]"; #strip $OutsideLink
}
else
{
PrintWithNamesResolved $origtext.$LinkSectionTag."\[".$CurrLinkTag."\]";
}
$bInLinkDefinition = false;
}
else
{
$origtext = ChapterTOC SectionTOC $origtext;
PrintWithNamesResolved $origtext;
}
}
}