namespace com::sun::star
{ namespace beans
{ struct PropertyValue;
} namespace uno
{ class XComponentContext;
} namespace uri
{ class XUriReferenceFactory;
}
}
namespace writerperfect::exp
{ /// Contains info about a fixed-layout page. struct FixedLayoutPage
{
css::uno::Sequence<sal_Int8> aMetafile;
Size aCssPixels;
std::vector<OUString> aChapterNames;
};
/// States describing the result of a link -> popup conversion. enumclass PopupState
{ /// Conversion did not happen yet.
NONE, /// The relative link was converted to a popup.
Consumed, /// The absolute link was not handled.
NotConsumed, /// The relative link is invalid and should be ignored.
Ignore
};
/// ODT export feeds this class to make librevenge calls. class XMLImport : public cppu::WeakImplHelper<css::xml::sax::XDocumentHandler>
{
librevenge::RVNGTextInterface& mrGenerator;
std::stack<rtl::Reference<XMLImportContext>> maContexts;
std::map<OUString, librevenge::RVNGPropertyList> maAutomaticTextStyles;
std::map<OUString, librevenge::RVNGPropertyList> maTextStyles;
std::map<OUString, librevenge::RVNGPropertyList> maAutomaticParagraphStyles;
std::map<OUString, librevenge::RVNGPropertyList> maParagraphStyles;
std::map<OUString, librevenge::RVNGPropertyList> maAutomaticCellStyles;
std::map<OUString, librevenge::RVNGPropertyList> maCellStyles;
std::map<OUString, librevenge::RVNGPropertyList> maAutomaticColumnStyles;
std::map<OUString, librevenge::RVNGPropertyList> maColumnStyles;
std::map<OUString, librevenge::RVNGPropertyList> maAutomaticRowStyles;
std::map<OUString, librevenge::RVNGPropertyList> maRowStyles;
std::map<OUString, librevenge::RVNGPropertyList> maAutomaticTableStyles;
std::map<OUString, librevenge::RVNGPropertyList> maTableStyles;
std::map<OUString, librevenge::RVNGPropertyList> maAutomaticGraphicStyles;
std::map<OUString, librevenge::RVNGPropertyList> maGraphicStyles;
std::map<OUString, librevenge::RVNGPropertyList> maPageLayouts;
std::map<OUString, librevenge::RVNGPropertyList> maMasterStyles;
librevenge::RVNGPropertyListVector maCoverImages; /// Author, date, etc -- overwrites what would be from the document out of the box.
librevenge::RVNGPropertyList maMetaData; const css::uno::Reference<css::uno::XComponentContext>& mxContext;
css::uno::Reference<css::uri::XUriReferenceFactory> mxUriReferenceFactory;
OUString maMediaDir; bool mbIsInPageSpan; const std::vector<FixedLayoutPage>& mrPageMetafiles;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.