ooodev.format.inner.common.border_width_impl module
- class ooodev.format.inner.common.border_width_impl.BorderWidthImpl(nFlags, nRate1, nRate2, nRateGap)[source]
Bases:
object
Border Width Implementation
- Parameters:
nFlags (BorderWidthImplFlags) –
nRate1 (float) –
nRate2 (float) –
nRateGap (float) –
- __init__(nFlags, nRate1, nRate2, nRateGap)[source]
- Parameters:
nFlags (BorderWidthImplFlags) –
nRate1 (float) –
nRate2 (float) –
nRateGap (float) –
- Return type:
None
- guess_width(nLine1, nLine2, nGap)[source]
- Return type:
int
- Parameters:
nLine1 (int) –
nLine2 (int) –
nGap (int) –
- lcl_guessed_width(nTested, nRate, bChanging)[source]
- Return type:
float
- Parameters:
nTested (int) –
nRate (float) –
bChanging (bool) –
- MINGAPWIDTH = 2