Files
libreoffice/xmloff/inc/xmlprop.hxx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

685 lines
49 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include <rtl/ustring.hxx>
inline constexpr OUString PROP_ = u""_ustr;
inline constexpr OUString PROP_AdjustBlue = u"AdjustBlue"_ustr;
inline constexpr OUString PROP_AdjustContrast = u"AdjustContrast"_ustr;
inline constexpr OUString PROP_AdjustGreen = u"AdjustGreen"_ustr;
inline constexpr OUString PROP_AdjustLuminance = u"AdjustLuminance"_ustr;
inline constexpr OUString PROP_AdjustRed = u"AdjustRed"_ustr;
inline constexpr OUString PROP_AllowOverlap = u"AllowOverlap"_ustr;
inline constexpr OUString PROP_AnchorType = u"AnchorType"_ustr;
inline constexpr OUString PROP_ArrangeOrder = u"ArrangeOrder"_ustr;
inline constexpr OUString PROP_Aspect = u"Aspect"_ustr;
inline constexpr OUString PROP_AutomaticPosition = u"AutomaticPosition"_ustr;
inline constexpr OUString PROP_AutomaticSize = u"AutomaticSize"_ustr;
inline constexpr OUString PROP_BackColor = u"BackColor"_ustr;
inline constexpr OUString PROP_BackColorRGB = u"BackColorRGB"_ustr;
inline constexpr OUString PROP_BackColorTransparency = u"BackColorTransparency"_ustr;
inline constexpr OUString PROP_BackGraphic = u"BackGraphic"_ustr;
inline constexpr OUString PROP_BackGraphicFilter = u"BackGraphicFilter"_ustr;
inline constexpr OUString PROP_BackGraphicLocation = u"BackGraphicLocation"_ustr;
inline constexpr OUString PROP_BackGraphicTransparency = u"BackGraphicTransparency"_ustr;
inline constexpr OUString PROP_BackTransparent = u"BackTransparent"_ustr;
inline constexpr OUString PROP_BackgroundFullSize = u"BackgroundFullSize"_ustr;
inline constexpr OUString PROP_BorderColor = u"BorderColor"_ustr;
inline constexpr OUString PROP_BorderDistance = u"BorderDistance"_ustr;
inline constexpr OUString PROP_BottomBorder = u"BottomBorder"_ustr;
inline constexpr OUString PROP_BottomBorderDistance = u"BottomBorderDistance"_ustr;
inline constexpr OUString PROP_BottomMargin = u"BottomMargin"_ustr;
inline constexpr OUString PROP_BreakType = u"BreakType"_ustr;
inline constexpr OUString PROP_BuiltInUnit = u"BuiltInUnit"_ustr;
inline constexpr OUString PROP_CaptionAngle = u"CaptionAngle"_ustr;
inline constexpr OUString PROP_CaptionEscapeAbsolute = u"CaptionEscapeAbsolute"_ustr;
inline constexpr OUString PROP_CaptionEscapeDirection = u"CaptionEscapeDirection"_ustr;
inline constexpr OUString PROP_CaptionEscapeRelative = u"CaptionEscapeRelative"_ustr;
inline constexpr OUString PROP_CaptionGap = u"CaptionGap"_ustr;
inline constexpr OUString PROP_CaptionIsEscapeRelative = u"CaptionIsEscapeRelative"_ustr;
inline constexpr OUString PROP_CaptionIsFitLineLength = u"CaptionIsFitLineLength"_ustr;
inline constexpr OUString PROP_CaptionIsFixedAngle = u"CaptionIsFixedAngle"_ustr;
inline constexpr OUString PROP_CaptionLineLength = u"CaptionLineLength"_ustr;
inline constexpr OUString PROP_CaptionType = u"CaptionType"_ustr;
inline constexpr OUString PROP_CenterHorizontally = u"CenterHorizontally"_ustr;
inline constexpr OUString PROP_CenterVertically = u"CenterVertically"_ustr;
inline constexpr OUString PROP_Change = u"Change"_ustr;
inline constexpr OUString PROP_CharAutoKerning = u"CharAutoKerning"_ustr;
inline constexpr OUString PROP_CharBackColor = u"CharBackColor"_ustr;
inline constexpr OUString PROP_CharBackTransparent = u"CharBackTransparent"_ustr;
inline constexpr OUString PROP_CharBottomBorder = u"CharBottomBorder"_ustr;
inline constexpr OUString PROP_CharBottomBorderDistance = u"CharBottomBorderDistance"_ustr;
inline constexpr OUString PROP_CharCaseMap = u"CharCaseMap"_ustr;
inline constexpr OUString PROP_CharColor = u"CharColor"_ustr;
inline constexpr OUString PROP_CharComplexColor = u"CharComplexColor"_ustr;
inline constexpr OUString PROP_CharCombineIsOn = u"CharCombineIsOn"_ustr;
inline constexpr OUString PROP_CharCombinePrefix = u"CharCombinePrefix"_ustr;
inline constexpr OUString PROP_CharCombineSuffix = u"CharCombineSuffix"_ustr;
inline constexpr OUString PROP_CharContoured = u"CharContoured"_ustr;
inline constexpr OUString PROP_CharDiffHeight = u"CharDiffHeight"_ustr;
inline constexpr OUString PROP_CharDiffHeightAsian = u"CharDiffHeightAsian"_ustr;
inline constexpr OUString PROP_CharDiffHeightComplex = u"CharDiffHeightComplex"_ustr;
inline constexpr OUString PROP_CharEmphasis = u"CharEmphasis"_ustr;
inline constexpr OUString PROP_CharEscapement = u"CharEscapement"_ustr;
inline constexpr OUString PROP_CharEscapementHeight = u"CharEscapementHeight"_ustr;
inline constexpr OUString PROP_CharFlash = u"CharFlash"_ustr;
inline constexpr OUString PROP_CharFontCharSet = u"CharFontCharSet"_ustr;
inline constexpr OUString PROP_CharFontCharSetAsian = u"CharFontCharSetAsian"_ustr;
inline constexpr OUString PROP_CharFontCharSetComplex = u"CharFontCharSetComplex"_ustr;
inline constexpr OUString PROP_CharFontFamily = u"CharFontFamily"_ustr;
inline constexpr OUString PROP_CharFontFamilyAsian = u"CharFontFamilyAsian"_ustr;
inline constexpr OUString PROP_CharFontFamilyComplex = u"CharFontFamilyComplex"_ustr;
inline constexpr OUString PROP_CharFontName = u"CharFontName"_ustr;
inline constexpr OUString PROP_CharFontNameAsian = u"CharFontNameAsian"_ustr;
inline constexpr OUString PROP_CharFontNameComplex = u"CharFontNameComplex"_ustr;
inline constexpr OUString PROP_CharFontPitch = u"CharFontPitch"_ustr;
inline constexpr OUString PROP_CharFontPitchAsian = u"CharFontPitchAsian"_ustr;
inline constexpr OUString PROP_CharFontPitchComplex = u"CharFontPitchComplex"_ustr;
inline constexpr OUString PROP_CharFontStyleName = u"CharFontStyleName"_ustr;
inline constexpr OUString PROP_CharFontStyleNameAsian = u"CharFontStyleNameAsian"_ustr;
inline constexpr OUString PROP_CharFontStyleNameComplex = u"CharFontStyleNameComplex"_ustr;
inline constexpr OUString PROP_CharHeight = u"CharHeight"_ustr;
inline constexpr OUString PROP_CharHeightAsian = u"CharHeightAsian"_ustr;
inline constexpr OUString PROP_CharHeightComplex = u"CharHeightComplex"_ustr;
inline constexpr OUString PROP_CharHidden = u"CharHidden"_ustr;
inline constexpr OUString PROP_CharHighlight = u"CharHighlight"_ustr;
inline constexpr OUString PROP_CharKerning = u"CharKerning"_ustr;
inline constexpr OUString PROP_CharLeftBorder = u"CharLeftBorder"_ustr;
inline constexpr OUString PROP_CharLeftBorderDistance = u"CharLeftBorderDistance"_ustr;
inline constexpr OUString PROP_CharLocale = u"CharLocale"_ustr;
inline constexpr OUString PROP_CharLocaleAsian = u"CharLocaleAsian"_ustr;
inline constexpr OUString PROP_CharLocaleComplex = u"CharLocaleComplex"_ustr;
inline constexpr OUString PROP_CharNoHyphenation = u"CharNoHyphenation"_ustr;
inline constexpr OUString PROP_CharOverline = u"CharOverline"_ustr;
inline constexpr OUString PROP_CharOverlineColor = u"CharOverlineColor"_ustr;
inline constexpr OUString PROP_CharOverlineHasColor = u"CharOverlineHasColor"_ustr;
inline constexpr OUString PROP_CharPosture = u"CharPosture"_ustr;
inline constexpr OUString PROP_CharPostureAsian = u"CharPostureAsian"_ustr;
inline constexpr OUString PROP_CharPostureComplex = u"CharPostureComplex"_ustr;
inline constexpr OUString PROP_CharPropHeight = u"CharPropHeight"_ustr;
inline constexpr OUString PROP_CharPropHeightAsian = u"CharPropHeightAsian"_ustr;
inline constexpr OUString PROP_CharPropHeightComplex = u"CharPropHeightComplex"_ustr;
inline constexpr OUString PROP_CharRelief = u"CharRelief"_ustr;
inline constexpr OUString PROP_CharRightBorder = u"CharRightBorder"_ustr;
inline constexpr OUString PROP_CharRightBorderDistance = u"CharRightBorderDistance"_ustr;
inline constexpr OUString PROP_CharRotation = u"CharRotation"_ustr;
inline constexpr OUString PROP_CharRotationIsFitToLine = u"CharRotationIsFitToLine"_ustr;
inline constexpr OUString PROP_CharScaleWidth = u"CharScaleWidth"_ustr;
inline constexpr OUString PROP_CharShadingValue = u"CharShadingValue"_ustr;
inline constexpr OUString PROP_CharShadowFormat = u"CharShadowFormat"_ustr;
inline constexpr OUString PROP_CharShadowed = u"CharShadowed"_ustr;
inline constexpr OUString PROP_CharStrikeout = u"CharStrikeout"_ustr;
inline constexpr OUString PROP_CharStyleName = u"CharStyleName"_ustr;
inline constexpr OUString PROP_CharTopBorder = u"CharTopBorder"_ustr;
inline constexpr OUString PROP_CharTopBorderDistance = u"CharTopBorderDistance"_ustr;
inline constexpr OUString PROP_CharTransparence = u"CharTransparence"_ustr;
inline constexpr OUString PROP_CharUnderline = u"CharUnderline"_ustr;
inline constexpr OUString PROP_CharUnderlineColor = u"CharUnderlineColor"_ustr;
inline constexpr OUString PROP_CharUnderlineHasColor = u"CharUnderlineHasColor"_ustr;
inline constexpr OUString PROP_CharWeight = u"CharWeight"_ustr;
inline constexpr OUString PROP_CharWeightAsian = u"CharWeightAsian"_ustr;
inline constexpr OUString PROP_CharWeightComplex = u"CharWeightComplex"_ustr;
inline constexpr OUString PROP_CharWordMode = u"CharWordMode"_ustr;
inline constexpr OUString PROP_ChartUserDefinedAttributes = u"ChartUserDefinedAttributes"_ustr;
inline constexpr OUString PROP_CollapsingBorders = u"CollapsingBorders"_ustr;
inline constexpr OUString PROP_ContentProtected = u"ContentProtected"_ustr;
inline constexpr OUString PROP_ContourOutside = u"ContourOutside"_ustr;
inline constexpr OUString PROP_ControlBackground = u"ControlBackground"_ustr;
inline constexpr OUString PROP_ControlBorder = u"ControlBorder"_ustr;
inline constexpr OUString PROP_ControlBorderColor = u"ControlBorderColor"_ustr;
inline constexpr OUString PROP_ControlDataStyle = u"ControlDataStyle"_ustr;
inline constexpr OUString PROP_ControlSymbolColor = u"ControlSymbolColor"_ustr;
inline constexpr OUString PROP_ControlTextEmphasis = u"ControlTextEmphasis"_ustr;
inline constexpr OUString PROP_ControlWritingMode = u"ControlWritingMode"_ustr;
inline constexpr OUString PROP_CrossoverPosition = u"CrossoverPosition"_ustr;
inline constexpr OUString PROP_CrossoverValue = u"CrossoverValue"_ustr;
inline constexpr OUString PROP_CurveName = u"CurveName"_ustr;
inline constexpr OUString PROP_D3DBackscale = u"D3DBackscale"_ustr;
inline constexpr OUString PROP_D3DCloseBack = u"D3DCloseBack"_ustr;
inline constexpr OUString PROP_D3DCloseFront = u"D3DCloseFront"_ustr;
inline constexpr OUString PROP_D3DDepth = u"D3DDepth"_ustr;
inline constexpr OUString PROP_D3DDoubleSided = u"D3DDoubleSided"_ustr;
inline constexpr OUString PROP_D3DEndAngle = u"D3DEndAngle"_ustr;
inline constexpr OUString PROP_D3DHorizontalSegments = u"D3DHorizontalSegments"_ustr;
inline constexpr OUString PROP_D3DMaterialColor = u"D3DMaterialColor"_ustr;
inline constexpr OUString PROP_D3DMaterialEmission = u"D3DMaterialEmission"_ustr;
inline constexpr OUString PROP_D3DMaterialSpecular = u"D3DMaterialSpecular"_ustr;
inline constexpr OUString PROP_D3DMaterialSpecularIntensity = u"D3DMaterialSpecularIntensity"_ustr;
inline constexpr OUString PROP_D3DNormalsInvert = u"D3DNormalsInvert"_ustr;
inline constexpr OUString PROP_D3DNormalsKind = u"D3DNormalsKind"_ustr;
inline constexpr OUString PROP_D3DPercentDiagonal = u"D3DPercentDiagonal"_ustr;
inline constexpr OUString PROP_D3DShadow3D = u"D3DShadow3D"_ustr;
inline constexpr OUString PROP_D3DTextureFilter = u"D3DTextureFilter"_ustr;
inline constexpr OUString PROP_D3DTextureKind = u"D3DTextureKind"_ustr;
inline constexpr OUString PROP_D3DTextureMode = u"D3DTextureMode"_ustr;
inline constexpr OUString PROP_D3DTextureProjectionX = u"D3DTextureProjectionX"_ustr;
inline constexpr OUString PROP_D3DTextureProjectionY = u"D3DTextureProjectionY"_ustr;
inline constexpr OUString PROP_D3DVerticalSegments = u"D3DVerticalSegments"_ustr;
inline constexpr OUString PROP_DataCaption = u"DataCaption"_ustr;
inline constexpr OUString PROP_DataRowSource = u"DataRowSource"_ustr;
inline constexpr OUString PROP_DataTableHBorder = u"DataTableHBorder"_ustr;
inline constexpr OUString PROP_DataTableOutline = u"DataTableOutline"_ustr;
inline constexpr OUString PROP_DataTableVBorder = u"DataTableVBorder"_ustr;
inline constexpr OUString PROP_Decorative = u"Decorative"_ustr;
inline constexpr OUString PROP_Deep = u"Deep"_ustr;
inline constexpr OUString PROP_DefaultOutlineLevel = u"DefaultOutlineLevel"_ustr;
inline constexpr OUString PROP_Dim3D = u"Dim3D"_ustr;
inline constexpr OUString PROP_DisplayLabels = u"DisplayLabels"_ustr;
inline constexpr OUString PROP_DisplayUnits = u"DisplayUnits"_ustr;
inline constexpr OUString PROP_DontBalanceTextColumns = u"DontBalanceTextColumns"_ustr;
inline constexpr OUString PROP_DropCapCharStyleName = u"DropCapCharStyleName"_ustr;
inline constexpr OUString PROP_DropCapFormat = u"DropCapFormat"_ustr;
inline constexpr OUString PROP_DropCapWholeWord = u"DropCapWholeWord"_ustr;
inline constexpr OUString PROP_EdgeNode1HorzDist = u"EdgeNode1HorzDist"_ustr;
inline constexpr OUString PROP_EdgeNode1VertDist = u"EdgeNode1VertDist"_ustr;
inline constexpr OUString PROP_EdgeNode2HorzDist = u"EdgeNode2HorzDist"_ustr;
inline constexpr OUString PROP_EdgeNode2VertDist = u"EdgeNode2VertDist"_ustr;
inline constexpr OUString PROP_EditInReadonly = u"EditInReadonly"_ustr;
inline constexpr OUString PROP_Effect = u"Effect"_ustr;
inline constexpr OUString PROP_EndnoteIsCollectAtTextEnd = u"EndnoteIsCollectAtTextEnd"_ustr;
inline constexpr OUString PROP_EndnoteIsOwnNumbering = u"EndnoteIsOwnNumbering"_ustr;
inline constexpr OUString PROP_EndnoteIsRestartNumbering = u"EndnoteIsRestartNumbering"_ustr;
inline constexpr OUString PROP_EndnoteNumberingPrefix = u"EndnoteNumberingPrefix"_ustr;
inline constexpr OUString PROP_EndnoteNumberingSuffix = u"EndnoteNumberingSuffix"_ustr;
inline constexpr OUString PROP_EndnoteNumberingType = u"EndnoteNumberingType"_ustr;
inline constexpr OUString PROP_EndnoteRestartNumberingAt = u"EndnoteRestartNumberingAt"_ustr;
inline constexpr OUString PROP_ErrorBarRangeNegative = u"ErrorBarRangeNegative"_ustr;
inline constexpr OUString PROP_ErrorBarRangePositive = u"ErrorBarRangePositive"_ustr;
inline constexpr OUString PROP_ErrorBarStyle = u"ErrorBarStyle"_ustr;
inline constexpr OUString PROP_ErrorMargin = u"ErrorMargin"_ustr;
inline constexpr OUString PROP_ExternalData = u"ExternalData"_ustr;
inline constexpr OUString PROP_ExtrapolateBackward = u"ExtrapolateBackward"_ustr;
inline constexpr OUString PROP_ExtrapolateForward = u"ExtrapolateForward"_ustr;
inline constexpr OUString PROP_FillBackground = u"FillBackground"_ustr;
inline constexpr OUString PROP_FillBitmapLogicalSize = u"FillBitmapLogicalSize"_ustr;
inline constexpr OUString PROP_FillBitmapMode = u"FillBitmapMode"_ustr;
inline constexpr OUString PROP_FillBitmapName = u"FillBitmapName"_ustr;
inline constexpr OUString PROP_FillBitmapOffsetX = u"FillBitmapOffsetX"_ustr;
inline constexpr OUString PROP_FillBitmapOffsetY = u"FillBitmapOffsetY"_ustr;
inline constexpr OUString PROP_FillBitmapPositionOffsetX = u"FillBitmapPositionOffsetX"_ustr;
inline constexpr OUString PROP_FillBitmapPositionOffsetY = u"FillBitmapPositionOffsetY"_ustr;
inline constexpr OUString PROP_FillBitmapRectanglePoint = u"FillBitmapRectanglePoint"_ustr;
inline constexpr OUString PROP_FillBitmapSizeX = u"FillBitmapSizeX"_ustr;
inline constexpr OUString PROP_FillBitmapSizeY = u"FillBitmapSizeY"_ustr;
inline constexpr OUString PROP_FillColor = u"FillColor"_ustr;
inline constexpr OUString PROP_FillColor2 = u"FillColor2"_ustr;
inline constexpr OUString PROP_FillComplexColor = u"FillComplexColor"_ustr;
inline constexpr OUString PROP_FillGradientName = u"FillGradientName"_ustr;
inline constexpr OUString PROP_FillGradientStepCount = u"FillGradientStepCount"_ustr;
inline constexpr OUString PROP_FillHatchName = u"FillHatchName"_ustr;
inline constexpr OUString PROP_FillStyle = u"FillStyle"_ustr;
inline constexpr OUString PROP_FillTransparence = u"FillTransparence"_ustr;
inline constexpr OUString PROP_FillTransparenceGradientName = u"FillTransparenceGradientName"_ustr;
inline constexpr OUString PROP_FillUseSlideBackground = u"FillUseSlideBackground"_ustr;
inline constexpr OUString PROP_FirstPageNumber = u"FirstPageNumber"_ustr;
inline constexpr OUString PROP_FontCharWidth = u"FontCharWidth"_ustr;
inline constexpr OUString PROP_FontCharset = u"FontCharset"_ustr;
inline constexpr OUString PROP_FontEmphasisMark = u"FontEmphasisMark"_ustr;
inline constexpr OUString PROP_FontFamily = u"FontFamily"_ustr;
inline constexpr OUString PROP_FontHeight = u"FontHeight"_ustr;
inline constexpr OUString PROP_FontIndependentLineSpacing = u"FontIndependentLineSpacing"_ustr;
inline constexpr OUString PROP_FontKerning = u"FontKerning"_ustr;
inline constexpr OUString PROP_FontName = u"FontName"_ustr;
inline constexpr OUString PROP_FontOrientation = u"FontOrientation"_ustr;
inline constexpr OUString PROP_FontPitch = u"FontPitch"_ustr;
inline constexpr OUString PROP_FontRelief = u"FontRelief"_ustr;
inline constexpr OUString PROP_FontSlant = u"FontSlant"_ustr;
inline constexpr OUString PROP_FontStrikeout = u"FontStrikeout"_ustr;
inline constexpr OUString PROP_FontStyleName = u"FontStyleName"_ustr;
inline constexpr OUString PROP_FontUnderline = u"FontUnderline"_ustr;
inline constexpr OUString PROP_FontWeight = u"FontWeight"_ustr;
inline constexpr OUString PROP_FontWidth = u"FontWidth"_ustr;
inline constexpr OUString PROP_FontWordLineMode = u"FontWordLineMode"_ustr;
inline constexpr OUString PROP_FontWorkAdjust = u"FontWorkAdjust"_ustr;
inline constexpr OUString PROP_FontWorkDistance = u"FontWorkDistance"_ustr;
inline constexpr OUString PROP_FontWorkForm = u"FontWorkForm"_ustr;
inline constexpr OUString PROP_FontWorkHideForm = u"FontWorkHideForm"_ustr;
inline constexpr OUString PROP_FontWorkMirror = u"FontWorkMirror"_ustr;
inline constexpr OUString PROP_FontWorkOutline = u"FontWorkOutline"_ustr;
inline constexpr OUString PROP_FontWorkShadow = u"FontWorkShadow"_ustr;
inline constexpr OUString PROP_FontWorkShadowColor = u"FontWorkShadowColor"_ustr;
inline constexpr OUString PROP_FontWorkShadowOffsetX = u"FontWorkShadowOffsetX"_ustr;
inline constexpr OUString PROP_FontWorkShadowOffsetY = u"FontWorkShadowOffsetY"_ustr;
inline constexpr OUString PROP_FontWorkShadowTransparence = u"FontWorkShadowTransparence"_ustr;
inline constexpr OUString PROP_FontWorkStart = u"FontWorkStart"_ustr;
inline constexpr OUString PROP_FontWorkStyle = u"FontWorkStyle"_ustr;
inline constexpr OUString PROP_FooterBackColor = u"FooterBackColor"_ustr;
inline constexpr OUString PROP_FooterBackGraphic = u"FooterBackGraphic"_ustr;
inline constexpr OUString PROP_FooterBackGraphicFilter = u"FooterBackGraphicFilter"_ustr;
inline constexpr OUString PROP_FooterBackGraphicLocation = u"FooterBackGraphicLocation"_ustr;
inline constexpr OUString PROP_FooterBackTransparent = u"FooterBackTransparent"_ustr;
inline constexpr OUString PROP_FooterBodyDistance = u"FooterBodyDistance"_ustr;
inline constexpr OUString PROP_FooterBottomBorder = u"FooterBottomBorder"_ustr;
inline constexpr OUString PROP_FooterBottomBorderDistance = u"FooterBottomBorderDistance"_ustr;
inline constexpr OUString PROP_FooterDynamicSpacing = u"FooterDynamicSpacing"_ustr;
inline constexpr OUString PROP_FooterFillBackground = u"FooterFillBackground"_ustr;
inline constexpr OUString PROP_FooterFillBitmapLogicalSize = u"FooterFillBitmapLogicalSize"_ustr;
inline constexpr OUString PROP_FooterFillBitmapMode = u"FooterFillBitmapMode"_ustr;
inline constexpr OUString PROP_FooterFillBitmapName = u"FooterFillBitmapName"_ustr;
inline constexpr OUString PROP_FooterFillBitmapOffsetX = u"FooterFillBitmapOffsetX"_ustr;
inline constexpr OUString PROP_FooterFillBitmapOffsetY = u"FooterFillBitmapOffsetY"_ustr;
inline constexpr OUString PROP_FooterFillBitmapPositionOffsetX
= u"FooterFillBitmapPositionOffsetX"_ustr;
inline constexpr OUString PROP_FooterFillBitmapPositionOffsetY
= u"FooterFillBitmapPositionOffsetY"_ustr;
inline constexpr OUString PROP_FooterFillBitmapRectanglePoint
= u"FooterFillBitmapRectanglePoint"_ustr;
inline constexpr OUString PROP_FooterFillBitmapSizeX = u"FooterFillBitmapSizeX"_ustr;
inline constexpr OUString PROP_FooterFillBitmapSizeY = u"FooterFillBitmapSizeY"_ustr;
inline constexpr OUString PROP_FooterFillColor = u"FooterFillColor"_ustr;
inline constexpr OUString PROP_FooterFillColor2 = u"FooterFillColor2"_ustr;
inline constexpr OUString PROP_FooterFillGradientName = u"FooterFillGradientName"_ustr;
inline constexpr OUString PROP_FooterFillGradientStepCount = u"FooterFillGradientStepCount"_ustr;
inline constexpr OUString PROP_FooterFillHatchName = u"FooterFillHatchName"_ustr;
inline constexpr OUString PROP_FooterFillStyle = u"FooterFillStyle"_ustr;
inline constexpr OUString PROP_FooterFillTransparence = u"FooterFillTransparence"_ustr;
inline constexpr OUString PROP_FooterFillTransparenceGradientName
= u"FooterFillTransparenceGradientName"_ustr;
inline constexpr OUString PROP_FooterHeight = u"FooterHeight"_ustr;
inline constexpr OUString PROP_FooterIsDynamicHeight = u"FooterIsDynamicHeight"_ustr;
inline constexpr OUString PROP_FooterLeftBorder = u"FooterLeftBorder"_ustr;
inline constexpr OUString PROP_FooterLeftBorderDistance = u"FooterLeftBorderDistance"_ustr;
inline constexpr OUString PROP_FooterLeftMargin = u"FooterLeftMargin"_ustr;
inline constexpr OUString PROP_FooterRightBorder = u"FooterRightBorder"_ustr;
inline constexpr OUString PROP_FooterRightBorderDistance = u"FooterRightBorderDistance"_ustr;
inline constexpr OUString PROP_FooterRightMargin = u"FooterRightMargin"_ustr;
inline constexpr OUString PROP_FooterShadowFormat = u"FooterShadowFormat"_ustr;
inline constexpr OUString PROP_FooterTopBorder = u"FooterTopBorder"_ustr;
inline constexpr OUString PROP_FooterTopBorderDistance = u"FooterTopBorderDistance"_ustr;
inline constexpr OUString PROP_FootnoteHeight = u"FootnoteHeight"_ustr;
inline constexpr OUString PROP_FootnoteIsCollectAtTextEnd = u"FootnoteIsCollectAtTextEnd"_ustr;
inline constexpr OUString PROP_FootnoteIsOwnNumbering = u"FootnoteIsOwnNumbering"_ustr;
inline constexpr OUString PROP_FootnoteIsRestartNumbering = u"FootnoteIsRestartNumbering"_ustr;
inline constexpr OUString PROP_FootnoteLineAdjust = u"FootnoteLineAdjust"_ustr;
inline constexpr OUString PROP_FootnoteLineColor = u"FootnoteLineColor"_ustr;
inline constexpr OUString PROP_FootnoteLineDistance = u"FootnoteLineDistance"_ustr;
inline constexpr OUString PROP_FootnoteLineRelativeWidth = u"FootnoteLineRelativeWidth"_ustr;
inline constexpr OUString PROP_FootnoteLineStyle = u"FootnoteLineStyle"_ustr;
inline constexpr OUString PROP_FootnoteLineTextDistance = u"FootnoteLineTextDistance"_ustr;
inline constexpr OUString PROP_FootnoteLineWeight = u"FootnoteLineWeight"_ustr;
inline constexpr OUString PROP_FootnoteNumberingPrefix = u"FootnoteNumberingPrefix"_ustr;
inline constexpr OUString PROP_FootnoteNumberingSuffix = u"FootnoteNumberingSuffix"_ustr;
inline constexpr OUString PROP_FootnoteNumberingType = u"FootnoteNumberingType"_ustr;
inline constexpr OUString PROP_FootnoteRestartNumberingAt = u"FootnoteRestartNumberingAt"_ustr;
inline constexpr OUString PROP_ForceIntercept = u"ForceIntercept"_ustr;
inline constexpr OUString PROP_FrameIsAutoScroll = u"FrameIsAutoScroll"_ustr;
inline constexpr OUString PROP_FrameIsBorder = u"FrameIsBorder"_ustr;
inline constexpr OUString PROP_FrameMarginHeight = u"FrameMarginHeight"_ustr;
inline constexpr OUString PROP_FrameMarginWidth = u"FrameMarginWidth"_ustr;
inline constexpr OUString PROP_Gamma = u"Gamma"_ustr;
inline constexpr OUString PROP_GapWidth = u"GapWidth"_ustr;
inline constexpr OUString PROP_GlowEffectColor = u"GlowEffectColor"_ustr;
inline constexpr OUString PROP_GlowEffectRadius = u"GlowEffectRadius"_ustr;
inline constexpr OUString PROP_GlowEffectTransparency = u"GlowEffectTransparency"_ustr;
inline constexpr OUString PROP_GlowTextEffectColor = u"GlowTextEffectColor"_ustr;
inline constexpr OUString PROP_GlowTextEffectRadius = u"GlowTextEffectRadius"_ustr;
inline constexpr OUString PROP_GlowTextEffectTransparency = u"GlowTextEffectTransparency"_ustr;
inline constexpr OUString PROP_GraphicColorMode = u"GraphicColorMode"_ustr;
inline constexpr OUString PROP_GraphicCrop = u"GraphicCrop"_ustr;
inline constexpr OUString PROP_GraphicIsInverted = u"GraphicIsInverted"_ustr;
inline constexpr OUString PROP_GridBaseHeight = u"GridBaseHeight"_ustr;
inline constexpr OUString PROP_GridBaseWidth = u"GridBaseWidth"_ustr;
inline constexpr OUString PROP_GridColor = u"GridColor"_ustr;
inline constexpr OUString PROP_GridDisplay = u"GridDisplay"_ustr;
inline constexpr OUString PROP_GridLines = u"GridLines"_ustr;
inline constexpr OUString PROP_GridMode = u"GridMode"_ustr;
inline constexpr OUString PROP_GridPrint = u"GridPrint"_ustr;
inline constexpr OUString PROP_GridRubyHeight = u"GridRubyHeight"_ustr;
inline constexpr OUString PROP_GridSnapToChars = u"GridSnapToChars"_ustr;
inline constexpr OUString PROP_GroupBarsPerAxis = u"GroupBarsPerAxis"_ustr;
inline constexpr OUString PROP_GutterMargin = u"GutterMargin"_ustr;
inline constexpr OUString PROP_HBorder = u"HBorder"_ustr;
inline constexpr OUString PROP_HeaderBackColor = u"HeaderBackColor"_ustr;
inline constexpr OUString PROP_HeaderBackGraphic = u"HeaderBackGraphic"_ustr;
inline constexpr OUString PROP_HeaderBackGraphicFilter = u"HeaderBackGraphicFilter"_ustr;
inline constexpr OUString PROP_HeaderBackGraphicLocation = u"HeaderBackGraphicLocation"_ustr;
inline constexpr OUString PROP_HeaderBackTransparent = u"HeaderBackTransparent"_ustr;
inline constexpr OUString PROP_HeaderBodyDistance = u"HeaderBodyDistance"_ustr;
inline constexpr OUString PROP_HeaderBottomBorder = u"HeaderBottomBorder"_ustr;
inline constexpr OUString PROP_HeaderBottomBorderDistance = u"HeaderBottomBorderDistance"_ustr;
inline constexpr OUString PROP_HeaderDynamicSpacing = u"HeaderDynamicSpacing"_ustr;
inline constexpr OUString PROP_HeaderFillBackground = u"HeaderFillBackground"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapLogicalSize = u"HeaderFillBitmapLogicalSize"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapMode = u"HeaderFillBitmapMode"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapName = u"HeaderFillBitmapName"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapOffsetX = u"HeaderFillBitmapOffsetX"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapOffsetY = u"HeaderFillBitmapOffsetY"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapPositionOffsetX
= u"HeaderFillBitmapPositionOffsetX"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapPositionOffsetY
= u"HeaderFillBitmapPositionOffsetY"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapRectanglePoint
= u"HeaderFillBitmapRectanglePoint"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapSizeX = u"HeaderFillBitmapSizeX"_ustr;
inline constexpr OUString PROP_HeaderFillBitmapSizeY = u"HeaderFillBitmapSizeY"_ustr;
inline constexpr OUString PROP_HeaderFillColor = u"HeaderFillColor"_ustr;
inline constexpr OUString PROP_HeaderFillColor2 = u"HeaderFillColor2"_ustr;
inline constexpr OUString PROP_HeaderFillGradientName = u"HeaderFillGradientName"_ustr;
inline constexpr OUString PROP_HeaderFillGradientStepCount = u"HeaderFillGradientStepCount"_ustr;
inline constexpr OUString PROP_HeaderFillHatchName = u"HeaderFillHatchName"_ustr;
inline constexpr OUString PROP_HeaderFillStyle = u"HeaderFillStyle"_ustr;
inline constexpr OUString PROP_HeaderFillTransparence = u"HeaderFillTransparence"_ustr;
inline constexpr OUString PROP_HeaderFillTransparenceGradientName
= u"HeaderFillTransparenceGradientName"_ustr;
inline constexpr OUString PROP_HeaderHeight = u"HeaderHeight"_ustr;
inline constexpr OUString PROP_HeaderIsDynamicHeight = u"HeaderIsDynamicHeight"_ustr;
inline constexpr OUString PROP_HeaderLeftBorder = u"HeaderLeftBorder"_ustr;
inline constexpr OUString PROP_HeaderLeftBorderDistance = u"HeaderLeftBorderDistance"_ustr;
inline constexpr OUString PROP_HeaderLeftMargin = u"HeaderLeftMargin"_ustr;
inline constexpr OUString PROP_HeaderRightBorder = u"HeaderRightBorder"_ustr;
inline constexpr OUString PROP_HeaderRightBorderDistance = u"HeaderRightBorderDistance"_ustr;
inline constexpr OUString PROP_HeaderRightMargin = u"HeaderRightMargin"_ustr;
inline constexpr OUString PROP_HeaderShadowFormat = u"HeaderShadowFormat"_ustr;
inline constexpr OUString PROP_HeaderTopBorder = u"HeaderTopBorder"_ustr;
inline constexpr OUString PROP_HeaderTopBorderDistance = u"HeaderTopBorderDistance"_ustr;
inline constexpr OUString PROP_Height = u"Height"_ustr;
inline constexpr OUString PROP_HelpMarks = u"HelpMarks"_ustr;
inline constexpr OUString PROP_HighResDuration = u"HighResDuration"_ustr;
inline constexpr OUString PROP_HoriMirroredOnEvenPages = u"HoriMirroredOnEvenPages"_ustr;
inline constexpr OUString PROP_HoriMirroredOnOddPages = u"HoriMirroredOnOddPages"_ustr;
inline constexpr OUString PROP_HoriOrient = u"HoriOrient"_ustr;
inline constexpr OUString PROP_HoriOrientPosition = u"HoriOrientPosition"_ustr;
inline constexpr OUString PROP_HoriOrientRelation = u"HoriOrientRelation"_ustr;
inline constexpr OUString PROP_HyperLinkURL = u"HyperLinkURL"_ustr;
inline constexpr OUString PROP_ImageScaleMode = u"ImageScaleMode"_ustr;
inline constexpr OUString PROP_IncludeHiddenCells = u"IncludeHiddenCells"_ustr;
inline constexpr OUString PROP_InterceptValue = u"InterceptValue"_ustr;
inline constexpr OUString PROP_IsBackgroundObjectsVisible = u"IsBackgroundObjectsVisible"_ustr;
inline constexpr OUString PROP_IsBackgroundVisible = u"IsBackgroundVisible"_ustr;
inline constexpr OUString PROP_IsDateTimeVisible = u"IsDateTimeVisible"_ustr;
inline constexpr OUString PROP_IsFollowingTextFlow = u"IsFollowingTextFlow"_ustr;
inline constexpr OUString PROP_IsFooterVisible = u"IsFooterVisible"_ustr;
inline constexpr OUString PROP_IsHeaderVisible = u"IsHeaderVisible"_ustr;
inline constexpr OUString PROP_IsInternal = u"IsInternal"_ustr;
inline constexpr OUString PROP_IsLandscape = u"IsLandscape"_ustr;
inline constexpr OUString PROP_IsMirrored = u"IsMirrored"_ustr;
inline constexpr OUString PROP_IsPageNumberVisible = u"IsPageNumberVisible"_ustr;
inline constexpr OUString PROP_IsSplitAllowed = u"IsSplitAllowed"_ustr;
inline constexpr OUString PROP_Keys = u"Keys"_ustr;
inline constexpr OUString PROP_LabelBorderColor = u"LabelBorderColor"_ustr;
inline constexpr OUString PROP_LabelBorderStyle = u"LabelBorderStyle"_ustr;
inline constexpr OUString PROP_LabelBorderTransparency = u"LabelBorderTransparency"_ustr;
inline constexpr OUString PROP_LabelBorderWidth = u"LabelBorderWidth"_ustr;
inline constexpr OUString PROP_LabelFillBackground = u"LabelFillBackground"_ustr;
inline constexpr OUString PROP_LabelFillColor = u"LabelFillColor"_ustr;
inline constexpr OUString PROP_LabelFillHatchName = u"LabelFillHatchName"_ustr;
inline constexpr OUString PROP_LabelFillStyle = u"LabelFillStyle"_ustr;
inline constexpr OUString PROP_LabelPlacement = u"LabelPlacement"_ustr;
inline constexpr OUString PROP_LabelPosition = u"LabelPosition"_ustr;
inline constexpr OUString PROP_LabelSeparator = u"LabelSeparator"_ustr;
inline constexpr OUString PROP_LeftBorder = u"LeftBorder"_ustr;
inline constexpr OUString PROP_LeftBorderDistance = u"LeftBorderDistance"_ustr;
inline constexpr OUString PROP_LeftMargin = u"LeftMargin"_ustr;
inline constexpr OUString PROP_LineCap = u"LineCap"_ustr;
inline constexpr OUString PROP_LineColor = u"LineColor"_ustr;
inline constexpr OUString PROP_LineComplexColor = u"LineComplexColor"_ustr;
inline constexpr OUString PROP_LineDashName = u"LineDashName"_ustr;
inline constexpr OUString PROP_LineEndCenter = u"LineEndCenter"_ustr;
inline constexpr OUString PROP_LineEndName = u"LineEndName"_ustr;
inline constexpr OUString PROP_LineEndWidth = u"LineEndWidth"_ustr;
inline constexpr OUString PROP_LineJoint = u"LineJoint"_ustr;
inline constexpr OUString PROP_LineStartCenter = u"LineStartCenter"_ustr;
inline constexpr OUString PROP_LineStartName = u"LineStartName"_ustr;
inline constexpr OUString PROP_LineStartWidth = u"LineStartWidth"_ustr;
inline constexpr OUString PROP_LineStyle = u"LineStyle"_ustr;
inline constexpr OUString PROP_LineTransparence = u"LineTransparence"_ustr;
inline constexpr OUString PROP_LineWidth = u"LineWidth"_ustr;
inline constexpr OUString PROP_Lines = u"Lines"_ustr;
inline constexpr OUString PROP_LinkNumberFormatToSource = u"LinkNumberFormatToSource"_ustr;
inline constexpr OUString PROP_ListAutoFormat = u"ListAutoFormat"_ustr;
inline constexpr OUString PROP_Logarithmic = u"Logarithmic"_ustr;
inline constexpr OUString PROP_MajorOrigin = u"MajorOrigin"_ustr;
inline constexpr OUString PROP_MarkPosition = u"MarkPosition"_ustr;
inline constexpr OUString PROP_Marks = u"Marks"_ustr;
inline constexpr OUString PROP_Max = u"Max"_ustr;
inline constexpr OUString PROP_MeanValue = u"MeanValue"_ustr;
inline constexpr OUString PROP_MeasureBelowReferenceEdge = u"MeasureBelowReferenceEdge"_ustr;
inline constexpr OUString PROP_MeasureDecimalPlaces = u"MeasureDecimalPlaces"_ustr;
inline constexpr OUString PROP_MeasureHelpLine1Length = u"MeasureHelpLine1Length"_ustr;
inline constexpr OUString PROP_MeasureHelpLine2Length = u"MeasureHelpLine2Length"_ustr;
inline constexpr OUString PROP_MeasureHelpLineDistance = u"MeasureHelpLineDistance"_ustr;
inline constexpr OUString PROP_MeasureHelpLineOverhang = u"MeasureHelpLineOverhang"_ustr;
inline constexpr OUString PROP_MeasureLineDistance = u"MeasureLineDistance"_ustr;
inline constexpr OUString PROP_MeasureShowUnit = u"MeasureShowUnit"_ustr;
inline constexpr OUString PROP_MeasureTextHorizontalPosition
= u"MeasureTextHorizontalPosition"_ustr;
inline constexpr OUString PROP_MeasureTextRotate90 = u"MeasureTextRotate90"_ustr;
inline constexpr OUString PROP_MeasureTextVerticalPosition = u"MeasureTextVerticalPosition"_ustr;
inline constexpr OUString PROP_MeasureUnit = u"MeasureUnit"_ustr;
inline constexpr OUString PROP_Min = u"Min"_ustr;
inline constexpr OUString PROP_MinHeight = u"MinHeight"_ustr;
inline constexpr OUString PROP_MissingValueTreatment = u"MissingValueTreatment"_ustr;
inline constexpr OUString PROP_MoveProtect = u"MoveProtect"_ustr;
inline constexpr OUString PROP_MovingAveragePeriod = u"MovingAveragePeriod"_ustr;
inline constexpr OUString PROP_MovingAverageType = u"MovingAverageType"_ustr;
inline constexpr OUString PROP_NegativeError = u"NegativeError"_ustr;
inline constexpr OUString PROP_NumberFormat = u"NumberFormat"_ustr;
inline constexpr OUString PROP_NumberOfLines = u"NumberOfLines"_ustr;
inline constexpr OUString PROP_NumberingRules = u"NumberingRules"_ustr;
inline constexpr OUString PROP_NumberingStyleName = u"NumberingStyleName"_ustr;
inline constexpr OUString PROP_NumberingType = u"NumberingType"_ustr;
inline constexpr OUString PROP_Opaque = u"Opaque"_ustr;
inline constexpr OUString PROP_OptimalHeight = u"OptimalHeight"_ustr;
inline constexpr OUString PROP_OptimalWidth = u"OptimalWidth"_ustr;
inline constexpr OUString PROP_Origin = u"Origin"_ustr;
inline constexpr OUString PROP_Outline = u"Outline"_ustr;
inline constexpr OUString PROP_Overlap = u"Overlap"_ustr;
inline constexpr OUString PROP_PageDescName = u"PageDescName"_ustr;
inline constexpr OUString PROP_PageNumberOffset = u"PageNumberOffset"_ustr;
inline constexpr OUString PROP_PageScale = u"PageScale"_ustr;
inline constexpr OUString PROP_PageStyleLayout = u"PageStyleLayout"_ustr;
inline constexpr OUString PROP_PageToggle = u"PageToggle"_ustr;
inline constexpr OUString PROP_ParRsid = u"ParRsid"_ustr;
inline constexpr OUString PROP_ParaAdjust = u"ParaAdjust"_ustr;
inline constexpr OUString PROP_ParaBackColor = u"ParaBackColor"_ustr;
inline constexpr OUString PROP_ParaBackGraphic = u"ParaBackGraphic"_ustr;
inline constexpr OUString PROP_ParaBackGraphicFilter = u"ParaBackGraphicFilter"_ustr;
inline constexpr OUString PROP_ParaBackGraphicLocation = u"ParaBackGraphicLocation"_ustr;
inline constexpr OUString PROP_ParaBackTransparent = u"ParaBackTransparent"_ustr;
inline constexpr OUString PROP_ParaBottomMargin = u"ParaBottomMargin"_ustr;
inline constexpr OUString PROP_ParaBottomMarginRelative = u"ParaBottomMarginRelative"_ustr;
inline constexpr OUString PROP_ParaContextMargin = u"ParaContextMargin"_ustr;
inline constexpr OUString PROP_ParaExpandSingleWord = u"ParaExpandSingleWord"_ustr;
inline constexpr OUString PROP_ParaFirstLineIndent = u"ParaFirstLineIndent"_ustr;
inline constexpr OUString PROP_ParaFirstLineIndentRelative = u"ParaFirstLineIndentRelative"_ustr;
inline constexpr OUString PROP_ParaFirstLineIndentUnit = u"ParaFirstLineIndentUnit"_ustr;
inline constexpr OUString PROP_ParaHyphenationMaxHyphens = u"ParaHyphenationMaxHyphens"_ustr;
inline constexpr OUString PROP_ParaHyphenationMaxLeadingChars
= u"ParaHyphenationMaxLeadingChars"_ustr;
inline constexpr OUString PROP_ParaHyphenationMaxTrailingChars
= u"ParaHyphenationMaxTrailingChars"_ustr;
tdf#158885 cui offapi sw xmloff: fix hyphenation at stem boundary Add new hyphenation option "Compound characters at line end", equivalent of libhyphen's COMPOUNDLEFTHYPHENMIN, to limit bad pattern based hyphenation of compound words using morphological analysis of Hunspell. * Add checkbox to Text Flow in paragraph formatting dialog window * Store property in paragraph model: css::style::ParagraphProperties::ParaHyphenationCompoundMinLeadingChars * Add ODF import/export (loext:hyphenation-compound-remain-char-count) * Add ODF unit tests Note: slower Hunspell based hyphenation is used only if ParaHyphenationCompoundMinLeadingChars >= 3 (we assume that libhyphen hyphenation patterns cover the smaller distances correctly). Hunpell based hyphenation doesn't introduce new hyphenation breaks, only detects the stem boundaries from the libhyphen based hyphenation breaks. Follow-up to commit c899d3608d30f3ab4c2bc193c1fcd765221614a4 "tdf#158885 sw: don't hyphenate right after a stem boundary", replacing hyphenation zone dependence with the new "Compound characters at line end". Note: preset COMPOUNDLEFTHYPHENMIN values aren't loaded yet from hyphenation dictionaries. Note: the suffix of the last stem of the compound is always hyphenated, i.e. the distance limits only hyphenation inside the stem, not inside its suffix or at the end of the stem before the suffix. Change-Id: I46a0288929a66f7453e3ff97fbc5a0c6a01f038f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164983 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2024-03-18 21:55:23 +01:00
inline constexpr OUString PROP_ParaHyphenationCompoundMinLeadingChars
= u"ParaHyphenationCompoundMinLeadingChars"_ustr;
inline constexpr OUString PROP_ParaHyphenationMinWordLength = u"ParaHyphenationMinWordLength"_ustr;
inline constexpr OUString PROP_ParaHyphenationNoCaps = u"ParaHyphenationNoCaps"_ustr;
inline constexpr OUString PROP_ParaHyphenationNoLastWord = u"ParaHyphenationNoLastWord"_ustr;
inline constexpr OUString PROP_ParaHyphenationZone = u"ParaHyphenationZone"_ustr;
tdf#132599 cui offapi sw xmloff: implement hyphenate-keep Both parts of a hyphenated word shall lie within a single page with ODF paragraph setting fo:hyphenation-keep="page". The implementation follows the default page layout of MSO 2016 and newer by shifting the bottom hyphenated line to the next page (and to the next column, see last note). Note: this is a MSO DOCX interoperability feature, used also in DTP software, XSL and CSS. * Add checkbox/combobox to Text Flow in paragraph dialog * Store property in paragraph model (com::sun::star::style::ParagraphProperties::ParaHyphenationKeep) * Add ODF import/export * Add ODF unit tests New constants of com::sun::star::text::ParagraphHyphenationKeepType, containing ODF AUTO and PAGE (borrowed from XSL), and for the planned extension ParaHyphenationKeepType of ParagraphProperties: – COLUMN (standard XSL value, defined in https://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#hyphenation-keep) – SPREAD and ALWAYS (CSS 4 values of hyphenate-limit-last, equivalent of hyphenation-keep, defined in https://www.w3.org/TR/css-text-4/#hyphenate-line-limits). Note: the implementation truncates only a single hyphenated line, like MSO does: the pages can end in hyphenated lines (i.e. in the case of consecutive hyphenated lines), but less often, than before. Clean-up hyphenation dialog by collecting "Don't hyphenate" options at the end of the hyphenation settings, and negating them (similar to MSO and DTP), adding also the new option "Hyphenate across column and page": [x] Hyphenate words in CAPS [x] Hyphenate last word [x] Hyphenate across column and page Note: ODF fo:hyphenation-keep has got only "auto" and "page" attributes, while XSL defines also "column". Because of the interoperability with MSO and DTP, fo:hyphenation-keep="page" is interpreted as XSL "column", avoiding hyphenation at the end of column, not only at the end of page. Change-Id: I5c6b7adc0671a5a790568e7bf1d33256e607f85f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164158 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2024-02-29 14:07:34 +01:00
inline constexpr OUString PROP_ParaHyphenationKeep = u"ParaHyphenationKeep"_ustr;
tdf#132599 cui offapi sw xmloff: add hyphenation-keep-type Support XSL attribute "column" and CSS 4 attribute "spread", stored in loext:hyphenation-keep-type, to give better control over hyphenation-keep. E.g. spread: both parts of a hyphenated word shall lie within a single spread, i.e. when the next page is not visible at the same time (e.g. the next page is not a right page of a book). – css::style::ParaHyphenationKeep is a boolean property now, importing hyphenation-keep = "page" as true. – type of ParaHyphenationKeep, including the new non-ODF types is stored in the new ParagraphProperties::ParaHyphenationKeepType. – default value of ParaHyphenationKeepType is COLUMN for interoperability. – Add checkboxes to Text Flow -> Hyphenation Across in paragraph dialog: * Column (previously: Hyphenate across column and page) * Page * Spread – enabling/disabling them follows XSL/CSS 4/loext, i.e. possible combinations: * No Hyphenation across (hyphenation-keep = "page" and loext:hyphenation-keep-type = "column") * Hyphenation across [x] Column (hyphenation-keep = "page" and loext:hyphenation-keep-type = "page") * Hyphenation across [x] Column [x] Page (hyphenation-keep = "page" and loext:hyphenation-keep-type = "spread") * Hyphenation across [x] Column [x] Page [x] Spread (hyphenation-keep = "auto") – Add ODF import/export – Update DOCX import – Add ODF unit tests Note: recent implementation depends on widow settings: disabling widow handling allows hyphenation across columns and pages not only in table cells. Note: RTF import-only, but not used bPageEnd has been renamed to bKeep. Depending on the RTF test results, likely it will need to disable the layout change, e.g. GetKeepType()=ParagraphHyphenationKeepType::AUTO, if PageEnd uses obsolete hyphenation rule, i.e. shifting only the hyphenated word to the next page, not the full line. More information: – COLUMN (standard XSL value, defined in https://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#hyphenation-keep) – SPREAD and ALWAYS (CSS 4 values of hyphenate-limit-last, equivalent of hyphenation-keep, defined in https://www.w3.org/TR/css-text-4/#hyphenate-line-limits). Follow-up to commit 9574a62add8e4901405e12117e75c86c2d2c2f21 "tdf#132599 cui offapi sw xmloff: implement hyphenate-keep" and commit c8ee0e8f581b8a6e41b1a6b8aa4d40b442c1d463 "tdf160518 DOCX: import hyphenation-keep to fix layout". Change-Id: I3ac6d9e86d0ed1646f105de8607c0e8ebc534eaa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165954 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2024-04-10 12:27:38 +02:00
inline constexpr OUString PROP_ParaHyphenationKeepType = u"ParaHyphenationKeepType"_ustr;
inline constexpr OUString PROP_ParaIsAutoFirstLineIndent = u"ParaIsAutoFirstLineIndent"_ustr;
inline constexpr OUString PROP_ParaIsCharacterDistance = u"ParaIsCharacterDistance"_ustr;
inline constexpr OUString PROP_ParaIsConnectBorder = u"ParaIsConnectBorder"_ustr;
inline constexpr OUString PROP_ParaIsForbiddenRules = u"ParaIsForbiddenRules"_ustr;
inline constexpr OUString PROP_ParaIsHangingPunctuation = u"ParaIsHangingPunctuation"_ustr;
inline constexpr OUString PROP_ParaIsHyphenation = u"ParaIsHyphenation"_ustr;
inline constexpr OUString PROP_ParaKeepTogether = u"ParaKeepTogether"_ustr;
inline constexpr OUString PROP_ParaLastLineAdjust = u"ParaLastLineAdjust"_ustr;
inline constexpr OUString PROP_ParaLeftMargin = u"ParaLeftMargin"_ustr;
inline constexpr OUString PROP_ParaLeftMarginRelative = u"ParaLeftMarginRelative"_ustr;
inline constexpr OUString PROP_ParaLeftMarginUnit = u"ParaLeftMarginUnit"_ustr;
inline constexpr OUString PROP_ParaLineNumberCount = u"ParaLineNumberCount"_ustr;
inline constexpr OUString PROP_ParaLineNumberStartValue = u"ParaLineNumberStartValue"_ustr;
inline constexpr OUString PROP_ParaLineSpacing = u"ParaLineSpacing"_ustr;
inline constexpr OUString PROP_ParaOrphans = u"ParaOrphans"_ustr;
inline constexpr OUString PROP_ParaRegisterModeActive = u"ParaRegisterModeActive"_ustr;
inline constexpr OUString PROP_ParaRightMargin = u"ParaRightMargin"_ustr;
inline constexpr OUString PROP_ParaRightMarginRelative = u"ParaRightMarginRelative"_ustr;
inline constexpr OUString PROP_ParaRightMarginUnit = u"ParaRightMarginUnit"_ustr;
inline constexpr OUString PROP_ParaShadowFormat = u"ParaShadowFormat"_ustr;
inline constexpr OUString PROP_ParaSplit = u"ParaSplit"_ustr;
inline constexpr OUString PROP_ParaTabStops = u"ParaTabStops"_ustr;
inline constexpr OUString PROP_ParaTabStopDefaultDistance = u"ParaTabStopDefaultDistance"_ustr;
inline constexpr OUString PROP_ParaTopMargin = u"ParaTopMargin"_ustr;
inline constexpr OUString PROP_ParaTopMarginRelative = u"ParaTopMarginRelative"_ustr;
inline constexpr OUString PROP_ParaUserDefinedAttributes = u"ParaUserDefinedAttributes"_ustr;
inline constexpr OUString PROP_ParaVertAlignment = u"ParaVertAlignment"_ustr;
inline constexpr OUString PROP_ParaWidows = u"ParaWidows"_ustr;
inline constexpr OUString PROP_Percent = u"Percent"_ustr;
inline constexpr OUString PROP_PercentageError = u"PercentageError"_ustr;
inline constexpr OUString PROP_PercentageNumberFormat = u"PercentageNumberFormat"_ustr;
inline constexpr OUString PROP_PolynomialDegree = u"PolynomialDegree"_ustr;
inline constexpr OUString PROP_PositionProtected = u"PositionProtected"_ustr;
inline constexpr OUString PROP_PositiveError = u"PositiveError"_ustr;
inline constexpr OUString PROP_Print = u"Print"_ustr;
inline constexpr OUString PROP_Printable = u"Printable"_ustr;
inline constexpr OUString PROP_PrintAnnotations = u"PrintAnnotations"_ustr;
inline constexpr OUString PROP_PrintCharts = u"PrintCharts"_ustr;
inline constexpr OUString PROP_PrintDownFirst = u"PrintDownFirst"_ustr;
inline constexpr OUString PROP_PrintDrawing = u"PrintDrawing"_ustr;
inline constexpr OUString PROP_PrintFormulas = u"PrintFormulas"_ustr;
inline constexpr OUString PROP_PrintGrid = u"PrintGrid"_ustr;
inline constexpr OUString PROP_PrintHeaders = u"PrintHeaders"_ustr;
inline constexpr OUString PROP_PrintObjects = u"PrintObjects"_ustr;
inline constexpr OUString PROP_PrintZeroValues = u"PrintZeroValues"_ustr;
inline constexpr OUString PROP_PrinterPaperTray = u"PrinterPaperTray"_ustr;
inline constexpr OUString PROP_RegisterModeActive = u"RegisterModeActive"_ustr;
inline constexpr OUString PROP_RegisterParagraphStyle = u"RegisterParagraphStyle"_ustr;
inline constexpr OUString PROP_RegressionType = u"RegressionType"_ustr;
inline constexpr OUString PROP_RelativeHeight = u"RelativeHeight"_ustr;
inline constexpr OUString PROP_RelativeHeightRelation = u"RelativeHeightRelation"_ustr;
inline constexpr OUString PROP_RelativeWidth = u"RelativeWidth"_ustr;
inline constexpr OUString PROP_RelativeWidthRelation = u"RelativeWidthRelation"_ustr;
inline constexpr OUString PROP_ReverseDirection = u"ReverseDirection"_ustr;
inline constexpr OUString PROP_RightAngledAxes = u"RightAngledAxes"_ustr;
inline constexpr OUString PROP_RightBorder = u"RightBorder"_ustr;
inline constexpr OUString PROP_RightBorderDistance = u"RightBorderDistance"_ustr;
inline constexpr OUString PROP_RightMargin = u"RightMargin"_ustr;
inline constexpr OUString PROP_RotateAngle = u"RotateAngle"_ustr;
inline constexpr OUString PROP_Rsid = u"Rsid"_ustr;
inline constexpr OUString PROP_RtlGutter = u"RtlGutter"_ustr;
inline constexpr OUString PROP_RubyAdjust = u"RubyAdjust"_ustr;
inline constexpr OUString PROP_RubyBelow = u"RubyBelow"_ustr;
inline constexpr OUString PROP_RubyIsAbove = u"RubyIsAbove"_ustr;
inline constexpr OUString PROP_RubyPosition = u"RubyPosition"_ustr;
inline constexpr OUString PROP_ScaleText = u"ScaleText"_ustr;
inline constexpr OUString PROP_ScaleToPages = u"ScaleToPages"_ustr;
inline constexpr OUString PROP_ScaleToPagesX = u"ScaleToPagesX"_ustr;
inline constexpr OUString PROP_ScaleToPagesY = u"ScaleToPagesY"_ustr;
inline constexpr OUString PROP_SectionLeftMargin = u"SectionLeftMargin"_ustr;
inline constexpr OUString PROP_SectionRightMargin = u"SectionRightMargin"_ustr;
inline constexpr OUString PROP_SegmentOffset = u"SegmentOffset"_ustr;
inline constexpr OUString PROP_Shadow = u"Shadow"_ustr;
inline constexpr OUString PROP_ShadowBlur = u"ShadowBlur"_ustr;
inline constexpr OUString PROP_ShadowColor = u"ShadowColor"_ustr;
inline constexpr OUString PROP_ShadowFormat = u"ShadowFormat"_ustr;
inline constexpr OUString PROP_ShadowTransparence = u"ShadowTransparence"_ustr;
inline constexpr OUString PROP_ShadowXDistance = u"ShadowXDistance"_ustr;
inline constexpr OUString PROP_ShadowYDistance = u"ShadowYDistance"_ustr;
inline constexpr OUString PROP_ShowCustomLeaderLines = u"ShowCustomLeaderLines"_ustr;
inline constexpr OUString PROP_ShowNegativeError = u"ShowNegativeError"_ustr;
inline constexpr OUString PROP_ShowPositiveError = u"ShowPositiveError"_ustr;
inline constexpr OUString PROP_SizeProtect = u"SizeProtect"_ustr;
inline constexpr OUString PROP_SizeProtected = u"SizeProtected"_ustr;
inline constexpr OUString PROP_SizeType = u"SizeType"_ustr;
inline constexpr OUString PROP_SnapToGrid = u"SnapToGrid"_ustr;
inline constexpr OUString PROP_SoftEdgeRadius = u"SoftEdgeRadius"_ustr;
inline constexpr OUString PROP_SolidType = u"SolidType"_ustr;
inline constexpr OUString PROP_SortByXValues = u"SortByXValues"_ustr;
inline constexpr OUString PROP_Sound = u"Sound"_ustr;
inline constexpr OUString PROP_Speed = u"Speed"_ustr;
inline constexpr OUString PROP_SplineOrder = u"SplineOrder"_ustr;
inline constexpr OUString PROP_SplineResolution = u"SplineResolution"_ustr;
inline constexpr OUString PROP_SplineType = u"SplineType"_ustr;
inline constexpr OUString PROP_SplitPos = u"SplitPos"_ustr;
inline constexpr OUString PROP_Stacked = u"Stacked"_ustr;
inline constexpr OUString PROP_StackedBarsConnected = u"StackedBarsConnected"_ustr;
inline constexpr OUString PROP_StackedText = u"StackedText"_ustr;
inline constexpr OUString PROP_StandardPageMode = u"StandardPageMode"_ustr;
inline constexpr OUString PROP_StartingAngle = u"StartingAngle"_ustr;
inline constexpr OUString PROP_StepHelpCount = u"StepHelpCount"_ustr;
inline constexpr OUString PROP_StepMain = u"StepMain"_ustr;
inline constexpr OUString PROP_SubPieType = u"SubPieType"_ustr;
inline constexpr OUString PROP_SurroundAnchorOnly = u"SurroundAnchorOnly"_ustr;
inline constexpr OUString PROP_SurroundContour = u"SurroundContour"_ustr;
inline constexpr OUString PROP_SymbolBitmap = u"SymbolBitmap"_ustr;
inline constexpr OUString PROP_SymbolColor = u"SymbolColor"_ustr;
inline constexpr OUString PROP_SymbolSize = u"SymbolSize"_ustr;
inline constexpr OUString PROP_SymbolType = u"SymbolType"_ustr;
inline constexpr OUString PROP_TabStopDistance = u"TabStopDistance"_ustr;
inline constexpr OUString PROP_TextAnimationAmount = u"TextAnimationAmount"_ustr;
inline constexpr OUString PROP_TextAnimationCount = u"TextAnimationCount"_ustr;
inline constexpr OUString PROP_TextAnimationDelay = u"TextAnimationDelay"_ustr;
inline constexpr OUString PROP_TextAnimationDirection = u"TextAnimationDirection"_ustr;
inline constexpr OUString PROP_TextAnimationKind = u"TextAnimationKind"_ustr;
inline constexpr OUString PROP_TextAnimationStartInside = u"TextAnimationStartInside"_ustr;
inline constexpr OUString PROP_TextAnimationStopInside = u"TextAnimationStopInside"_ustr;
inline constexpr OUString PROP_TextAutoGrowHeight = u"TextAutoGrowHeight"_ustr;
inline constexpr OUString PROP_TextAutoGrowWidth = u"TextAutoGrowWidth"_ustr;
inline constexpr OUString PROP_TextBreak = u"TextBreak"_ustr;
inline constexpr OUString PROP_TextCanOverlap = u"TextCanOverlap"_ustr;
inline constexpr OUString PROP_TextChainNextName = u"TextChainNextName"_ustr;
inline constexpr OUString PROP_TextClipVerticalOverflow = u"TextClipVerticalOverflow"_ustr;
inline constexpr OUString PROP_TextColor = u"TextColor"_ustr;
inline constexpr OUString PROP_TextColumns = u"TextColumns"_ustr;
inline constexpr OUString PROP_TextContourFrame = u"TextContourFrame"_ustr;
inline constexpr OUString PROP_TextFitToSize = u"TextFitToSize"_ustr;
inline constexpr OUString PROP_TextHorizontalAdjust = u"TextHorizontalAdjust"_ustr;
inline constexpr OUString PROP_TextLeftDistance = u"TextLeftDistance"_ustr;
inline constexpr OUString PROP_TextLineColor = u"TextLineColor"_ustr;
inline constexpr OUString PROP_TextLowerDistance = u"TextLowerDistance"_ustr;
inline constexpr OUString PROP_TextMaximumFrameHeight = u"TextMaximumFrameHeight"_ustr;
inline constexpr OUString PROP_TextMaximumFrameWidth = u"TextMaximumFrameWidth"_ustr;
inline constexpr OUString PROP_TextMinimumFrameHeight = u"TextMinimumFrameHeight"_ustr;
inline constexpr OUString PROP_TextMinimumFrameWidth = u"TextMinimumFrameWidth"_ustr;
inline constexpr OUString PROP_TextRightDistance = u"TextRightDistance"_ustr;
inline constexpr OUString PROP_TextRotation = u"TextRotation"_ustr;
inline constexpr OUString PROP_TextUpperDistance = u"TextUpperDistance"_ustr;
inline constexpr OUString PROP_TextUserDefinedAttributes = u"TextUserDefinedAttributes"_ustr;
inline constexpr OUString PROP_TextVerticalAdjust = u"TextVerticalAdjust"_ustr;
inline constexpr OUString PROP_TextWordWrap = u"TextWordWrap"_ustr;
inline constexpr OUString PROP_TextWrap = u"TextWrap"_ustr;
inline constexpr OUString PROP_TextWritingMode = u"TextWritingMode"_ustr;
inline constexpr OUString PROP_TopBorder = u"TopBorder"_ustr;
inline constexpr OUString PROP_TopBorderDistance = u"TopBorderDistance"_ustr;
inline constexpr OUString PROP_TopMargin = u"TopMargin"_ustr;
inline constexpr OUString PROP_TransitionDirection = u"TransitionDirection"_ustr;
inline constexpr OUString PROP_TransitionFadeColor = u"TransitionFadeColor"_ustr;
inline constexpr OUString PROP_TransitionSubtype = u"TransitionSubtype"_ustr;
inline constexpr OUString PROP_TransitionType = u"TransitionType"_ustr;
inline constexpr OUString PROP_Transparency = u"Transparency"_ustr;
inline constexpr OUString PROP_TryStaggeringFirst = u"TryStaggeringFirst"_ustr;
inline constexpr OUString PROP_UpDown = u"UpDown"_ustr;
inline constexpr OUString PROP_UseBandingColumnStyle = u"UseBandingColumnStyle"_ustr;
inline constexpr OUString PROP_UseBandingRowStyle = u"UseBandingRowStyle"_ustr;
inline constexpr OUString PROP_UseFirstColumnStyle = u"UseFirstColumnStyle"_ustr;
inline constexpr OUString PROP_UseFirstRowStyle = u"UseFirstRowStyle"_ustr;
inline constexpr OUString PROP_UseLastColumnStyle = u"UseLastColumnStyle"_ustr;
inline constexpr OUString PROP_UseLastRowStyle = u"UseLastRowStyle"_ustr;
inline constexpr OUString PROP_UserDefinedAttributes = u"UserDefinedAttributes"_ustr;
inline constexpr OUString PROP_VBorder = u"VBorder"_ustr;
inline constexpr OUString PROP_VertMirrored = u"VertMirrored"_ustr;
inline constexpr OUString PROP_VertOrient = u"VertOrient"_ustr;
inline constexpr OUString PROP_VertOrientPosition = u"VertOrientPosition"_ustr;
inline constexpr OUString PROP_VertOrientRelation = u"VertOrientRelation"_ustr;
inline constexpr OUString PROP_Vertical = u"Vertical"_ustr;
inline constexpr OUString PROP_Visible = u"Visible"_ustr;
inline constexpr OUString PROP_VisibleArea = u"VisibleArea"_ustr;
inline constexpr OUString PROP_Volume = u"Volume"_ustr;
inline constexpr OUString PROP_Weight = u"Weight"_ustr;
inline constexpr OUString PROP_Width = u"Width"_ustr;
inline constexpr OUString PROP_WidthType = u"WidthType"_ustr;
inline constexpr OUString PROP_WrapInfluenceOnPosition = u"WrapInfluenceOnPosition"_ustr;
inline constexpr OUString PROP_WrapTextAtFlyStart = u"WrapTextAtFlyStart"_ustr;
inline constexpr OUString PROP_WritingMode = u"WritingMode"_ustr;
inline constexpr OUString PROP_XName = u"XName"_ustr;
inline constexpr OUString PROP_YName = u"YName"_ustr;
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */