/// push a list context on the list context stack void PushListContext(XMLTextListBlockContext *i_pListBlock); void PushListContext(XMLNumberedParaContext *i_pNumberedParagraph); /// pop the list context stack void PopListContext(); /// peek at the top of the list context stack void ListContextTop(XMLTextListBlockContext*& o_pListBlockContext,
XMLTextListItemContext*& o_pListItemContext,
XMLNumberedParaContext*& o_pNumberedParagraphContext ); /// set list item on top of the list context stack void SetListItem( XMLTextListItemContext *pListItem );
// keep track of opened list elements of a certain list for export void PushListOnStack( const OUString& sListId, const OUString& sListStyleName ); void PopListFromStack(); bool EqualsToTopListStyleOnStack( std::u16string_view sListId ) const;
/// get ID of the last numbered-paragraph iff it has given style-name
OUString GetNumberedParagraphListId( const sal_uInt16 i_Level,
std::u16string_view i_StyleName);
// container type for processed lists: // map with <ListId> as key and pair( <ListStyleName, ContinueListId> ) // as value typedef ::std::map< OUString,
::std::pair< OUString, OUString > > tMapForLists;
std::unique_ptr<tMapForLists> mpProcessedLists;
OUString msLastProcessedListId;
OUString msListStyleOfLastProcessedList;
// container type to build up continue list chain: // map with <ListId> of master list as key and <ListId> of last list // continuing the master list as value typedef ::std::map< OUString, OUString > tMapForContinuingLists;
std::unique_ptr<tMapForContinuingLists> mpContinuingLists;
// stack type for opened list elements and its list style: // vector with pair( <ListId>, <ListStyleName> ) as value typedef ::std::vector< ::std::pair< OUString, OUString > >
tStackForLists;
std::unique_ptr<tStackForLists> mpListStack;
/// to connect numbered-paragraphs that have no list-id attribute: /// vector of pair of style-name and list-id (indexed by level) typedef ::std::vector< ::std::pair< OUString, OUString > >
LastNumberedParagraphs_t;
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.