Home
last modified time | relevance | path

Searched refs:styleElem (Results 1 – 25 of 40) sorted by relevance

12

/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/kotext/opendocument/
H A DKoTextSharedLoadingData.cpp126 if (styleElem) { in addDefaultCharacterStyle()
138 if (styleElem) { in addDefaultParagraphStyle()
227 Q_ASSERT(styleElem); in loadParagraphStyles()
323 Q_ASSERT(styleElem); in loadCharacterStyles()
365 Q_ASSERT(styleElem); in loadListStyles()
404 Q_ASSERT(styleElem); in loadTableStyles()
444 Q_ASSERT(styleElem); in loadTableColumnStyles()
484 Q_ASSERT(styleElem); in loadTableRowStyles()
524 Q_ASSERT(styleElem); in loadTableCellStyles()
564 Q_ASSERT(styleElem); in loadSectionStyles()
[all …]
H A DKoTextSharedLoadingData.h199 …void addDefaultParagraphStyle(KoShapeLoadingContext &context, const KoXmlElement *styleElem, const…
211 …void addDefaultCharacterStyle(KoShapeLoadingContext &context, const KoXmlElement *styleElem, const…
/dports/editors/calligra/calligra-3.2.1/libs/text/opendocument/
H A DKoTextSharedLoadingData.cpp126 if (styleElem) { in addDefaultCharacterStyle()
138 if (styleElem) { in addDefaultParagraphStyle()
227 Q_ASSERT(styleElem); in loadParagraphStyles()
324 Q_ASSERT(styleElem); in loadCharacterStyles()
366 Q_ASSERT(styleElem); in loadListStyles()
405 Q_ASSERT(styleElem); in loadTableStyles()
445 Q_ASSERT(styleElem); in loadTableColumnStyles()
485 Q_ASSERT(styleElem); in loadTableRowStyles()
525 Q_ASSERT(styleElem); in loadTableCellStyles()
565 Q_ASSERT(styleElem); in loadSectionStyles()
[all …]
H A DKoTextSharedLoadingData.h199 …void addDefaultParagraphStyle(KoShapeLoadingContext &context, const KoXmlElement *styleElem, const…
213 …void addDefaultCharacterStyle(KoShapeLoadingContext &context, const KoXmlElement *styleElem, const…
/dports/graphics/qgis/qgis-3.22.3/src/core/
H A Dqgslegendstyle.cpp48 QDomElement styleElem = doc.createElement( QStringLiteral( "style" ) ); in writeXml() local
50 styleElem.setAttribute( QStringLiteral( "name" ), name ); in writeXml()
51 styleElem.setAttribute( QStringLiteral( "alignment" ), QString::number( mAlignment ) ); in writeXml()
52 styleElem.setAttribute( QStringLiteral( "indent" ), QString::number( mIndent ) ); in writeXml()
55 styleElem.setAttribute( QStringLiteral( "marginTop" ), QString::number( mMarginMap[Top] ) ); in writeXml()
57styleElem.setAttribute( QStringLiteral( "marginBottom" ), QString::number( mMarginMap[Bottom] ) ); in writeXml()
59 styleElem.setAttribute( QStringLiteral( "marginLeft" ), QString::number( mMarginMap[Left] ) ); in writeXml()
61 styleElem.setAttribute( QStringLiteral( "marginRight" ), QString::number( mMarginMap[Right] ) ); in writeXml()
63 styleElem.appendChild( QgsFontUtils::toXmlElement( mFont, doc, QStringLiteral( "styleFont" ) ) ); in writeXml()
65 elem.appendChild( styleElem ); in writeXml()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/
H A Dqgslegendstyle.cpp48 QDomElement styleElem = doc.createElement( QStringLiteral( "style" ) ); in writeXml() local
50 styleElem.setAttribute( QStringLiteral( "name" ), name ); in writeXml()
51 styleElem.setAttribute( QStringLiteral( "alignment" ), QString::number( mAlignment ) ); in writeXml()
54 styleElem.setAttribute( QStringLiteral( "marginTop" ), QString::number( mMarginMap[Top] ) ); in writeXml()
56styleElem.setAttribute( QStringLiteral( "marginBottom" ), QString::number( mMarginMap[Bottom] ) ); in writeXml()
58 styleElem.setAttribute( QStringLiteral( "marginLeft" ), QString::number( mMarginMap[Left] ) ); in writeXml()
60 styleElem.setAttribute( QStringLiteral( "marginRight" ), QString::number( mMarginMap[Right] ) ); in writeXml()
62 styleElem.appendChild( QgsFontUtils::toXmlElement( mFont, doc, QStringLiteral( "styleFont" ) ) ); in writeXml()
64 elem.appendChild( styleElem ); in writeXml()
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/import/idml/
H A Dimportidml.cpp1099 if (styleElem.hasAttribute("StrokeColor")) in parseObjectStyle()
1110 if (styleElem.hasAttribute("FillColor")) in parseObjectStyle()
1121 if (styleElem.hasAttribute("FillTint")) in parseObjectStyle()
1127 if (styleElem.hasAttribute("StrokeTint")) in parseObjectStyle()
1161 if (styleElem.hasAttribute("LeftLineEnd")) in parseObjectStyle()
1204 …charStyleTranslate.insert(styleElem.attribute("Self").remove("$ID/"), styleElem.attribute("Name").… in parseCharacterStyle()
1317 …styleTranslate.insert(styleElem.attribute("Self").remove("$ID/"), styleElem.attribute("Name").remo… in parseParagraphStyle()
3109 if (styleElem.hasAttribute("PointSize")) in readCharStyleAttributes()
3115 if (styleElem.hasAttribute("FillColor")) in readCharStyleAttributes()
3121 if (styleElem.hasAttribute("FillTint")) in readCharStyleAttributes()
[all …]
H A Dimportidml.h106 void parseObjectStyle(const QDomElement& styleElem);
107 void parseCharacterStyle(const QDomElement& styleElem);
108 void parseParagraphStyle(const QDomElement& styleElem);
118 void readCharStyleAttributes(CharStyle &newStyle, const QDomElement &styleElem);
119 void readParagraphStyleAttributes(ParagraphStyle &newStyle, const QDomElement &styleElem);
/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/kotext/
H A DKoTextTableTemplate.cpp230 KoXmlElement styleElem; in loadOdf() local
231 forEachElement(styleElem, (*element)) { in loadOdf()
232 if (styleElem.namespaceURI() == KoXmlNS::table) { in loadOdf()
234 if (templateStyles[index].m_element == styleElem.localName()) { in loadOdf()
235 … QString styleName = styleElem.attributeNS(KoXmlNS::table, "style-name", QString()); in loadOdf()
238 styleName = KoOdfWorkaround::fixTableTemplateCellStyleName(styleElem); in loadOdf()
/dports/editors/calligra/calligra-3.2.1/libs/text/
H A DKoTextTableTemplate.cpp228 KoXmlElement styleElem; in loadOdf() local
229 forEachElement(styleElem, (*element)) { in loadOdf()
230 if (styleElem.namespaceURI() == KoXmlNS::table) { in loadOdf()
232 if (templateStyles[index].m_element == styleElem.localName()) { in loadOdf()
233 … QString styleName = styleElem.attributeNS(KoXmlNS::table, "style-name", QString()); in loadOdf()
236 styleName = KoOdfWorkaround::fixTableTemplateCellStyleName(styleElem); in loadOdf()
/dports/editors/calligra/calligra-3.2.1/libs/text/styles/
H A DKoListStyle.cpp182 KoXmlElement styleElem; in loadOdf() local
183 forEachElement(styleElem, style) { in loadOdf()
185 properties.loadOdf(scontext, styleElem); in loadOdf()
/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/kotext/styles/
H A DKoListStyle.cpp182 KoXmlElement styleElem; in loadOdf() local
183 forEachElement(styleElem, style) { in loadOdf()
185 properties.loadOdf(scontext, styleElem); in loadOdf()
/dports/graphics/qgis/qgis-3.22.3/src/server/services/wms/
H A Dqgswmsgetcontext.cpp461 QDomElement styleElem = doc.createElement( QStringLiteral( "Style" ) ); in appendOwsLayerStyles() local
462 styleElem.setAttribute( QStringLiteral( "current" ), QStringLiteral( "true" ) ); in appendOwsLayerStyles()
469 styleElem.appendChild( styleNameElem ); in appendOwsLayerStyles()
470 styleElem.appendChild( styleTitleElem ); in appendOwsLayerStyles()
471 styleListElem.appendChild( styleElem ); in appendOwsLayerStyles()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/server/services/wms/
H A Dqgswmsgetcontext.cpp466 QDomElement styleElem = doc.createElement( QStringLiteral( "Style" ) ); in appendOwsLayerStyles() local
467 styleElem.setAttribute( QStringLiteral( "current" ), QStringLiteral( "true" ) ); in appendOwsLayerStyles()
474 styleElem.appendChild( styleNameElem ); in appendOwsLayerStyles()
475 styleElem.appendChild( styleTitleElem ); in appendOwsLayerStyles()
476 styleListElem.appendChild( styleElem ); in appendOwsLayerStyles()
/dports/graphics/qgis/qgis-3.22.3/src/core/layout/
H A Dqgslayouttable.cpp35 bool QgsLayoutTableStyle::writeXml( QDomElement &styleElem, QDomDocument &doc ) const in writeXml() argument
38styleElem.setAttribute( QStringLiteral( "cellBackgroundColor" ), QgsSymbolLayerUtils::encodeColor(… in writeXml()
39 styleElem.setAttribute( QStringLiteral( "enabled" ), enabled ); in writeXml()
43 bool QgsLayoutTableStyle::readXml( const QDomElement &styleElem ) in readXml() argument
45 …cellBackgroundColor = QgsSymbolLayerUtils::decodeColor( styleElem.attribute( QStringLiteral( "cell… in readXml()
46 …enabled = ( styleElem.attribute( QStringLiteral( "enabled" ), QStringLiteral( "0" ) ) != QLatin1St… in readXml()
122 QDomElement styleElem = doc.createElement( styleName ); in writePropertiesToElement() local
126 style->writeXml( styleElem, doc ); in writePropertiesToElement()
127 stylesElem.appendChild( styleElem ); in writePropertiesToElement()
263 QDomElement styleElem = styleList.at( 0 ).toElement(); in readPropertiesFromElement() local
[all …]
H A Dqgslayouttable.h95 bool writeXml( QDomElement &styleElem, QDomDocument &doc ) const;
102 bool readXml( const QDomElement &styleElem );
H A Dqgslayoutitempage.cpp321 …const QDomElement styleElem = QgsSymbolLayerUtils::saveSymbol( QString(), mPageStyleSymbol.get(), … in writePropertiesToElement() local
322 element.appendChild( styleElem ); in writePropertiesToElement()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/layout/
H A Dqgslayouttable.cpp34 bool QgsLayoutTableStyle::writeXml( QDomElement &styleElem, QDomDocument &doc ) const in writeXml() argument
37styleElem.setAttribute( QStringLiteral( "cellBackgroundColor" ), QgsSymbolLayerUtils::encodeColor(… in writeXml()
38 styleElem.setAttribute( QStringLiteral( "enabled" ), enabled ); in writeXml()
42 bool QgsLayoutTableStyle::readXml( const QDomElement &styleElem ) in readXml() argument
44 …cellBackgroundColor = QgsSymbolLayerUtils::decodeColor( styleElem.attribute( QStringLiteral( "cell… in readXml()
45 …enabled = ( styleElem.attribute( QStringLiteral( "enabled" ), QStringLiteral( "0" ) ) != QLatin1St… in readXml()
121 QDomElement styleElem = doc.createElement( styleName ); in writePropertiesToElement() local
125 style->writeXml( styleElem, doc ); in writePropertiesToElement()
126 stylesElem.appendChild( styleElem ); in writePropertiesToElement()
262 QDomElement styleElem = styleList.at( 0 ).toElement(); in readPropertiesFromElement() local
[all …]
H A Dqgslayouttable.h95 bool writeXml( QDomElement &styleElem, QDomDocument &doc ) const;
102 bool readXml( const QDomElement &styleElem );
H A Dqgslayoutitempage.cpp298 …QDomElement styleElem = QgsSymbolLayerUtils::saveSymbol( QString(), mPageStyleSymbol.get(), docume… in writePropertiesToElement() local
299 element.appendChild( styleElem ); in writePropertiesToElement()
/dports/astro/opencpn/OpenCPN-5.2.4/src/
H A Dstyles.cpp864 TiXmlElement* styleElem = hRoot.FirstChild().Element(); in Init() local
866 for( ; styleElem; styleElem = styleElem->NextSiblingElement() ) { in Init()
868 if( wxString( styleElem->Value(), wxConvUTF8 ) == _T("style") ) { in Init()
873 style->name = wxString( styleElem->Attribute( "name" ), wxConvUTF8 ); in Init()
874 style->sysname = wxString( styleElem->Attribute( "sysname" ), wxConvUTF8 ); in Init()
877 TiXmlElement* subNode = styleElem->FirstChild()->ToElement(); in Init()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/UI/
H A DUIElement.cpp541 … XMLElement styleElem = GetDefaultStyle()->GetRoot().SelectSinglePrepared(styleXPathQuery_); in FilterAttributes() local
542 if (styleElem && !FilterUIStyleAttributes(dest, styleElem)) in FilterAttributes()
1064 XMLElement styleElem = file->GetRoot().SelectSinglePrepared(styleXPathQuery_); in SetStyle() local
1065 return styleElem && SetStyle(styleElem); in SetStyle()
1993 bool UIElement::FilterUIStyleAttributes(XMLElement& dest, const XMLElement& styleElem) const in FilterUIStyleAttributes()
1996 String style = styleElem.GetAttribute("style"); in FilterUIStyleAttributes()
2011 XMLElement childElem = styleElem.GetChild("element"); in FilterUIStyleAttributes()
/dports/graphics/qgis/qgis-3.22.3/python/core/auto_generated/layout/
H A Dqgslayouttable.sip.in47 bool writeXml( QDomElement &styleElem, QDomDocument &doc ) const;
51 :param styleElem: an existing QDomElement in which to store the style's properties.
57 bool readXml( const QDomElement &styleElem );
61 :param styleElem: a QDomElement holding the style's desired properties.
/dports/graphics/qgis-ltr/qgis-3.16.16/python/core/auto_generated/layout/
H A Dqgslayouttable.sip.in47 bool writeXml( QDomElement &styleElem, QDomDocument &doc ) const;
51 :param styleElem: an existing QDomElement in which to store the style's properties.
57 bool readXml( const QDomElement &styleElem );
61 :param styleElem: a QDomElement holding the style's desired properties.
/dports/editors/calligra/calligra-3.2.1/sheets/odf/
H A DSheetsOdfStyle.cpp162 KoXmlElement* styleElem = customStyles[item]; in loadStyleTemplate() local
163 if (!styleElem) continue; in loadStyleTemplate()
166 const QString oasisName = styleElem->attributeNS(KoXmlNS::style, "name", QString()); in loadStyleTemplate()
169 const QString name = styleElem->attributeNS(KoXmlNS::style, "display-name", oasisName); in loadStyleTemplate()
178 … loadCustomStyle(style, stylesReader, *styleElem, name, conditions, styles, map->parser()); in loadStyleTemplate()

12