https://bugs.documentfoundation.org/show_bug.cgi?id=155812

--- Comment #15 from eric li <[email protected]> ---
(In reply to Michael Weghorn from comment #13)
> (In reply to eric li from comment #12)
> > I went through the source code,,looks like every time Libreoffice would
> > loaded and rendered all the pages of the file ,,that could be the major
> > issue of this..How can we change it?
> 
> Are all pages actually rendered or is the loading of the document (parsing
> of the XML content etc.) what takes so much time?
> IIUC, the general idea is to only render what's necessary, so if rendering
> for all pages is done, maybe it's possible to only request rendering of
> (approximately) the part that's visible?

maybe it is not the rendering issue , as usually, normal GUI framwork rendering
happens when load the right pages....when I checked the logs out
 public void resetParts(){
        mContext.getDocumentPartView().clear();
        if (mDocument.getDocumentType() != Document.DOCTYPE_TEXT) {
            int parts = mDocument.getParts();
            for (int i = 0; i < parts; i++) {
                String partName = mDocument.getPartName(i);

                if (partName.isEmpty()) {
                    partName = getGenericPartName(i);
                }
                Log.i(LOGTAG, "resetParts: " + partName);
                mDocument.setPart(i);
                resetDocumentSize();
                final DocumentPartView partView = new DocumentPartView(i,
partName);
                mContext.getDocumentPartView().add(partView);
            }
        }


 Log.i(LOGTAG, "resetParts: " + partName);  this line was keeping generating
the logs parname will increase,,So I guess  the "part" means page...after the
partname increased to the end page..the file started to be opened..

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to