LibreOffice Module sw (master) 1
|
#include <xmlexp.hxx>
Public Member Functions | |
SwXMLExport (const css::uno::Reference< css::uno::XComponentContext > &rContext, OUString const &implementationName, SvXMLExportFlags nExportFlags) | |
virtual | ~SwXMLExport () override |
void | collectAutoStyles () override |
virtual ErrCode | exportDoc (enum ::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID) override |
const SvXMLUnitConverter & | GetTwipUnitConverter () const |
void | ExportTableAutoStyles (const SwTableNode &rTableNd) |
void | ExportTable (const SwTableNode &rTableNd) |
bool | IsShowProgress () const |
void | SetShowProgress (bool b) |
const SwDoc * | getDoc () const |
SwDoc * | getDoc () |
Public Member Functions inherited from SvXMLExport | |
SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, sal_Int16 const eDefaultMeasureUnit, const enum ::xmloff::token::XMLTokenEnum eClass, SvXMLExportFlags nExportFlag) | |
SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, sal_Int16 const eDefaultMeasureUnit, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler) | |
SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler, const css::uno::Reference< css::frame::XModel > &, FieldUnit const eDefaultFieldUnit, SvXMLExportFlags nExportFlag) | |
virtual | ~SvXMLExport () override |
virtual void | collectAutoStyles () |
virtual void SAL_CALL | setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override |
virtual sal_Bool SAL_CALL | filter (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual OUString SAL_CALL | getImplementationName () final override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) final override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () final override |
OUString | EnsureNamespace (OUString const &i_rNamespace) |
void | CheckAttrList () |
void | ClearAttrList () |
void | AddAttribute (sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue) |
void | AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const OUString &rValue) |
void | AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, enum ::xmloff::token::XMLTokenEnum eValue) |
void | AddAttribute (const OUString &rQName, const OUString &rValue) |
void | AddAttribute (const OUString &rQName, enum ::xmloff::token::XMLTokenEnum eValue) |
void | AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const css::lang::Locale &rLocale, bool bWriteEmpty) |
void | AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const LanguageTag &rLanguageTag, bool bWriteEmpty) |
void | AddAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) |
comphelper::AttributeList & | GetAttrList () |
css::uno::Reference< css::xml::sax::XAttributeList > | GetXAttrList () const |
const css::uno::Reference< css::xml::sax::XDocumentHandler > & | GetDocHandler () const |
const OUString & | GetOrigFileName () const |
const SvXMLNamespaceMap & | GetNamespaceMap () const |
size_t | GetInfoID (const OUString sPersonalInfo) const |
const SvXMLUnitConverter & | GetMM100UnitConverter () const |
SvXMLUnitConverter & | GetMM100UnitConverter () |
void | addChaffWhenEncryptedStorage () |
virtual ErrCode | exportDoc (enum ::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID) |
void | collectDataStyles (bool bFromUsedStyles) |
virtual void | addDataStyle (const sal_Int32 nNumberFormat, bool bTimeFormat=false) |
virtual void | exportDataStyles () |
virtual void | exportAutoDataStyles () |
virtual OUString | getDataStyleName (const sal_Int32 nNumberFormat, bool bTimeFormat=false) const |
sal_Int32 | dataStyleForceSystemLanguage (sal_Int32 nFormat) const |
virtual void | exportAnnotationMeta (const css::uno::Reference< css::drawing::XShape > &xShape) |
const css::uno::Reference< css::frame::XModel > & | GetModel () const |
css::uno::Reference< css::util::XNumberFormatsSupplier > & | GetNumberFormatsSupplier () |
void | SetNumberFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &_xNumberFormatSupplier) |
rtl::Reference< XMLTextParagraphExport > const & | GetTextParagraphExport () |
rtl::Reference< XMLShapeExport > const & | GetShapeExport () |
rtl::Reference< SvXMLAutoStylePoolP > const & | GetAutoStylePool () |
rtl::Reference< XMLPageExport > const & | GetPageExport () |
rtl::Reference< SchXMLExportHelper > const & | GetChartExport () |
rtl::Reference< XMLFontAutoStylePool > const & | GetFontAutoStylePool () |
ProgressBarHelper * | GetProgressBarHelper () |
rtl::Reference< xmloff::OFormLayerXMLExport > const & | GetFormExport () |
bool | HasFormExport () const |
const css::uno::Reference< css::beans::XPropertySet > & | getExportInfo () const |
const css::uno::Reference< css::task::XStatusIndicator > & | GetStatusIndicator () const |
XMLEventExport & | GetEventExport () |
XMLImageMapExport & | GetImageMapExport () |
OUString | AddEmbeddedXGraphic (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType, OUString const &rRequestedName=OUString()) |
bool | AddEmbeddedXGraphicAsBase64 (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic) |
bool | GetGraphicMimeTypeFromStream (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType) |
OUString | AddEmbeddedObject (const OUString &rEmbeddedObjectURL) |
bool | AddEmbeddedObjectAsBase64 (const OUString &rEmbeddedObjectURL) |
OUString | EncodeStyleName (const OUString &rName, bool *pEncoded=nullptr) const |
bool | IsSaveLinkedSections () const |
SvXMLExportFlags | getExportFlags () const |
void | ExportEmbeddedOwnObject (css::uno::Reference< css::lang::XComponent > const &rComp) |
OUString | GetRelativeReference (const OUString &rValue) |
void | StartElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSOutside) |
void | StartElement (const OUString &rName, bool bIgnWSOutside) |
void | Characters (const OUString &rChars) |
void | EndElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSInside) |
void | EndElement (const OUString &rName, bool bIgnWSInside) |
void | IgnorableWhitespace () |
void | SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams, const OUString &rExceptionMessage, const css::uno::Reference< css::xml::sax::XLocator > &rLocator) |
void | SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams) |
virtual void | DisposingModel () |
::comphelper::UnoInterfaceToUniqueIdentifierMapper & | getInterfaceToIdentifierMapper () |
const css::uno::Reference< css::uno::XComponentContext > & | getComponentContext () const |
SvtModuleOptions::EFactory | GetModelType () const |
bool | writeOutlineStyleAsNormalListStyle () const |
css::uno::Reference< css::embed::XStorage > const & | GetTargetStorage () const |
char const * | GetODFVersionAttributeValue () const |
SvtSaveOptions::ODFSaneDefaultVersion | getSaneDefaultVersion () const |
void SAL_DLLPRIVATE | AddAttributeIdLegacy (sal_uInt16 const nLegacyPrefix, OUString const &rValue) |
void | AddAttributeXmlId (css::uno::Reference< css::uno::XInterface > const &i_xIfc) |
void | AddAttributesRDFa (css::uno::Reference< css::text::XTextContent > const &i_xTextContent) |
bool | exportTextNumberElement () const |
bool | SetNullDateOnUnitConverter () |
OUString const & | GetImageFilterName () const |
Protected Member Functions | |
virtual XMLTextParagraphExport * | CreateTextParagraphExport () override |
virtual SvXMLAutoStylePoolP * | CreateAutoStylePool () override |
virtual XMLPageExport * | CreatePageExport () override |
virtual XMLShapeExport * | CreateShapeExport () override |
virtual XMLFontAutoStylePool * | CreateFontAutoStylePool () override |
Protected Member Functions inherited from SvXMLExport | |
void | setExportFlags (SvXMLExportFlags nExportFlags) |
SvXMLNamespaceMap & | GetNamespaceMap_ () |
void | ResetNamespaceMap () |
virtual void | ExportMeta_ () |
virtual void | ExportScripts_ () |
virtual void | ExportFontDecls_ () |
virtual void | ExportStyles_ (bool bUsed) |
virtual void | ExportAutoStyles_ ()=0 |
virtual void | ExportMasterStyles_ ()=0 |
virtual void | ExportContent_ ()=0 |
OUString const & | GetSourceShellID () const |
OUString const & | GetDestinationShellID () const |
virtual XMLTextParagraphExport * | CreateTextParagraphExport () |
virtual XMLShapeExport * | CreateShapeExport () |
virtual SvXMLAutoStylePoolP * | CreateAutoStylePool () |
SchXMLExportHelper * | CreateChartExport () |
virtual XMLPageExport * | CreatePageExport () |
virtual XMLFontAutoStylePool * | CreateFontAutoStylePool () |
xmloff::OFormLayerXMLExport * | CreateFormExport () |
virtual void | GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) |
virtual void | GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) |
virtual sal_Int32 | GetDocumentSpecificSettings (::std::vector< SettingsGroup > &_out_rSettings) |
const css::uno::Reference< css::document::XEmbeddedObjectResolver > & | GetEmbeddedResolver () const |
void | SetEmbeddedResolver (css::uno::Reference< css::document::XEmbeddedObjectResolver > const &_xEmbeddedResolver) |
const css::uno::Reference< css::document::XGraphicStorageHandler > & | GetGraphicStorageHandler () const |
void | SetGraphicStorageHandler (css::uno::Reference< css::document::XGraphicStorageHandler > const &rxGraphicStorageHandler) |
void | SetDocHandler (const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler) |
Private Member Functions | |
void | InitItemExport () |
void | FinitItemExport () |
void | ExportTableLinesAutoStyles (const SwTableLines &rLines, sal_uInt32 nAbsWidth, sal_uInt32 nBaseWidth, std::u16string_view rNamePrefix, SwXMLTableColumnsSortByWidth_Impl &rExpCols, SwXMLTableFrameFormatsSort_Impl &rExpRows, SwXMLTableFrameFormatsSort_Impl &rExpCells, SwXMLTableInfo_Impl &rTableInfo, bool bTop=false) |
void | ExportFormat (const SwFormat &rFormat, enum ::xmloff::token::XMLTokenEnum eClass, ::std::optional< OUString > const oStyleName) |
void | ExportTableFormat (const SwFrameFormat &rFormat, sal_uInt32 nAbsWidth) |
void | ExportTableColumnStyle (const SwXMLTableColumn_Impl &rCol) |
void | ExportTableBox (const SwTableBox &rBox, sal_uInt32 nColSpan, sal_uInt32 nRowSpan, SwXMLTableInfo_Impl &rTableInfo) |
void | ExportTableLine (const SwTableLine &rLine, const SwXMLTableLines_Impl &rLines, SwXMLTableInfo_Impl &rTableInfo) |
void | ExportTableLines (const SwTableLines &rLines, SwXMLTableInfo_Impl &rTableInfo, sal_uInt32 nHeaderRows=0) |
void | ExportThemeElement (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) |
virtual void | ExportMeta_ () override |
virtual void | ExportFontDecls_ () override |
virtual void | ExportStyles_ (bool bUsed) override |
virtual void | ExportAutoStyles_ () override |
virtual void | ExportMasterStyles_ () override |
virtual void | SetBodyAttributes () override |
virtual void | ExportContent_ () override |
virtual void | GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) override |
virtual void | GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) override |
virtual sal_Int32 | GetDocumentSpecificSettings (std::vector< SettingsGroup > &_out_rSettings) override |
void | DeleteTableLines () |
Private Attributes | |
std::unique_ptr< SvXMLUnitConverter > | m_pTwipUnitConverter |
std::unique_ptr< SvXMLExportItemMapper > | m_pTableItemMapper |
std::unique_ptr< SwXMLTableLinesCache_Impl > | m_pTableLines |
SvXMLItemMapEntriesRef | m_xTableItemMap |
SvXMLItemMapEntriesRef | m_xTableRowItemMap |
SvXMLItemMapEntriesRef | m_xTableCellItemMap |
bool | m_bBlock: 1 |
bool | m_bShowProgress: 1 |
bool | m_bSavedShowChanges: 1 |
SwDoc * | m_pDoc |
Additional Inherited Members | |
Protected Attributes inherited from SvXMLExport | |
bool | mbSaveLinkedSections |
bool | mbAutoStylesCollected |
Definition at line 51 of file xmlexp.hxx.
SwXMLExport::SwXMLExport | ( | const css::uno::Reference< css::uno::XComponentContext > & | rContext, |
OUString const & | implementationName, | ||
SvXMLExportFlags | nExportFlags | ||
) |
Definition at line 83 of file xmlexp.cxx.
References implementationName, INCH, InitItemExport(), and XML_TEXT.
|
overridevirtual |
Definition at line 324 of file xmlexp.cxx.
References DeleteTableLines(), and FinitItemExport().
|
overridevirtual |
Reimplemented from SvXMLExport.
Definition at line 251 of file xmlfmte.cxx.
References SvXMLExport::collectAutoStyles(), SvXMLExport::getExportFlags(), SvXMLExport::GetFormExport(), SvXMLExport::GetModel(), SvXMLExport::GetPageExport(), SvXMLExport::GetTextParagraphExport(), m_bShowProgress, and SvXMLExport::mbAutoStylesCollected.
Referenced by ExportAutoStyles_().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 422 of file xmlfmte.cxx.
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 79 of file xmlfonte.cxx.
References EMBED_FONTS, sw::proofreadingiterator::get(), getDoc(), and SvXMLExport::getExportFlags().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 327 of file xmlfmte.cxx.
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 311 of file xmlexp.cxx.
References XMLTextParagraphExport::CreateShapeExtPropMapper(), SvXMLExport::GetModel(), and XMLShapeExport::seekShapes().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 306 of file xmlexp.cxx.
References SvXMLExport::GetAutoStylePool().
|
private |
Definition at line 1265 of file xmltble.cxx.
References m_pTableLines, and p.
Referenced by ~SwXMLExport().
|
overrideprivatevirtual |
Implements SvXMLExport.
Definition at line 297 of file xmlfmte.cxx.
References collectAutoStyles(), SvXMLExport::exportAutoDataStyles(), SvXMLExport::getExportFlags(), SvXMLExport::GetFormExport(), SvXMLExport::GetPageExport(), SvXMLExport::GetShapeExport(), and SvXMLExport::GetTextParagraphExport().
|
overrideprivatevirtual |
Implements SvXMLExport.
Definition at line 463 of file xmlexp.cxx.
References SvXMLExport::AddAttribute(), Any, SvXMLExport::GetFormExport(), SvXMLExport::GetModel(), SvXMLExport::GetTextParagraphExport(), m_bShowProgress, xmloff::OFormLayerXMLExport::pageContainsForms(), XML_CALCULATION_SETTINGS, XML_NAMESPACE_TABLE, and XML_NULL_YEAR.
|
overridevirtual |
Reimplemented from SvXMLExport.
Definition at line 96 of file xmlexp.cxx.
References SvXMLNamespaceMap::Add(), Any, SvXMLEmbeddedObjectHelper::Create(), SvXMLGraphicHelper::Create(), EE_CHAR_XMLATTRIBS(), EE_PARA_XMLATTRIBS(), ERR_SWG_WRITE_ERROR, SvXMLExport::exportDoc(), xmloff::FixZOrder(), IDocumentSettingAccess::get(), SwDoc::GetAttrPool(), SwDoc::GetCharFormats(), IDocumentLayoutAccess::GetCurrentLayout(), getDoc(), IDocumentDrawModelAccess::GetDrawModel(), SvXMLExport::GetEmbeddedResolver(), SvXMLExport::getExportFlags(), SvXMLExport::getExportInfo(), SwDoc::GetFrameFormats(), SvXMLExport::GetGraphicStorageHandler(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentSettingAccess(), SwDoc::getIDocumentStatistics(), SvXMLExport::GetImageFilterName(), SfxItemPool::GetItemSurrogates(), SvXMLUnitConverter::GetMeasureUnit(), SvXMLExport::GetMM100UnitConverter(), SvXMLExport::GetModel(), SvXMLExport::GetNamespaceMap_(), SdrModel::GetPage(), SwDoc::GetPersist(), SvXMLExport::GetProgressBarHelper(), IDocumentRedlineAccess::GetRedlineFlags(), ProgressBarHelper::GetReference(), SvXMLExport::getSaneDefaultVersion(), SfxItemPool::GetSecondaryPool(), SwDoc::GetTextFormatColls(), SvXMLExport::GetTextParagraphExport(), IDocumentStatistics::GetUpdatedDocStat(), GetXMLToken(), GLOBAL_DOCUMENT, GLOBAL_DOCUMENT_SAVE_LINKS, HTML_MODE, SwRootFrame::IsHideRedlines(), m_bBlock, m_bSavedShowChanges, m_bShowProgress, m_pDoc, m_pTableLines, m_pTwipUnitConverter, SvXMLExport::mbSaveLinkedSections, SwDocStat::nAllPara, NONE, nRef, SvtSaveOptions::ODFSVER_EXTENDED, SdrObjList::RecalcObjOrdNums(), RES_TXTATR_UNKNOWN_CONTAINER(), RES_UNKNOWNATR_CONTAINER(), SDRATTR_XMLATTRIBUTES(), SvXMLExport::SetEmbeddedResolver(), SvXMLExport::SetGraphicStorageHandler(), IDocumentRedlineAccess::SetRedlineFlags(), ProgressBarHelper::SetReference(), ProgressBarHelper::SetValue(), SvXMLUnitConverter::SetXMLMeasureUnit(), ShowInsert, ShowMask, SwCharFormats::size(), SwVectorModifyBase< Value >::size(), SW_MOD, o3tl::tryAccess< bool >(), u, IDocumentStatistics::UpdateDocStat(), XML_N_OFFICE_EXT, XML_NAMESPACE_OFFICE_EXT, XML_NP_OFFICE_EXT, and XML_TEXT_GLOBAL.
|
overrideprivatevirtual |
Reimplemented from SvXMLExport.
Definition at line 330 of file xmlexp.cxx.
References SvXMLExport::ExportFontDecls_(), and SvXMLExport::GetFontAutoStylePool().
|
private |
Definition at line 59 of file xmlfmte.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::addDataStyle(), SvXMLExport::CheckAttrList(), SwFormat::DerivedFrom(), SvXMLExport::EncodeStyleName(), SwStyleNameMapper::FillProgName(), SwFormat::GetAttrSet(), SvXMLExport::getDataStyleName(), SfxItemSet::GetItemIfSet(), SwFormat::GetName(), SwPageDesc::GetName(), SwFormat::GetPoolFormatId(), SwFormat::GetPoolHelpId(), SwFormat::GetPoolHlpFileId(), getSwDefaultTextFormat(), GetTwipUnitConverter(), tools::SvRef< typename T >::is(), SwFormat::IsDefault(), m_pTableItemMapper, m_xTableCellItemMap, m_xTableItemMap, m_xTableRowItemMap, name, PageDesc, RES_BOXATR_FORMAT(), RES_FRMFMT(), RES_PAGEDESC(), sName, SwFormat::Which(), XML_DATA_STYLE_NAME, XML_DISPLAY_NAME, XML_FAMILY, XML_MASTER_PAGE_NAME, XML_NAME, XML_NAMESPACE_STYLE, XML_STYLE, XML_TABLE, XML_TABLE_CELL, XML_TABLE_CELL_PROPERTIES, XML_TABLE_PROPERTIES, XML_TABLE_ROW, XML_TABLE_ROW_PROPERTIES, and XML_TOKEN_INVALID.
Referenced by ExportTableFormat(), and ExportTableLinesAutoStyles().
|
overrideprivatevirtual |
Implements SvXMLExport.
Definition at line 332 of file xmlfmte.cxx.
References SvXMLExport::GetPageExport().
|
overrideprivatevirtual |
Reimplemented from SvXMLExport.
Definition at line 164 of file xmlmeta.cxx.
References SvXMLExport::ExportMeta_(), SvXMLExport::GetProgressBarHelper(), ProgressBarHelper::GetValue(), IsShowProgress(), m_bBlock, and ProgressBarHelper::SetValue().
|
overrideprivatevirtual |
Reimplemented from SvXMLExport.
Definition at line 168 of file xmlfmte.cxx.
References SvXMLExport::collectDataStyles(), SvXMLExport::exportDataStyles(), SvXMLExport::ExportStyles_(), ExportThemeElement(), SvXMLExport::GetModel(), SvXMLExport::GetPageExport(), SvXMLExport::GetShapeExport(), SvXMLExport::GetTextParagraphExport(), and IsShowProgress().
void SwXMLExport::ExportTable | ( | const SwTableNode & | rTableNd | ) |
Definition at line 1106 of file xmltble.cxx.
References SvXMLExport::AddAttribute(), sfx2::cTokenSeparator, SvXMLExport::EncodeStyleName(), ExportTableLines(), SwStyleNameMapper::FillProgName(), sw::proofreadingiterator::get(), SwDDEFieldType::GetCmd(), SwNode::GetFlyFormat(), SwTable::GetFrameFormat(), SwFormat::GetName(), SwDDEFieldType::GetName(), SwTable::GetRowsToRepeat(), SvXMLExport::getSaneDefaultVersion(), SwTableNode::GetTable(), SwTable::GetTableStyleName(), SwTable::GetTabLines(), SvXMLExport::GetTextParagraphExport(), SwDDEFieldType::GetType(), SwTextBoxHelper::isTextBox(), SvtSaveOptions::ODFSVER_EXTENDED, RES_FLYFRMFMT(), TabStyle, XML_AUTOMATIC_UPDATE, XML_DDE_APPLICATION, XML_DDE_ITEM, XML_DDE_SOURCE, XML_DDE_TOPIC, XML_NAME, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_OFFICE, XML_NAMESPACE_TABLE, XML_STYLE_NAME, XML_TABLE, XML_TEMPLATE_NAME, and XML_TRUE.
void SwXMLExport::ExportTableAutoStyles | ( | const SwTableNode & | rTableNd | ) |
Definition at line 747 of file xmltble.cxx.
References ExportTableFormat(), ExportTableLinesAutoStyles(), SwFrameFormat::FindLayoutRect(), sw::proofreadingiterator::get(), SwTable::GetFrameFormat(), SwFormat::GetFrameSize(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SwFormat::GetName(), SvxSizeItem::GetSize(), SwTableNode::GetTable(), SwTable::GetTabLines(), SvXMLExport::GetTextParagraphExport(), SwFormatFrameSize::GetWidthPercent(), SwPostItHelper::NONE, Size::Width(), SwRect::Width(), and XML_NAMESPACE_TABLE.
|
private |
Definition at line 790 of file xmltble.cxx.
References SvXMLExport::AddAttribute(), Any, SvXMLExport::ClearAttrList(), SwXCell::CreateXCell(), SvXMLExport::EncodeStyleName(), ExportTableLines(), SwXMLTableInfo_Impl::GetBaseSection(), SwXMLTableInfo_Impl::GetBoxFormats(), SwTableBox::GetFrameFormat(), SvXMLExport::GetNamespaceMap(), SwXMLTableInfo_Impl::GetPrefix(), SvXMLNamespaceMap::GetQNameByKey(), SwTableBox::GetSttNd(), getSwDefaultTextFormat(), SwXMLTableInfo_Impl::GetTable(), SwXMLTableInfo_Impl::GetTableFormat(), SwTableBox::GetTabLines(), SvXMLExport::GetTextParagraphExport(), GetXMLToken(), SwXMLTableInfo_Impl::IsBaseSectionValid(), IsShowProgress(), SwXMLTableInfo_Impl::SetBaseSection(), XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(), XML_FORMULA, XML_IS_SUB_TABLE, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOOW, XML_NAMESPACE_TABLE, XML_NUMBER_COLUMNS_SPANNED, XML_NUMBER_ROWS_SPANNED, XML_PROTECTED, XML_STRING, XML_STYLE_NAME, XML_TABLE, XML_TABLE_CELL, XML_TRUE, and XML_VALUE_TYPE.
Referenced by ExportTableLine().
|
private |
Definition at line 541 of file xmltble.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::CheckAttrList(), SvXMLUnitConverter::convertMeasureToXML(), SvXMLExport::EncodeStyleName(), SwXMLTableColumn_Impl::GetRelWidth(), SwXMLTableColumn_Impl::GetStyleName(), GetTwipUnitConverter(), SwWriteTableCol::GetWidthOpt(), XML_COLUMN_WIDTH, XML_DISPLAY_NAME, XML_FAMILY, XML_NAME, XML_NAMESPACE_STYLE, XML_REL_COLUMN_WIDTH, XML_STYLE, XML_TABLE_COLUMN, and XML_TABLE_COLUMN_PROPERTIES.
Referenced by ExportTableLinesAutoStyles().
|
private |
Definition at line 239 of file xmliteme.cxx.
References ExportFormat(), m_pTableItemMapper, and XML_TABLE.
Referenced by ExportTableAutoStyles().
|
private |
Definition at line 924 of file xmltble.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::EncodeStyleName(), ExportTableBox(), SwXMLTableInfo_Impl::GetBoxFormats(), SwWriteTable::GetBoxWidth(), SwXMLTableLines_Impl::GetColumns(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), SwXMLTableInfo_Impl::GetLineFormats(), SwXMLTableInfo_Impl::GetPrefix(), SwTableBox::getRowSpan(), SwTableLine::GetTabBoxes(), SwXMLTableLines_Impl::GetWidth(), SwTableLine::hasSoftPageBreak(), i, U, XML_COVERED_TABLE_CELL, XML_NAMESPACE_TABLE, XML_NAMESPACE_TEXT, XML_SOFT_PAGE_BREAK, XML_STYLE_NAME, and XML_TABLE_ROW.
Referenced by ExportTableLines().
|
private |
Definition at line 1016 of file xmltble.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::EncodeStyleName(), ExportTableLine(), sw::proofreadingiterator::get(), SwXMLTableLines_Impl::GetColumns(), SwXMLTableInfo_Impl::GetPrefix(), SwXMLTableColumn_Impl::GetStyleName(), m_pTableLines, SwTableLines::size(), U, XML_NAMESPACE_TABLE, XML_NUMBER_COLUMNS_REPEATED, XML_STYLE_NAME, XML_TABLE_COLUMN, and XML_TABLE_HEADER_ROWS.
Referenced by ExportTable(), and ExportTableBox().
|
private |
Definition at line 582 of file xmltble.cxx.
References SwXMLTableFrameFormatsSort_Impl::AddCell(), SwXMLTableFrameFormatsSort_Impl::AddRow(), Any, SwXCell::CreateXCell(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), ExportFormat(), ExportTableColumnStyle(), ExportTableLinesAutoStyles(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::find(), SwXMLTableInfo_Impl::GetBaseSection(), SwWriteTable::GetBoxWidth(), SwXMLTableLines_Impl::GetColumns(), SvXMLExport::getExportFlags(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), SwWriteTableCol::GetPos(), SwTableBox::GetSttNd(), SwTableLine::GetTabBoxes(), SwXMLTableInfo_Impl::GetTable(), SwXMLTableInfo_Impl::GetTableFormat(), SwTableBox::GetTabLines(), SvXMLExport::GetTextParagraphExport(), SwXMLTableLines_Impl::GetWidth(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwXMLTableInfo_Impl::IsBaseSectionValid(), IsShowProgress(), lcl_xmltble_appendBoxPrefix(), m_pTableLines, SwXMLTableInfo_Impl::SetBaseSection(), SwXMLTableColumn_Impl::SetRelWidth(), SwXMLTableColumn_Impl::SetStyleName(), SwWriteTableCol::SetWidthOpt(), SwTableLines::size(), sw_GetTableBoxColStr(), U, XML_TABLE_CELL, and XML_TABLE_ROW.
Referenced by ExportTableAutoStyles(), and ExportTableLinesAutoStyles().
|
private |
Definition at line 194 of file xmlfmte.cxx.
References SvXMLExport::AddAttribute(), sax::Converter::convertColor(), SvXMLExport::getSaneDefaultVersion(), GetSdrPageFromXDrawPage(), SdrPage::getSdrPageProperties(), SdrPageProperties::GetTheme(), GetXMLToken(), SvtSaveOptions::ODFSVER_EXTENDED, SAL_WARN_IF, model::Unknown, XML_ACCENT1, XML_ACCENT2, XML_ACCENT3, XML_ACCENT4, XML_ACCENT5, XML_ACCENT6, XML_COLOR, XML_DARK1, XML_DARK2, XML_FOLLOWED_HYPERLINK, XML_HYPERLINK, XML_LIGHT1, XML_LIGHT2, XML_NAME, XML_NAMESPACE_LO_EXT, XML_THEME, and XML_THEME_COLORS.
Referenced by ExportStyles_().
|
private |
Definition at line 233 of file xmliteme.cxx.
References m_pTableItemMapper, and m_pTwipUnitConverter.
Referenced by ~SwXMLExport().
|
overrideprivatevirtual |
Reimplemented from SvXMLExport.
Definition at line 387 of file xmlexp.cxx.
References Any, SvXMLUnitConverter::convertPropertySet(), SvXMLExport::getExportInfo(), SvXMLExport::GetModel(), i, Name, and u.
SwDoc * SwXMLExport::getDoc | ( | ) |
Definition at line 514 of file xmlexp.cxx.
References SwXText::GetDoc(), SvXMLExport::GetModel(), m_pDoc, and SAL_WARN.
const SwDoc * SwXMLExport::getDoc | ( | ) | const |
Definition at line 533 of file xmlexp.cxx.
References getDoc().
Referenced by CreateFontAutoStylePool(), exportDoc(), getDoc(), GetViewSettings(), and SetBodyAttributes().
|
overrideprivatevirtual |
Definition at line 432 of file xmlexp.cxx.
References SvXMLExport::GetDocumentSpecificSettings(), SvXMLExport::GetModel(), getXFormsSettings(), and XML_XFORM_MODEL_SETTINGS.
|
inline |
Definition at line 140 of file xmlexp.hxx.
References m_pTwipUnitConverter.
Referenced by ExportFormat(), ExportTableColumnStyle(), and SwXMLBrushItemExport::exportXML().
|
overrideprivatevirtual |
Reimplemented from SvXMLExport.
Definition at line 336 of file xmlexp.cxx.
References ASPECT_CONTENT, BROWSE_MODE, convertTwipToMm100(), IDocumentSettingAccess::get(), getDoc(), SwDoc::GetDocShell(), SvXMLExport::getExportInfo(), tools::Rectangle::GetHeight(), SwDoc::getIDocumentSettingAccess(), SfxObjectShell::GetMapUnit(), getPropertyValue(), SwDocShell::GetVisArea(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), m_bSavedShowChanges, tools::Rectangle::Top(), and u.
|
private |
Definition at line 220 of file xmliteme.cxx.
References aXMLTableCellItemMap, aXMLTableItemMap, aXMLTableRowItemMap, SvXMLExport::getComponentContext(), SvXMLExport::GetMM100UnitConverter(), SvXMLExport::getSaneDefaultVersion(), m_pTableItemMapper, m_pTwipUnitConverter, m_xTableCellItemMap, m_xTableItemMap, and m_xTableRowItemMap.
Referenced by SwXMLExport().
|
inline |
Definition at line 133 of file xmlexp.hxx.
References m_bShowProgress.
Referenced by ExportMeta_(), ExportStyles_(), ExportTableBox(), and ExportTableLinesAutoStyles().
|
overrideprivatevirtual |
Reimplemented from SvXMLExport.
Definition at line 449 of file xmlexp.cxx.
References SvXMLExport::AddAttribute(), sax::Converter::convertBool(), IDocumentLayoutAccess::GetCurrentViewShell(), getDoc(), SwDoc::getIDocumentLayoutAccess(), SwViewShell::GetPageCount(), XML_NAMESPACE_TEXT, and XML_USE_SOFT_PAGE_BREAKS.
|
inline |
Definition at line 134 of file xmlexp.hxx.
References m_bShowProgress.
|
private |
Definition at line 61 of file xmlexp.hxx.
Referenced by exportDoc(), and ExportMeta_().
|
private |
Definition at line 63 of file xmlexp.hxx.
Referenced by exportDoc(), and GetViewSettings().
|
private |
Definition at line 62 of file xmlexp.hxx.
Referenced by collectAutoStyles(), ExportContent_(), exportDoc(), IsShowProgress(), and SetShowProgress().
|
private |
Definition at line 65 of file xmlexp.hxx.
Referenced by exportDoc(), and getDoc().
|
private |
Definition at line 54 of file xmlexp.hxx.
Referenced by ExportFormat(), ExportTableFormat(), FinitItemExport(), and InitItemExport().
|
private |
Definition at line 55 of file xmlexp.hxx.
Referenced by DeleteTableLines(), exportDoc(), ExportTableLines(), and ExportTableLinesAutoStyles().
|
private |
Definition at line 53 of file xmlexp.hxx.
Referenced by exportDoc(), FinitItemExport(), GetTwipUnitConverter(), and InitItemExport().
|
private |
Definition at line 59 of file xmlexp.hxx.
Referenced by ExportFormat(), and InitItemExport().
|
private |
Definition at line 57 of file xmlexp.hxx.
Referenced by ExportFormat(), and InitItemExport().
|
private |
Definition at line 58 of file xmlexp.hxx.
Referenced by ExportFormat(), and InitItemExport().