Aspose::Words::CleanupOptions::get_UnusedBuiltinStyles method. Specifies that unused BuiltIn styles should be removed from Document in C++.... auto doc = System :: MakeObject < Aspose...Aspose :: Words :: Document > (); doc -> get_Styles () -> Add ( Aspose...
Aspose::Words::CleanupOptions::get_UnusedStyles method. Specifies whether unused styles should be removed from Document. Default value is true in C++.... auto doc = System :: MakeObject < Aspose...Aspose :: Words :: Document > (); doc -> get_Styles () -> Add ( Aspose...
Aspose::Words::Properties::BuiltInDocumentProperties::get_Words method. Represents an estimate of the number of words in the Document in C++.... auto doc = System :: MakeObject < Aspose...Words :: DocumentBuilder > ( doc ); builder -> Writeln ( System...
Aspose::Words::Document::Unprotect method. Removes protection from the Document regardless of the password in C++.... auto doc = System :: MakeObject < Aspose...Aspose :: Words :: Document > (); doc -> Protect ( Aspose :: Words...
CompositeNode.prepend_child method. Adds the specified node to the beginning of the list of child nodes for this node.... doc = aw . Document () # An empty...paragraph. self . assertEqual ( 1 , doc . first_section . body . paragraphs...
Aspose::Words::Layout::LayoutCollector::GetNumPagesSpanned method. Gets number of pages the specified node spans. 0 if node is within a single page. This is the same as GetEndPageIndex() - GetStartPageIndex() in C++.... auto doc = System :: MakeObject < Aspose...Layout :: LayoutCollector > ( doc ); // Call the "GetNumPagesSpanned"...
Aspose::Words::Layout::LayoutCollector::GetEndPageIndex method. Gets 1-based index of the page where node ends. Returns 0 if node cannot be mapped to a page in C++.... auto doc = System :: MakeObject < Aspose...Layout :: LayoutCollector > ( doc ); // Call the "GetNumPagesSpanned"...
Aspose::Words::Layout::LayoutCollector::GetStartPageIndex method. Gets 1-based index of the page where node begins. Returns 0 if node cannot be mapped to a page in C++.... auto doc = System :: MakeObject < Aspose...Layout :: LayoutCollector > ( doc ); // Call the "GetNumPagesSpanned"...