|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDocument
Interface is used for document description.
| Nested Class Summary | |
|---|---|
static class |
IDocument.Stub
Local-side IPC implementation stub class. |
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Shows text for user(usually document name, document path, etc) |
android.graphics.Bitmap |
getPageThumbnail(int pageNum)
Gets page thumbnail. |
int |
getTotalPages()
Returns total pages |
void |
initDeviceContext(IPrinterContext printerContext,
int thumbnailWidth,
int thumbnailHeight)
Initializes printers context. |
android.graphics.Bitmap |
renderPageFragment(int num,
android.graphics.Rect fragment)
Gets page fragment. |
| Method Detail |
|---|
void initDeviceContext(IPrinterContext printerContext,
int thumbnailWidth,
int thumbnailHeight)
throws android.os.RemoteException
printerContext - printers contextthumbnailWidth - Maximum thumbnail width in pixelsthumbnailHeight - Maximum thumbnail height in pixels
android.os.RemoteException
java.lang.String getDescription()
throws android.os.RemoteException
android.os.RemoteException
android.graphics.Bitmap getPageThumbnail(int pageNum)
throws android.os.RemoteException
pageNum - page number
android.os.RemoteException
int getTotalPages()
throws android.os.RemoteException
android.os.RemoteException
android.graphics.Bitmap renderPageFragment(int num,
android.graphics.Rect fragment)
throws android.os.RemoteException
num - page numberfragment - rect of the fragment
android.os.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||