Publishing Engine Programmer's Guide > PTC Arbortext Publishing > The Publishing Framework > The Outer Layer of the Publishing Framework > The Publishing Framework Callback Functions > The fixup Callback
  
The fixup Callback
The fix-up callback is always called just before compose_for_type runs the content pipeline. This is the final opportunity to get operation-specific parameters set correctly before the content pipeline runs.
comp_type::fixup_cb(doc, params)
doc
is the document being published
params
is the parameter array
-1
error detected, error message was logged
0
error detected, no message was logged
1
success
2
processing should continue, but compose_for_type should skip running the content pipeline