/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_L10NTOOLS_INC_HELPMERGE_HXX #define INCLUDED_L10NTOOLS_INC_HELPMERGE_HXX #include "xmlparse.hxx" #include #include #include /// This Class is responsible for extracting/merging OpenOffice XML Helpfiles class HelpParser { private: OString sHelpFile; #if OSL_DEBUG_LEVEL > 2 /// Debugmethod, prints the content of the map to stdout static void Dump(LangHashMap* rElem_in , const OString & sKey_in); /// Debugmethod, prints the content of the map to stdout static void Dump(XMLHashMap* rElem_in); #endif public: HelpParser( const OString &rHelpFile ); ~HelpParser(){}; /// Method append a PO file with the content of a parsed XML file /// @PRECOND rHelpFile is valid static bool CreatePO( const OString &rPOFile_in, const OString &sHelpFile, XMLFile *pXmlFile, const OString &rGsi1 ); /// Method merges the String from the POfile into XMLfile. Both Strings must /// point to existing files. bool Merge( const OString &rPOFile_in, const OString &rDestinationFile_in , const OString& sLanguage , MergeDataFile* pMergeDataFile ); private: bool MergeSingleFile( XMLFile* file , MergeDataFile* pMergeDataFile , const OString& sLanguage , OString const & sPath ); void ProcessHelp( LangHashMap* aLangHM , const OString& sCur , ResData *pResData , MergeDataFile* pMergeDataFile ); }; #endif // INCLUDED_L10NTOOLS_INC_HELPMERGE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /co-2021 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2016-06-15tdf#61396 Possibility to edit a template not in Template RepositoryAkshay Deep
2016-05-03Remove Edit -> Plug-in as no longer usedBryan Quigley
2016-03-08Move anchor submenu to separate popupmenu fileMaxim Monastirsky
2016-02-21Convert RID_INSERT_FIELD_CTRL to xmlMaxim Monastirsky
2015-12-30Kill remaining plugin bitsMaxim Monastirsky
2015-05-05tdf#34555 add crop features to swPhilippe Jung
2015-01-12radio check top/center/bottom alignment for table cellsCaolán McNamara
2014-11-30fdo#85820 move insert table to table menu in writer related appsYousuf Philips
2014-11-13fdo#86252: Menu 'Merge Documents' is at wrong positionCor Nouws
2014-11-11fdo#86035 added menu items for shapes and text box and did small rearrangementYousuf Philips
2014-11-05fdo#85809 - MENU: Rearranging the Insert > Media submenuYousuf Philips
2014-11-03fdo#85620 - Changing the label 'Gallery' and having it in the insert menuYousuf Philips
2014-10-28fdo#85046 - MENU: Edit > Changes should be renamed for better clarityYousuf Philips
2014-10-16fdo#85050 - MENU: change related menu items shouldnt be separated find itemsYousuf Philips
2014-10-01fdo#84550 Reflect new field order also in MenuSamuel Mehrbrodt
2014-09-27fdo#53682 Merge 'Insert Image' and 'Insert Audio/Video' in submenuSamuel Mehrbrodt
2014-09-03fdo#82969 Add AutoSpellcheck to tools menuSamuel Mehrbrodt
2014-07-21fdo#80536 UI: Menu entry for 'Edit File' -> 'Edit Mode'Joren De Cuyper
2014-04-06fdo#72276 introduce .uno:ZoomMenu so we can split the menu entries/labelsJoren De Cuyper
2013-08-22fdo#68252: Add FONTWORK into the INSERT menuIvan Timofeev
2013-07-25fdo#59427 first step for template menuCor Nouws
2013-05-22Resolves: #ii122335# Disabling the old task paneAndre Fischer
2013-05-20Related: #i122157# Added sidebar menu entry to more writer variantsAndre Fischer
2013-05-20Resolves: #i122026# adjust names of newly introduced UNO commandsOliver-Rainer Wittmann
2013-05-11fdo#34423 Add Rotate Left/Right to toolbar and menubar.Tomaž Vajngerl
2012-12-20Partially reverted 786f15e605867668d88ab23d66cabb18f18bdcf9Cédric Bosdonnat
2012-12-20Templates Manager: removed the old dialogs and menu entriesCédric Bosdonnat