Hello Niklas,
I encounter some questions when I have a look at preview's code , I want to ask 
you.

1.What is the variable(Point aOffset) used for in class ScPreview?

2. In function ScPreviewShell::UpdateScrollBars(), there are two variables:
Size aPageSize = ((const SvxSizeItem&) 
pParamSet->Get(ATTR_PAGE_SIZE)).GetSize() and
Size aWindowSize = pPreview->GetOutputSize()
I want to know the difference between them in details.
Btw, whether aPageSize is the white area when previewing while aWindowSize is 
the grey area? 

3.In pDocShell->GetOutputFactor(),what is the document output factor used for?

4.What are TWIPS_PER_PIXEL,HMM_PER_TWIPS and CM_PER_TWIPS used for ScPreview?

I'm looking forwards to your help!

Thanks & Best Regards



maoyg
2007-11-19

Reply via email to