Jump to: navigation, search

Difference between revisions of "SYSCLS DOCUMENT FITMODE"


m
(See also)
 
(4 intermediate revisions by 3 users not shown)
Line 9: Line 9:
 
}}
 
}}
  
The DOCUMENT FITMODE is a classification that allows a ubik data designer do pre-define how a document will be initially presented on the client, before any pan-zoom user interaction was done. This gives the possibility to optimize the user experience when quickly browsing through documents.  For multi-page documents, the setting applies to the first page only. The needed parameter can be provided individually for each document by defining a value the property "FIT_TYPE" (see table below):
+
The DOCUMENT FITMODE is a classification that allows a ubik data designer do pre-define how a document will be initially presented on the client, before any pan-zoom user interaction was done. This gives the possibility to optimize the user experience when quickly browsing through documents. The needed parameter can be provided individually for each document by defining a value the property "FIT_MODE" (see table below):
  
* 0 ... Unspecified (default): The document will be shown as it is (100%)
+
* 0 ... Unspecified (default): The document will be shown as it is (100%). If the document is larger than the presentation area it will be cropped randomly.
* 1 ... Fit to container: The document will be fitted to the presentation area in the UI.
+
* 1 ... Fit to container: The document will be fitted to the presentation area in the UI. This will ensure that the document will not be cropped.
* 2 ... Fit to width: The document scaling will be adapted to use the full presentation area width.
+
* 2 ... Fit to width: The document scaling will be adapted to use the full presentation area width. If the document height is larger than the presentation area height, it will be cropped.
* 3 ... Fit to height: The document scaling will be adapted to use the full presentation area height.
+
  
 
== MetaProperties ==
 
== MetaProperties ==
Line 21: Line 20:
 
! width=30% | Name !! width=30% | Data type !! Comment
 
! width=30% | Name !! width=30% | Data type !! Comment
 
|-
 
|-
| FIT_MODE|| {{int}} || Document "Fit to" mode;<br/>0 - "Unspecified"<br/>1 - "Fit to container"<br/>2 - "Fit to width"<br/>3 - "Fit to height"
+
| FIT_MODE|| {{int}} || Document "Fit to" mode;<br/>0 - "Unspecified"<br/>1 - "Fit to container"<br/>2 - "Fit to width"
 
|}
 
|}
  
Line 27: Line 26:
 
* [[HowTo:Create_a_new_Classification]]
 
* [[HowTo:Create_a_new_Classification]]
 
* [[HowTo:Assign a Classification to a MetaClass]]
 
* [[HowTo:Assign a Classification to a MetaClass]]
 
+
* [[UBIK_WinX_Client_Basics#Fit_Mode]]
 
{{Category/Version|3.0.0}}
 
{{Category/Version|3.0.0}}
  
 
[[Category:3.0.0|SYSCLS DOCUMENT FITMODE]]
 
[[Category:3.0.0|SYSCLS DOCUMENT FITMODE]]
 
[[Category:Classifications|SYSCLS DOCUMENT FITMODE]]
 
[[Category:Classifications|SYSCLS DOCUMENT FITMODE]]

Latest revision as of 13:04, 30 October 2024

IC CLASSIFICATION.gif SYSCLS_DOCUMENT_FITMODE
Name SYSCLS_DOCUMENT_FITMODE
Inheritance SYSCLS_DOCUMENT
Namespace System.Classification.Presentation
ID {5ac5aa58-d59e-dc68-645d-0206ee75e688}
Purpose Document "Fit to" mode classification object
Version 2.6.3+

The DOCUMENT FITMODE is a classification that allows a ubik data designer do pre-define how a document will be initially presented on the client, before any pan-zoom user interaction was done. This gives the possibility to optimize the user experience when quickly browsing through documents. The needed parameter can be provided individually for each document by defining a value the property "FIT_MODE" (see table below):

  • 0 ... Unspecified (default): The document will be shown as it is (100%). If the document is larger than the presentation area it will be cropped randomly.
  • 1 ... Fit to container: The document will be fitted to the presentation area in the UI. This will ensure that the document will not be cropped.
  • 2 ... Fit to width: The document scaling will be adapted to use the full presentation area width. If the document height is larger than the presentation area height, it will be cropped.

MetaProperties

Name Data type Comment
FIT_MODE Int Document "Fit to" mode;
0 - "Unspecified"
1 - "Fit to container"
2 - "Fit to width"

See also