Interface LayoutTransformationService
-
public interface LayoutTransformationService
The service is responsible for the hippo model transformation phase in layout process.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Dispoces the service.HippoTransformResult
transform(FormTransformationContext transformationContext, HorStrategy startHorStrategy, int maxWidth, int maxHeight, ILogFormMobileInfoProvider mobileInfoProvider, Version version, String languageCode, CompatibilityMode compatibilityMode, IPlatformVisualComputer visualComputer)
Executes the transformation stage for the given hippo layout model.
-
-
-
Method Detail
-
transform
HippoTransformResult transform(FormTransformationContext transformationContext, HorStrategy startHorStrategy, int maxWidth, int maxHeight, ILogFormMobileInfoProvider mobileInfoProvider, Version version, String languageCode, CompatibilityMode compatibilityMode, IPlatformVisualComputer visualComputer)
Executes the transformation stage for the given hippo layout model.The size calculation and transformation of layout model.
- Parameters:
transformationContext
- the transformation context, cannot benull
startHorStrategy
- the start horisontal strategy, cannot benull
maxWidth
- the max form widthmaxHeight
- the max form heightversion
- the project version, cannot benull
languageCode
- the language code of the configuration editing language, cannot benull
compatibilityMode
- the project compatibility mode, cannot benull
visualComputer
- the visual computer, analog of measurer in platform, cannot benull
- Returns:
- transformed hippo layout model, cannot be
null
-
dispose
void dispose()
Dispoces the service.
-
-