/dports/textproc/sigil/Sigil-1.8.0/src/BookManipulation/ |
H A D | Book.h | 38 class HTMLResource; variable 143 void MoveResourceAfter(HTMLResource *from_resource, HTMLResource *to_resource); 164 …HTMLResource *CreateEmptyHTMLFile(HTMLResource *resource, const QString &folderpath = QString("\\"… 176 HTMLResource *CreateHTMLCoverFile(QString text); 194 HTMLResource *originating_resource); 206 HTMLResource *originalResource); 254 QList<HTMLResource *> GetNonWellFormedHTMLFiles(); 255 static std::pair<HTMLResource*, bool> ResourceWellFormedMap(HTMLResource * html_resource); 290 bool IsDataWellFormed(HTMLResource *html_resource); 313 QList<HTMLResource *> GetHTMLResources(); [all …]
|
H A D | Book.cpp | 298 QList<HTMLResource *> html_resources = m_Mainfolder->GetResourceTypeList<HTMLResource>(true); in GetFirstUniqueSectionName() 341 HTMLResource *html_resource = qobject_cast<HTMLResource *>(resource); in CreateNewHTMLFile() 413 HTMLResource * html_resource = qobject_cast<HTMLResource *>(resource); in CreateEmptyNavFile() 431 HTMLResource *Book::CreateEmptyHTMLFile(HTMLResource *resource, const QString &folderpath) in CreateEmptyHTMLFile() 455 void Book::MoveResourceAfter(HTMLResource *from_resource, HTMLResource *to_resource) in MoveResourceAfter() 740 HTMLResource *html_resource = qobject_cast<HTMLResource *>(resource); in PreviousResource() 1082 std::pair<HTMLResource*, bool> Book::ResourceWellFormedMap(HTMLResource * html_resource) { in ResourceWellFormedMap() 1190 HTMLResource *htmlresource = qobject_cast<HTMLResource *>(resource); in UpdateAndExtractBodyInOneFile() 1262 HTMLResource *sink_html_resource = qobject_cast<HTMLResource *>(sink_resource); in MergeResources() 1312 foreach(HTMLResource* hres, m_Mainfolder->GetResourceTypeList<HTMLResource>(true)) { in MergeResources() [all …]
|
H A D | Index.h | 28 class HTMLResource; variable 39 static bool BuildIndex(QList<HTMLResource *> html_resources); 42 static void AddIndexIDsOneFile(HTMLResource *html_resource); 44 …static bool CreateIndexEntry(const QString text, HTMLResource *html_resource, QString index_id_nam…
|
H A D | Headings.h | 31 class HTMLResource; variable 43 HTMLResource *resource_file; 91 static QList<Heading> GetHeadingList(QList<HTMLResource *> html_resources, 94 static QList<Heading> GetHeadingListForOneFile(HTMLResource *html_resource,
|
H A D | FolderKeeper.h | 395 QList<HTMLResource *> FolderKeeper::ListResourceSort<HTMLResource>(const QList<HTMLResource *> &res… 398 QList<HTMLResource *> htmls = resource_list; 399 QList<HTMLResource *> sorted_htmls;
|
H A D | BookReports.cpp | 53 …QList<HTMLResource *> html_resources = book->GetFolderKeeper()->GetResourceTypeList<HTMLResource>(… in GetHTMLClassUsage() 87 QList<BookReports::StyleData *> BookReports::ClassesUsedInHTMLFileMapped(HTMLResource* html_resourc… in ClassesUsedInHTMLFileMapped() 162 …QList<HTMLResource *> html_resources = book->GetFolderKeeper()->GetResourceTypeList<HTMLResource>(… in GetAllCSSSelectorsUsed() 200 foreach(HTMLResource* hresource, html_resources) { in GetAllCSSSelectorsUsed() 230 QList< std::pair<QString,QString> > BookReports::AllSelectorsUsedInHTMLFileMapped(HTMLResource* htm… in AllSelectorsUsedInHTMLFileMapped()
|
H A D | Index.cpp | 44 bool Index::BuildIndex(QList<HTMLResource *> html_resources) in BuildIndex() 54 foreach(HTMLResource * html_resource, html_resources) { in BuildIndex() 67 void Index::AddIndexIDsOneFile(HTMLResource *html_resource) in AddIndexIDsOneFile() 138 bool Index::CreateIndexEntry(const QString text, HTMLResource *html_resource, QString index_id_valu… in CreateIndexEntry()
|
/dports/textproc/sigil/Sigil-1.8.0/src/SourceUpdates/ |
H A D | AnchorUpdates.h | 26 class HTMLResource; variable 34 static void UpdateAllAnchorsWithIDs(const QList<HTMLResource *> &html_resources); 44 …eExternalAnchors(const QList<HTMLResource *> &html_resources, const QString &originating_filename,… 54 …static void UpdateAllAnchors(const QList<HTMLResource *> &html_resources, const QStringList &origi… 55 … HTMLResource *new_file, const QHash<QString, QString> §ion_id_map); 66 …esource *ncx_resource, const QString &originating_filename, const QList<HTMLResource *> new_files); 72 static QHash<QString, QString> GetIDLocations(const QList<HTMLResource *> &html_resources); 74 static std::tuple<QString, QList<QString>> GetOneFileIDs(HTMLResource *html_resource); 76 static void UpdateAnchorsInOneFile(HTMLResource *html_resource, 79 static void UpdateExternalAnchorsInOneFile(HTMLResource *html_resource, [all …]
|
H A D | AnchorUpdates.cpp | 43 void AnchorUpdates::UpdateAllAnchorsWithIDs(const QList<HTMLResource *> &html_resources) in UpdateAllAnchorsWithIDs() 53 …eExternalAnchors(const QList<HTMLResource *> &html_resources, const QString &originating_bookpath,… in UpdateExternalAnchors() 61 void AnchorUpdates::UpdateAllAnchors(const QList<HTMLResource *> &html_resources, in UpdateAllAnchors() 63 HTMLResource *sink_res, in UpdateAllAnchors() 66 QList<HTMLResource *> new_files; in UpdateAllAnchors() 77 QHash<QString, QString> AnchorUpdates::GetIDLocations(const QList<HTMLResource *> &html_resources) in GetIDLocations() 96 std::tuple<QString, QList<QString>> AnchorUpdates::GetOneFileIDs(HTMLResource *html_resource) in GetOneFileIDs() 109 void AnchorUpdates::UpdateAnchorsInOneFile(HTMLResource *html_resource, in UpdateAnchorsInOneFile() 177 void AnchorUpdates::UpdateExternalAnchorsInOneFile(HTMLResource *html_resource, const QString &orig… in UpdateExternalAnchorsInOneFile() 237 void AnchorUpdates::UpdateAllAnchorsInOneFile(HTMLResource *html_resource, in UpdateAllAnchorsInOneFile() [all …]
|
H A D | LinkUpdates.h | 28 class HTMLResource; variable 43 …static void UpdateLinksInAllFiles(const QList<HTMLResource *> &html_resources, const QList<QString… 47 …static void UpdateLinksInOneFile(HTMLResource *html_resource, const QList<QString> new_stylesheets…
|
H A D | JavascriptUpdates.h | 26 class HTMLResource; variable 41 …static void UpdateJavascriptsInAllFiles(const QList<HTMLResource *> &html_resources, const QList<Q… 45 …static void UpdateJavascriptsInOneFile(HTMLResource *html_resource, const QList<QString> new_javas…
|
H A D | FragmentUpdates.h | 26 class HTMLResource; variable 33 static void UpdateFragments(const QList<HTMLResource*> &html_resources, 38 static void UpdateFragmentsInOneFile(HTMLResource *html_resource,
|
H A D | WordUpdates.h | 27 class HTMLResource; variable 34 static void UpdateWordInAllFiles(const QList<HTMLResource *> &html_resources, 40 static void UpdateWordsInOneFile(HTMLResource *html_resource,
|
H A D | UniversalUpdates.h | 27 class HTMLResource; variable 55 static QString UpdateOneHTMLFile(HTMLResource *html_resource, 62 static QString LoadAndUpdateOneHTMLFile(HTMLResource *html_resource,
|
/dports/textproc/sigil/Sigil-1.8.0/src/ResourceObjects/ |
H A D | HTMLResource.cpp | 49 HTMLResource::HTMLResource(const QString &mainfolder, const QString &fullfilepath, in HTMLResource() function in HTMLResource 60 Resource::ResourceType HTMLResource::Type() const in Type() 65 bool HTMLResource::LoadFromDisk() in LoadFromDisk() 79 void HTMLResource::SetText(const QString &text) in SetText() 90 QString HTMLResource::GetTOCCache() in GetTOCCache() 98 void HTMLResource::SetTOCCache(const QString & text) in SetTOCCache() 103 void HTMLResource::SaveToDisk(bool book_wide_save) in SaveToDisk() 110 QStringList HTMLResource::GetLinkedStylesheets() in GetLinkedStylesheets() 125 QStringList HTMLResource::GetLinkedJavascripts() in GetLinkedJavascripts() 159 QStringList HTMLResource::SplitOnSGFSectionMarkers() in SplitOnSGFSectionMarkers() [all …]
|
H A D | OPFResource.h | 33 class HTMLResource; variable 74 int GetReadingOrder(const HTMLResource *html_resource) const; 139 void SetNavResource(HTMLResource* nav); 140 HTMLResource* GetNavResource() const; 164 void AddGuideSemanticCode(HTMLResource *html_resource, QString code, bool toggle = true); 168 void UpdateSpineOrder(const QList<HTMLResource *> html_files); 267 HTMLResource * m_NavResource;
|
/dports/textproc/sigil/Sigil-1.8.0/src/Importers/ |
H A D | ImportTXT.cpp | 65 HTMLResource * new_resource = CreateHTMLResource(source); in GetBook() 70 HTMLResource* nav_resource = m_Book->GetConstOPF()->GetNavResource(); in GetBook() 72 HTMLResource * nav_resource = m_Book->CreateEmptyNavFile(true); in GetBook() 103 HTMLResource *ImportTXT::CreateHTMLResource(const QString &source) in CreateHTMLResource() 109 return m_Book->GetFolderKeeper()->GetResourceTypeList<HTMLResource>()[ 0 ]; in CreateHTMLResource() 113 void ImportTXT::InitializeHTMLResource(const QString &source, HTMLResource *resource) in InitializeHTMLResource()
|
H A D | ImportHTML.h | 30 class HTMLResource; variable 65 HTMLResource *CreateHTMLResource(); 67 void UpdateFiles(HTMLResource *html_resource,
|
H A D | ImportTXT.h | 49 HTMLResource *CreateHTMLResource(const QString &source); 51 void InitializeHTMLResource(const QString &source, HTMLResource *resource);
|
H A D | ImportHTML.cpp | 104 HTMLResource* nav_resource = m_Book->GetConstOPF()->GetNavResource(); in GetBook() 106 HTMLResource * nav_resource = m_Book->CreateEmptyNavFile(true); in GetBook() 171 HTMLResource *ImportHTML::CreateHTMLResource() in CreateHTMLResource() 176 …HTMLResource *resource = qobject_cast<HTMLResource *>(m_Book->GetFolderKeeper()->AddContentFileToF… in CreateHTMLResource() 183 void ImportHTML::UpdateFiles(HTMLResource *html_resource, in UpdateFiles()
|
/dports/textproc/sigil/Sigil-1.8.0/src/Misc/ |
H A D | SearchOperations.cpp | 83 HTMLResource *html_resource = qobject_cast<HTMLResource *>(resource); in CountInFile() 102 HTMLResource *html_resource, in CountInHTMLFile() 126 HTMLResource *html_resource = qobject_cast<HTMLResource *>(resource); in ReplaceInFile() 145 HTMLResource *html_resource) in ReplaceHTMLInFile()
|
H A D | SearchOperations.h | 29 class HTMLResource; variable 59 HTMLResource *html_resource, 72 HTMLResource *html_resource);
|
/dports/textproc/sigil/Sigil-1.8.0/src/Tabs/ |
H A D | FlowTab.h | 41 class HTMLResource; variable 63 FlowTab(HTMLResource *resource, 284 void OldTabRequest(QString content, HTMLResource *originating_resource); 381 HTMLResource *m_HTMLResource;
|
/dports/textproc/sigil/Sigil-1.8.0/src/Exporters/ |
H A D | NCXWriter.cpp | 43 …QList<HTMLResource*> htmlresources = book->GetFolderKeeper()->GetResourceTypeList<HTMLResource>(tr… in NCXWriter() 44 HTMLResource* nav_resource = book->GetConstOPF()->GetNavResource(); in NCXWriter() 155 …QList<HTMLResource *> html_resources = m_Book->GetFolderKeeper()->GetResourceTypeList<HTMLResource… in WriteFallbackNavPoint()
|
/dports/textproc/sigil/Sigil-1.8.0/src/Dialogs/ |
H A D | SelectId.h | 39 … SelectId(QString id, HTMLResource *html_resource, QSharedPointer<Book> book, QWidget *parent = 0); 56 HTMLResource *m_HTMLResource;
|