version 1.60, 2000/02/08 16:29:37
|
version 1.61, 2000/02/10 09:42:37
|
Line 403 Document document;
|
Line 403 Document document;
|
WithToC = FALSE; |
WithToC = FALSE; |
IgnoreCSS = FALSE; |
IgnoreCSS = FALSE; |
PrintURL = TRUE; |
PrintURL = TRUE; |
TtaSetPrintSchema (""); |
TtaSetPrintSchema (TEXT("")); |
/* no manual feed */ |
/* no manual feed */ |
ManualFeed = PP_OFF; |
ManualFeed = PP_OFF; |
TtaSetPrintParameter (PP_ManualFeed, ManualFeed); |
TtaSetPrintParameter (PP_ManualFeed, ManualFeed); |
Line 445 Document doc;
|
Line 445 Document doc;
|
properly */ |
properly */ |
SetInternalLinks (DocPrint); |
SetInternalLinks (DocPrint); |
if (PageSize == PP_A4) |
if (PageSize == PP_A4) |
TtaSetPrintSchema ("HTMLPLP"); |
TtaSetPrintSchema (TEXT("HTMLPLP")); |
else |
else |
TtaSetPrintSchema ("HTMLPLPUS"); |
TtaSetPrintSchema (TEXT("HTMLPLPUS")); |
ustrcat (viewsToPrint, TEXT("Links_view ")); |
ustrcat (viewsToPrint, TEXT("Links_view ")); |
} |
} |
else |
else |
Line 455 Document doc;
|
Line 455 Document doc;
|
if (PageSize == PP_A4) |
if (PageSize == PP_A4) |
{ |
{ |
if (textFile) |
if (textFile) |
TtaSetPrintSchema ("TextFilePP"); |
TtaSetPrintSchema (TEXT("TextFilePP")); |
else |
else |
TtaSetPrintSchema ("HTMLPP"); |
TtaSetPrintSchema (TEXT("HTMLPP")); |
} |
} |
else |
else |
{ |
{ |
if (textFile) |
if (textFile) |
TtaSetPrintSchema ("TextFilePPUS"); |
TtaSetPrintSchema (TEXT("TextFilePPUS")); |
else |
else |
TtaSetPrintSchema ("HTMLPPUS"); |
TtaSetPrintSchema (TEXT("HTMLPPUS")); |
} |
} |
} |
} |
/* post or remove the PrintURL attribute */ |
/* post or remove the PrintURL attribute */ |
Line 1077 IncludeCtxt *prev;
|
Line 1077 IncludeCtxt *prev;
|
|
|
/* look for anchors with the attribute rel within the element el */ |
/* look for anchors with the attribute rel within the element el */ |
attr = NULL; |
attr = NULL; |
attrType.AttrSSchema = TtaGetSSchema ("HTML", document); |
attrType.AttrSSchema = TtaGetSSchema (TEXT("HTML"), document); |
elType.ElSSchema = attrType.AttrSSchema; |
elType.ElSSchema = attrType.AttrSSchema; |
elType.ElTypeNum = HTML_EL_Anchor; |
elType.ElTypeNum = HTML_EL_Anchor; |
|
|